]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Implement filesystem::canonical() without realpath
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
744 NM
745 ac_ct_DUMPBIN
746 DUMPBIN
747 LD
748 FGREP
749 SED
750 LIBTOOL
751 EGREP
752 GREP
753 CPP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
758 AR
759 AS
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
767 CXX
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
774 CC
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
780 AWK
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
897 '
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
901 CC
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
906 CXX
907 CXXFLAGS
908 CCC
909 CPP
910 CXXCPP
911 CXXFILT'
912
913
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
935
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
961
962 ac_prev=
963 ac_dashdash=
964 for ac_option
965 do
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
971 fi
972
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
977
978 # Accept the important Cygnus configure options, so we can diagnose typos.
979
980 case $ac_dashdash$ac_option in
981 --)
982 ac_dashdash=yes ;;
983
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
988
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
993
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1000
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1003
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1008
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1015
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1031
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1036
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1041
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1050 *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1057
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1066
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1070
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1077
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1082
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1088
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1095
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1100
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1105
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1112
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1117
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1124
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1129
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1133
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1137
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1141
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1150
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1155
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1162
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1169
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1186
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1191
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1196
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1200
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1206
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1217
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1222
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1227
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1234
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1239
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1242
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1245
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1261
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1270 *"
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1277
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1281
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1288
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1295
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1298 ;;
1299
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1309
1310 *)
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 ;;
1317
1318 esac
1319 done
1320
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1324 fi
1325
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1332 fi
1333
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1339 do
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1354
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1361
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1370 fi
1371 fi
1372
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1375
1376 test "$silent" = yes && exec 6>/dev/null
1377
1378
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1385
1386
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1403 q
1404 }
1405 /^X\(\/\/\)$/{
1406 s//\1/
1407 q
1408 }
1409 /^X\(\/\).*/{
1410 s//\1/
1411 q
1412 }
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1417 fi
1418 else
1419 ac_srcdir_defaulted=no
1420 fi
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1424 fi
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1432 fi
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1445
1446 #
1447 # Report the --help message.
1448 #
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1454
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1456
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1459
1460 Defaults for the options are specified in brackets.
1461
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1478
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1483
1484 For better control, use the options below.
1485
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1507
1508 cat <<\_ACEOF
1509
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1514
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1520 fi
1521
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1527
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1595
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1616
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1631
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1634
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1638 fi
1639
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1647
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 *)
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1663
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1693 fi
1694
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1700
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1706 fi
1707
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1711
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_c_try_compile
1749
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_cxx_try_compile
1787
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818 ac_retval=1
1819 fi
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1822
1823 } # ac_fn_c_try_cpp
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1845 fi
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859 ac_retval=1
1860 fi
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 $4
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1892 fi
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 fi
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899
1900 } # ac_fn_c_check_header_compile
1901
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1907 {
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1935
1936 ac_retval=$ac_status
1937 fi
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1941
1942 } # ac_fn_c_try_run
1943
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1948 {
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 fi
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1963
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1968
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1974
1975 #undef $2
1976
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1990
1991 int
1992 main ()
1993 {
1994 return $2 ();
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2006 fi
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012 } # ac_fn_c_check_func
2013
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2043
2044 ac_retval=1
2045 fi
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2048
2049 } # ac_fn_cxx_try_cpp
2050
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2055 {
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2071 fi
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 ac_retval=1
2086 fi
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2094
2095 } # ac_fn_cxx_try_link
2096
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2103 {
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2110 fi
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 $4
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2127 fi
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2131
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2143 fi
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2147
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 ;;
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 ;;
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2175 fi
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 fi
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
2182 } # ac_fn_c_check_header_mongrel
2183
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2190 {
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2197 fi
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2207 $4
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2218
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2230 fi
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2234
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 ;;
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 ;;
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2262 fi
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 fi
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268
2269 } # ac_fn_cxx_check_header_mongrel
2270
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2277 {
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2283 $4
2284 int
2285 main ()
2286 {
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2289
2290 ;
2291 return 0;
2292 }
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2305
2306 ;
2307 return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2317 fi
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 fi
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325 $4
2326 int
2327 main ()
2328 {
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2331
2332 ;
2333 return 0;
2334 }
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2341 $4
2342 int
2343 main ()
2344 {
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2347
2348 ;
2349 return 0;
2350 }
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2359 fi
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 fi
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2366 fi
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2375 $4
2376 int
2377 main ()
2378 {
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 fi
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2405 int
2406 main ()
2407 {
2408
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2413 {
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2418 }
2419 else
2420 {
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2425 }
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2429
2430 ;
2431 return 0;
2432 }
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2438 fi
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2442
2443 fi
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2446
2447 } # ac_fn_c_compute_int
2448
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2454 {
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 $4
2465 int
2466 main ()
2467 {
2468 if (sizeof ($2))
2469 return 0;
2470 ;
2471 return 0;
2472 }
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof (($2)))
2482 return 0;
2483 ;
2484 return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488
2489 else
2490 eval "$3=yes"
2491 fi
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 fi
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500
2501 } # ac_fn_c_check_type
2502
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2508 {
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2518 $4
2519 int
2520 main ()
2521 {
2522 if (sizeof ($2))
2523 return 0;
2524 ;
2525 return 0;
2526 }
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof (($2)))
2536 return 0;
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542
2543 else
2544 eval "$3=yes"
2545 fi
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2559
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2562
2563 $ $0 $@
2564
2565 _ACEOF
2566 exec 5>>config.log
2567 {
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2572
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2578
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2581
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589
2590 _ASUNAME
2591
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2600
2601 } >&5
2602
2603 cat >&5 <<_ACEOF
2604
2605
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2609
2610 _ACEOF
2611
2612
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2623 do
2624 for ac_arg
2625 do
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2636 2)
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2649 ;;
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2652 fi
2653 as_fn_append ac_configure_args " '$ac_arg'"
2654 ;;
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2660
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2668 {
2669 echo
2670
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2678 (
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2701 *)
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 ;;
2704 esac |
2705 sort
2706 )
2707 echo
2708
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2716 do
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2724
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2733 do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2741 fi
2742
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2752 fi
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2760 ' 0
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2765
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2768
2769 $as_echo "/* confdefs.h */" > confdefs.h
2770
2771 # Predefined preprocessor variables.
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2776
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2784
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2788
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2792
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2796
2797
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2810 fi
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2812 do
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2819 fi
2820 done
2821
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2832 fi
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2837 fi
2838
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2857 *)
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2887 fi
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 fi
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2899
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
2906
2907
2908
2909
2910
2911 ac_config_headers="$ac_config_headers config.h"
2912
2913
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2919
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2931 fi
2932
2933
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2937
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2943 fi
2944 else
2945 multi_basedir="$srcdir/.."
2946 fi
2947
2948
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2954 fi
2955
2956 ac_config_commands="$ac_config_commands default-1"
2957
2958
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2960 #
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2967 #
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2970 #
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2980 fi
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2985 fi
2986
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2994
2995
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2999
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3012
3013 fi
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3032
3033
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3044 fi
3045
3046 fi
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3065
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3077 fi
3078
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3098
3099
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3106
3107 target_alias=${target_alias-$host_alias}
3108
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3111
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3126 fi
3127 ;;
3128
3129 *)
3130
3131 ;;
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3135 fi
3136
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3150
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3182 *)
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3192 :
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3196 :
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3209 fi
3210 fi
3211 fi
3212 done
3213 done
3214 ;;
3215 esac
3216
3217 done
3218 IFS=$as_save_IFS
3219
3220 rm -rf conftest.one conftest.two conftest.dir
3221
3222 fi
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3231 fi
3232 fi
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3235
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3239
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3241
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3243
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3252 '
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3261
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3272 fi
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3276
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3283 fi
3284
3285 test "$2" = conftest.file
3286 )
3287 then
3288 # Ok.
3289 :
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3305
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3308
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3313 *)
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3316 fi
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3324 fi
3325
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3330 *)
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3333 fi
3334
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3361 fi
3362 done
3363 done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377
3378 fi
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3427 fi
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3430 fi
3431
3432 fi
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3434
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3443 do
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3460
3461 fi
3462
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3472 fi
3473 fi
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3476
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3482
3483 for ac_prog in gawk mawk nawk awk
3484 do
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3497 do
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3505 fi
3506 done
3507 done
3508 IFS=$as_save_IFS
3509
3510 fi
3511 fi
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 fi
3520
3521
3522 test -n "$AWK" && break
3523 done
3524
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 *)
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3545 fi
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3554 fi
3555
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3562 fi
3563 rmdir .tst 2>/dev/null
3564
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3572 fi
3573 fi
3574
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3581 fi
3582 fi
3583
3584
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3588
3589
3590 # Some tools Automake needs.
3591
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3593
3594
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3596
3597
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3599
3600
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3602
3603
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3605
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3611
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3613
3614
3615
3616
3617
3618
3619
3620
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3623
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3652 fi
3653 done
3654 done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669 fi
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3684 do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3692 fi
3693 done
3694 done
3695 IFS=$as_save_IFS
3696
3697 fi
3698 fi
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 fi
3707
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3718 fi
3719 else
3720 CC="$ac_cv_prog_CC"
3721 fi
3722
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3745 fi
3746 done
3747 done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 fi
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3786 fi
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3790 fi
3791 done
3792 done
3793 IFS=$as_save_IFS
3794
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 fi
3806 fi
3807 fi
3808 fi
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3816 fi
3817
3818
3819 fi
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3823 do
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3844 fi
3845 done
3846 done
3847 IFS=$as_save_IFS
3848
3849 fi
3850 fi
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 fi
3859
3860
3861 test -n "$CC" && break
3862 done
3863 fi
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3867 do
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3880 do
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3888 fi
3889 done
3890 done
3891 IFS=$as_save_IFS
3892
3893 fi
3894 fi
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3902 fi
3903
3904
3905 test -n "$ac_ct_CC" && break
3906 done
3907
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3918 fi
3919 fi
3920
3921 fi
3922
3923
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3928
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3949 fi
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3953
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3956
3957 int
3958 main ()
3959 {
3960
3961 ;
3962 return 0;
3963 }
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3974 fi
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main ()
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4001
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4004
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4007 do
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4014
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4032 do
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4036 ;;
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 fi
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4052 * )
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4057
4058 else
4059 ac_file=''
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4066
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4072 fi
4073 ac_exeext=$ac_cv_exeext
4074
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4102 fi
4103 fi
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4107
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4116
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4148 fi
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4152
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4201 fi
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4222
4223 ;
4224 return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4242 fi
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4315 fi
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4342 {
4343 return p[i];
4344 }
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4346 {
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4353 }
4354
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4375 int
4376 main ()
4377 {
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 ;
4380 return 0;
4381 }
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 do
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4395
4396 fi
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4399 x)
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4405 *)
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4411
4412 fi
4413
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 do
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4452 fi
4453 done
4454 done
4455 IFS=$as_save_IFS
4456
4457 fi
4458 fi
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 fi
4467
4468
4469 test -n "$CXX" && break
4470 done
4471 fi
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 do
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4488 do
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4496 fi
4497 done
4498 done
4499 IFS=$as_save_IFS
4500
4501 fi
4502 fi
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4510 fi
4511
4512
4513 test -n "$ac_ct_CXX" && break
4514 done
4515
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4526 fi
4527 fi
4528
4529 fi
4530 fi
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 fi
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4555
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563
4564 int
4565 main ()
4566 {
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4570
4571 ;
4572 return 0;
4573 }
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4582
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4590 fi
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4604
4605 int
4606 main ()
4607 {
4608
4609 ;
4610 return 0;
4611 }
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619
4620 int
4621 main ()
4622 {
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4629
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635
4636 int
4637 main ()
4638 {
4639
4640 ;
4641 return 0;
4642 }
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4646 fi
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4663 fi
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4669 fi
4670 fi
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676
4677 CXXFLAGS="$save_CXXFLAGS"
4678
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4681
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4692 fi
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 do
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4702 do
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4719
4720 else
4721 # Broken: fails on valid input.
4722 continue
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4739 fi
4740 rm -f conftest.err conftest.$ac_ext
4741
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4747 fi
4748
4749 done
4750 ac_cv_prog_CPP=$CPP
4751
4752 fi
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4761 do
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778
4779 else
4780 # Broken: fails on valid input.
4781 continue
4782 fi
4783 rm -f conftest.err conftest.$ac_ext
4784
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4798 fi
4799 rm -f conftest.err conftest.$ac_ext
4800
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4805
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4811 fi
4812
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 do
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4842 *)
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4846 do
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4858 fi
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4864
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 fi
4873 else
4874 ac_cv_path_GREP=$GREP
4875 fi
4876
4877 fi
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4908 *)
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4912 do
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4924 fi
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4930
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4938 fi
4939 else
4940 ac_cv_path_EGREP=$EGREP
4941 fi
4942
4943 fi
4944 fi
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4948
4949
4950
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4954
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4956
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4967
4968
4969
4970
4971
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4974
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4978 fi
4979
4980
4981
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4985 fi
4986
4987
4988
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4992 fi
4993
4994
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 #LN_S='cp -p'
5009
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048 fi
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5071 fi
5072 done
5073 done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5097 fi
5098 else
5099 AS="$ac_cv_prog_AS"
5100 fi
5101
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124 done
5125 done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140 fi
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5155 do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164 done
5165 done
5166 IFS=$as_save_IFS
5167
5168 fi
5169 fi
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5189 fi
5190 else
5191 AR="$ac_cv_prog_AR"
5192 fi
5193
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5207 do
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5215 fi
5216 done
5217 done
5218 IFS=$as_save_IFS
5219
5220 fi
5221 fi
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 fi
5230
5231
5232 fi
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5247 do
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5255 fi
5256 done
5257 done
5258 IFS=$as_save_IFS
5259
5260 fi
5261 fi
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5269 fi
5270
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5281 fi
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5284 fi
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5295 fi
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5305 fi
5306
5307 MAINT=$MAINTAINER_MODE_TRUE
5308
5309
5310
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5315
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5320
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5325
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5332 fi
5333 rm -f conftest*
5334
5335
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5343
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5350 fi
5351 rm -f conftest*
5352
5353
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5356
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5362
5363
5364
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5368
5369
5370
5371 fi
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5377
5378
5379
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395 ltmain="$ac_aux_dir/ltmain.sh"
5396
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5400
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5403
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5407
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5410
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5413
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5429 {
5430 eval 'cat <<_LTECHO_EOF
5431 $1
5432 _LTECHO_EOF'
5433 }
5434 ECHO='func_fallback_echo'
5435 fi
5436
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5440 {
5441 $ECHO ""
5442 }
5443
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5494 *)
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5498 do
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5510 fi
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5516
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5524 fi
5525 else
5526 ac_cv_path_SED=$SED
5527 fi
5528
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5534
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5561 do
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5573 *)
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5577 do
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5589 fi
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5595
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 fi
5604 else
5605 ac_cv_path_FGREP=$FGREP
5606 fi
5607
5608 fi
5609 fi
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5613
5614
5615 test -z "$GREP" && GREP=grep
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5640 fi
5641
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 *)
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5664 ;;
5665 "")
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5668 ;;
5669 *)
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5672 ;;
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 fi
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5697 ;;
5698 *)
5699 test "$with_gnu_ld" != yes && break
5700 ;;
5701 esac
5702 fi
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5707 fi
5708 fi
5709
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5717 fi
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5728 ;;
5729 *)
5730 lt_cv_prog_gnu_ld=no
5731 ;;
5732 esac
5733 fi
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5758 fi
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5774 ;;
5775 *)
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5780 ;;
5781 *)
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5784 ;;
5785 esac
5786 ;;
5787 esac
5788 fi
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5793 fi
5794 fi
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5806 do
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 test -n "$DUMPBIN" && break
5845 done
5846 fi
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5850 do
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5871 fi
5872 done
5873 done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5890
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5901 fi
5902 fi
5903
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5907 ;;
5908 *)
5909 DUMPBIN=:
5910 ;;
5911 esac
5912 fi
5913
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5916 fi
5917 fi
5918 test -z "$NM" && NM=nm
5919
5920
5921
5922
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5942 fi
5943 rm -f conftest*
5944 fi
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5947
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 i=0
5955 teststring="ABCD"
5956
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5964 ;;
5965
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5971 ;;
5972
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5982 ;;
5983
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5987 ;;
5988
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5993 ;;
5994
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 fi
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6007 ;;
6008
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6012 ;;
6013
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6020 #
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6025 fi
6026 ;;
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6029 ;;
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6036 fi
6037 ;;
6038 *)
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6056 do
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 fi
6068 ;;
6069 esac
6070
6071 fi
6072
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6079 fi
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6081
6082
6083
6084
6085
6086
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6103
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6113
6114
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6119 fi
6120
6121
6122
6123
6124
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6131 ;;
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6135 ;;
6136 esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6152 fi
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6167 fi
6168 ;;
6169 esac
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6192 do
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6200 fi
6201 done
6202 done
6203 IFS=$as_save_IFS
6204
6205 fi
6206 fi
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6214 fi
6215
6216
6217 fi
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243 IFS=$as_save_IFS
6244
6245 fi
6246 fi
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6254 fi
6255
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6266 fi
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6269 fi
6270
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6299
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6303 ;;
6304
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6313 ;;
6314
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6319 ;;
6320
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6332 fi
6333 ;;
6334
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6339 ;;
6340
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6354 ;;
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6358 fi
6359 ;;
6360
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 ;;
6376 hppa*64*)
6377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6379 ;;
6380 *)
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6383 ;;
6384 esac
6385 ;;
6386
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6390 ;;
6391
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6405 ;;
6406
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6412 fi
6413 ;;
6414
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6419 ;;
6420
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6430 fi
6431 ;;
6432
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6435 ;;
6436
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6439 ;;
6440
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6443 ;;
6444
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6447 ;;
6448
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 ;;
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6457 ;;
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 ;;
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6466 ;;
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6469 ;;
6470 pc)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473 esac
6474 ;;
6475
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6478 ;;
6479 esac
6480
6481 fi
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6512 do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521 done
6522 done
6523 IFS=$as_save_IFS
6524
6525 fi
6526 fi
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6534 fi
6535
6536
6537 fi
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6552 do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561 done
6562 done
6563 IFS=$as_save_IFS
6564
6565 fi
6566 fi
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6574 fi
6575
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6586 fi
6587 else
6588 AR="$ac_cv_prog_AR"
6589 fi
6590
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6625 fi
6626 done
6627 done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6665 fi
6666 done
6667 done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6691 fi
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6694 fi
6695
6696 test -z "$STRIP" && STRIP=:
6697
6698
6699
6700
6701
6702
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6716 do
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6724 fi
6725 done
6726 done
6727 IFS=$as_save_IFS
6728
6729 fi
6730 fi
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6738 fi
6739
6740
6741 fi
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6756 do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6764 fi
6765 done
6766 done
6767 IFS=$as_save_IFS
6768
6769 fi
6770 fi
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6778 fi
6779
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6790 fi
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6793 fi
6794
6795 test -z "$RANLIB" && RANLIB=:
6796
6797
6798
6799
6800
6801
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6806
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 ;;
6812 *)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 ;;
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6817 fi
6818
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6822 *)
6823 lock_old_archive_extraction=no ;;
6824 esac
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6866
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6872
6873
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6886
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6894 ;;
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6897 ;;
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6901 fi
6902 ;;
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6905 ;;
6906 osf*)
6907 symcode='[BCDEGQRST]'
6908 ;;
6909 solaris*)
6910 symcode='[BDRT]'
6911 ;;
6912 sco3.2v5*)
6913 symcode='[DT]'
6914 ;;
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6917 ;;
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6920 ;;
6921 sysv4)
6922 symcode='[DFNSTU]'
6923 ;;
6924 esac
6925
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6931
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6940
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 ;;
6947 esac
6948
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6951
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6974 fi
6975
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6978
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6988 }
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6992
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7010 fi
7011
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7019
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023
7024 cat <<_LT_EOF >> conftest.$ac_ext
7025
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7030 }
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 {
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7038 };
7039
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7044 }
7045 #endif
7046
7047 #ifdef __cplusplus
7048 }
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7063 fi
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7068 fi
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7071 fi
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7074 fi
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7078 fi
7079 rm -rf conftest* conftst*
7080
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7086 fi
7087 done
7088
7089 fi
7090
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7093 fi
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7100 fi
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7126 fi
7127
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7129
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7144 ;;
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7147 ;;
7148 esac
7149 fi
7150 rm -rf conftest*
7151 ;;
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7164 ;;
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7167 ;;
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7170 ;;
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7176 ;;
7177 *N32*)
7178 LD="${LD-ld} -n32"
7179 ;;
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7182 ;;
7183 esac
7184 fi
7185 fi
7186 rm -rf conftest*
7187 ;;
7188
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7203 ;;
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7208 ;;
7209 *)
7210 LD="${LD-ld} -m elf_i386"
7211 ;;
7212 esac
7213 ;;
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7216 ;;
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7219 ;;
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7222 ;;
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7225 ;;
7226 esac
7227 ;;
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7232 ;;
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7235 ;;
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7238 ;;
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7241 ;;
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7244 ;;
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7247 ;;
7248 esac
7249 ;;
7250 esac
7251 fi
7252 rm -rf conftest*
7253 ;;
7254
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7272 fi
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275
7276 int
7277 main ()
7278 {
7279
7280 ;
7281 return 0;
7282 }
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7288 fi
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296
7297 fi
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7303 fi
7304 ;;
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7317 *)
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7320 fi
7321 ;;
7322 esac
7323 ;;
7324 esac
7325 fi
7326 rm -rf conftest*
7327 ;;
7328 esac
7329
7330 need_locks="$enable_libtool_lock"
7331
7332
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7356 fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7422 fi
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7425 fi
7426
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7440 do
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7448 fi
7449 done
7450 done
7451 IFS=$as_save_IFS
7452
7453 fi
7454 fi
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7462 fi
7463
7464
7465 fi
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7488 fi
7489 done
7490 done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7514 fi
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7517 fi
7518
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7532 do
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7540 fi
7541 done
7542 done
7543 IFS=$as_save_IFS
7544
7545 fi
7546 fi
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7554 fi
7555
7556
7557 fi
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7580 fi
7581 done
7582 done
7583 IFS=$as_save_IFS
7584
7585 fi
7586 fi
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7594 fi
7595
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7606 fi
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7609 fi
7610
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7624 do
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7632 fi
7633 done
7634 done
7635 IFS=$as_save_IFS
7636
7637 fi
7638 fi
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647
7648
7649 fi
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7664 do
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7672 fi
7673 done
7674 done
7675 IFS=$as_save_IFS
7676
7677 fi
7678 fi
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7686 fi
7687
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7698 fi
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7701 fi
7702
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7716 do
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7724 fi
7725 done
7726 done
7727 IFS=$as_save_IFS
7728
7729 fi
7730 fi
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7738 fi
7739
7740
7741 fi
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7756 do
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7764 fi
7765 done
7766 done
7767 IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7778 fi
7779
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7790 fi
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7843 fi
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7846 fi
7847 fi
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7861 fi
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864
7865 int
7866 main ()
7867 {
7868
7869 ;
7870 return 0;
7871 }
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7877 fi
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7881
7882 fi
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7908 fi
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7911
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7932 ;;
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7936 fi
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 fi
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7946 fi
7947 ;;
7948 esac
7949
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7961
7962 int
7963 main ()
7964 {
7965
7966 ;
7967 return 0;
7968 }
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7974 fi
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7982
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7986
7987 else
7988 ac_cv_header_stdc=no
7989 fi
7990 rm -f conftest*
7991
7992 fi
7993
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
7999
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8003
8004 else
8005 ac_cv_header_stdc=no
8006 fi
8007 rm -f conftest*
8008
8009 fi
8010
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8014 :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8030
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8032 int
8033 main ()
8034 {
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8041 }
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8044
8045 else
8046 ac_cv_header_stdc=no
8047 fi
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8050 fi
8051
8052 fi
8053 fi
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8057
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8059
8060 fi
8061
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8068 "
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8074
8075 fi
8076
8077 done
8078
8079
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8083 "
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8088
8089 fi
8090
8091 done
8092
8093
8094
8095
8096
8097
8098 # Set options
8099
8100
8101
8102
8103 enable_win32_dll=no
8104
8105
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8112 *)
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8120 fi
8121 done
8122 IFS="$lt_save_ifs"
8123 ;;
8124 esac
8125 else
8126 enable_shared=yes
8127 fi
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8143 *)
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8151 fi
8152 done
8153 IFS="$lt_save_ifs"
8154 ;;
8155 esac
8156 else
8157 enable_static=yes
8158 fi
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8174 fi
8175
8176
8177 test -z "$pic_mode" && pic_mode=default
8178
8179
8180
8181
8182
8183
8184
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8191 *)
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8199 fi
8200 done
8201 IFS="$lt_save_ifs"
8202 ;;
8203 esac
8204 else
8205 enable_fast_install=yes
8206 fi
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8220
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249 test -z "$LN_S" && LN_S="ln -s"
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8266 fi
8267
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8280 fi
8281 rmdir .libs 2>/dev/null
8282 fi
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8286
8287
8288
8289
8290
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8294
8295
8296
8297
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8306 fi
8307 ;;
8308 esac
8309
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8313
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8317
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8319
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8322
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8329
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8339
8340
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 ;;
8355 *)
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8371 :
8372 else
8373 cat <<_LT_EOF 1>&2
8374
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8383
8384 _LT_EOF
8385 fi ;;
8386 esac
8387 fi
8388 break
8389 fi
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 ;;
8394 esac
8395 fi
8396
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8404 fi
8405
8406
8407
8408
8409
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8420 ;;
8421 *)
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8437 :
8438 else
8439 cat <<_LT_EOF 1>&2
8440
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8449
8450 _LT_EOF
8451 fi ;;
8452 esac
8453 fi
8454 break
8455 fi
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8459 ;;
8460 esac
8461 fi
8462
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8470 fi
8471
8472
8473 else
8474 MAGIC_CMD=:
8475 fi
8476 fi
8477
8478 fi
8479 ;;
8480 esac
8481
8482 # Use C for the default configuration in the libtool script
8483
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490
8491
8492 # Source file extension for C test sources.
8493 ac_ext=c
8494
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8498
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8501
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8504
8505
8506
8507
8508
8509
8510
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8513
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8516
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8519
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8523
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8530
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8536
8537
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8543
8544 lt_prog_compiler_no_builtin_flag=
8545
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8550 *)
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8584 fi
8585 fi
8586 $RM conftest*
8587
8588 fi
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8591
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8595 :
8596 fi
8597
8598 fi
8599
8600
8601
8602
8603
8604
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8608
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8615
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8622 fi
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8631 ;;
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8637 ;;
8638 esac
8639 ;;
8640
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8643 ;;
8644
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 ;;
8652
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8657 ;;
8658
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8663 ;;
8664
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8672 ;;
8673 *)
8674 lt_prog_compiler_pic='-fPIC'
8675 ;;
8676 esac
8677 ;;
8678
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8682 ;;
8683
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8689 ;;
8690
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8695 ;;
8696
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8700 fi
8701 ;;
8702
8703 *)
8704 lt_prog_compiler_pic='-fPIC'
8705 ;;
8706 esac
8707
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8712 ;;
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8724 fi
8725 ;;
8726
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8731 ;;
8732
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8740 ;;
8741 *)
8742 lt_prog_compiler_pic='+Z'
8743 ;;
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8747 ;;
8748
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8753 ;;
8754
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8762 ;;
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8769 ;;
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8775 ;;
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8782 ;;
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8787 ;;
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8793 ;;
8794 *)
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8801 ;;
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8807 ;;
8808 esac
8809 ;;
8810 esac
8811 ;;
8812
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8816 ;;
8817
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8822 ;;
8823
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8828 ;;
8829
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8832 ;;
8833
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8840 *)
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8843 ;;
8844
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 ;;
8850
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8855 ;;
8856
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8861 fi
8862 ;;
8863
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8873 ;;
8874
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8878 ;;
8879
8880 *)
8881 lt_prog_compiler_can_build_shared=no
8882 ;;
8883 esac
8884 fi
8885
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8890 ;;
8891 *)
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8893 ;;
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8897
8898
8899
8900
8901
8902
8903 #
8904 # Check to make sure the PIC flag actually works.
8905 #
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8937 fi
8938 fi
8939 $RM conftest*
8940
8941 fi
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8953 fi
8954
8955 fi
8956
8957
8958
8959
8960
8961
8962 #
8963 # Check to make sure the static flag actually works.
8964 #
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8985 fi
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8988 fi
8989 fi
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8992
8993 fi
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8996
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8998 :
8999 else
9000 lt_prog_compiler_static=
9001 fi
9002
9003
9004
9005
9006
9007
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9043 fi
9044 fi
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9054
9055 fi
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9058
9059
9060
9061
9062
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9098 fi
9099 fi
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9109
9110 fi
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113
9114
9115
9116
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9134 fi
9135 else
9136 need_locks=no
9137 fi
9138
9139
9140
9141
9142
9143
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9187
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9195 fi
9196 ;;
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9200 ;;
9201 openbsd*)
9202 with_gnu_ld=no
9203 ;;
9204 esac
9205
9206 ld_shlibs=yes
9207
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9222 *)
9223 lt_use_gnu_ld_interface=yes
9224 ;;
9225 esac
9226 ;;
9227 *)
9228 lt_use_gnu_ld_interface=yes
9229 ;;
9230 esac
9231 fi
9232
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9236
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9248 fi
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9258
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9266
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9273
9274 _LT_EOF
9275 fi
9276 ;;
9277
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9284 ;;
9285 m68k)
9286 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9289 ;;
9290 esac
9291 ;;
9292
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9301 fi
9302 ;;
9303
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9313
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9323 fi~
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9327 fi
9328 ;;
9329
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9333 ;;
9334
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9348 ;;
9349
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9356 fi
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9365 tmp_addflag=' $pic_flag'
9366 ;;
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9385 compiler_needs_object=yes
9386 ;;
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9403 fi
9404
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9417 fi
9418 ;;
9419 esac
9420 else
9421 ld_shlibs=no
9422 fi
9423 ;;
9424
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432 fi
9433 ;;
9434
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9439
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9446
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9453 fi
9454 ;;
9455
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9461
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9468
9469 _LT_EOF
9470 ;;
9471 *)
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9482 fi
9483 ;;
9484 esac
9485 ;;
9486
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9492 ;;
9493
9494 *)
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9500 fi
9501 ;;
9502 esac
9503
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9509 fi
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9524 fi
9525 ;;
9526
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9541 else
9542 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9543 fi
9544 aix_use_runtimelinking=no
9545
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9554 fi
9555 done
9556 ;;
9557 esac
9558
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9561 fi
9562
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9568
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9575
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9585 :
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9595 fi
9596 ;;
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9601 fi
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9613 fi
9614 fi
9615 fi
9616
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9629 fi
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632
9633 int
9634 main ()
9635 {
9636
9637 ;
9638 return 0;
9639 }
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9647 p
9648 }
9649 }'
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 fi
9655 fi
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9672 fi
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675
9676 int
9677 main ()
9678 {
9679
9680 ;
9681 return 0;
9682 }
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9690 p
9691 }
9692 }'
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 fi
9698 fi
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9702
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9714 fi
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9718 fi
9719 fi
9720 ;;
9721
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9728 ;;
9729 m68k)
9730 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9733 ;;
9734 esac
9735 ;;
9736
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9739 ;;
9740
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9760 ;;
9761
9762 darwin* | rhapsody*)
9763
9764
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9771 else
9772 whole_archive_flag_spec=''
9773 fi
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9785 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9786
9787 else
9788 ld_shlibs=no
9789 fi
9790
9791 ;;
9792
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9797 ;;
9798
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9808 ;;
9809
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9816 ;;
9817
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9824 ;;
9825
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9829 else
9830 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9831 fi
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9835
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9840 ;;
9841
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 fi
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9858 fi
9859 ;;
9860
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 ;;
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9869 ;;
9870 *)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9872 ;;
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ;;
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 ;;
9882 *)
9883
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9905 fi
9906 else
9907 lt_cv_prog_compiler__b=yes
9908 fi
9909 fi
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9912
9913 fi
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9921 fi
9922
9923 ;;
9924 esac
9925 fi
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9934 ;;
9935 *)
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9939
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9943 ;;
9944 esac
9945 fi
9946 ;;
9947
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 fi
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9965
9966 fi
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9973 fi
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9979 ;;
9980
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9986 fi
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9990 ;;
9991
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
9998 ;;
9999
10000 *nto* | *qnx*)
10001 ;;
10002
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 ;;
10019 *)
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 ;;
10023 esac
10024 fi
10025 else
10026 ld_shlibs=no
10027 fi
10028 ;;
10029
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10036 ;;
10037
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10045 fi
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 ;;
10050
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10059 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10060 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10061
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10064 fi
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10067 ;;
10068
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10083 ;;
10084 *)
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 ;;
10090 esac
10091 fi
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10096 *)
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10105 fi
10106 ;;
10107 esac
10108 link_all_deplibs=yes
10109 ;;
10110
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10118 fi
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10123 ;;
10124
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10130 ;;
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10137 ;;
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10141 ;;
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10151 ;;
10152
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10160 fi
10161 ;;
10162
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10168
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 fi
10176 ;;
10177
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10194
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 fi
10202 ;;
10203
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10208 ;;
10209
10210 *)
10211 ld_shlibs=no
10212 ;;
10213 esac
10214
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 ;;
10220 esac
10221 fi
10222 fi
10223
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10227
10228 with_gnu_ld=$with_gnu_ld
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244 #
10245 # Do we need to explicitly link libc?
10246 #
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10251
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10256 ;;
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10296 fi
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10300 fi
10301 $RM conftest*
10302
10303 fi
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10307 ;;
10308 esac
10309 fi
10310 ;;
10311 esac
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10489 ;;
10490 *)
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10492 ;;
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10504 fi
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10519 }
10520 }
10521 }
10522 }
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10525 }'`
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10535 fi
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10551
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10555
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10561
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 ;;
10565
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10586 :
10587 else
10588 can_build_shared=no
10589 fi
10590 ;;
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 fi
10606 shlibpath_var=LIBPATH
10607 fi
10608 ;;
10609
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 ;;
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10621 ;;
10622 esac
10623 ;;
10624
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10629 ;;
10630
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10643 ;;
10644
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10650
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10663 fi'
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10668
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10675 ;;
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 ;;
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 ;;
10684 esac
10685 ;;
10686
10687 *)
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10689 ;;
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10694 ;;
10695
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10706
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10709 ;;
10710
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 ;;
10719
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10730 fi
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10737 ;;
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10741 ;;
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10747 ;;
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 ;;
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10756 ;;
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10760 ;;
10761 esac
10762 ;;
10763
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10772 ;;
10773
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10806 fi
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 ;;
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10819 ;;
10820 *)
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 ;;
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10833 ;;
10834
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 ;;
10846
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10850 *)
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10864 ;;
10865 *)
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10875 ;;
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10882 ;;
10883
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10887 ;;
10888
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10911 fi
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914
10915 int
10916 main ()
10917 {
10918
10919 ;
10920 return 0;
10921 }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10926 fi
10927 fi
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10932
10933 fi
10934
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10941
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10946 fi
10947
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10955 ;;
10956
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10969 fi
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 ;;
10974
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10980 ;;
10981
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10992 ;;
10993
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11010 ;;
11011 *)
11012 shlibpath_overrides_runpath=yes
11013 ;;
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11017 fi
11018 ;;
11019
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11027 ;;
11028
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11038 ;;
11039
11040 rdos*)
11041 dynamic_linker=no
11042 ;;
11043
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11055 ;;
11056
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11065 fi
11066 need_version=yes
11067 ;;
11068
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11079 ;;
11080 siemens)
11081 need_lib_prefix=no
11082 ;;
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11088 ;;
11089 esac
11090 ;;
11091
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 fi
11099 ;;
11100
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11117 ;;
11118 esac
11119 fi
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11121 ;;
11122
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11132 ;;
11133
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11139 ;;
11140
11141 *)
11142 dynamic_linker=no
11143 ;;
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11148
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11152 fi
11153
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11156 fi
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11159 fi
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11258
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11271 fi
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11279
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11288 fi
11289
11290
11291
11292
11293
11294
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11302
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11308 ;;
11309
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11313 ;;
11314
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11318 ;;
11319
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 fi
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11342 int
11343 main ()
11344 {
11345 return dlopen ();
11346 ;
11347 return 0;
11348 }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11354 fi
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11358 fi
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11368
11369 fi
11370
11371 ;;
11372
11373 *)
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11387 fi
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11398 int
11399 main ()
11400 {
11401 return shl_load ();
11402 ;
11403 return 0;
11404 }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11410 fi
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11414 fi
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11433 fi
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11444 int
11445 main ()
11446 {
11447 return dlopen ();
11448 ;
11449 return 0;
11450 }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11456 fi
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11460 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11475 fi
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11486 int
11487 main ()
11488 {
11489 return dlopen ();
11490 ;
11491 return 0;
11492 }
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11502 fi
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11517 fi
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11528 int
11529 main ()
11530 {
11531 return dld_link ();
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11540 fi
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11549 fi
11550
11551
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566 ;;
11567 esac
11568
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11573 fi
11574
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11689
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11705
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11709
11710 #include <stdio.h>
11711
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11721
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11743
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11749
11750 void fnord () { int i=42; }
11751 int main ()
11752 {
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11755
11756 if (self)
11757 {
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11760 {
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11763 }
11764 /* dlclose (self); */
11765 }
11766 else
11767 puts (dlerror ());
11768
11769 return status;
11770 }
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11787 fi
11788 fi
11789 rm -fr conftest*
11790
11791
11792 fi
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11795 fi
11796
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11800 ;;
11801 esac
11802
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11807
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11812 fi
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11851 fi
11852 ;;
11853 *)
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11856 ;;
11857 esac
11858 fi
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11880
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11889 fi
11890 ;;
11891
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11895 fi
11896 ;;
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11900
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11907
11908
11909
11910
11911 fi
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917
11918 CC="$lt_save_CC"
11919
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11936 do
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11956
11957 else
11958 # Broken: fails on valid input.
11959 continue
11960 fi
11961 rm -f conftest.err conftest.$ac_ext
11962
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11976 fi
11977 rm -f conftest.err conftest.$ac_ext
11978
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11984 fi
11985
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11988
11989 fi
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11993 fi
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11998 do
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12015
12016 else
12017 # Broken: fails on valid input.
12018 continue
12019 fi
12020 rm -f conftest.err conftest.$ac_ext
12021
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12035 fi
12036 rm -f conftest.err conftest.$ac_ext
12037
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12042
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12048 fi
12049
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12055
12056 else
12057 _lt_caught_CXX_error=yes
12058 fi
12059
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12065
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12090
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12093
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12097
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12105
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12108
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12110
12111
12112
12113
12114
12115
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12118
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12121
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12124
12125
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12132
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12138
12139
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12151 fi
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12156 fi
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12170
12171
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12179 fi
12180
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12183
12184
12185
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12191 fi
12192
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12202 *)
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12215 ;;
12216 "")
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12219 ;;
12220 *)
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12223 ;;
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12231 fi
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12248 ;;
12249 *)
12250 test "$with_gnu_ld" != yes && break
12251 ;;
12252 esac
12253 fi
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12258 fi
12259 fi
12260
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12268 fi
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12279 ;;
12280 *)
12281 lt_cv_prog_gnu_ld=no
12282 ;;
12283 esac
12284 fi
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12288
12289
12290
12291
12292
12293
12294
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12300
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12303
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12308
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12315 fi
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12319
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12326 fi
12327
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12332
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12337 fi
12338
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12347 ;;
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12357
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12367 ;;
12368 esac
12369 done
12370 ;;
12371 esac
12372
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12375 fi
12376
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12382
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12389
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12399 :
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12409 fi
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12414 fi
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12426 fi
12427 fi
12428 fi
12429
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12443 fi
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446
12447 int
12448 main ()
12449 {
12450
12451 ;
12452 return 0;
12453 }
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12456
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12461 p
12462 }
12463 }'
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 fi
12469 fi
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12473
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475
12476 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12487 fi
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12500
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12505 p
12506 }
12507 }'
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 fi
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12517
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12529 fi
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12534 fi
12535 fi
12536 ;;
12537
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12546 fi
12547 ;;
12548
12549 chorus*)
12550 case $cc_basename in
12551 *)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12554 ;;
12555 esac
12556 ;;
12557
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12566
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12576 fi~
12577 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12578 else
12579 ld_shlibs_CXX=no
12580 fi
12581 ;;
12582 darwin* | rhapsody*)
12583
12584
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12593 fi
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12605 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12608 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12609 fi
12610
12611 else
12612 ld_shlibs_CXX=no
12613 fi
12614
12615 ;;
12616
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12622 ;;
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12627 ;;
12628 *)
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12631 ;;
12632 esac
12633 ;;
12634
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12639 ;;
12640
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12643 ;;
12644
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12649 ;;
12650
12651 gnu*)
12652 ;;
12653
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12657 ;;
12658
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12667
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12672 ;;
12673 aCC*)
12674 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12678 #
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12684 ;;
12685 *)
12686 if test "$GXX" = yes; then
12687 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12691 fi
12692 ;;
12693 esac
12694 ;;
12695
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12700
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12703 ;;
12704 *)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12706 ;;
12707 esac
12708 fi
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 ;;
12714 *)
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12720 ;;
12721 esac
12722
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12727 ;;
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 ;;
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ;;
12736 *)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 ;;
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12743 #
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12749 ;;
12750 *)
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ;;
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ;;
12760 *)
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12762 ;;
12763 esac
12764 fi
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12768 fi
12769 ;;
12770 esac
12771 ;;
12772
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12785 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12786 ;;
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12792
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 ;;
12799 *)
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12803 else
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12805 fi
12806 fi
12807 link_all_deplibs_CXX=yes
12808 ;;
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12813 ;;
12814
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12819
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12824 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12828 #
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12834
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12837
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12841 ;;
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12852 ;;
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12860 ;;
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 ;;
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12888 ;;
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12892 ;;
12893 esac
12894
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12898 ;;
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12903
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12907
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12911 #
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12917 ;;
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12928 fi
12929 ;;
12930 *)
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12939 compiler_needs_object_CXX=yes
12940
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12945
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12951 ;;
12952 esac
12953 ;;
12954 esac
12955 ;;
12956
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12960 ;;
12961
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12965 ;;
12966
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12972 ;;
12973 *)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12976 ;;
12977 esac
12978 ;;
12979
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12987 fi
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12990 ;;
12991
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12994 ;;
12995
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13012 fi
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13023
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13028
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13031
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13038 ;;
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13043 ;;
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 ;;
13051 *)
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13059 ;;
13060 esac
13061
13062 hardcode_libdir_separator_CXX=:
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 #
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13073 ;;
13074 *)
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13080 ;;
13081 *)
13082 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13083 ;;
13084 esac
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13088
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13097 fi
13098 ;;
13099 esac
13100 ;;
13101
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13105 ;;
13106
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13113 ;;
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119 *)
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123 esac
13124 ;;
13125
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13135
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13140 *)
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 ;;
13146 esac
13147 link_all_deplibs_CXX=yes
13148
13149 output_verbose_link_cmd='func_echo_all'
13150
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 ;;
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13160
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 ;;
13164 *)
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13172
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13183
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 fi
13189
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13193 *)
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13195 ;;
13196 esac
13197 fi
13198 ;;
13199 esac
13200 ;;
13201
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13207
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 ;;
13213 *)
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 ;;
13217 esac
13218 ;;
13219
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13236
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13245 ;;
13246 *)
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 ;;
13250 esac
13251 ;;
13252
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13259 ;;
13260 *)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 esac
13265 ;;
13266
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13270 ;;
13271
13272 *)
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13275 ;;
13276 esac
13277
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13281
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13284
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13295
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13298 {
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13303 };
13304 _LT_EOF
13305
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13313
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13317
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13320
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13330 fi
13331
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13342 fi
13343 ;;
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13352 fi
13353 fi
13354 ;;
13355
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13362 fi
13363
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13369 fi
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13375 fi
13376 fi
13377 ;;
13378
13379 *) ;; # Ignore the rest.
13380
13381 esac
13382 done
13383
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13388 fi
13389
13390 $RM -f confest.$objext
13391
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13400 ;;
13401
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13406
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13414 ;;
13415 esac
13416
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13419 fi
13420 ;;
13421 esac
13422 ;;
13423
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13434 ;;
13435 esac
13436
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13442 fi
13443 ;;
13444 esac
13445 ;;
13446 esac
13447
13448
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13455 fi
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13493
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13498
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13505 fi
13506 lt_prog_compiler_pic_CXX='-fPIC'
13507 ;;
13508
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13514 ;;
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13520 ;;
13521 esac
13522 ;;
13523
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13526 ;;
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13533 ;;
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13538 ;;
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13542 ;;
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13547 ;;
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13551 ;;
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13555 fi
13556 ;;
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13563 ;;
13564 *)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13566 ;;
13567 esac
13568 ;;
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13573 ;;
13574 *)
13575 lt_prog_compiler_pic_CXX='-fPIC'
13576 ;;
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13587 fi
13588 ;;
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13594 ;;
13595 esac
13596 ;;
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 ;;
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13612 ;;
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13620 fi
13621 ;;
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13628 ;;
13629 *)
13630 lt_prog_compiler_pic_CXX='+Z'
13631 ;;
13632 esac
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13641 ;;
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13659 ;;
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13665 ;;
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13672 ;;
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13685 ;;
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13691 ;;
13692 *)
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 ;;
13700 esac
13701 ;;
13702 esac
13703 ;;
13704 lynxos*)
13705 ;;
13706 m88k*)
13707 ;;
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13712 ;;
13713 *)
13714 ;;
13715 esac
13716 ;;
13717 netbsd*)
13718 ;;
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13723 ;;
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13728 ;;
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13732 ;;
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13740 ;;
13741 *)
13742 ;;
13743 esac
13744 ;;
13745 psos*)
13746 ;;
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13754 ;;
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13758 ;;
13759 *)
13760 ;;
13761 esac
13762 ;;
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13769 ;;
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13773 ;;
13774 *)
13775 ;;
13776 esac
13777 ;;
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13784 ;;
13785 esac
13786 ;;
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13792 ;;
13793 *)
13794 ;;
13795 esac
13796 ;;
13797 vxworks*)
13798 ;;
13799 *)
13800 lt_prog_compiler_can_build_shared_CXX=no
13801 ;;
13802 esac
13803 fi
13804
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13809 ;;
13810 *)
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13812 ;;
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13816
13817
13818
13819 #
13820 # Check to make sure the PIC flag actually works.
13821 #
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13853 fi
13854 fi
13855 $RM conftest*
13856
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13860
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13869 fi
13870
13871 fi
13872
13873
13874
13875 #
13876 # Check to make sure the static flag actually works.
13877 #
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13898 fi
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 fi
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13905
13906 fi
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13909
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13911 :
13912 else
13913 lt_prog_compiler_static_CXX=
13914 fi
13915
13916
13917
13918
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13953 fi
13954 fi
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13964
13965 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13968
13969
13970
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14005 fi
14006 fi
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14016
14017 fi
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14020
14021
14022
14023
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14041 fi
14042 else
14043 need_locks=no
14044 fi
14045
14046
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14050
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14060 else
14061 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14062 fi
14063 ;;
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14066 ;;
14067 cygwin* | mingw* | cegcc*)
14068 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14069 ;;
14070 *)
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14072 ;;
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14075
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079
14080 with_gnu_ld_CXX=$with_gnu_ld
14081
14082
14083
14084
14085
14086
14087 #
14088 # Do we need to explicitly link libc?
14089 #
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14094
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14099 ;;
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14111
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14139 fi
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14143 fi
14144 $RM conftest*
14145
14146 fi
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14150 ;;
14151 esac
14152 fi
14153 ;;
14154 esac
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14221
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14237
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14241
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14247
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 ;;
14251
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14272 :
14273 else
14274 can_build_shared=no
14275 fi
14276 ;;
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 fi
14292 shlibpath_var=LIBPATH
14293 fi
14294 ;;
14295
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 ;;
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14307 ;;
14308 esac
14309 ;;
14310
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14315 ;;
14316
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14329 ;;
14330
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14336
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14349 fi'
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14354
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14359
14360 ;;
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 ;;
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 ;;
14369 esac
14370 ;;
14371
14372 *)
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 ;;
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14379 ;;
14380
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14391
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14393 ;;
14394
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 ;;
14403
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14414 fi
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14421 ;;
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14425 ;;
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14431 ;;
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14435 ;;
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14440 ;;
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14444 ;;
14445 esac
14446 ;;
14447
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14490 fi
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 ;;
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14503 ;;
14504 *)
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 ;;
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14517 ;;
14518
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14529 ;;
14530
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14534 *)
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14548 ;;
14549 *)
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14559 ;;
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14571 ;;
14572
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14595 fi
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598
14599 int
14600 main ()
14601 {
14602
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14610 fi
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14616
14617 fi
14618
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14620
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14625
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14630 fi
14631
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14639 ;;
14640
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14653 fi
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 ;;
14658
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14664 ;;
14665
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14676 ;;
14677
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14694 ;;
14695 *)
14696 shlibpath_overrides_runpath=yes
14697 ;;
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14701 fi
14702 ;;
14703
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14711 ;;
14712
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14722 ;;
14723
14724 rdos*)
14725 dynamic_linker=no
14726 ;;
14727
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14739 ;;
14740
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14749 fi
14750 need_version=yes
14751 ;;
14752
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14763 ;;
14764 siemens)
14765 need_lib_prefix=no
14766 ;;
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14772 ;;
14773 esac
14774 ;;
14775
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14782 fi
14783 ;;
14784
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14801 ;;
14802 esac
14803 fi
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14805 ;;
14806
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14816 ;;
14817
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14823 ;;
14824
14825 *)
14826 dynamic_linker=no
14827 ;;
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14832
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14836 fi
14837
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14840 fi
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14843 fi
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14888
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14901 fi
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14906 fi
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14909
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14918 fi
14919
14920
14921
14922
14923
14924
14925
14926 fi # test -n "$compiler"
14927
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14938
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957 ac_config_commands="$ac_config_commands libtool"
14958
14959
14960
14961
14962 # Only expand once:
14963
14964
14965
14966
14967
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14978 fi
14979 ;;
14980 *)
14981 lt_host_flags=
14982 ;;
14983 esac
14984
14985
14986
14987
14988
14989
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14993 fi
14994
14995
14996 # libtool variables for C++ shared and position-independent compiles.
14997 #
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15001 #
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15004 #
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15012
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15017 fi
15018
15019
15020
15021
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15027
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15030
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15034
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15042 ;;
15043 *)
15044 enable_hosted_libstdcxx=yes
15045 ;;
15046 esac
15047 fi
15048
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15059 fi
15060
15061
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15065
15066
15067
15068 # Enable descriptive messages to standard output on termination.
15069
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15075 fi
15076
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15083 fi
15084
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15088
15089
15090
15091 # Enable compiler support that doesn't require linking.
15092
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15100
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15103 fi
15104
15105
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15114
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15131 fi
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139
15140
15141 fi
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15145 fi
15146
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15151
15152
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15157 fi
15158
15159
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15166
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15179
15180
15181
15182
15183
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15189
15190 old_CXXFLAGS="$CXXFLAGS"
15191
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15201 ;;
15202 esac
15203 fi
15204
15205 if test x$atomic_builtins_link_tests = xyes; then
15206
15207 # Do link tests.
15208
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15210
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15219 fi
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222
15223 int
15224 main ()
15225 {
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15235
15236 ;
15237 return 0;
15238 }
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15244 fi
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247
15248 fi
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15261 fi
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15277
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15286 fi
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289
15290 fi
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15303 fi
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306
15307 int
15308 main ()
15309 {
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15319
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15328 fi
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331
15332 fi
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15345 fi
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348
15349 int
15350 main ()
15351 {
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15361
15362 ;
15363 return 0;
15364 }
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373
15374 fi
15375
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15378
15379 else
15380
15381 # Do asm tests.
15382
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15385
15386 # Fake what AC_TRY_COMPILE does.
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15401
15402 return 0;
15403 }
15404 EOF
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15417 fi
15418 fi
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15422
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15426 {
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15436
15437 return 0;
15438 }
15439 EOF
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15452 fi
15453 fi
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15457
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15461 {
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15472
15473 return 0;
15474 }
15475 EOF
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15488 fi
15489 fi
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15493
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15497 {
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15507
15508 return 0;
15509 }
15510 EOF
15511
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15523 fi
15524 fi
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15528
15529 fi
15530
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15543
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15545
15546 atomicity_dir=cpu/generic/atomicity_builtins
15547 fi
15548
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15564 fi
15565 fi
15566
15567
15568
15569
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15572
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15576 {
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15581 }
15582 EOF
15583
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15591
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15593
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15597 fi
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15601
15602
15603
15604
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15610
15611
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15614
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15620
15621 template<typename T>
15622 struct same<T, T>;
15623
15624 int main()
15625 {
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15628 }
15629 EOF
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15638
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15640
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15644 fi
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15648
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15654
15655 template<typename T>
15656 struct same<T, T>;
15657
15658 int main()
15659 {
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15662 }
15663 EOF
15664
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15672
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15674
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15678 fi
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15682
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688
15689
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15692 fi
15693
15694 # Checks for compiler support that doesn't require linking.
15695
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15699
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15708
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15714 fi
15715
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15742 fi
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15745 fi
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15748
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756
15757
15758
15759 # Enable all the variable C++ runtime options that don't require linking.
15760
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15770
15771 else
15772 enable_cstdio=stdio
15773 fi
15774
15775
15776
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15787 ;;
15788 esac
15789
15790
15791
15792
15793
15794
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15802
15803 else
15804 enable_clocale=auto
15805 fi
15806
15807
15808
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15818 fi
15819
15820
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15824 fi
15825 enable_clocale_flag=$enable_clocale
15826
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15833 ;;
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15836 ;;
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15839 ;;
15840 openbsd*)
15841 enable_clocale_flag=newlib
15842 ;;
15843 *)
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15848 fi
15849 ;;
15850 esac
15851 fi
15852
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15862
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15869 fi
15870 rm -f conftest*
15871
15872
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15876
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15883 int
15884 main ()
15885 {
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15892
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15894
15895 fi
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15904 int
15905 main ()
15906 {
15907 __locale_t loc; strerror_l(5, loc);
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15915
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919 CFLAGS="$ac_save_CFLAGS"
15920 fi
15921
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15930 int
15931 main ()
15932 {
15933 char s[128]; strerror_r(5, s, 128);
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15939
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15941
15942 fi
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15945
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15953
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15966 ;;
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15970
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15983 ;;
15984
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15988
15989 CLOCALE_H=config/locale/dragonfly/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15997 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
15998 CTIME_H=config/locale/dragonfly/time_members.h
15999 CTIME_CC=config/locale/dragonfly/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 ;;
16002
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16006
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16011
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16025 do
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16033 fi
16034 done
16035 done
16036 IFS=$as_save_IFS
16037
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16039 fi
16040 fi
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16048 fi
16049
16050
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16053 fi
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16059
16060
16061
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16074 ;;
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16078
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16091 ;;
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16095
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16108 ;;
16109 esac
16110
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16114
16115
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16125
16126 else
16127 USE_NLS=no
16128 fi
16129
16130 done
16131
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16148 int
16149 main ()
16150 {
16151 return gettext ();
16152 ;
16153 return 0;
16154 }
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 fi
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16165 fi
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16168 fi
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16173 fi
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16176
16177 else
16178 ac_cv_search_gettext=no
16179 fi
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16188
16189 else
16190 USE_NLS=no
16191 fi
16192
16193 fi
16194 if test $USE_NLS = yes; then
16195
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16197
16198 fi
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16224
16225 else
16226 enable_libstdcxx_allocator=auto
16227 fi
16228
16229
16230
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16238 fi
16239
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16243
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16250 ;;
16251 *)
16252 enable_libstdcxx_allocator_flag=new
16253 ;;
16254 esac
16255 fi
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16258
16259
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16265 ;;
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16269 ;;
16270 mt)
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16273 ;;
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16277 ;;
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16281 ;;
16282 esac
16283
16284
16285
16286
16287
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16295
16296 else
16297 enable_cheaders=$c_model
16298 fi
16299
16300
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16303
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16305
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16309 fi
16310
16311
16312
16313
16314
16315
16316
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16324
16325 else
16326 enable_long_long=yes
16327 fi
16328
16329
16330 if test $enable_long_long = yes; then
16331
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16333
16334 fi
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16339
16340
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16348
16349 else
16350 enable_wchar_t=yes
16351 fi
16352
16353
16354
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16366 fi
16367
16368 done
16369
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16375 int
16376 main ()
16377 {
16378 mbstate_t teststate;
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16387 fi
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16392
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16394
16395 fi
16396
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16409 fi
16410
16411 done
16412
16413
16414 if test x"$enable_wchar_t" = x"yes"; then
16415
16416
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16422
16423
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16435 {
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16488 }
16489
16490 int
16491 main ()
16492 {
16493
16494 ;
16495 return 0;
16496 }
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16499
16500 else
16501 enable_wchar_t=no
16502 fi
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16506 fi
16507
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514 fi
16515
16516 if test x"$enable_wchar_t" = x"yes"; then
16517
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16519
16520 fi
16521
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16526
16527
16528
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16536
16537 else
16538 enable_c99=yes
16539 fi
16540
16541
16542
16543 if test x"$enable_c99" = x"yes"; then
16544
16545
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16551
16552
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16562
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16576 fi
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16587 int
16588 main ()
16589 {
16590 return sin ();
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16599 fi
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16603 fi
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607
16608 LIBS="$LIBS -lm"
16609
16610 else
16611
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16614
16615 fi
16616
16617 fi
16618
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16632 int
16633 main ()
16634 {
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16648
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16657 fi
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16662 fi
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16668 int
16669 main ()
16670 {
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16684
16685 ;
16686 return 0;
16687 }
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16693 fi
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 fi
16697
16698 fi
16699
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16703
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16705
16706 fi
16707
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16722 fi
16723
16724 done
16725
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16736 fi
16737
16738 done
16739
16740 glibcxx_cv_c99_complex=no;
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>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16757 int
16758 main ()
16759 {
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16799
16800 ;
16801 return 0;
16802 }
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16808 fi
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 fi
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16826 int
16827 main ()
16828 {
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16868
16869 ;
16870 return 0;
16871 }
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16877 fi
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16880 fi
16881 fi
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16885
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16887
16888 fi
16889
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16903 {
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16910 }
16911 int
16912 main ()
16913 {
16914
16915 ;
16916 return 0;
16917 }
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16923 fi
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16928 fi
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16934 {
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16941 }
16942 int
16943 main ()
16944 {
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16957 fi
16958
16959 fi
16960
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16963
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16979 int
16980 main ()
16981 {
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16993
16994 ;
16995 return 0;
16996 }
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 fi
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17015 int
17016 main ()
17017 {
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17029
17030 ;
17031 return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 fi
17042
17043 fi
17044
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17047
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17058 {
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17062 }
17063
17064 int
17065 main ()
17066 {
17067
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17076 fi
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17087 int
17088 main ()
17089 {
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17096
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17098
17099 fi
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17115
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17117
17118 fi
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17125 int
17126 main ()
17127 {
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17134
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17136
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17144 int
17145 main ()
17146 {
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17153
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17155
17156 fi
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17162 int
17163 main ()
17164 {
17165 wint_t t; int i = iswblank(t);
17166 ;
17167 return 0;
17168 }
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17171
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17173
17174 fi
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17179 fi
17180
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17189
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17191
17192 fi
17193
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17202
17203 fi
17204
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17209
17210
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17218
17219 else
17220 enable_concept_checks=no
17221 fi
17222
17223
17224 if test $enable_concept_checks = yes; then
17225
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17227
17228 fi
17229
17230
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17240 fi
17241
17242
17243
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17246
17247
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17250
17251
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17261
17262 else
17263 enable_libstdcxx_debug=no
17264 fi
17265
17266
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17269
17270
17271
17272
17273 enable_parallel=no;
17274
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17282 fi
17283
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17300 fi
17301
17302
17303
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17315 fi
17316
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17320
17321
17322
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17330
17331 else
17332 enable_fully_dynamic_string=no
17333 fi
17334
17335
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17340 fi
17341
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17345
17346
17347
17348
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17356
17357 else
17358 enable_extern_template=yes
17359 fi
17360
17361
17362
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17367
17368
17369
17370
17371
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17374
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17384
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17387
17388
17389
17390
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17400
17401 else
17402 enable_werror=yes
17403 fi
17404
17405
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17408
17409
17410
17411
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17419
17420 else
17421 enable_vtable_verify=no
17422 fi
17423
17424
17425
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17430
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17437 vtv_cygmin=yes
17438 ;;
17439 darwin*)
17440 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
17441 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
17442 ;;
17443 *)
17444 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17445 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17446 ;;
17447 esac
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 else
17450 VTV_CXXFLAGS=
17451 VTV_PCH_CXXFLAGS=
17452 VTV_CXXLINKFLAGS=
17453 fi
17454
17455
17456
17457
17458 if test x$vtv_cygmin = xyes; then
17459 VTV_CYGMIN_TRUE=
17460 VTV_CYGMIN_FALSE='#'
17461 else
17462 VTV_CYGMIN_TRUE='#'
17463 VTV_CYGMIN_FALSE=
17464 fi
17465
17466
17467
17468
17469 # Checks for operating systems support that doesn't require linking.
17470
17471
17472
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478
17479
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17481 $as_echo_n "checking for gets declaration... " >&6; }
17482 if test "${glibcxx_cv_gets+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdio.h>
17489 namespace test
17490 {
17491 using ::gets;
17492 }
17493
17494 _ACEOF
17495 if ac_fn_cxx_try_compile "$LINENO"; then :
17496 glibcxx_cv_gets=yes
17497 else
17498 glibcxx_cv_gets=no
17499
17500 fi
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 fi
17503
17504
17505 if test $glibcxx_cv_gets = yes; then
17506
17507 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17508
17509 fi
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17511 $as_echo "$glibcxx_cv_gets" >&6; }
17512
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518
17519
17520
17521
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17523 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17524 if test "${glibcxx_cv_system_error1+set}" = set; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <errno.h>
17531 int
17532 main ()
17533 {
17534 int i = EOWNERDEAD;
17535 ;
17536 return 0;
17537 }
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540 glibcxx_cv_system_error1=yes
17541 else
17542 glibcxx_cv_system_error1=no
17543 fi
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545
17546 fi
17547
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17549 $as_echo "$glibcxx_cv_system_error1" >&6; }
17550 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17551
17552 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17553
17554 fi
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17556 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17557 if test "${glibcxx_cv_system_error2+set}" = set; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 #include <errno.h>
17564 int
17565 main ()
17566 {
17567 int i = ENOTRECOVERABLE;
17568 ;
17569 return 0;
17570 }
17571 _ACEOF
17572 if ac_fn_c_try_compile "$LINENO"; then :
17573 glibcxx_cv_system_error2=yes
17574 else
17575 glibcxx_cv_system_error2=no
17576 fi
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
17579 fi
17580
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17582 $as_echo "$glibcxx_cv_system_error2" >&6; }
17583 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17584
17585 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17586
17587 fi
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17589 $as_echo_n "checking for ENOLINK... " >&6; }
17590 if test "${glibcxx_cv_system_error3+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <errno.h>
17597 int
17598 main ()
17599 {
17600 int i = ENOLINK;
17601 ;
17602 return 0;
17603 }
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 glibcxx_cv_system_error3=yes
17607 else
17608 glibcxx_cv_system_error3=no
17609 fi
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611
17612 fi
17613
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17615 $as_echo "$glibcxx_cv_system_error3" >&6; }
17616 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17617
17618 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17619
17620 fi
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17622 $as_echo_n "checking for EPROTO... " >&6; }
17623 if test "${glibcxx_cv_system_error4+set}" = set; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17626
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <errno.h>
17630 int
17631 main ()
17632 {
17633 int i = EPROTO;
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17639 glibcxx_cv_system_error4=yes
17640 else
17641 glibcxx_cv_system_error4=no
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644
17645 fi
17646
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17648 $as_echo "$glibcxx_cv_system_error4" >&6; }
17649 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17650
17651 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17652
17653 fi
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17655 $as_echo_n "checking for ENODATA... " >&6; }
17656 if test "${glibcxx_cv_system_error5+set}" = set; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <errno.h>
17663 int
17664 main ()
17665 {
17666 int i = ENODATA;
17667 ;
17668 return 0;
17669 }
17670 _ACEOF
17671 if ac_fn_c_try_compile "$LINENO"; then :
17672 glibcxx_cv_system_error5=yes
17673 else
17674 glibcxx_cv_system_error5=no
17675 fi
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677
17678 fi
17679
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17681 $as_echo "$glibcxx_cv_system_error5" >&6; }
17682 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17683
17684 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17685
17686 fi
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17688 $as_echo_n "checking for ENOSR... " >&6; }
17689 if test "${glibcxx_cv_system_error6+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <errno.h>
17696 int
17697 main ()
17698 {
17699 int i = ENOSR;
17700 ;
17701 return 0;
17702 }
17703 _ACEOF
17704 if ac_fn_c_try_compile "$LINENO"; then :
17705 glibcxx_cv_system_error6=yes
17706 else
17707 glibcxx_cv_system_error6=no
17708 fi
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710
17711 fi
17712
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17714 $as_echo "$glibcxx_cv_system_error6" >&6; }
17715 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17716
17717 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17718
17719 fi
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17721 $as_echo_n "checking for ENOSTR... " >&6; }
17722 if test "${glibcxx_cv_system_error7+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17725
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <errno.h>
17729 int
17730 main ()
17731 {
17732 int i = ENOSTR;
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 if ac_fn_c_try_compile "$LINENO"; then :
17738 glibcxx_cv_system_error7=yes
17739 else
17740 glibcxx_cv_system_error7=no
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743
17744 fi
17745
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17747 $as_echo "$glibcxx_cv_system_error7" >&6; }
17748 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17749
17750 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17751
17752 fi
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17754 $as_echo_n "checking for ETIME... " >&6; }
17755 if test "${glibcxx_cv_system_error8+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17758
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <errno.h>
17762 int
17763 main ()
17764 {
17765 int i = ETIME;
17766 ;
17767 return 0;
17768 }
17769 _ACEOF
17770 if ac_fn_c_try_compile "$LINENO"; then :
17771 glibcxx_cv_system_error8=yes
17772 else
17773 glibcxx_cv_system_error8=no
17774 fi
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776
17777 fi
17778
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17780 $as_echo "$glibcxx_cv_system_error8" >&6; }
17781 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17782
17783 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17784
17785 fi
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17787 $as_echo_n "checking for EBADMSG... " >&6; }
17788 if test "${glibcxx_cv_system_error9+set}" = set; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17791
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <errno.h>
17795 int
17796 main ()
17797 {
17798 int i = EBADMSG;
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 if ac_fn_c_try_compile "$LINENO"; then :
17804 glibcxx_cv_system_error9=yes
17805 else
17806 glibcxx_cv_system_error9=no
17807 fi
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809
17810 fi
17811
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17813 $as_echo "$glibcxx_cv_system_error9" >&6; }
17814 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17815
17816 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17817
17818 fi
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17820 $as_echo_n "checking for ECANCELED... " >&6; }
17821 if test "${glibcxx_cv_system_error10+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <errno.h>
17828 int
17829 main ()
17830 {
17831 int i = ECANCELED;
17832 ;
17833 return 0;
17834 }
17835 _ACEOF
17836 if ac_fn_c_try_compile "$LINENO"; then :
17837 glibcxx_cv_system_error10=yes
17838 else
17839 glibcxx_cv_system_error10=no
17840 fi
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842
17843 fi
17844
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17846 $as_echo "$glibcxx_cv_system_error10" >&6; }
17847 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17848
17849 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17850
17851 fi
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17853 $as_echo_n "checking for EOVERFLOW... " >&6; }
17854 if test "${glibcxx_cv_system_error11+set}" = set; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <errno.h>
17861 int
17862 main ()
17863 {
17864 int i = EOVERFLOW;
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 if ac_fn_c_try_compile "$LINENO"; then :
17870 glibcxx_cv_system_error11=yes
17871 else
17872 glibcxx_cv_system_error11=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875
17876 fi
17877
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17879 $as_echo "$glibcxx_cv_system_error11" >&6; }
17880 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17881
17882 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17883
17884 fi
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17886 $as_echo_n "checking for ENOTSUP... " >&6; }
17887 if test "${glibcxx_cv_system_error12+set}" = set; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <errno.h>
17894 int
17895 main ()
17896 {
17897 int i = ENOTSUP;
17898 ;
17899 return 0;
17900 }
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"; then :
17903 glibcxx_cv_system_error12=yes
17904 else
17905 glibcxx_cv_system_error12=no
17906 fi
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908
17909 fi
17910
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17912 $as_echo "$glibcxx_cv_system_error12" >&6; }
17913 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17914
17915 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17916
17917 fi
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17919 $as_echo_n "checking for EIDRM... " >&6; }
17920 if test "${glibcxx_cv_system_error13+set}" = set; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17923
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <errno.h>
17927 int
17928 main ()
17929 {
17930 int i = EIDRM;
17931 ;
17932 return 0;
17933 }
17934 _ACEOF
17935 if ac_fn_c_try_compile "$LINENO"; then :
17936 glibcxx_cv_system_error13=yes
17937 else
17938 glibcxx_cv_system_error13=no
17939 fi
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941
17942 fi
17943
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17945 $as_echo "$glibcxx_cv_system_error13" >&6; }
17946 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17947
17948 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17949
17950 fi
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17952 $as_echo_n "checking for ETXTBSY... " >&6; }
17953 if test "${glibcxx_cv_system_error14+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17956
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #include <errno.h>
17960 int
17961 main ()
17962 {
17963 int i = ETXTBSY;
17964 ;
17965 return 0;
17966 }
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 glibcxx_cv_system_error14=yes
17970 else
17971 glibcxx_cv_system_error14=no
17972 fi
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974
17975 fi
17976
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17978 $as_echo "$glibcxx_cv_system_error14" >&6; }
17979 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17980
17981 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17982
17983 fi
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17985 $as_echo_n "checking for ECHILD... " >&6; }
17986 if test "${glibcxx_cv_system_error15+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <errno.h>
17993 int
17994 main ()
17995 {
17996 int i = ECHILD;
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 if ac_fn_c_try_compile "$LINENO"; then :
18002 glibcxx_cv_system_error15=yes
18003 else
18004 glibcxx_cv_system_error15=no
18005 fi
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007
18008 fi
18009
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18011 $as_echo "$glibcxx_cv_system_error15" >&6; }
18012 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18013
18014 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18015
18016 fi
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18018 $as_echo_n "checking for ENOSPC... " >&6; }
18019 if test "${glibcxx_cv_system_error16+set}" = set; then :
18020 $as_echo_n "(cached) " >&6
18021 else
18022
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <errno.h>
18026 int
18027 main ()
18028 {
18029 int i = ENOSPC;
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 if ac_fn_c_try_compile "$LINENO"; then :
18035 glibcxx_cv_system_error16=yes
18036 else
18037 glibcxx_cv_system_error16=no
18038 fi
18039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040
18041 fi
18042
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18044 $as_echo "$glibcxx_cv_system_error16" >&6; }
18045 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18046
18047 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18048
18049 fi
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18051 $as_echo_n "checking for EPERM... " >&6; }
18052 if test "${glibcxx_cv_system_error17+set}" = set; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18055
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #include <errno.h>
18059 int
18060 main ()
18061 {
18062 int i = EPERM;
18063 ;
18064 return 0;
18065 }
18066 _ACEOF
18067 if ac_fn_c_try_compile "$LINENO"; then :
18068 glibcxx_cv_system_error17=yes
18069 else
18070 glibcxx_cv_system_error17=no
18071 fi
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073
18074 fi
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18077 $as_echo "$glibcxx_cv_system_error17" >&6; }
18078 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18079
18080 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18081
18082 fi
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18084 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18085 if test "${glibcxx_cv_system_error18+set}" = set; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18088
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #include <errno.h>
18092 int
18093 main ()
18094 {
18095 int i = ETIMEDOUT;
18096 ;
18097 return 0;
18098 }
18099 _ACEOF
18100 if ac_fn_c_try_compile "$LINENO"; then :
18101 glibcxx_cv_system_error18=yes
18102 else
18103 glibcxx_cv_system_error18=no
18104 fi
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106
18107 fi
18108
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18110 $as_echo "$glibcxx_cv_system_error18" >&6; }
18111 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18112
18113 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18114
18115 fi
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18117 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18118 if test "${glibcxx_cv_system_error19+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18121
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <errno.h>
18125 int
18126 main ()
18127 {
18128 int i = EWOULDBLOCK;
18129 ;
18130 return 0;
18131 }
18132 _ACEOF
18133 if ac_fn_c_try_compile "$LINENO"; then :
18134 glibcxx_cv_system_error19=yes
18135 else
18136 glibcxx_cv_system_error19=no
18137 fi
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139
18140 fi
18141
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18143 $as_echo "$glibcxx_cv_system_error19" >&6; }
18144 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18145
18146 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18147
18148 fi
18149
18150
18151
18152
18153 # Test uchar.h.
18154 for ac_header in uchar.h
18155 do :
18156 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_UCHAR_H 1
18160 _ACEOF
18161 ac_has_uchar_h=yes
18162 else
18163 ac_has_uchar_h=no
18164 fi
18165
18166 done
18167
18168
18169
18170 ac_ext=cpp
18171 ac_cpp='$CXXCPP $CPPFLAGS'
18172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18175
18176 ac_save_CXXFLAGS="$CXXFLAGS"
18177 CXXFLAGS="$CXXFLAGS -std=c++11"
18178
18179 if test x"$ac_has_uchar_h" = x"yes"; then
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18181 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18184 #include <uchar.h>
18185 #ifdef __STDC_UTF_16__
18186 long i = __STDC_UTF_16__;
18187 #endif
18188 #ifdef __STDC_UTF_32__
18189 long j = __STDC_UTF_32__;
18190 #endif
18191 namespace test
18192 {
18193 using ::c16rtomb;
18194 using ::c32rtomb;
18195 using ::mbrtoc16;
18196 using ::mbrtoc32;
18197 }
18198
18199 int
18200 main ()
18201 {
18202
18203 ;
18204 return 0;
18205 }
18206 _ACEOF
18207 if ac_fn_cxx_try_compile "$LINENO"; then :
18208 ac_c11_uchar_cxx11=yes
18209 else
18210 ac_c11_uchar_cxx11=no
18211 fi
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 else
18214 ac_c11_uchar_cxx11=no
18215 fi
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18217 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18218 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18219
18220 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18221
18222 fi
18223
18224 CXXFLAGS="$ac_save_CXXFLAGS"
18225 ac_ext=c
18226 ac_cpp='$CPP $CPPFLAGS'
18227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18230
18231
18232
18233 # For the streamoff typedef.
18234
18235
18236
18237 ac_ext=cpp
18238 ac_cpp='$CXXCPP $CPPFLAGS'
18239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242
18243
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18245 $as_echo_n "checking for int64_t... " >&6; }
18246 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18247 $as_echo_n "(cached) " >&6
18248 else
18249
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <stdint.h>
18253 int
18254 main ()
18255 {
18256 int64_t var;
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 if ac_fn_cxx_try_compile "$LINENO"; then :
18262 glibcxx_cv_INT64_T=yes
18263 else
18264 glibcxx_cv_INT64_T=no
18265 fi
18266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267
18268 fi
18269
18270
18271 if test $glibcxx_cv_INT64_T = yes; then
18272
18273 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18274
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18276 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18277
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18279 $as_echo_n "checking for int64_t as long... " >&6; }
18280 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18283
18284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18285 /* end confdefs.h. */
18286 #include <stdint.h>
18287 template<typename, typename> struct same { enum { value = -1 }; };
18288 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18289 int array[same<int64_t, long>::value];
18290 int
18291 main ()
18292 {
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299 glibcxx_cv_int64_t_long=yes
18300 else
18301 glibcxx_cv_int64_t_long=no
18302 fi
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18304
18305 fi
18306
18307
18308 if test $glibcxx_cv_int64_t_long = yes; then
18309
18310 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18311
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18313 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18314 fi
18315
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18317 $as_echo_n "checking for int64_t as long long... " >&6; }
18318 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <stdint.h>
18325 template<typename, typename> struct same { enum { value = -1 }; };
18326 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18327 int array[same<int64_t, long long>::value];
18328 int
18329 main ()
18330 {
18331
18332 ;
18333 return 0;
18334 }
18335 _ACEOF
18336 if ac_fn_cxx_try_compile "$LINENO"; then :
18337 glibcxx_cv_int64_t_long_long=yes
18338 else
18339 glibcxx_cv_int64_t_long_long=no
18340 fi
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342
18343 fi
18344
18345
18346 if test $glibcxx_cv_int64_t_long_long = yes; then
18347
18348 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18349
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18351 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18352 fi
18353 fi
18354
18355 ac_ext=c
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360
18361
18362
18363 # For LFS support.
18364
18365
18366 ac_ext=cpp
18367 ac_cpp='$CXXCPP $CPPFLAGS'
18368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371
18372 ac_save_CXXFLAGS="$CXXFLAGS"
18373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18375 $as_echo_n "checking for LFS support... " >&6; }
18376 if test "${glibcxx_cv_LFS+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18379
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <unistd.h>
18384 #include <stdio.h>
18385 #include <sys/stat.h>
18386
18387 int
18388 main ()
18389 {
18390 FILE* fp;
18391 fopen64("t", "w");
18392 fseeko64(fp, 0, SEEK_CUR);
18393 ftello64(fp);
18394 lseek64(1, 0, SEEK_CUR);
18395 struct stat64 buf;
18396 fstat64(1, &buf);
18397 ;
18398 return 0;
18399 }
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_LFS=yes
18403 else
18404 glibcxx_cv_LFS=no
18405 fi
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407 else
18408 if test x$gcc_no_link = xyes; then
18409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 fi
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <unistd.h>
18414 #include <stdio.h>
18415 #include <sys/stat.h>
18416
18417 int
18418 main ()
18419 {
18420 FILE* fp;
18421 fopen64("t", "w");
18422 fseeko64(fp, 0, SEEK_CUR);
18423 ftello64(fp);
18424 lseek64(1, 0, SEEK_CUR);
18425 struct stat64 buf;
18426 fstat64(1, &buf);
18427 ;
18428 return 0;
18429 }
18430 _ACEOF
18431 if ac_fn_cxx_try_link "$LINENO"; then :
18432 glibcxx_cv_LFS=yes
18433 else
18434 glibcxx_cv_LFS=no
18435 fi
18436 rm -f core conftest.err conftest.$ac_objext \
18437 conftest$ac_exeext conftest.$ac_ext
18438 fi
18439
18440 fi
18441
18442 if test $glibcxx_cv_LFS = yes; then
18443
18444 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18445
18446 fi
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18448 $as_echo "$glibcxx_cv_LFS" >&6; }
18449 CXXFLAGS="$ac_save_CXXFLAGS"
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455
18456
18457
18458 # For showmanyc_helper().
18459 for ac_header in sys/ioctl.h sys/filio.h
18460 do :
18461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18462 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18463 eval as_val=\$$as_ac_Header
18464 if test "x$as_val" = x""yes; then :
18465 cat >>confdefs.h <<_ACEOF
18466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18467 _ACEOF
18468
18469 fi
18470
18471 done
18472
18473
18474
18475
18476 ac_ext=cpp
18477 ac_cpp='$CXXCPP $CPPFLAGS'
18478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481
18482 ac_save_CXXFLAGS="$CXXFLAGS"
18483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18484
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18486 $as_echo_n "checking for poll... " >&6; }
18487 if test "${glibcxx_cv_POLL+set}" = set; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18490
18491 if test x$gcc_no_link = xyes; then
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 #include <poll.h>
18495 int
18496 main ()
18497 {
18498 struct pollfd pfd[1];
18499 pfd[0].events = POLLIN;
18500 poll(pfd, 1, 0);
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 if ac_fn_cxx_try_compile "$LINENO"; then :
18506 glibcxx_cv_POLL=yes
18507 else
18508 glibcxx_cv_POLL=no
18509 fi
18510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18511 else
18512 if test x$gcc_no_link = xyes; then
18513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18514 fi
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <poll.h>
18518 int
18519 main ()
18520 {
18521 struct pollfd pfd[1];
18522 pfd[0].events = POLLIN;
18523 poll(pfd, 1, 0);
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_cxx_try_link "$LINENO"; then :
18529 glibcxx_cv_POLL=yes
18530 else
18531 glibcxx_cv_POLL=no
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18535 fi
18536
18537 fi
18538
18539 if test $glibcxx_cv_POLL = yes; then
18540
18541 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18542
18543 fi
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18545 $as_echo "$glibcxx_cv_POLL" >&6; }
18546
18547 CXXFLAGS="$ac_save_CXXFLAGS"
18548 ac_ext=c
18549 ac_cpp='$CPP $CPPFLAGS'
18550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553
18554
18555
18556
18557
18558 ac_ext=cpp
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18563
18564 ac_save_CXXFLAGS="$CXXFLAGS"
18565 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18566
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18568 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18569 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18570 $as_echo_n "(cached) " >&6
18571 else
18572
18573 if test x$gcc_no_link = xyes; then
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 #include <sys/stat.h>
18577 int
18578 main ()
18579 {
18580 struct stat buffer;
18581 fstat(0, &buffer);
18582 S_ISREG(buffer.st_mode);
18583 ;
18584 return 0;
18585 }
18586 _ACEOF
18587 if ac_fn_cxx_try_compile "$LINENO"; then :
18588 glibcxx_cv_S_ISREG=yes
18589 else
18590 glibcxx_cv_S_ISREG=no
18591 fi
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 else
18594 if test x$gcc_no_link = xyes; then
18595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18596 fi
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 #include <sys/stat.h>
18600 int
18601 main ()
18602 {
18603 struct stat buffer;
18604 fstat(0, &buffer);
18605 S_ISREG(buffer.st_mode);
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 if ac_fn_cxx_try_link "$LINENO"; then :
18611 glibcxx_cv_S_ISREG=yes
18612 else
18613 glibcxx_cv_S_ISREG=no
18614 fi
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18617 fi
18618
18619 fi
18620
18621 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18624
18625 if test x$gcc_no_link = xyes; then
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18628 #include <sys/stat.h>
18629 int
18630 main ()
18631 {
18632 struct stat buffer;
18633 fstat(0, &buffer);
18634 S_IFREG & buffer.st_mode;
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 if ac_fn_cxx_try_compile "$LINENO"; then :
18640 glibcxx_cv_S_IFREG=yes
18641 else
18642 glibcxx_cv_S_IFREG=no
18643 fi
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645 else
18646 if test x$gcc_no_link = xyes; then
18647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18648 fi
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #include <sys/stat.h>
18652 int
18653 main ()
18654 {
18655 struct stat buffer;
18656 fstat(0, &buffer);
18657 S_IFREG & buffer.st_mode;
18658 ;
18659 return 0;
18660 }
18661 _ACEOF
18662 if ac_fn_cxx_try_link "$LINENO"; then :
18663 glibcxx_cv_S_IFREG=yes
18664 else
18665 glibcxx_cv_S_IFREG=no
18666 fi
18667 rm -f core conftest.err conftest.$ac_objext \
18668 conftest$ac_exeext conftest.$ac_ext
18669 fi
18670
18671 fi
18672
18673 res=no
18674 if test $glibcxx_cv_S_ISREG = yes; then
18675
18676 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18677
18678 res=S_ISREG
18679 elif test $glibcxx_cv_S_IFREG = yes; then
18680
18681 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18682
18683 res=S_IFREG
18684 fi
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18686 $as_echo "$res" >&6; }
18687
18688 CXXFLAGS="$ac_save_CXXFLAGS"
18689 ac_ext=c
18690 ac_cpp='$CPP $CPPFLAGS'
18691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18694
18695
18696
18697 # For xsputn_2().
18698 for ac_header in sys/uio.h
18699 do :
18700 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18701 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18702 cat >>confdefs.h <<_ACEOF
18703 #define HAVE_SYS_UIO_H 1
18704 _ACEOF
18705
18706 fi
18707
18708 done
18709
18710
18711
18712
18713 ac_ext=cpp
18714 ac_cpp='$CXXCPP $CPPFLAGS'
18715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18718
18719 ac_save_CXXFLAGS="$CXXFLAGS"
18720 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18721
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18723 $as_echo_n "checking for writev... " >&6; }
18724 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18727
18728 if test x$gcc_no_link = xyes; then
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <sys/uio.h>
18732 int
18733 main ()
18734 {
18735 struct iovec iov[2];
18736 writev(0, iov, 0);
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 glibcxx_cv_WRITEV=yes
18743 else
18744 glibcxx_cv_WRITEV=no
18745 fi
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 else
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18750 fi
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 #include <sys/uio.h>
18754 int
18755 main ()
18756 {
18757 struct iovec iov[2];
18758 writev(0, iov, 0);
18759 ;
18760 return 0;
18761 }
18762 _ACEOF
18763 if ac_fn_cxx_try_link "$LINENO"; then :
18764 glibcxx_cv_WRITEV=yes
18765 else
18766 glibcxx_cv_WRITEV=no
18767 fi
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext conftest.$ac_ext
18770 fi
18771
18772 fi
18773
18774 if test $glibcxx_cv_WRITEV = yes; then
18775
18776 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18777
18778 fi
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18780 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18781
18782 CXXFLAGS="$ac_save_CXXFLAGS"
18783 ac_ext=c
18784 ac_cpp='$CPP $CPPFLAGS'
18785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18788
18789
18790
18791 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18792 # so that the check is done with the C compiler (not C++).
18793 # Checking with C++ can break a canadian cross build if either
18794 # file does not exist in C but does in C++.
18795 for ac_header in fenv.h complex.h
18796 do :
18797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18798 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18799 eval as_val=\$$as_ac_Header
18800 if test "x$as_val" = x""yes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18803 _ACEOF
18804
18805 fi
18806
18807 done
18808
18809
18810 # For C99 support to TR1.
18811
18812
18813
18814 ac_ext=cpp
18815 ac_cpp='$CXXCPP $CPPFLAGS'
18816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18819
18820
18821 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18822 # undefined and fake C99 facilities may be spuriously enabled.
18823 ac_save_CXXFLAGS="$CXXFLAGS"
18824 CXXFLAGS="$CXXFLAGS -std=c++98"
18825
18826 # Check for the existence of <complex.h> complex math functions used
18827 # by tr1/complex.
18828 for ac_header in complex.h
18829 do :
18830 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18831 if test "x$ac_cv_header_complex_h" = x""yes; then :
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_COMPLEX_H 1
18834 _ACEOF
18835 ac_has_complex_h=yes
18836 else
18837 ac_has_complex_h=no
18838 fi
18839
18840 done
18841
18842 ac_c99_complex_tr1=no;
18843 if test x"$ac_has_complex_h" = x"yes"; then
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18845 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 #include <complex.h>
18849 int
18850 main ()
18851 {
18852 typedef __complex__ float float_type; float_type tmpf;
18853 cacosf(tmpf);
18854 casinf(tmpf);
18855 catanf(tmpf);
18856 cacoshf(tmpf);
18857 casinhf(tmpf);
18858 catanhf(tmpf);
18859 typedef __complex__ double double_type; double_type tmpd;
18860 cacos(tmpd);
18861 casin(tmpd);
18862 catan(tmpd);
18863 cacosh(tmpd);
18864 casinh(tmpd);
18865 catanh(tmpd);
18866 typedef __complex__ long double ld_type; ld_type tmpld;
18867 cacosl(tmpld);
18868 casinl(tmpld);
18869 catanl(tmpld);
18870 cacoshl(tmpld);
18871 casinhl(tmpld);
18872 catanhl(tmpld);
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 if ac_fn_cxx_try_compile "$LINENO"; then :
18879 ac_c99_complex_tr1=yes
18880 else
18881 ac_c99_complex_tr1=no
18882 fi
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 fi
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18886 $as_echo "$ac_c99_complex_tr1" >&6; }
18887 if test x"$ac_c99_complex_tr1" = x"yes"; then
18888
18889 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18890
18891 fi
18892
18893 # Check for the existence of <ctype.h> functions.
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18895 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18896 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18897 $as_echo_n "(cached) " >&6
18898 else
18899
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <ctype.h>
18903 int
18904 main ()
18905 {
18906 int ch;
18907 int ret;
18908 ret = isblank(ch);
18909
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 if ac_fn_cxx_try_compile "$LINENO"; then :
18915 glibcxx_cv_c99_ctype_tr1=yes
18916 else
18917 glibcxx_cv_c99_ctype_tr1=no
18918 fi
18919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920
18921 fi
18922
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18924 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18925 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18926
18927 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18928
18929 fi
18930
18931 # Check for the existence of <fenv.h> functions.
18932 for ac_header in fenv.h
18933 do :
18934 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18935 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_FENV_H 1
18938 _ACEOF
18939 ac_has_fenv_h=yes
18940 else
18941 ac_has_fenv_h=no
18942 fi
18943
18944 done
18945
18946 ac_c99_fenv_tr1=no;
18947 if test x"$ac_has_fenv_h" = x"yes"; then
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18949 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952 #include <fenv.h>
18953 int
18954 main ()
18955 {
18956 int except, mode;
18957 fexcept_t* pflag;
18958 fenv_t* penv;
18959 int ret;
18960 ret = feclearexcept(except);
18961 ret = fegetexceptflag(pflag, except);
18962 ret = feraiseexcept(except);
18963 ret = fesetexceptflag(pflag, except);
18964 ret = fetestexcept(except);
18965 ret = fegetround();
18966 ret = fesetround(mode);
18967 ret = fegetenv(penv);
18968 ret = feholdexcept(penv);
18969 ret = fesetenv(penv);
18970 ret = feupdateenv(penv);
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 if ac_fn_cxx_try_compile "$LINENO"; then :
18977 ac_c99_fenv_tr1=yes
18978 else
18979 ac_c99_fenv_tr1=no
18980 fi
18981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18982 fi
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18984 $as_echo "$ac_c99_fenv_tr1" >&6; }
18985 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18986
18987 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18988
18989 fi
18990
18991 # Check for the existence of <stdint.h> types.
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18993 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18994 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18996 else
18997
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 #define __STDC_LIMIT_MACROS
19001 #define __STDC_CONSTANT_MACROS
19002 #include <stdint.h>
19003 int
19004 main ()
19005 {
19006 typedef int8_t my_int8_t;
19007 my_int8_t i8 = INT8_MIN;
19008 i8 = INT8_MAX;
19009 typedef int16_t my_int16_t;
19010 my_int16_t i16 = INT16_MIN;
19011 i16 = INT16_MAX;
19012 typedef int32_t my_int32_t;
19013 my_int32_t i32 = INT32_MIN;
19014 i32 = INT32_MAX;
19015 typedef int64_t my_int64_t;
19016 my_int64_t i64 = INT64_MIN;
19017 i64 = INT64_MAX;
19018 typedef int_fast8_t my_int_fast8_t;
19019 my_int_fast8_t if8 = INT_FAST8_MIN;
19020 if8 = INT_FAST8_MAX;
19021 typedef int_fast16_t my_int_fast16_t;
19022 my_int_fast16_t if16 = INT_FAST16_MIN;
19023 if16 = INT_FAST16_MAX;
19024 typedef int_fast32_t my_int_fast32_t;
19025 my_int_fast32_t if32 = INT_FAST32_MIN;
19026 if32 = INT_FAST32_MAX;
19027 typedef int_fast64_t my_int_fast64_t;
19028 my_int_fast64_t if64 = INT_FAST64_MIN;
19029 if64 = INT_FAST64_MAX;
19030 typedef int_least8_t my_int_least8_t;
19031 my_int_least8_t il8 = INT_LEAST8_MIN;
19032 il8 = INT_LEAST8_MAX;
19033 typedef int_least16_t my_int_least16_t;
19034 my_int_least16_t il16 = INT_LEAST16_MIN;
19035 il16 = INT_LEAST16_MAX;
19036 typedef int_least32_t my_int_least32_t;
19037 my_int_least32_t il32 = INT_LEAST32_MIN;
19038 il32 = INT_LEAST32_MAX;
19039 typedef int_least64_t my_int_least64_t;
19040 my_int_least64_t il64 = INT_LEAST64_MIN;
19041 il64 = INT_LEAST64_MAX;
19042 typedef intmax_t my_intmax_t;
19043 my_intmax_t im = INTMAX_MAX;
19044 im = INTMAX_MIN;
19045 typedef intptr_t my_intptr_t;
19046 my_intptr_t ip = INTPTR_MAX;
19047 ip = INTPTR_MIN;
19048 typedef uint8_t my_uint8_t;
19049 my_uint8_t ui8 = UINT8_MAX;
19050 ui8 = UINT8_MAX;
19051 typedef uint16_t my_uint16_t;
19052 my_uint16_t ui16 = UINT16_MAX;
19053 ui16 = UINT16_MAX;
19054 typedef uint32_t my_uint32_t;
19055 my_uint32_t ui32 = UINT32_MAX;
19056 ui32 = UINT32_MAX;
19057 typedef uint64_t my_uint64_t;
19058 my_uint64_t ui64 = UINT64_MAX;
19059 ui64 = UINT64_MAX;
19060 typedef uint_fast8_t my_uint_fast8_t;
19061 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19062 uif8 = UINT_FAST8_MAX;
19063 typedef uint_fast16_t my_uint_fast16_t;
19064 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19065 uif16 = UINT_FAST16_MAX;
19066 typedef uint_fast32_t my_uint_fast32_t;
19067 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19068 uif32 = UINT_FAST32_MAX;
19069 typedef uint_fast64_t my_uint_fast64_t;
19070 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19071 uif64 = UINT_FAST64_MAX;
19072 typedef uint_least8_t my_uint_least8_t;
19073 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19074 uil8 = UINT_LEAST8_MAX;
19075 typedef uint_least16_t my_uint_least16_t;
19076 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19077 uil16 = UINT_LEAST16_MAX;
19078 typedef uint_least32_t my_uint_least32_t;
19079 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19080 uil32 = UINT_LEAST32_MAX;
19081 typedef uint_least64_t my_uint_least64_t;
19082 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19083 uil64 = UINT_LEAST64_MAX;
19084 typedef uintmax_t my_uintmax_t;
19085 my_uintmax_t uim = UINTMAX_MAX;
19086 uim = UINTMAX_MAX;
19087 typedef uintptr_t my_uintptr_t;
19088 my_uintptr_t uip = UINTPTR_MAX;
19089 uip = UINTPTR_MAX;
19090
19091 ;
19092 return 0;
19093 }
19094 _ACEOF
19095 if ac_fn_cxx_try_compile "$LINENO"; then :
19096 glibcxx_cv_c99_stdint_tr1=yes
19097 else
19098 glibcxx_cv_c99_stdint_tr1=no
19099 fi
19100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19101
19102 fi
19103
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19105 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19106 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19107
19108 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19109
19110 fi
19111
19112 # Check for the existence of <math.h> functions.
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19114 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19115 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19117 else
19118
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121 #include <math.h>
19122 int
19123 main ()
19124 {
19125 typedef double_t my_double_t;
19126 typedef float_t my_float_t;
19127 acosh(0.0);
19128 acoshf(0.0f);
19129 acoshl(0.0l);
19130 asinh(0.0);
19131 asinhf(0.0f);
19132 asinhl(0.0l);
19133 atanh(0.0);
19134 atanhf(0.0f);
19135 atanhl(0.0l);
19136 cbrt(0.0);
19137 cbrtf(0.0f);
19138 cbrtl(0.0l);
19139 copysign(0.0, 0.0);
19140 copysignf(0.0f, 0.0f);
19141 copysignl(0.0l, 0.0l);
19142 erf(0.0);
19143 erff(0.0f);
19144 erfl(0.0l);
19145 erfc(0.0);
19146 erfcf(0.0f);
19147 erfcl(0.0l);
19148 exp2(0.0);
19149 exp2f(0.0f);
19150 exp2l(0.0l);
19151 expm1(0.0);
19152 expm1f(0.0f);
19153 expm1l(0.0l);
19154 fdim(0.0, 0.0);
19155 fdimf(0.0f, 0.0f);
19156 fdiml(0.0l, 0.0l);
19157 fma(0.0, 0.0, 0.0);
19158 fmaf(0.0f, 0.0f, 0.0f);
19159 fmal(0.0l, 0.0l, 0.0l);
19160 fmax(0.0, 0.0);
19161 fmaxf(0.0f, 0.0f);
19162 fmaxl(0.0l, 0.0l);
19163 fmin(0.0, 0.0);
19164 fminf(0.0f, 0.0f);
19165 fminl(0.0l, 0.0l);
19166 hypot(0.0, 0.0);
19167 hypotf(0.0f, 0.0f);
19168 hypotl(0.0l, 0.0l);
19169 ilogb(0.0);
19170 ilogbf(0.0f);
19171 ilogbl(0.0l);
19172 lgamma(0.0);
19173 lgammaf(0.0f);
19174 lgammal(0.0l);
19175 llrint(0.0);
19176 llrintf(0.0f);
19177 llrintl(0.0l);
19178 llround(0.0);
19179 llroundf(0.0f);
19180 llroundl(0.0l);
19181 log1p(0.0);
19182 log1pf(0.0f);
19183 log1pl(0.0l);
19184 log2(0.0);
19185 log2f(0.0f);
19186 log2l(0.0l);
19187 logb(0.0);
19188 logbf(0.0f);
19189 logbl(0.0l);
19190 lrint(0.0);
19191 lrintf(0.0f);
19192 lrintl(0.0l);
19193 lround(0.0);
19194 lroundf(0.0f);
19195 lroundl(0.0l);
19196 nan(0);
19197 nanf(0);
19198 nanl(0);
19199 nearbyint(0.0);
19200 nearbyintf(0.0f);
19201 nearbyintl(0.0l);
19202 nextafter(0.0, 0.0);
19203 nextafterf(0.0f, 0.0f);
19204 nextafterl(0.0l, 0.0l);
19205 nexttoward(0.0, 0.0);
19206 nexttowardf(0.0f, 0.0f);
19207 nexttowardl(0.0l, 0.0l);
19208 remainder(0.0, 0.0);
19209 remainderf(0.0f, 0.0f);
19210 remainderl(0.0l, 0.0l);
19211 remquo(0.0, 0.0, 0);
19212 remquof(0.0f, 0.0f, 0);
19213 remquol(0.0l, 0.0l, 0);
19214 rint(0.0);
19215 rintf(0.0f);
19216 rintl(0.0l);
19217 round(0.0);
19218 roundf(0.0f);
19219 roundl(0.0l);
19220 scalbln(0.0, 0l);
19221 scalblnf(0.0f, 0l);
19222 scalblnl(0.0l, 0l);
19223 scalbn(0.0, 0);
19224 scalbnf(0.0f, 0);
19225 scalbnl(0.0l, 0);
19226 tgamma(0.0);
19227 tgammaf(0.0f);
19228 tgammal(0.0l);
19229 trunc(0.0);
19230 truncf(0.0f);
19231 truncl(0.0l);
19232
19233 ;
19234 return 0;
19235 }
19236 _ACEOF
19237 if ac_fn_cxx_try_compile "$LINENO"; then :
19238 glibcxx_cv_c99_math_tr1=yes
19239 else
19240 glibcxx_cv_c99_math_tr1=no
19241 fi
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243
19244 fi
19245
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19247 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19248 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19249
19250 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19251
19252 fi
19253
19254 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19255 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19256 ac_c99_inttypes_tr1=no;
19257 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19259 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h. */
19262 #include <inttypes.h>
19263 int
19264 main ()
19265 {
19266 intmax_t i, numer, denom, base;
19267 const char* s;
19268 char** endptr;
19269 intmax_t ret = imaxabs(i);
19270 imaxdiv_t dret = imaxdiv(numer, denom);
19271 ret = strtoimax(s, endptr, base);
19272 uintmax_t uret = strtoumax(s, endptr, base);
19273
19274 ;
19275 return 0;
19276 }
19277 _ACEOF
19278 if ac_fn_cxx_try_compile "$LINENO"; then :
19279 ac_c99_inttypes_tr1=yes
19280 else
19281 ac_c99_inttypes_tr1=no
19282 fi
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284 fi
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19286 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19287 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19288
19289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19290
19291 fi
19292
19293 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19294 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19295 ac_c99_inttypes_wchar_t_tr1=no;
19296 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19298 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <inttypes.h>
19302 int
19303 main ()
19304 {
19305 intmax_t base;
19306 const wchar_t* s;
19307 wchar_t** endptr;
19308 intmax_t ret = wcstoimax(s, endptr, base);
19309 uintmax_t uret = wcstoumax(s, endptr, base);
19310
19311 ;
19312 return 0;
19313 }
19314 _ACEOF
19315 if ac_fn_cxx_try_compile "$LINENO"; then :
19316 ac_c99_inttypes_wchar_t_tr1=yes
19317 else
19318 ac_c99_inttypes_wchar_t_tr1=no
19319 fi
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321 fi
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19323 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19324 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19325
19326 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19327
19328 fi
19329
19330 # Check for the existence of the <stdbool.h> header.
19331 for ac_header in stdbool.h
19332 do :
19333 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19334 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STDBOOL_H 1
19337 _ACEOF
19338
19339 fi
19340
19341 done
19342
19343
19344 # Check for the existence of the <stdalign.h> header.
19345 for ac_header in stdalign.h
19346 do :
19347 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19348 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STDALIGN_H 1
19351 _ACEOF
19352
19353 fi
19354
19355 done
19356
19357
19358 CXXFLAGS="$ac_save_CXXFLAGS"
19359 ac_ext=c
19360 ac_cpp='$CPP $CPPFLAGS'
19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19364
19365
19366
19367 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19368
19369
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19371 $as_echo_n "checking for the value of EOF... " >&6; }
19372 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19373 $as_echo_n "(cached) " >&6
19374 else
19375
19376 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19377
19378 else
19379 as_fn_error "computing EOF failed" "$LINENO" 5
19380 fi
19381
19382
19383 fi
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19385 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19386
19387 cat >>confdefs.h <<_ACEOF
19388 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19389 _ACEOF
19390
19391
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19393 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19394 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19396 else
19397
19398 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19399
19400 else
19401 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19402 fi
19403
19404
19405 fi
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19407 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19408
19409 cat >>confdefs.h <<_ACEOF
19410 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19411 _ACEOF
19412
19413
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19415 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19416 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19417 $as_echo_n "(cached) " >&6
19418 else
19419
19420 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19421
19422 else
19423 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19424 fi
19425
19426
19427 fi
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19429 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19430
19431 cat >>confdefs.h <<_ACEOF
19432 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19433 _ACEOF
19434
19435
19436
19437 # For gettimeofday support.
19438
19439
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19441 $as_echo_n "checking for gettimeofday... " >&6; }
19442
19443
19444 ac_ext=cpp
19445 ac_cpp='$CXXCPP $CPPFLAGS'
19446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19449
19450 ac_save_CXXFLAGS="$CXXFLAGS"
19451 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19452
19453 ac_has_gettimeofday=no;
19454 for ac_header in sys/time.h
19455 do :
19456 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19457 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_SYS_TIME_H 1
19460 _ACEOF
19461 ac_has_sys_time_h=yes
19462 else
19463 ac_has_sys_time_h=no
19464 fi
19465
19466 done
19467
19468 if test x"$ac_has_sys_time_h" = x"yes"; then
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19470 $as_echo_n "checking for gettimeofday... " >&6; }
19471 if test x$gcc_no_link = xyes; then
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #include <sys/time.h>
19475 int
19476 main ()
19477 {
19478 timeval tv; gettimeofday(&tv, 0);
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 if ac_fn_cxx_try_compile "$LINENO"; then :
19484 ac_has_gettimeofday=yes
19485 else
19486 ac_has_gettimeofday=no
19487 fi
19488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19489 else
19490 if test x$gcc_no_link = xyes; then
19491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19492 fi
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <sys/time.h>
19496 int
19497 main ()
19498 {
19499 timeval tv; gettimeofday(&tv, 0);
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 if ac_fn_cxx_try_link "$LINENO"; then :
19505 ac_has_gettimeofday=yes
19506 else
19507 ac_has_gettimeofday=no
19508 fi
19509 rm -f core conftest.err conftest.$ac_objext \
19510 conftest$ac_exeext conftest.$ac_ext
19511 fi
19512
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19514 $as_echo "$ac_has_gettimeofday" >&6; }
19515 fi
19516
19517 if test x"$ac_has_gettimeofday" = x"yes"; then
19518
19519 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19520
19521 fi
19522
19523 CXXFLAGS="$ac_save_CXXFLAGS"
19524 ac_ext=c
19525 ac_cpp='$CPP $CPPFLAGS'
19526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19529
19530
19531
19532 # For clock_gettime, nanosleep and sched_yield support.
19533
19534
19535 # Check whether --enable-libstdcxx-time was given.
19536 if test "${enable_libstdcxx_time+set}" = set; then :
19537 enableval=$enable_libstdcxx_time;
19538 case "$enableval" in
19539 yes|no|rt) ;;
19540 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19541 esac
19542
19543 else
19544 enable_libstdcxx_time=auto
19545 fi
19546
19547
19548
19549
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555
19556 ac_save_CXXFLAGS="$CXXFLAGS"
19557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19558 ac_save_LIBS="$LIBS"
19559
19560 ac_has_clock_monotonic=no
19561 ac_has_clock_realtime=no
19562 ac_has_nanosleep=no
19563 ac_has_sched_yield=no
19564
19565 if test x"$enable_libstdcxx_time" = x"auto"; then
19566
19567 case "${target_os}" in
19568 cygwin*)
19569 ac_has_nanosleep=yes
19570 ;;
19571 darwin*)
19572 ac_has_nanosleep=yes
19573 ac_has_sched_yield=yes
19574 ;;
19575 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19577 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #include <features.h>
19581 int
19582 main ()
19583 {
19584
19585 #if ! __GLIBC_PREREQ(2, 17)
19586 #error
19587 #endif
19588
19589 ;
19590 return 0;
19591 }
19592 _ACEOF
19593 if ac_fn_cxx_try_compile "$LINENO"; then :
19594 glibcxx_glibc217=yes
19595 else
19596 glibcxx_glibc217=no
19597 fi
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19600 $as_echo "$glibcxx_glibc217" >&6; }
19601
19602 if test x"$glibcxx_glibc217" = x"yes"; then
19603 ac_has_clock_monotonic=yes
19604 ac_has_clock_realtime=yes
19605 fi
19606 ac_has_nanosleep=yes
19607 ac_has_sched_yield=yes
19608 ;;
19609 freebsd*|netbsd*|dragonfly*)
19610 ac_has_clock_monotonic=yes
19611 ac_has_clock_realtime=yes
19612 ac_has_nanosleep=yes
19613 ac_has_sched_yield=yes
19614 ;;
19615 openbsd*)
19616 ac_has_clock_monotonic=yes
19617 ac_has_clock_realtime=yes
19618 ac_has_nanosleep=yes
19619 ;;
19620 solaris*)
19621 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19622 ac_has_clock_monotonic=yes
19623 ac_has_clock_realtime=yes
19624 ac_has_nanosleep=yes
19625 ac_has_sched_yield=yes
19626 ;;
19627 esac
19628
19629 elif test x"$enable_libstdcxx_time" != x"no"; then
19630
19631 if test x"$enable_libstdcxx_time" = x"rt"; then
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19633 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char clock_gettime ();
19648 int
19649 main ()
19650 {
19651 return clock_gettime ();
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19662 fi
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 fi
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_clock_gettime=$ac_res
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19672 break
19673 fi
19674 done
19675 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19676
19677 else
19678 ac_cv_search_clock_gettime=no
19679 fi
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19682 fi
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19684 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19685 ac_res=$ac_cv_search_clock_gettime
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689 fi
19690
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19692 $as_echo_n "checking for library containing nanosleep... " >&6; }
19693 if test "${ac_cv_search_nanosleep+set}" = set; then :
19694 $as_echo_n "(cached) " >&6
19695 else
19696 ac_func_search_save_LIBS=$LIBS
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699
19700 /* Override any GCC internal prototype to avoid an error.
19701 Use char because int might match the return type of a GCC
19702 builtin and then its argument prototype would still apply. */
19703 #ifdef __cplusplus
19704 extern "C"
19705 #endif
19706 char nanosleep ();
19707 int
19708 main ()
19709 {
19710 return nanosleep ();
19711 ;
19712 return 0;
19713 }
19714 _ACEOF
19715 for ac_lib in '' rt posix4; do
19716 if test -z "$ac_lib"; then
19717 ac_res="none required"
19718 else
19719 ac_res=-l$ac_lib
19720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19721 fi
19722 if test x$gcc_no_link = xyes; then
19723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19724 fi
19725 if ac_fn_cxx_try_link "$LINENO"; then :
19726 ac_cv_search_nanosleep=$ac_res
19727 fi
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext
19730 if test "${ac_cv_search_nanosleep+set}" = set; then :
19731 break
19732 fi
19733 done
19734 if test "${ac_cv_search_nanosleep+set}" = set; then :
19735
19736 else
19737 ac_cv_search_nanosleep=no
19738 fi
19739 rm conftest.$ac_ext
19740 LIBS=$ac_func_search_save_LIBS
19741 fi
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19743 $as_echo "$ac_cv_search_nanosleep" >&6; }
19744 ac_res=$ac_cv_search_nanosleep
19745 if test "$ac_res" != no; then :
19746 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19747
19748 fi
19749
19750 else
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19752 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19753 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756 ac_func_search_save_LIBS=$LIBS
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19759
19760 /* Override any GCC internal prototype to avoid an error.
19761 Use char because int might match the return type of a GCC
19762 builtin and then its argument prototype would still apply. */
19763 #ifdef __cplusplus
19764 extern "C"
19765 #endif
19766 char clock_gettime ();
19767 int
19768 main ()
19769 {
19770 return clock_gettime ();
19771 ;
19772 return 0;
19773 }
19774 _ACEOF
19775 for ac_lib in '' posix4; do
19776 if test -z "$ac_lib"; then
19777 ac_res="none required"
19778 else
19779 ac_res=-l$ac_lib
19780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19781 fi
19782 if test x$gcc_no_link = xyes; then
19783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 fi
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_cv_search_clock_gettime=$ac_res
19787 fi
19788 rm -f core conftest.err conftest.$ac_objext \
19789 conftest$ac_exeext
19790 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19791 break
19792 fi
19793 done
19794 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19795
19796 else
19797 ac_cv_search_clock_gettime=no
19798 fi
19799 rm conftest.$ac_ext
19800 LIBS=$ac_func_search_save_LIBS
19801 fi
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19803 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19804 ac_res=$ac_cv_search_clock_gettime
19805 if test "$ac_res" != no; then :
19806 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19807
19808 fi
19809
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19811 $as_echo_n "checking for library containing nanosleep... " >&6; }
19812 if test "${ac_cv_search_nanosleep+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 ac_func_search_save_LIBS=$LIBS
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818
19819 /* Override any GCC internal prototype to avoid an error.
19820 Use char because int might match the return type of a GCC
19821 builtin and then its argument prototype would still apply. */
19822 #ifdef __cplusplus
19823 extern "C"
19824 #endif
19825 char nanosleep ();
19826 int
19827 main ()
19828 {
19829 return nanosleep ();
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 for ac_lib in '' posix4; do
19835 if test -z "$ac_lib"; then
19836 ac_res="none required"
19837 else
19838 ac_res=-l$ac_lib
19839 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19840 fi
19841 if test x$gcc_no_link = xyes; then
19842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19843 fi
19844 if ac_fn_cxx_try_link "$LINENO"; then :
19845 ac_cv_search_nanosleep=$ac_res
19846 fi
19847 rm -f core conftest.err conftest.$ac_objext \
19848 conftest$ac_exeext
19849 if test "${ac_cv_search_nanosleep+set}" = set; then :
19850 break
19851 fi
19852 done
19853 if test "${ac_cv_search_nanosleep+set}" = set; then :
19854
19855 else
19856 ac_cv_search_nanosleep=no
19857 fi
19858 rm conftest.$ac_ext
19859 LIBS=$ac_func_search_save_LIBS
19860 fi
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19862 $as_echo "$ac_cv_search_nanosleep" >&6; }
19863 ac_res=$ac_cv_search_nanosleep
19864 if test "$ac_res" != no; then :
19865 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19866
19867 fi
19868
19869 fi
19870
19871 case "$ac_cv_search_clock_gettime" in
19872 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19873 ;;
19874 esac
19875 case "$ac_cv_search_nanosleep" in
19876 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19877 ;;
19878 esac
19879
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19881 $as_echo_n "checking for library containing sched_yield... " >&6; }
19882 if test "${ac_cv_search_sched_yield+set}" = set; then :
19883 $as_echo_n "(cached) " >&6
19884 else
19885 ac_func_search_save_LIBS=$LIBS
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19888
19889 /* Override any GCC internal prototype to avoid an error.
19890 Use char because int might match the return type of a GCC
19891 builtin and then its argument prototype would still apply. */
19892 #ifdef __cplusplus
19893 extern "C"
19894 #endif
19895 char sched_yield ();
19896 int
19897 main ()
19898 {
19899 return sched_yield ();
19900 ;
19901 return 0;
19902 }
19903 _ACEOF
19904 for ac_lib in '' rt posix4; do
19905 if test -z "$ac_lib"; then
19906 ac_res="none required"
19907 else
19908 ac_res=-l$ac_lib
19909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19910 fi
19911 if test x$gcc_no_link = xyes; then
19912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19913 fi
19914 if ac_fn_cxx_try_link "$LINENO"; then :
19915 ac_cv_search_sched_yield=$ac_res
19916 fi
19917 rm -f core conftest.err conftest.$ac_objext \
19918 conftest$ac_exeext
19919 if test "${ac_cv_search_sched_yield+set}" = set; then :
19920 break
19921 fi
19922 done
19923 if test "${ac_cv_search_sched_yield+set}" = set; then :
19924
19925 else
19926 ac_cv_search_sched_yield=no
19927 fi
19928 rm conftest.$ac_ext
19929 LIBS=$ac_func_search_save_LIBS
19930 fi
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19932 $as_echo "$ac_cv_search_sched_yield" >&6; }
19933 ac_res=$ac_cv_search_sched_yield
19934 if test "$ac_res" != no; then :
19935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19936
19937 fi
19938
19939
19940 case "$ac_cv_search_sched_yield" in
19941 -lposix4*)
19942 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19943 ac_has_sched_yield=yes
19944 ;;
19945 -lrt*)
19946 if test x"$enable_libstdcxx_time" = x"rt"; then
19947 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19948 ac_has_sched_yield=yes
19949 fi
19950 ;;
19951 *)
19952 ac_has_sched_yield=yes
19953 ;;
19954 esac
19955
19956 for ac_header in unistd.h
19957 do :
19958 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19959 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19960 cat >>confdefs.h <<_ACEOF
19961 #define HAVE_UNISTD_H 1
19962 _ACEOF
19963 ac_has_unistd_h=yes
19964 else
19965 ac_has_unistd_h=no
19966 fi
19967
19968 done
19969
19970
19971 if test x"$ac_has_unistd_h" = x"yes"; then
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19973 $as_echo_n "checking for monotonic clock... " >&6; }
19974 if test x$gcc_no_link = xyes; then
19975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 fi
19977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978 /* end confdefs.h. */
19979 #include <unistd.h>
19980 #include <time.h>
19981
19982 int
19983 main ()
19984 {
19985 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19986 timespec tp;
19987 #endif
19988 clock_gettime(CLOCK_MONOTONIC, &tp);
19989
19990 ;
19991 return 0;
19992 }
19993 _ACEOF
19994 if ac_fn_cxx_try_link "$LINENO"; then :
19995 ac_has_clock_monotonic=yes
19996 else
19997 ac_has_clock_monotonic=no
19998 fi
19999 rm -f core conftest.err conftest.$ac_objext \
20000 conftest$ac_exeext conftest.$ac_ext
20001
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20003 $as_echo "$ac_has_clock_monotonic" >&6; }
20004
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20006 $as_echo_n "checking for realtime clock... " >&6; }
20007 if test x$gcc_no_link = xyes; then
20008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20009 fi
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012 #include <unistd.h>
20013 #include <time.h>
20014
20015 int
20016 main ()
20017 {
20018 #if _POSIX_TIMERS > 0
20019 timespec tp;
20020 #endif
20021 clock_gettime(CLOCK_REALTIME, &tp);
20022
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 if ac_fn_cxx_try_link "$LINENO"; then :
20028 ac_has_clock_realtime=yes
20029 else
20030 ac_has_clock_realtime=no
20031 fi
20032 rm -f core conftest.err conftest.$ac_objext \
20033 conftest$ac_exeext conftest.$ac_ext
20034
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20036 $as_echo "$ac_has_clock_realtime" >&6; }
20037
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20039 $as_echo_n "checking for nanosleep... " >&6; }
20040 if test x$gcc_no_link = xyes; then
20041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20042 fi
20043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20044 /* end confdefs.h. */
20045 #include <unistd.h>
20046 #include <time.h>
20047
20048 int
20049 main ()
20050 {
20051 #if _POSIX_TIMERS > 0
20052 timespec tp;
20053 #endif
20054 nanosleep(&tp, 0);
20055
20056 ;
20057 return 0;
20058 }
20059 _ACEOF
20060 if ac_fn_cxx_try_link "$LINENO"; then :
20061 ac_has_nanosleep=yes
20062 else
20063 ac_has_nanosleep=no
20064 fi
20065 rm -f core conftest.err conftest.$ac_objext \
20066 conftest$ac_exeext conftest.$ac_ext
20067
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20069 $as_echo "$ac_has_nanosleep" >&6; }
20070 fi
20071 fi
20072
20073 if test x"$ac_has_clock_monotonic" != x"yes"; then
20074 case ${target_os} in
20075 linux*)
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20077 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080 #include <unistd.h>
20081 #include <time.h>
20082 #include <sys/syscall.h>
20083
20084 int
20085 main ()
20086 {
20087 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20088 timespec tp;
20089 #endif
20090 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20091 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20092
20093 ;
20094 return 0;
20095 }
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 ac_has_clock_monotonic_syscall=yes
20099 else
20100 ac_has_clock_monotonic_syscall=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20104 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20105 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20106
20107 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20108
20109 ac_has_clock_monotonic=yes
20110 ac_has_clock_realtime=yes
20111 fi;;
20112 esac
20113 fi
20114
20115 if test x"$ac_has_clock_monotonic" = x"yes"; then
20116
20117 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20118
20119 fi
20120
20121 if test x"$ac_has_clock_realtime" = x"yes"; then
20122
20123 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20124
20125 fi
20126
20127 if test x"$ac_has_sched_yield" = x"yes"; then
20128
20129 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20130
20131 fi
20132
20133 if test x"$ac_has_nanosleep" = x"yes"; then
20134
20135 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20136
20137 else
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20139 $as_echo_n "checking for sleep... " >&6; }
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20142 #include <unistd.h>
20143 int
20144 main ()
20145 {
20146 sleep(1)
20147 ;
20148 return 0;
20149 }
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152 ac_has_sleep=yes
20153 else
20154 ac_has_sleep=no
20155 fi
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 if test x"$ac_has_sleep" = x"yes"; then
20158
20159 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20160
20161 fi
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20163 $as_echo "$ac_has_sleep" >&6; }
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20165 $as_echo_n "checking for usleep... " >&6; }
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #include <unistd.h>
20169 int
20170 main ()
20171 {
20172 sleep(1);
20173 usleep(100);
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179 ac_has_usleep=yes
20180 else
20181 ac_has_usleep=no
20182 fi
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 if test x"$ac_has_usleep" = x"yes"; then
20185
20186 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20187
20188 fi
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20190 $as_echo "$ac_has_usleep" >&6; }
20191 fi
20192
20193 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20195 $as_echo_n "checking for Sleep... " >&6; }
20196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20197 /* end confdefs.h. */
20198 #include <windows.h>
20199 int
20200 main ()
20201 {
20202 Sleep(1)
20203 ;
20204 return 0;
20205 }
20206 _ACEOF
20207 if ac_fn_cxx_try_compile "$LINENO"; then :
20208 ac_has_win32_sleep=yes
20209 else
20210 ac_has_win32_sleep=no
20211 fi
20212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20213 if test x"$ac_has_win32_sleep" = x"yes"; then
20214
20215 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20216
20217 fi
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20219 $as_echo "$ac_has_win32_sleep" >&6; }
20220 fi
20221
20222
20223
20224 CXXFLAGS="$ac_save_CXXFLAGS"
20225 LIBS="$ac_save_LIBS"
20226 ac_ext=c
20227 ac_cpp='$CPP $CPPFLAGS'
20228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20231
20232
20233
20234 # Check for tmpnam which is obsolescent in POSIX.1-2008
20235
20236 ac_ext=cpp
20237 ac_cpp='$CXXCPP $CPPFLAGS'
20238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20241
20242 ac_save_CXXFLAGS="$CXXFLAGS"
20243 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20245 $as_echo_n "checking for tmpnam... " >&6; }
20246 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20247 $as_echo_n "(cached) " >&6
20248 else
20249 if test x$gcc_no_link = xyes; then
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252 #include <stdio.h>
20253 int
20254 main ()
20255 {
20256 char *tmp = tmpnam(NULL);
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 if ac_fn_cxx_try_compile "$LINENO"; then :
20262 glibcxx_cv_TMPNAM=yes
20263 else
20264 glibcxx_cv_TMPNAM=no
20265 fi
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 else
20268 if test x$gcc_no_link = xyes; then
20269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20270 fi
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20273 #include <stdio.h>
20274 int
20275 main ()
20276 {
20277 char *tmp = tmpnam(NULL);
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 if ac_fn_cxx_try_link "$LINENO"; then :
20283 glibcxx_cv_TMPNAM=yes
20284 else
20285 glibcxx_cv_TMPNAM=no
20286 fi
20287 rm -f core conftest.err conftest.$ac_objext \
20288 conftest$ac_exeext conftest.$ac_ext
20289 fi
20290
20291 fi
20292
20293 if test $glibcxx_cv_TMPNAM = yes; then
20294
20295 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20296
20297 fi
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20299 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20300 CXXFLAGS="$ac_save_CXXFLAGS"
20301 ac_ext=c
20302 ac_cpp='$CPP $CPPFLAGS'
20303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20306
20307
20308
20309
20310 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_locale_h" = x""yes; then :
20312
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20314 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20315 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20316 $as_echo_n "(cached) " >&6
20317 else
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20320 #include <locale.h>
20321 int
20322 main ()
20323 {
20324 return LC_MESSAGES
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 if ac_fn_c_try_compile "$LINENO"; then :
20330 ac_cv_val_LC_MESSAGES=yes
20331 else
20332 ac_cv_val_LC_MESSAGES=no
20333 fi
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 fi
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20337 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20338 if test $ac_cv_val_LC_MESSAGES = yes; then
20339
20340 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20341
20342 fi
20343
20344 fi
20345
20346
20347
20348
20349 # For hardware_concurrency
20350 for ac_header in sys/sysinfo.h
20351 do :
20352 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20353 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20354 cat >>confdefs.h <<_ACEOF
20355 #define HAVE_SYS_SYSINFO_H 1
20356 _ACEOF
20357
20358 fi
20359
20360 done
20361
20362
20363
20364
20365 ac_ext=cpp
20366 ac_cpp='$CXXCPP $CPPFLAGS'
20367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370
20371 ac_save_CXXFLAGS="$CXXFLAGS"
20372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20373
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20375 $as_echo_n "checking for get_nprocs... " >&6; }
20376 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20378 else
20379
20380 if test x$gcc_no_link = xyes; then
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20383 #include <sys/sysinfo.h>
20384 int
20385 main ()
20386 {
20387 int n = get_nprocs();
20388 ;
20389 return 0;
20390 }
20391 _ACEOF
20392 if ac_fn_cxx_try_compile "$LINENO"; then :
20393 glibcxx_cv_GET_NPROCS=yes
20394 else
20395 glibcxx_cv_GET_NPROCS=no
20396 fi
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 else
20399 if test x$gcc_no_link = xyes; then
20400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20401 fi
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <sys/sysinfo.h>
20405 int
20406 main ()
20407 {
20408 int n = get_nprocs();
20409 ;
20410 return 0;
20411 }
20412 _ACEOF
20413 if ac_fn_cxx_try_link "$LINENO"; then :
20414 glibcxx_cv_GET_NPROCS=yes
20415 else
20416 glibcxx_cv_GET_NPROCS=no
20417 fi
20418 rm -f core conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20420 fi
20421
20422 fi
20423
20424 if test $glibcxx_cv_GET_NPROCS = yes; then
20425
20426 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20427
20428 fi
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20430 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20431
20432 CXXFLAGS="$ac_save_CXXFLAGS"
20433 ac_ext=c
20434 ac_cpp='$CPP $CPPFLAGS'
20435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438
20439
20440 for ac_header in unistd.h
20441 do :
20442 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20443 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20444 cat >>confdefs.h <<_ACEOF
20445 #define HAVE_UNISTD_H 1
20446 _ACEOF
20447
20448 fi
20449
20450 done
20451
20452
20453
20454
20455 ac_ext=cpp
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20460
20461 ac_save_CXXFLAGS="$CXXFLAGS"
20462 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20463
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20465 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20466 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20469
20470 if test x$gcc_no_link = xyes; then
20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20473 #include <unistd.h>
20474 int
20475 main ()
20476 {
20477 int n = sysconf(_SC_NPROCESSORS_ONLN);
20478 ;
20479 return 0;
20480 }
20481 _ACEOF
20482 if ac_fn_cxx_try_compile "$LINENO"; then :
20483 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20484 else
20485 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20486 fi
20487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20488 else
20489 if test x$gcc_no_link = xyes; then
20490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20491 fi
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494 #include <unistd.h>
20495 int
20496 main ()
20497 {
20498 int n = sysconf(_SC_NPROCESSORS_ONLN);
20499 ;
20500 return 0;
20501 }
20502 _ACEOF
20503 if ac_fn_cxx_try_link "$LINENO"; then :
20504 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20505 else
20506 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20507 fi
20508 rm -f core conftest.err conftest.$ac_objext \
20509 conftest$ac_exeext conftest.$ac_ext
20510 fi
20511
20512 fi
20513
20514 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20515
20516 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20517
20518 fi
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20520 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20521
20522 CXXFLAGS="$ac_save_CXXFLAGS"
20523 ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528
20529
20530
20531
20532
20533 ac_ext=cpp
20534 ac_cpp='$CXXCPP $CPPFLAGS'
20535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20538
20539 ac_save_CXXFLAGS="$CXXFLAGS"
20540 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20541
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20543 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20544 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20545 $as_echo_n "(cached) " >&6
20546 else
20547
20548 if test x$gcc_no_link = xyes; then
20549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h. */
20551 #include <unistd.h>
20552 int
20553 main ()
20554 {
20555 int n = sysconf(_SC_NPROC_ONLN);
20556 ;
20557 return 0;
20558 }
20559 _ACEOF
20560 if ac_fn_cxx_try_compile "$LINENO"; then :
20561 glibcxx_cv_SC_NPROC_ONLN=yes
20562 else
20563 glibcxx_cv_SC_NPROC_ONLN=no
20564 fi
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20566 else
20567 if test x$gcc_no_link = xyes; then
20568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20569 fi
20570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h. */
20572 #include <unistd.h>
20573 int
20574 main ()
20575 {
20576 int n = sysconf(_SC_NPROC_ONLN);
20577 ;
20578 return 0;
20579 }
20580 _ACEOF
20581 if ac_fn_cxx_try_link "$LINENO"; then :
20582 glibcxx_cv_SC_NPROC_ONLN=yes
20583 else
20584 glibcxx_cv_SC_NPROC_ONLN=no
20585 fi
20586 rm -f core conftest.err conftest.$ac_objext \
20587 conftest$ac_exeext conftest.$ac_ext
20588 fi
20589
20590 fi
20591
20592 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20593
20594 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20595
20596 fi
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20598 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20599
20600 CXXFLAGS="$ac_save_CXXFLAGS"
20601 ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20606
20607
20608
20609
20610
20611 ac_ext=cpp
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20616
20617 ac_save_CXXFLAGS="$CXXFLAGS"
20618 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20619
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20621 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20622 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20623 $as_echo_n "(cached) " >&6
20624 else
20625
20626 if test x$gcc_no_link = xyes; then
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20629 #include <pthread.h>
20630 int
20631 main ()
20632 {
20633 int n = pthread_num_processors_np();
20634 ;
20635 return 0;
20636 }
20637 _ACEOF
20638 if ac_fn_cxx_try_compile "$LINENO"; then :
20639 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20640 else
20641 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20642 fi
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 fi
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20650 #include <pthread.h>
20651 int
20652 main ()
20653 {
20654 int n = pthread_num_processors_np();
20655 ;
20656 return 0;
20657 }
20658 _ACEOF
20659 if ac_fn_cxx_try_link "$LINENO"; then :
20660 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20661 else
20662 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20663 fi
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20666 fi
20667
20668 fi
20669
20670 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20671
20672 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20673
20674 fi
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20676 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20677
20678 CXXFLAGS="$ac_save_CXXFLAGS"
20679 ac_ext=c
20680 ac_cpp='$CPP $CPPFLAGS'
20681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20684
20685
20686
20687
20688
20689 ac_ext=cpp
20690 ac_cpp='$CXXCPP $CPPFLAGS'
20691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20694
20695 ac_save_CXXFLAGS="$CXXFLAGS"
20696 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20697
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20699 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20700 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20701 $as_echo_n "(cached) " >&6
20702 else
20703
20704 if test x$gcc_no_link = xyes; then
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707
20708 #include <stddef.h>
20709 #include <sys/sysctl.h>
20710
20711 int
20712 main ()
20713 {
20714
20715 int count;
20716 size_t size = sizeof(count);
20717 int mib[] = { CTL_HW, HW_NCPU };
20718 sysctl(mib, 2, &count, &size, NULL, 0);
20719
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 if ac_fn_cxx_try_compile "$LINENO"; then :
20725 glibcxx_cv_SYSCTL_HW_NCPU=yes
20726 else
20727 glibcxx_cv_SYSCTL_HW_NCPU=no
20728 fi
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 else
20731 if test x$gcc_no_link = xyes; then
20732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20733 fi
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20736
20737 #include <stddef.h>
20738 #include <sys/sysctl.h>
20739
20740 int
20741 main ()
20742 {
20743
20744 int count;
20745 size_t size = sizeof(count);
20746 int mib[] = { CTL_HW, HW_NCPU };
20747 sysctl(mib, 2, &count, &size, NULL, 0);
20748
20749 ;
20750 return 0;
20751 }
20752 _ACEOF
20753 if ac_fn_cxx_try_link "$LINENO"; then :
20754 glibcxx_cv_SYSCTL_HW_NCPU=yes
20755 else
20756 glibcxx_cv_SYSCTL_HW_NCPU=no
20757 fi
20758 rm -f core conftest.err conftest.$ac_objext \
20759 conftest$ac_exeext conftest.$ac_ext
20760 fi
20761
20762 fi
20763
20764 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20765
20766 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20767
20768 fi
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20770 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20771
20772 CXXFLAGS="$ac_save_CXXFLAGS"
20773 ac_ext=c
20774 ac_cpp='$CPP $CPPFLAGS'
20775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20778
20779
20780
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20782 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20783 # Note that this test has to be run with the C language.
20784 # Otherwise, sdt.h will try to include some headers from
20785 # libstdc++ itself.
20786
20787 ac_ext=c
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792
20793 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20796
20797 # Because we have to run the test in C, we use grep rather
20798 # than the compiler to check for the bug. The bug is that
20799 # were strings without trailing whitespace, causing g++
20800 # to look for operator"". The pattern searches for the fixed
20801 # output.
20802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803 /* end confdefs.h. */
20804
20805 #include <sys/sdt.h>
20806 int f() { STAP_PROBE(hi, bob); }
20807
20808 _ACEOF
20809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20810 $EGREP " \",\" " >/dev/null 2>&1; then :
20811 glibcxx_cv_sys_sdt_h=yes
20812 else
20813 glibcxx_cv_sys_sdt_h=no
20814 fi
20815 rm -f conftest*
20816
20817
20818 fi
20819
20820 ac_ext=c
20821 ac_cpp='$CPP $CPPFLAGS'
20822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20825
20826 if test $glibcxx_cv_sys_sdt_h = yes; then
20827
20828 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20829
20830 fi
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20832 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20833
20834
20835 # Check for available headers.
20836 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20837 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20838 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20839 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20840 wchar.h wctype.h
20841 do :
20842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20844 eval as_val=\$$as_ac_Header
20845 if test "x$as_val" = x""yes; then :
20846 cat >>confdefs.h <<_ACEOF
20847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20848 _ACEOF
20849
20850 fi
20851
20852 done
20853
20854
20855 # Only do link tests if native. Else, hardcode.
20856 if $GLIBCXX_IS_NATIVE; then
20857
20858 # We can do more elaborate tests that assume a working linker.
20859 CANADIAN=no
20860
20861
20862
20863 # Check whether --with-gnu-ld was given.
20864 if test "${with_gnu_ld+set}" = set; then :
20865 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20866 else
20867 with_gnu_ld=no
20868 fi
20869
20870 ac_prog=ld
20871 if test "$GCC" = yes; then
20872 # Check if gcc -print-prog-name=ld gives a path.
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20874 $as_echo_n "checking for ld used by $CC... " >&6; }
20875 case $host in
20876 *-*-mingw*)
20877 # gcc leaves a trailing carriage return which upsets mingw
20878 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20879 *)
20880 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20881 esac
20882 case $ac_prog in
20883 # Accept absolute paths.
20884 [\\/]* | ?:[\\/]*)
20885 re_direlt='/[^/][^/]*/\.\./'
20886 # Canonicalize the pathname of ld
20887 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20888 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20889 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20890 done
20891 test -z "$LD" && LD="$ac_prog"
20892 ;;
20893 "")
20894 # If it fails, then pretend we aren't using GCC.
20895 ac_prog=ld
20896 ;;
20897 *)
20898 # If it is relative, then search for the first ld in PATH.
20899 with_gnu_ld=unknown
20900 ;;
20901 esac
20902 elif test "$with_gnu_ld" = yes; then
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20904 $as_echo_n "checking for GNU ld... " >&6; }
20905 else
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20907 $as_echo_n "checking for non-GNU ld... " >&6; }
20908 fi
20909 if test "${lt_cv_path_LD+set}" = set; then :
20910 $as_echo_n "(cached) " >&6
20911 else
20912 if test -z "$LD"; then
20913 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20914 for ac_dir in $PATH; do
20915 IFS="$lt_save_ifs"
20916 test -z "$ac_dir" && ac_dir=.
20917 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20918 lt_cv_path_LD="$ac_dir/$ac_prog"
20919 # Check to see if the program is GNU ld. I'd rather use --version,
20920 # but apparently some variants of GNU ld only accept -v.
20921 # Break only if it was the GNU/non-GNU ld that we prefer.
20922 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20923 *GNU* | *'with BFD'*)
20924 test "$with_gnu_ld" != no && break
20925 ;;
20926 *)
20927 test "$with_gnu_ld" != yes && break
20928 ;;
20929 esac
20930 fi
20931 done
20932 IFS="$lt_save_ifs"
20933 else
20934 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20935 fi
20936 fi
20937
20938 LD="$lt_cv_path_LD"
20939 if test -n "$LD"; then
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20941 $as_echo "$LD" >&6; }
20942 else
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20944 $as_echo "no" >&6; }
20945 fi
20946 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20948 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20949 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20950 $as_echo_n "(cached) " >&6
20951 else
20952 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20953 case `$LD -v 2>&1 </dev/null` in
20954 *GNU* | *'with BFD'*)
20955 lt_cv_prog_gnu_ld=yes
20956 ;;
20957 *)
20958 lt_cv_prog_gnu_ld=no
20959 ;;
20960 esac
20961 fi
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20963 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20964 with_gnu_ld=$lt_cv_prog_gnu_ld
20965
20966
20967
20968
20969
20970
20971
20972 # If we're not using GNU ld, then there's no point in even trying these
20973 # tests. Check for that first. We should have already tested for gld
20974 # by now (in libtool), but require it now just to be safe...
20975 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20976 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20977
20978
20979
20980 # The name set by libtool depends on the version of libtool. Shame on us
20981 # for depending on an impl detail, but c'est la vie. Older versions used
20982 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20983 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20984 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20985 # set (hence we're using an older libtool), then set it.
20986 if test x${with_gnu_ld+set} != xset; then
20987 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20988 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20989 with_gnu_ld=no
20990 else
20991 with_gnu_ld=$ac_cv_prog_gnu_ld
20992 fi
20993 fi
20994
20995 # Start by getting the version number. I think the libtool test already
20996 # does some of this, but throws away the result.
20997 glibcxx_ld_is_gold=no
20998 if test x"$with_gnu_ld" = x"yes"; then
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21000 $as_echo_n "checking for ld version... " >&6; }
21001
21002 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21003 glibcxx_ld_is_gold=yes
21004 fi
21005 ldver=`$LD --version 2>/dev/null |
21006 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'`
21007
21008 glibcxx_gnu_ld_version=`echo $ldver | \
21009 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21011 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21012 fi
21013
21014 # Set --gc-sections.
21015 glibcxx_have_gc_sections=no
21016 if test "$glibcxx_ld_is_gold" = "yes"; then
21017 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21018 glibcxx_have_gc_sections=yes
21019 fi
21020 else
21021 glibcxx_gcsections_min_ld=21602
21022 if test x"$with_gnu_ld" = x"yes" &&
21023 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21024 glibcxx_have_gc_sections=yes
21025 fi
21026 fi
21027 if test "$glibcxx_have_gc_sections" = "yes"; then
21028 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21029 # NB: This flag only works reliably after 2.16.1. Configure tests
21030 # for this are difficult, so hard wire a value that should work.
21031
21032 ac_test_CFLAGS="${CFLAGS+set}"
21033 ac_save_CFLAGS="$CFLAGS"
21034 CFLAGS='-Wl,--gc-sections'
21035
21036 # Check for -Wl,--gc-sections
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21038 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21039 if test x$gcc_no_link = xyes; then
21040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21041 fi
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044 int one(void) { return 1; }
21045 int two(void) { return 2; }
21046
21047 int
21048 main ()
21049 {
21050 two();
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 if ac_fn_c_try_link "$LINENO"; then :
21056 ac_gcsections=yes
21057 else
21058 ac_gcsections=no
21059 fi
21060 rm -f core conftest.err conftest.$ac_objext \
21061 conftest$ac_exeext conftest.$ac_ext
21062 if test "$ac_gcsections" = "yes"; then
21063 rm -f conftest.c
21064 touch conftest.c
21065 if $CC -c conftest.c; then
21066 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21067 grep "Warning: gc-sections option ignored" > /dev/null; then
21068 ac_gcsections=no
21069 fi
21070 fi
21071 rm -f conftest.c conftest.o conftest
21072 fi
21073 if test "$ac_gcsections" = "yes"; then
21074 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21075 fi
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21077 $as_echo "$ac_gcsections" >&6; }
21078
21079 if test "$ac_test_CFLAGS" = set; then
21080 CFLAGS="$ac_save_CFLAGS"
21081 else
21082 # this is the suspicious part
21083 CFLAGS=''
21084 fi
21085 fi
21086
21087 # Set -z,relro.
21088 # Note this is only for shared objects.
21089 ac_ld_relro=no
21090 if test x"$with_gnu_ld" = x"yes"; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21092 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21093 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21094 if test -n "$cxx_z_relo"; then
21095 OPT_LDFLAGS="-Wl,-z,relro"
21096 ac_ld_relro=yes
21097 fi
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21099 $as_echo "$ac_ld_relro" >&6; }
21100 fi
21101
21102 # Set linker optimization flags.
21103 if test x"$with_gnu_ld" = x"yes"; then
21104 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21105 fi
21106
21107
21108
21109
21110
21111 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21112 ac_save_CXXFLAGS="$CXXFLAGS"
21113 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21114
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21116 $as_echo_n "checking for sin in -lm... " >&6; }
21117 if test "${ac_cv_lib_m_sin+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21119 else
21120 ac_check_lib_save_LIBS=$LIBS
21121 LIBS="-lm $LIBS"
21122 if test x$gcc_no_link = xyes; then
21123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21124 fi
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21127
21128 /* Override any GCC internal prototype to avoid an error.
21129 Use char because int might match the return type of a GCC
21130 builtin and then its argument prototype would still apply. */
21131 #ifdef __cplusplus
21132 extern "C"
21133 #endif
21134 char sin ();
21135 int
21136 main ()
21137 {
21138 return sin ();
21139 ;
21140 return 0;
21141 }
21142 _ACEOF
21143 if ac_fn_c_try_link "$LINENO"; then :
21144 ac_cv_lib_m_sin=yes
21145 else
21146 ac_cv_lib_m_sin=no
21147 fi
21148 rm -f core conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21150 LIBS=$ac_check_lib_save_LIBS
21151 fi
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21153 $as_echo "$ac_cv_lib_m_sin" >&6; }
21154 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21155 libm="-lm"
21156 fi
21157
21158 ac_save_LIBS="$LIBS"
21159 LIBS="$LIBS $libm"
21160
21161
21162
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21164 $as_echo_n "checking for isinf declaration... " >&6; }
21165 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21166 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21168 else
21169
21170
21171 ac_ext=cpp
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21179 #include <math.h>
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21182 #endif
21183
21184 int
21185 main ()
21186 {
21187 isinf(0);
21188 ;
21189 return 0;
21190 }
21191 _ACEOF
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func_isinf_use=yes
21194 else
21195 glibcxx_cv_func_isinf_use=no
21196 fi
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 ac_ext=c
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21203
21204
21205 fi
21206
21207 fi
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21209 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21210
21211 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21212 for ac_func in isinf
21213 do :
21214 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21215 if test "x$ac_cv_func_isinf" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE_ISINF 1
21218 _ACEOF
21219
21220 fi
21221 done
21222
21223 else
21224
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21226 $as_echo_n "checking for _isinf declaration... " >&6; }
21227 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21228 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21229 $as_echo_n "(cached) " >&6
21230 else
21231
21232
21233 ac_ext=cpp
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21238
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <math.h>
21242 #ifdef HAVE_IEEEFP_H
21243 #include <ieeefp.h>
21244 #endif
21245
21246 int
21247 main ()
21248 {
21249 _isinf(0);
21250 ;
21251 return 0;
21252 }
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func__isinf_use=yes
21256 else
21257 glibcxx_cv_func__isinf_use=no
21258 fi
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 ac_ext=c
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21265
21266
21267 fi
21268
21269 fi
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21271 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21272
21273 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21274 for ac_func in _isinf
21275 do :
21276 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21277 if test "x$ac_cv_func__isinf" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE__ISINF 1
21280 _ACEOF
21281
21282 fi
21283 done
21284
21285 fi
21286 fi
21287
21288
21289
21290
21291
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21293 $as_echo_n "checking for isnan declaration... " >&6; }
21294 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21295 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21298
21299
21300 ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21305
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21308 #include <math.h>
21309 #ifdef HAVE_IEEEFP_H
21310 #include <ieeefp.h>
21311 #endif
21312
21313 int
21314 main ()
21315 {
21316 isnan(0);
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322 glibcxx_cv_func_isnan_use=yes
21323 else
21324 glibcxx_cv_func_isnan_use=no
21325 fi
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327 ac_ext=c
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21332
21333
21334 fi
21335
21336 fi
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21338 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21339
21340 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21341 for ac_func in isnan
21342 do :
21343 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21344 if test "x$ac_cv_func_isnan" = x""yes; then :
21345 cat >>confdefs.h <<_ACEOF
21346 #define HAVE_ISNAN 1
21347 _ACEOF
21348
21349 fi
21350 done
21351
21352 else
21353
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21355 $as_echo_n "checking for _isnan declaration... " >&6; }
21356 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21357 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21358 $as_echo_n "(cached) " >&6
21359 else
21360
21361
21362 ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21367
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21370 #include <math.h>
21371 #ifdef HAVE_IEEEFP_H
21372 #include <ieeefp.h>
21373 #endif
21374
21375 int
21376 main ()
21377 {
21378 _isnan(0);
21379 ;
21380 return 0;
21381 }
21382 _ACEOF
21383 if ac_fn_cxx_try_compile "$LINENO"; then :
21384 glibcxx_cv_func__isnan_use=yes
21385 else
21386 glibcxx_cv_func__isnan_use=no
21387 fi
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389 ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394
21395
21396 fi
21397
21398 fi
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21400 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21401
21402 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21403 for ac_func in _isnan
21404 do :
21405 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21406 if test "x$ac_cv_func__isnan" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE__ISNAN 1
21409 _ACEOF
21410
21411 fi
21412 done
21413
21414 fi
21415 fi
21416
21417
21418
21419
21420
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21422 $as_echo_n "checking for finite declaration... " >&6; }
21423 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21424 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21425 $as_echo_n "(cached) " >&6
21426 else
21427
21428
21429 ac_ext=cpp
21430 ac_cpp='$CXXCPP $CPPFLAGS'
21431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <math.h>
21438 #ifdef HAVE_IEEEFP_H
21439 #include <ieeefp.h>
21440 #endif
21441
21442 int
21443 main ()
21444 {
21445 finite(0);
21446 ;
21447 return 0;
21448 }
21449 _ACEOF
21450 if ac_fn_cxx_try_compile "$LINENO"; then :
21451 glibcxx_cv_func_finite_use=yes
21452 else
21453 glibcxx_cv_func_finite_use=no
21454 fi
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ac_ext=c
21457 ac_cpp='$CPP $CPPFLAGS'
21458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21461
21462
21463 fi
21464
21465 fi
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21467 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21468
21469 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21470 for ac_func in finite
21471 do :
21472 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21473 if test "x$ac_cv_func_finite" = x""yes; then :
21474 cat >>confdefs.h <<_ACEOF
21475 #define HAVE_FINITE 1
21476 _ACEOF
21477
21478 fi
21479 done
21480
21481 else
21482
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21484 $as_echo_n "checking for _finite declaration... " >&6; }
21485 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21486 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21487 $as_echo_n "(cached) " >&6
21488 else
21489
21490
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496
21497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h. */
21499 #include <math.h>
21500 #ifdef HAVE_IEEEFP_H
21501 #include <ieeefp.h>
21502 #endif
21503
21504 int
21505 main ()
21506 {
21507 _finite(0);
21508 ;
21509 return 0;
21510 }
21511 _ACEOF
21512 if ac_fn_cxx_try_compile "$LINENO"; then :
21513 glibcxx_cv_func__finite_use=yes
21514 else
21515 glibcxx_cv_func__finite_use=no
21516 fi
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 ac_ext=c
21519 ac_cpp='$CPP $CPPFLAGS'
21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21523
21524
21525 fi
21526
21527 fi
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21529 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21530
21531 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21532 for ac_func in _finite
21533 do :
21534 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21535 if test "x$ac_cv_func__finite" = x""yes; then :
21536 cat >>confdefs.h <<_ACEOF
21537 #define HAVE__FINITE 1
21538 _ACEOF
21539
21540 fi
21541 done
21542
21543 fi
21544 fi
21545
21546
21547
21548
21549
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21551 $as_echo_n "checking for sincos declaration... " >&6; }
21552 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21553 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21554 $as_echo_n "(cached) " >&6
21555 else
21556
21557
21558 ac_ext=cpp
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566 #include <math.h>
21567 int
21568 main ()
21569 {
21570 sincos(0, 0, 0);
21571 ;
21572 return 0;
21573 }
21574 _ACEOF
21575 if ac_fn_cxx_try_compile "$LINENO"; then :
21576 glibcxx_cv_func_sincos_use=yes
21577 else
21578 glibcxx_cv_func_sincos_use=no
21579 fi
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_ext=c
21582 ac_cpp='$CPP $CPPFLAGS'
21583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21586
21587
21588 fi
21589
21590 fi
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21592 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21593
21594 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21595 for ac_func in sincos
21596 do :
21597 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21598 if test "x$ac_cv_func_sincos" = x""yes; then :
21599 cat >>confdefs.h <<_ACEOF
21600 #define HAVE_SINCOS 1
21601 _ACEOF
21602
21603 fi
21604 done
21605
21606 else
21607
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21609 $as_echo_n "checking for _sincos declaration... " >&6; }
21610 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21611 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21612 $as_echo_n "(cached) " >&6
21613 else
21614
21615
21616 ac_ext=cpp
21617 ac_cpp='$CXXCPP $CPPFLAGS'
21618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621
21622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21624 #include <math.h>
21625 int
21626 main ()
21627 {
21628 _sincos(0, 0, 0);
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 if ac_fn_cxx_try_compile "$LINENO"; then :
21634 glibcxx_cv_func__sincos_use=yes
21635 else
21636 glibcxx_cv_func__sincos_use=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639 ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21644
21645
21646 fi
21647
21648 fi
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21650 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21651
21652 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21653 for ac_func in _sincos
21654 do :
21655 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21656 if test "x$ac_cv_func__sincos" = x""yes; then :
21657 cat >>confdefs.h <<_ACEOF
21658 #define HAVE__SINCOS 1
21659 _ACEOF
21660
21661 fi
21662 done
21663
21664 fi
21665 fi
21666
21667
21668
21669
21670
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21672 $as_echo_n "checking for fpclass declaration... " >&6; }
21673 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21674 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21675 $as_echo_n "(cached) " >&6
21676 else
21677
21678
21679 ac_ext=cpp
21680 ac_cpp='$CXXCPP $CPPFLAGS'
21681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684
21685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21687 #include <math.h>
21688 #ifdef HAVE_IEEEFP_H
21689 #include <ieeefp.h>
21690 #endif
21691
21692 int
21693 main ()
21694 {
21695 fpclass(0);
21696 ;
21697 return 0;
21698 }
21699 _ACEOF
21700 if ac_fn_cxx_try_compile "$LINENO"; then :
21701 glibcxx_cv_func_fpclass_use=yes
21702 else
21703 glibcxx_cv_func_fpclass_use=no
21704 fi
21705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21706 ac_ext=c
21707 ac_cpp='$CPP $CPPFLAGS'
21708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21711
21712
21713 fi
21714
21715 fi
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21717 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21718
21719 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21720 for ac_func in fpclass
21721 do :
21722 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21723 if test "x$ac_cv_func_fpclass" = x""yes; then :
21724 cat >>confdefs.h <<_ACEOF
21725 #define HAVE_FPCLASS 1
21726 _ACEOF
21727
21728 fi
21729 done
21730
21731 else
21732
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21734 $as_echo_n "checking for _fpclass declaration... " >&6; }
21735 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21736 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21737 $as_echo_n "(cached) " >&6
21738 else
21739
21740
21741 ac_ext=cpp
21742 ac_cpp='$CXXCPP $CPPFLAGS'
21743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746
21747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21748 /* end confdefs.h. */
21749 #include <math.h>
21750 #ifdef HAVE_IEEEFP_H
21751 #include <ieeefp.h>
21752 #endif
21753
21754 int
21755 main ()
21756 {
21757 _fpclass(0);
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 if ac_fn_cxx_try_compile "$LINENO"; then :
21763 glibcxx_cv_func__fpclass_use=yes
21764 else
21765 glibcxx_cv_func__fpclass_use=no
21766 fi
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 ac_ext=c
21769 ac_cpp='$CPP $CPPFLAGS'
21770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21773
21774
21775 fi
21776
21777 fi
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21779 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21780
21781 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21782 for ac_func in _fpclass
21783 do :
21784 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21785 if test "x$ac_cv_func__fpclass" = x""yes; then :
21786 cat >>confdefs.h <<_ACEOF
21787 #define HAVE__FPCLASS 1
21788 _ACEOF
21789
21790 fi
21791 done
21792
21793 fi
21794 fi
21795
21796
21797
21798
21799
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21801 $as_echo_n "checking for qfpclass declaration... " >&6; }
21802 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21803 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21806
21807
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813
21814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21816 #include <math.h>
21817 #ifdef HAVE_IEEEFP_H
21818 #include <ieeefp.h>
21819 #endif
21820
21821 int
21822 main ()
21823 {
21824 qfpclass(0);
21825 ;
21826 return 0;
21827 }
21828 _ACEOF
21829 if ac_fn_cxx_try_compile "$LINENO"; then :
21830 glibcxx_cv_func_qfpclass_use=yes
21831 else
21832 glibcxx_cv_func_qfpclass_use=no
21833 fi
21834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 ac_ext=c
21836 ac_cpp='$CPP $CPPFLAGS'
21837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840
21841
21842 fi
21843
21844 fi
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21846 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21847
21848 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21849 for ac_func in qfpclass
21850 do :
21851 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21852 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21853 cat >>confdefs.h <<_ACEOF
21854 #define HAVE_QFPCLASS 1
21855 _ACEOF
21856
21857 fi
21858 done
21859
21860 else
21861
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21863 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21864 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21865 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21866 $as_echo_n "(cached) " >&6
21867 else
21868
21869
21870 ac_ext=cpp
21871 ac_cpp='$CXXCPP $CPPFLAGS'
21872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h. */
21878 #include <math.h>
21879 #ifdef HAVE_IEEEFP_H
21880 #include <ieeefp.h>
21881 #endif
21882
21883 int
21884 main ()
21885 {
21886 _qfpclass(0);
21887 ;
21888 return 0;
21889 }
21890 _ACEOF
21891 if ac_fn_cxx_try_compile "$LINENO"; then :
21892 glibcxx_cv_func__qfpclass_use=yes
21893 else
21894 glibcxx_cv_func__qfpclass_use=no
21895 fi
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21897 ac_ext=c
21898 ac_cpp='$CPP $CPPFLAGS'
21899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21902
21903
21904 fi
21905
21906 fi
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21908 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21909
21910 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21911 for ac_func in _qfpclass
21912 do :
21913 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21914 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21915 cat >>confdefs.h <<_ACEOF
21916 #define HAVE__QFPCLASS 1
21917 _ACEOF
21918
21919 fi
21920 done
21921
21922 fi
21923 fi
21924
21925
21926
21927
21928
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21930 $as_echo_n "checking for hypot declaration... " >&6; }
21931 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21932 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21933 $as_echo_n "(cached) " >&6
21934 else
21935
21936
21937 ac_ext=cpp
21938 ac_cpp='$CXXCPP $CPPFLAGS'
21939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21942
21943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21944 /* end confdefs.h. */
21945 #include <math.h>
21946 int
21947 main ()
21948 {
21949 hypot(0, 0);
21950 ;
21951 return 0;
21952 }
21953 _ACEOF
21954 if ac_fn_cxx_try_compile "$LINENO"; then :
21955 glibcxx_cv_func_hypot_use=yes
21956 else
21957 glibcxx_cv_func_hypot_use=no
21958 fi
21959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21960 ac_ext=c
21961 ac_cpp='$CPP $CPPFLAGS'
21962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21965
21966
21967 fi
21968
21969 fi
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21971 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21972
21973 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21974 for ac_func in hypot
21975 do :
21976 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21977 if test "x$ac_cv_func_hypot" = x""yes; then :
21978 cat >>confdefs.h <<_ACEOF
21979 #define HAVE_HYPOT 1
21980 _ACEOF
21981
21982 fi
21983 done
21984
21985 else
21986
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21988 $as_echo_n "checking for _hypot declaration... " >&6; }
21989 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21990 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21991 $as_echo_n "(cached) " >&6
21992 else
21993
21994
21995 ac_ext=cpp
21996 ac_cpp='$CXXCPP $CPPFLAGS'
21997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22000
22001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22002 /* end confdefs.h. */
22003 #include <math.h>
22004 int
22005 main ()
22006 {
22007 _hypot(0, 0);
22008 ;
22009 return 0;
22010 }
22011 _ACEOF
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013 glibcxx_cv_func__hypot_use=yes
22014 else
22015 glibcxx_cv_func__hypot_use=no
22016 fi
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 ac_ext=c
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22023
22024
22025 fi
22026
22027 fi
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22029 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22030
22031 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22032 for ac_func in _hypot
22033 do :
22034 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22035 if test "x$ac_cv_func__hypot" = x""yes; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE__HYPOT 1
22038 _ACEOF
22039
22040 fi
22041 done
22042
22043 fi
22044 fi
22045
22046
22047
22048
22049
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22051 $as_echo_n "checking for float trig functions... " >&6; }
22052 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22055
22056
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22062
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22065 #include <math.h>
22066 int
22067 main ()
22068 {
22069 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22070 ;
22071 return 0;
22072 }
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func_float_trig_use=yes
22076 else
22077 glibcxx_cv_func_float_trig_use=no
22078 fi
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22085
22086 fi
22087
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22089 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22090 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22091 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22092 do :
22093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22095 eval as_val=\$$as_ac_var
22096 if test "x$as_val" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 _ACEOF
22100
22101 fi
22102 done
22103
22104 else
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22106 $as_echo_n "checking for _float trig functions... " >&6; }
22107 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22110
22111
22112 ac_ext=cpp
22113 ac_cpp='$CXXCPP $CPPFLAGS'
22114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22117
22118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22119 /* end confdefs.h. */
22120 #include <math.h>
22121 int
22122 main ()
22123 {
22124 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22125 ;
22126 return 0;
22127 }
22128 _ACEOF
22129 if ac_fn_cxx_try_compile "$LINENO"; then :
22130 glibcxx_cv_func__float_trig_use=yes
22131 else
22132 glibcxx_cv_func__float_trig_use=no
22133 fi
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22135 ac_ext=c
22136 ac_cpp='$CPP $CPPFLAGS'
22137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140
22141 fi
22142
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22144 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22145 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22146 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22147 do :
22148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22150 eval as_val=\$$as_ac_var
22151 if test "x$as_val" = x""yes; then :
22152 cat >>confdefs.h <<_ACEOF
22153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22154 _ACEOF
22155
22156 fi
22157 done
22158
22159 fi
22160 fi
22161
22162
22163
22164
22165
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22167 $as_echo_n "checking for float round functions... " >&6; }
22168 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22171
22172
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22178
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22182 int
22183 main ()
22184 {
22185 ceilf (0); floorf (0);
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func_float_round_use=yes
22192 else
22193 glibcxx_cv_func_float_round_use=no
22194 fi
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201
22202 fi
22203
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22205 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22206 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22207 for ac_func in ceilf floorf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22216
22217 fi
22218 done
22219
22220 else
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22222 $as_echo_n "checking for _float round functions... " >&6; }
22223 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22224 $as_echo_n "(cached) " >&6
22225 else
22226
22227
22228 ac_ext=cpp
22229 ac_cpp='$CXXCPP $CPPFLAGS'
22230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22233
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22235 /* end confdefs.h. */
22236 #include <math.h>
22237 int
22238 main ()
22239 {
22240 _ceilf (0); _floorf (0);
22241 ;
22242 return 0;
22243 }
22244 _ACEOF
22245 if ac_fn_cxx_try_compile "$LINENO"; then :
22246 glibcxx_cv_func__float_round_use=yes
22247 else
22248 glibcxx_cv_func__float_round_use=no
22249 fi
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 ac_ext=c
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22256
22257 fi
22258
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22260 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22261 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22262 for ac_func in _ceilf _floorf
22263 do :
22264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22266 eval as_val=\$$as_ac_var
22267 if test "x$as_val" = x""yes; then :
22268 cat >>confdefs.h <<_ACEOF
22269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22270 _ACEOF
22271
22272 fi
22273 done
22274
22275 fi
22276 fi
22277
22278
22279
22280
22281
22282
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22284 $as_echo_n "checking for expf declaration... " >&6; }
22285 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22286 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22287 $as_echo_n "(cached) " >&6
22288 else
22289
22290
22291 ac_ext=cpp
22292 ac_cpp='$CXXCPP $CPPFLAGS'
22293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22296
22297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h. */
22299 #include <math.h>
22300 #ifdef HAVE_IEEEFP_H
22301 #include <ieeefp.h>
22302 #endif
22303
22304 int
22305 main ()
22306 {
22307 expf(0);
22308 ;
22309 return 0;
22310 }
22311 _ACEOF
22312 if ac_fn_cxx_try_compile "$LINENO"; then :
22313 glibcxx_cv_func_expf_use=yes
22314 else
22315 glibcxx_cv_func_expf_use=no
22316 fi
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 ac_ext=c
22319 ac_cpp='$CPP $CPPFLAGS'
22320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22323
22324
22325 fi
22326
22327 fi
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22329 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22330
22331 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22332 for ac_func in expf
22333 do :
22334 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22335 if test "x$ac_cv_func_expf" = x""yes; then :
22336 cat >>confdefs.h <<_ACEOF
22337 #define HAVE_EXPF 1
22338 _ACEOF
22339
22340 fi
22341 done
22342
22343 else
22344
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22346 $as_echo_n "checking for _expf declaration... " >&6; }
22347 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22348 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22349 $as_echo_n "(cached) " >&6
22350 else
22351
22352
22353 ac_ext=cpp
22354 ac_cpp='$CXXCPP $CPPFLAGS'
22355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22358
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22361 #include <math.h>
22362 #ifdef HAVE_IEEEFP_H
22363 #include <ieeefp.h>
22364 #endif
22365
22366 int
22367 main ()
22368 {
22369 _expf(0);
22370 ;
22371 return 0;
22372 }
22373 _ACEOF
22374 if ac_fn_cxx_try_compile "$LINENO"; then :
22375 glibcxx_cv_func__expf_use=yes
22376 else
22377 glibcxx_cv_func__expf_use=no
22378 fi
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22385
22386
22387 fi
22388
22389 fi
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22391 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22392
22393 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22394 for ac_func in _expf
22395 do :
22396 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22397 if test "x$ac_cv_func__expf" = x""yes; then :
22398 cat >>confdefs.h <<_ACEOF
22399 #define HAVE__EXPF 1
22400 _ACEOF
22401
22402 fi
22403 done
22404
22405 fi
22406 fi
22407
22408
22409
22410
22411
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22413 $as_echo_n "checking for isnanf declaration... " >&6; }
22414 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22415 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22418
22419
22420 ac_ext=cpp
22421 ac_cpp='$CXXCPP $CPPFLAGS'
22422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22425
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22428 #include <math.h>
22429 #ifdef HAVE_IEEEFP_H
22430 #include <ieeefp.h>
22431 #endif
22432
22433 int
22434 main ()
22435 {
22436 isnanf(0);
22437 ;
22438 return 0;
22439 }
22440 _ACEOF
22441 if ac_fn_cxx_try_compile "$LINENO"; then :
22442 glibcxx_cv_func_isnanf_use=yes
22443 else
22444 glibcxx_cv_func_isnanf_use=no
22445 fi
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447 ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22452
22453
22454 fi
22455
22456 fi
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22458 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22459
22460 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22461 for ac_func in isnanf
22462 do :
22463 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22464 if test "x$ac_cv_func_isnanf" = x""yes; then :
22465 cat >>confdefs.h <<_ACEOF
22466 #define HAVE_ISNANF 1
22467 _ACEOF
22468
22469 fi
22470 done
22471
22472 else
22473
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22475 $as_echo_n "checking for _isnanf declaration... " >&6; }
22476 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22477 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22479 else
22480
22481
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22490 #include <math.h>
22491 #ifdef HAVE_IEEEFP_H
22492 #include <ieeefp.h>
22493 #endif
22494
22495 int
22496 main ()
22497 {
22498 _isnanf(0);
22499 ;
22500 return 0;
22501 }
22502 _ACEOF
22503 if ac_fn_cxx_try_compile "$LINENO"; then :
22504 glibcxx_cv_func__isnanf_use=yes
22505 else
22506 glibcxx_cv_func__isnanf_use=no
22507 fi
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 ac_ext=c
22510 ac_cpp='$CPP $CPPFLAGS'
22511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514
22515
22516 fi
22517
22518 fi
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22520 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22521
22522 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22523 for ac_func in _isnanf
22524 do :
22525 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22526 if test "x$ac_cv_func__isnanf" = x""yes; then :
22527 cat >>confdefs.h <<_ACEOF
22528 #define HAVE__ISNANF 1
22529 _ACEOF
22530
22531 fi
22532 done
22533
22534 fi
22535 fi
22536
22537
22538
22539
22540
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22542 $as_echo_n "checking for isinff declaration... " >&6; }
22543 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22544 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22545 $as_echo_n "(cached) " >&6
22546 else
22547
22548
22549 ac_ext=cpp
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554
22555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h. */
22557 #include <math.h>
22558 #ifdef HAVE_IEEEFP_H
22559 #include <ieeefp.h>
22560 #endif
22561
22562 int
22563 main ()
22564 {
22565 isinff(0);
22566 ;
22567 return 0;
22568 }
22569 _ACEOF
22570 if ac_fn_cxx_try_compile "$LINENO"; then :
22571 glibcxx_cv_func_isinff_use=yes
22572 else
22573 glibcxx_cv_func_isinff_use=no
22574 fi
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22581
22582
22583 fi
22584
22585 fi
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22587 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22588
22589 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22590 for ac_func in isinff
22591 do :
22592 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22593 if test "x$ac_cv_func_isinff" = x""yes; then :
22594 cat >>confdefs.h <<_ACEOF
22595 #define HAVE_ISINFF 1
22596 _ACEOF
22597
22598 fi
22599 done
22600
22601 else
22602
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22604 $as_echo_n "checking for _isinff declaration... " >&6; }
22605 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22606 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22607 $as_echo_n "(cached) " >&6
22608 else
22609
22610
22611 ac_ext=cpp
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22616
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22619 #include <math.h>
22620 #ifdef HAVE_IEEEFP_H
22621 #include <ieeefp.h>
22622 #endif
22623
22624 int
22625 main ()
22626 {
22627 _isinff(0);
22628 ;
22629 return 0;
22630 }
22631 _ACEOF
22632 if ac_fn_cxx_try_compile "$LINENO"; then :
22633 glibcxx_cv_func__isinff_use=yes
22634 else
22635 glibcxx_cv_func__isinff_use=no
22636 fi
22637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22638 ac_ext=c
22639 ac_cpp='$CPP $CPPFLAGS'
22640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22643
22644
22645 fi
22646
22647 fi
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22649 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22650
22651 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22652 for ac_func in _isinff
22653 do :
22654 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22655 if test "x$ac_cv_func__isinff" = x""yes; then :
22656 cat >>confdefs.h <<_ACEOF
22657 #define HAVE__ISINFF 1
22658 _ACEOF
22659
22660 fi
22661 done
22662
22663 fi
22664 fi
22665
22666
22667
22668
22669
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22671 $as_echo_n "checking for atan2f declaration... " >&6; }
22672 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22673 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22674 $as_echo_n "(cached) " >&6
22675 else
22676
22677
22678 ac_ext=cpp
22679 ac_cpp='$CXXCPP $CPPFLAGS'
22680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22683
22684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h. */
22686 #include <math.h>
22687 int
22688 main ()
22689 {
22690 atan2f(0, 0);
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696 glibcxx_cv_func_atan2f_use=yes
22697 else
22698 glibcxx_cv_func_atan2f_use=no
22699 fi
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 ac_ext=c
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22706
22707
22708 fi
22709
22710 fi
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22712 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22713
22714 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22715 for ac_func in atan2f
22716 do :
22717 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22718 if test "x$ac_cv_func_atan2f" = x""yes; then :
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE_ATAN2F 1
22721 _ACEOF
22722
22723 fi
22724 done
22725
22726 else
22727
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22729 $as_echo_n "checking for _atan2f declaration... " >&6; }
22730 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22731 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22734
22735
22736 ac_ext=cpp
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22741
22742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22744 #include <math.h>
22745 int
22746 main ()
22747 {
22748 _atan2f(0, 0);
22749 ;
22750 return 0;
22751 }
22752 _ACEOF
22753 if ac_fn_cxx_try_compile "$LINENO"; then :
22754 glibcxx_cv_func__atan2f_use=yes
22755 else
22756 glibcxx_cv_func__atan2f_use=no
22757 fi
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 ac_ext=c
22760 ac_cpp='$CPP $CPPFLAGS'
22761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22764
22765
22766 fi
22767
22768 fi
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22770 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22771
22772 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22773 for ac_func in _atan2f
22774 do :
22775 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22776 if test "x$ac_cv_func__atan2f" = x""yes; then :
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE__ATAN2F 1
22779 _ACEOF
22780
22781 fi
22782 done
22783
22784 fi
22785 fi
22786
22787
22788
22789
22790
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22792 $as_echo_n "checking for fabsf declaration... " >&6; }
22793 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22794 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22796 else
22797
22798
22799 ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22804
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22807 #include <math.h>
22808 #ifdef HAVE_IEEEFP_H
22809 #include <ieeefp.h>
22810 #endif
22811
22812 int
22813 main ()
22814 {
22815 fabsf(0);
22816 ;
22817 return 0;
22818 }
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 glibcxx_cv_func_fabsf_use=yes
22822 else
22823 glibcxx_cv_func_fabsf_use=no
22824 fi
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22831
22832
22833 fi
22834
22835 fi
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22837 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22838
22839 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22840 for ac_func in fabsf
22841 do :
22842 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22843 if test "x$ac_cv_func_fabsf" = x""yes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define HAVE_FABSF 1
22846 _ACEOF
22847
22848 fi
22849 done
22850
22851 else
22852
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22854 $as_echo_n "checking for _fabsf declaration... " >&6; }
22855 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22856 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22857 $as_echo_n "(cached) " >&6
22858 else
22859
22860
22861 ac_ext=cpp
22862 ac_cpp='$CXXCPP $CPPFLAGS'
22863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22866
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22869 #include <math.h>
22870 #ifdef HAVE_IEEEFP_H
22871 #include <ieeefp.h>
22872 #endif
22873
22874 int
22875 main ()
22876 {
22877 _fabsf(0);
22878 ;
22879 return 0;
22880 }
22881 _ACEOF
22882 if ac_fn_cxx_try_compile "$LINENO"; then :
22883 glibcxx_cv_func__fabsf_use=yes
22884 else
22885 glibcxx_cv_func__fabsf_use=no
22886 fi
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 ac_ext=c
22889 ac_cpp='$CPP $CPPFLAGS'
22890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22893
22894
22895 fi
22896
22897 fi
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22899 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22900
22901 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22902 for ac_func in _fabsf
22903 do :
22904 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22905 if test "x$ac_cv_func__fabsf" = x""yes; then :
22906 cat >>confdefs.h <<_ACEOF
22907 #define HAVE__FABSF 1
22908 _ACEOF
22909
22910 fi
22911 done
22912
22913 fi
22914 fi
22915
22916
22917
22918
22919
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22921 $as_echo_n "checking for fmodf declaration... " >&6; }
22922 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22923 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22924 $as_echo_n "(cached) " >&6
22925 else
22926
22927
22928 ac_ext=cpp
22929 ac_cpp='$CXXCPP $CPPFLAGS'
22930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22933
22934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22936 #include <math.h>
22937 int
22938 main ()
22939 {
22940 fmodf(0, 0);
22941 ;
22942 return 0;
22943 }
22944 _ACEOF
22945 if ac_fn_cxx_try_compile "$LINENO"; then :
22946 glibcxx_cv_func_fmodf_use=yes
22947 else
22948 glibcxx_cv_func_fmodf_use=no
22949 fi
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22951 ac_ext=c
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22956
22957
22958 fi
22959
22960 fi
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22962 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22963
22964 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22965 for ac_func in fmodf
22966 do :
22967 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22968 if test "x$ac_cv_func_fmodf" = x""yes; then :
22969 cat >>confdefs.h <<_ACEOF
22970 #define HAVE_FMODF 1
22971 _ACEOF
22972
22973 fi
22974 done
22975
22976 else
22977
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22979 $as_echo_n "checking for _fmodf declaration... " >&6; }
22980 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22981 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22982 $as_echo_n "(cached) " >&6
22983 else
22984
22985
22986 ac_ext=cpp
22987 ac_cpp='$CXXCPP $CPPFLAGS'
22988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22991
22992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22993 /* end confdefs.h. */
22994 #include <math.h>
22995 int
22996 main ()
22997 {
22998 _fmodf(0, 0);
22999 ;
23000 return 0;
23001 }
23002 _ACEOF
23003 if ac_fn_cxx_try_compile "$LINENO"; then :
23004 glibcxx_cv_func__fmodf_use=yes
23005 else
23006 glibcxx_cv_func__fmodf_use=no
23007 fi
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 ac_ext=c
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014
23015
23016 fi
23017
23018 fi
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23020 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23021
23022 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23023 for ac_func in _fmodf
23024 do :
23025 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23026 if test "x$ac_cv_func__fmodf" = x""yes; then :
23027 cat >>confdefs.h <<_ACEOF
23028 #define HAVE__FMODF 1
23029 _ACEOF
23030
23031 fi
23032 done
23033
23034 fi
23035 fi
23036
23037
23038
23039
23040
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23042 $as_echo_n "checking for frexpf declaration... " >&6; }
23043 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23044 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23045 $as_echo_n "(cached) " >&6
23046 else
23047
23048
23049 ac_ext=cpp
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23054
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23057 #include <math.h>
23058 int
23059 main ()
23060 {
23061 frexpf(0, 0);
23062 ;
23063 return 0;
23064 }
23065 _ACEOF
23066 if ac_fn_cxx_try_compile "$LINENO"; then :
23067 glibcxx_cv_func_frexpf_use=yes
23068 else
23069 glibcxx_cv_func_frexpf_use=no
23070 fi
23071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072 ac_ext=c
23073 ac_cpp='$CPP $CPPFLAGS'
23074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23077
23078
23079 fi
23080
23081 fi
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23083 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23084
23085 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23086 for ac_func in frexpf
23087 do :
23088 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23089 if test "x$ac_cv_func_frexpf" = x""yes; then :
23090 cat >>confdefs.h <<_ACEOF
23091 #define HAVE_FREXPF 1
23092 _ACEOF
23093
23094 fi
23095 done
23096
23097 else
23098
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23100 $as_echo_n "checking for _frexpf declaration... " >&6; }
23101 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23102 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23103 $as_echo_n "(cached) " >&6
23104 else
23105
23106
23107 ac_ext=cpp
23108 ac_cpp='$CXXCPP $CPPFLAGS'
23109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112
23113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23114 /* end confdefs.h. */
23115 #include <math.h>
23116 int
23117 main ()
23118 {
23119 _frexpf(0, 0);
23120 ;
23121 return 0;
23122 }
23123 _ACEOF
23124 if ac_fn_cxx_try_compile "$LINENO"; then :
23125 glibcxx_cv_func__frexpf_use=yes
23126 else
23127 glibcxx_cv_func__frexpf_use=no
23128 fi
23129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23130 ac_ext=c
23131 ac_cpp='$CPP $CPPFLAGS'
23132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23135
23136
23137 fi
23138
23139 fi
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23141 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23142
23143 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23144 for ac_func in _frexpf
23145 do :
23146 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23147 if test "x$ac_cv_func__frexpf" = x""yes; then :
23148 cat >>confdefs.h <<_ACEOF
23149 #define HAVE__FREXPF 1
23150 _ACEOF
23151
23152 fi
23153 done
23154
23155 fi
23156 fi
23157
23158
23159
23160
23161
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23163 $as_echo_n "checking for hypotf declaration... " >&6; }
23164 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23165 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23168
23169
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23175
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23179 int
23180 main ()
23181 {
23182 hypotf(0, 0);
23183 ;
23184 return 0;
23185 }
23186 _ACEOF
23187 if ac_fn_cxx_try_compile "$LINENO"; then :
23188 glibcxx_cv_func_hypotf_use=yes
23189 else
23190 glibcxx_cv_func_hypotf_use=no
23191 fi
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ac_ext=c
23194 ac_cpp='$CPP $CPPFLAGS'
23195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23198
23199
23200 fi
23201
23202 fi
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23204 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23205
23206 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23207 for ac_func in hypotf
23208 do :
23209 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23210 if test "x$ac_cv_func_hypotf" = x""yes; then :
23211 cat >>confdefs.h <<_ACEOF
23212 #define HAVE_HYPOTF 1
23213 _ACEOF
23214
23215 fi
23216 done
23217
23218 else
23219
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23221 $as_echo_n "checking for _hypotf declaration... " >&6; }
23222 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23223 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23224 $as_echo_n "(cached) " >&6
23225 else
23226
23227
23228 ac_ext=cpp
23229 ac_cpp='$CXXCPP $CPPFLAGS'
23230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23233
23234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23235 /* end confdefs.h. */
23236 #include <math.h>
23237 int
23238 main ()
23239 {
23240 _hypotf(0, 0);
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246 glibcxx_cv_func__hypotf_use=yes
23247 else
23248 glibcxx_cv_func__hypotf_use=no
23249 fi
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258 fi
23259
23260 fi
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23262 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23263
23264 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23265 for ac_func in _hypotf
23266 do :
23267 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23268 if test "x$ac_cv_func__hypotf" = x""yes; then :
23269 cat >>confdefs.h <<_ACEOF
23270 #define HAVE__HYPOTF 1
23271 _ACEOF
23272
23273 fi
23274 done
23275
23276 fi
23277 fi
23278
23279
23280
23281
23282
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23284 $as_echo_n "checking for ldexpf declaration... " >&6; }
23285 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23286 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23289
23290
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23300 int
23301 main ()
23302 {
23303 ldexpf(0, 0);
23304 ;
23305 return 0;
23306 }
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func_ldexpf_use=yes
23310 else
23311 glibcxx_cv_func_ldexpf_use=no
23312 fi
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23319
23320
23321 fi
23322
23323 fi
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23325 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23326
23327 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23328 for ac_func in ldexpf
23329 do :
23330 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23331 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23332 cat >>confdefs.h <<_ACEOF
23333 #define HAVE_LDEXPF 1
23334 _ACEOF
23335
23336 fi
23337 done
23338
23339 else
23340
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23342 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23343 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23344 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23345 $as_echo_n "(cached) " >&6
23346 else
23347
23348
23349 ac_ext=cpp
23350 ac_cpp='$CXXCPP $CPPFLAGS'
23351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h. */
23357 #include <math.h>
23358 int
23359 main ()
23360 {
23361 _ldexpf(0, 0);
23362 ;
23363 return 0;
23364 }
23365 _ACEOF
23366 if ac_fn_cxx_try_compile "$LINENO"; then :
23367 glibcxx_cv_func__ldexpf_use=yes
23368 else
23369 glibcxx_cv_func__ldexpf_use=no
23370 fi
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 ac_ext=c
23373 ac_cpp='$CPP $CPPFLAGS'
23374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23377
23378
23379 fi
23380
23381 fi
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23383 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23384
23385 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23386 for ac_func in _ldexpf
23387 do :
23388 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23389 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23390 cat >>confdefs.h <<_ACEOF
23391 #define HAVE__LDEXPF 1
23392 _ACEOF
23393
23394 fi
23395 done
23396
23397 fi
23398 fi
23399
23400
23401
23402
23403
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23405 $as_echo_n "checking for logf declaration... " >&6; }
23406 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23407 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23410
23411
23412 ac_ext=cpp
23413 ac_cpp='$CXXCPP $CPPFLAGS'
23414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23417
23418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23420 #include <math.h>
23421 #ifdef HAVE_IEEEFP_H
23422 #include <ieeefp.h>
23423 #endif
23424
23425 int
23426 main ()
23427 {
23428 logf(0);
23429 ;
23430 return 0;
23431 }
23432 _ACEOF
23433 if ac_fn_cxx_try_compile "$LINENO"; then :
23434 glibcxx_cv_func_logf_use=yes
23435 else
23436 glibcxx_cv_func_logf_use=no
23437 fi
23438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23439 ac_ext=c
23440 ac_cpp='$CPP $CPPFLAGS'
23441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23444
23445
23446 fi
23447
23448 fi
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23450 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23451
23452 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23453 for ac_func in logf
23454 do :
23455 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23456 if test "x$ac_cv_func_logf" = x""yes; then :
23457 cat >>confdefs.h <<_ACEOF
23458 #define HAVE_LOGF 1
23459 _ACEOF
23460
23461 fi
23462 done
23463
23464 else
23465
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23467 $as_echo_n "checking for _logf declaration... " >&6; }
23468 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23469 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23470 $as_echo_n "(cached) " >&6
23471 else
23472
23473
23474 ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479
23480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23482 #include <math.h>
23483 #ifdef HAVE_IEEEFP_H
23484 #include <ieeefp.h>
23485 #endif
23486
23487 int
23488 main ()
23489 {
23490 _logf(0);
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 if ac_fn_cxx_try_compile "$LINENO"; then :
23496 glibcxx_cv_func__logf_use=yes
23497 else
23498 glibcxx_cv_func__logf_use=no
23499 fi
23500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23501 ac_ext=c
23502 ac_cpp='$CPP $CPPFLAGS'
23503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23506
23507
23508 fi
23509
23510 fi
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23512 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23513
23514 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23515 for ac_func in _logf
23516 do :
23517 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23518 if test "x$ac_cv_func__logf" = x""yes; then :
23519 cat >>confdefs.h <<_ACEOF
23520 #define HAVE__LOGF 1
23521 _ACEOF
23522
23523 fi
23524 done
23525
23526 fi
23527 fi
23528
23529
23530
23531
23532
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23534 $as_echo_n "checking for log10f declaration... " >&6; }
23535 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23536 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23537 $as_echo_n "(cached) " >&6
23538 else
23539
23540
23541 ac_ext=cpp
23542 ac_cpp='$CXXCPP $CPPFLAGS'
23543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23546
23547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23548 /* end confdefs.h. */
23549 #include <math.h>
23550 #ifdef HAVE_IEEEFP_H
23551 #include <ieeefp.h>
23552 #endif
23553
23554 int
23555 main ()
23556 {
23557 log10f(0);
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 if ac_fn_cxx_try_compile "$LINENO"; then :
23563 glibcxx_cv_func_log10f_use=yes
23564 else
23565 glibcxx_cv_func_log10f_use=no
23566 fi
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23573
23574
23575 fi
23576
23577 fi
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23579 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23580
23581 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23582 for ac_func in log10f
23583 do :
23584 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23585 if test "x$ac_cv_func_log10f" = x""yes; then :
23586 cat >>confdefs.h <<_ACEOF
23587 #define HAVE_LOG10F 1
23588 _ACEOF
23589
23590 fi
23591 done
23592
23593 else
23594
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23596 $as_echo_n "checking for _log10f declaration... " >&6; }
23597 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23598 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23599 $as_echo_n "(cached) " >&6
23600 else
23601
23602
23603 ac_ext=cpp
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23608
23609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23610 /* end confdefs.h. */
23611 #include <math.h>
23612 #ifdef HAVE_IEEEFP_H
23613 #include <ieeefp.h>
23614 #endif
23615
23616 int
23617 main ()
23618 {
23619 _log10f(0);
23620 ;
23621 return 0;
23622 }
23623 _ACEOF
23624 if ac_fn_cxx_try_compile "$LINENO"; then :
23625 glibcxx_cv_func__log10f_use=yes
23626 else
23627 glibcxx_cv_func__log10f_use=no
23628 fi
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630 ac_ext=c
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23635
23636
23637 fi
23638
23639 fi
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23641 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23642
23643 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23644 for ac_func in _log10f
23645 do :
23646 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23647 if test "x$ac_cv_func__log10f" = x""yes; then :
23648 cat >>confdefs.h <<_ACEOF
23649 #define HAVE__LOG10F 1
23650 _ACEOF
23651
23652 fi
23653 done
23654
23655 fi
23656 fi
23657
23658
23659
23660
23661
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23663 $as_echo_n "checking for modff declaration... " >&6; }
23664 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23665 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23666 $as_echo_n "(cached) " >&6
23667 else
23668
23669
23670 ac_ext=cpp
23671 ac_cpp='$CXXCPP $CPPFLAGS'
23672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23675
23676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23677 /* end confdefs.h. */
23678 #include <math.h>
23679 int
23680 main ()
23681 {
23682 modff(0, 0);
23683 ;
23684 return 0;
23685 }
23686 _ACEOF
23687 if ac_fn_cxx_try_compile "$LINENO"; then :
23688 glibcxx_cv_func_modff_use=yes
23689 else
23690 glibcxx_cv_func_modff_use=no
23691 fi
23692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23693 ac_ext=c
23694 ac_cpp='$CPP $CPPFLAGS'
23695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23698
23699
23700 fi
23701
23702 fi
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23704 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23705
23706 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23707 for ac_func in modff
23708 do :
23709 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23710 if test "x$ac_cv_func_modff" = x""yes; then :
23711 cat >>confdefs.h <<_ACEOF
23712 #define HAVE_MODFF 1
23713 _ACEOF
23714
23715 fi
23716 done
23717
23718 else
23719
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23721 $as_echo_n "checking for _modff declaration... " >&6; }
23722 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23723 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23724 $as_echo_n "(cached) " >&6
23725 else
23726
23727
23728 ac_ext=cpp
23729 ac_cpp='$CXXCPP $CPPFLAGS'
23730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23733
23734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23735 /* end confdefs.h. */
23736 #include <math.h>
23737 int
23738 main ()
23739 {
23740 _modff(0, 0);
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 if ac_fn_cxx_try_compile "$LINENO"; then :
23746 glibcxx_cv_func__modff_use=yes
23747 else
23748 glibcxx_cv_func__modff_use=no
23749 fi
23750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23751 ac_ext=c
23752 ac_cpp='$CPP $CPPFLAGS'
23753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756
23757
23758 fi
23759
23760 fi
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23762 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23763
23764 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23765 for ac_func in _modff
23766 do :
23767 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23768 if test "x$ac_cv_func__modff" = x""yes; then :
23769 cat >>confdefs.h <<_ACEOF
23770 #define HAVE__MODFF 1
23771 _ACEOF
23772
23773 fi
23774 done
23775
23776 fi
23777 fi
23778
23779
23780
23781
23782
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23784 $as_echo_n "checking for modf declaration... " >&6; }
23785 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23786 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23787 $as_echo_n "(cached) " >&6
23788 else
23789
23790
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23799 #include <math.h>
23800 int
23801 main ()
23802 {
23803 modf(0, 0);
23804 ;
23805 return 0;
23806 }
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func_modf_use=yes
23810 else
23811 glibcxx_cv_func_modf_use=no
23812 fi
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23819
23820
23821 fi
23822
23823 fi
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23825 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23826
23827 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23828 for ac_func in modf
23829 do :
23830 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23831 if test "x$ac_cv_func_modf" = x""yes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE_MODF 1
23834 _ACEOF
23835
23836 fi
23837 done
23838
23839 else
23840
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23842 $as_echo_n "checking for _modf declaration... " >&6; }
23843 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23844 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23845 $as_echo_n "(cached) " >&6
23846 else
23847
23848
23849 ac_ext=cpp
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23854
23855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23856 /* end confdefs.h. */
23857 #include <math.h>
23858 int
23859 main ()
23860 {
23861 _modf(0, 0);
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 if ac_fn_cxx_try_compile "$LINENO"; then :
23867 glibcxx_cv_func__modf_use=yes
23868 else
23869 glibcxx_cv_func__modf_use=no
23870 fi
23871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 ac_ext=c
23873 ac_cpp='$CPP $CPPFLAGS'
23874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877
23878
23879 fi
23880
23881 fi
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23883 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23884
23885 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23886 for ac_func in _modf
23887 do :
23888 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23889 if test "x$ac_cv_func__modf" = x""yes; then :
23890 cat >>confdefs.h <<_ACEOF
23891 #define HAVE__MODF 1
23892 _ACEOF
23893
23894 fi
23895 done
23896
23897 fi
23898 fi
23899
23900
23901
23902
23903
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23905 $as_echo_n "checking for powf declaration... " >&6; }
23906 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23907 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23910
23911
23912 ac_ext=cpp
23913 ac_cpp='$CXXCPP $CPPFLAGS'
23914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23917
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920 #include <math.h>
23921 int
23922 main ()
23923 {
23924 powf(0, 0);
23925 ;
23926 return 0;
23927 }
23928 _ACEOF
23929 if ac_fn_cxx_try_compile "$LINENO"; then :
23930 glibcxx_cv_func_powf_use=yes
23931 else
23932 glibcxx_cv_func_powf_use=no
23933 fi
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_ext=c
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23940
23941
23942 fi
23943
23944 fi
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23946 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23947
23948 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23949 for ac_func in powf
23950 do :
23951 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23952 if test "x$ac_cv_func_powf" = x""yes; then :
23953 cat >>confdefs.h <<_ACEOF
23954 #define HAVE_POWF 1
23955 _ACEOF
23956
23957 fi
23958 done
23959
23960 else
23961
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23963 $as_echo_n "checking for _powf declaration... " >&6; }
23964 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23965 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23967 else
23968
23969
23970 ac_ext=cpp
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975
23976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h. */
23978 #include <math.h>
23979 int
23980 main ()
23981 {
23982 _powf(0, 0);
23983 ;
23984 return 0;
23985 }
23986 _ACEOF
23987 if ac_fn_cxx_try_compile "$LINENO"; then :
23988 glibcxx_cv_func__powf_use=yes
23989 else
23990 glibcxx_cv_func__powf_use=no
23991 fi
23992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993 ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998
23999
24000 fi
24001
24002 fi
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24004 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24005
24006 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24007 for ac_func in _powf
24008 do :
24009 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24010 if test "x$ac_cv_func__powf" = x""yes; then :
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE__POWF 1
24013 _ACEOF
24014
24015 fi
24016 done
24017
24018 fi
24019 fi
24020
24021
24022
24023
24024
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24026 $as_echo_n "checking for sqrtf declaration... " >&6; }
24027 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24028 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24029 $as_echo_n "(cached) " >&6
24030 else
24031
24032
24033 ac_ext=cpp
24034 ac_cpp='$CXXCPP $CPPFLAGS'
24035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038
24039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24040 /* end confdefs.h. */
24041 #include <math.h>
24042 #ifdef HAVE_IEEEFP_H
24043 #include <ieeefp.h>
24044 #endif
24045
24046 int
24047 main ()
24048 {
24049 sqrtf(0);
24050 ;
24051 return 0;
24052 }
24053 _ACEOF
24054 if ac_fn_cxx_try_compile "$LINENO"; then :
24055 glibcxx_cv_func_sqrtf_use=yes
24056 else
24057 glibcxx_cv_func_sqrtf_use=no
24058 fi
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 ac_ext=c
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065
24066
24067 fi
24068
24069 fi
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24071 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24072
24073 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24074 for ac_func in sqrtf
24075 do :
24076 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24077 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24078 cat >>confdefs.h <<_ACEOF
24079 #define HAVE_SQRTF 1
24080 _ACEOF
24081
24082 fi
24083 done
24084
24085 else
24086
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24088 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24089 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24090 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24091 $as_echo_n "(cached) " >&6
24092 else
24093
24094
24095 ac_ext=cpp
24096 ac_cpp='$CXXCPP $CPPFLAGS'
24097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100
24101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h. */
24103 #include <math.h>
24104 #ifdef HAVE_IEEEFP_H
24105 #include <ieeefp.h>
24106 #endif
24107
24108 int
24109 main ()
24110 {
24111 _sqrtf(0);
24112 ;
24113 return 0;
24114 }
24115 _ACEOF
24116 if ac_fn_cxx_try_compile "$LINENO"; then :
24117 glibcxx_cv_func__sqrtf_use=yes
24118 else
24119 glibcxx_cv_func__sqrtf_use=no
24120 fi
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ac_ext=c
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24127
24128
24129 fi
24130
24131 fi
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24133 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24134
24135 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24136 for ac_func in _sqrtf
24137 do :
24138 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24139 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24140 cat >>confdefs.h <<_ACEOF
24141 #define HAVE__SQRTF 1
24142 _ACEOF
24143
24144 fi
24145 done
24146
24147 fi
24148 fi
24149
24150
24151
24152
24153
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24155 $as_echo_n "checking for sincosf declaration... " >&6; }
24156 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24157 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24160
24161
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24171 int
24172 main ()
24173 {
24174 sincosf(0, 0, 0);
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func_sincosf_use=yes
24181 else
24182 glibcxx_cv_func_sincosf_use=no
24183 fi
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190
24191
24192 fi
24193
24194 fi
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24196 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24197
24198 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24199 for ac_func in sincosf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24202 if test "x$ac_cv_func_sincosf" = x""yes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE_SINCOSF 1
24205 _ACEOF
24206
24207 fi
24208 done
24209
24210 else
24211
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24213 $as_echo_n "checking for _sincosf declaration... " >&6; }
24214 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24215 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24216 $as_echo_n "(cached) " >&6
24217 else
24218
24219
24220 ac_ext=cpp
24221 ac_cpp='$CXXCPP $CPPFLAGS'
24222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24225
24226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24227 /* end confdefs.h. */
24228 #include <math.h>
24229 int
24230 main ()
24231 {
24232 _sincosf(0, 0, 0);
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 if ac_fn_cxx_try_compile "$LINENO"; then :
24238 glibcxx_cv_func__sincosf_use=yes
24239 else
24240 glibcxx_cv_func__sincosf_use=no
24241 fi
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 ac_ext=c
24244 ac_cpp='$CPP $CPPFLAGS'
24245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24248
24249
24250 fi
24251
24252 fi
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24254 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24255
24256 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24257 for ac_func in _sincosf
24258 do :
24259 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24260 if test "x$ac_cv_func__sincosf" = x""yes; then :
24261 cat >>confdefs.h <<_ACEOF
24262 #define HAVE__SINCOSF 1
24263 _ACEOF
24264
24265 fi
24266 done
24267
24268 fi
24269 fi
24270
24271
24272
24273
24274
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24276 $as_echo_n "checking for finitef declaration... " >&6; }
24277 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24278 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24279 $as_echo_n "(cached) " >&6
24280 else
24281
24282
24283 ac_ext=cpp
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24288
24289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 #include <math.h>
24292 #ifdef HAVE_IEEEFP_H
24293 #include <ieeefp.h>
24294 #endif
24295
24296 int
24297 main ()
24298 {
24299 finitef(0);
24300 ;
24301 return 0;
24302 }
24303 _ACEOF
24304 if ac_fn_cxx_try_compile "$LINENO"; then :
24305 glibcxx_cv_func_finitef_use=yes
24306 else
24307 glibcxx_cv_func_finitef_use=no
24308 fi
24309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24310 ac_ext=c
24311 ac_cpp='$CPP $CPPFLAGS'
24312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24315
24316
24317 fi
24318
24319 fi
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24321 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24322
24323 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24324 for ac_func in finitef
24325 do :
24326 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24327 if test "x$ac_cv_func_finitef" = x""yes; then :
24328 cat >>confdefs.h <<_ACEOF
24329 #define HAVE_FINITEF 1
24330 _ACEOF
24331
24332 fi
24333 done
24334
24335 else
24336
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24338 $as_echo_n "checking for _finitef declaration... " >&6; }
24339 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24340 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24341 $as_echo_n "(cached) " >&6
24342 else
24343
24344
24345 ac_ext=cpp
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24353 #include <math.h>
24354 #ifdef HAVE_IEEEFP_H
24355 #include <ieeefp.h>
24356 #endif
24357
24358 int
24359 main ()
24360 {
24361 _finitef(0);
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 if ac_fn_cxx_try_compile "$LINENO"; then :
24367 glibcxx_cv_func__finitef_use=yes
24368 else
24369 glibcxx_cv_func__finitef_use=no
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 ac_ext=c
24373 ac_cpp='$CPP $CPPFLAGS'
24374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24377
24378
24379 fi
24380
24381 fi
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24383 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24384
24385 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24386 for ac_func in _finitef
24387 do :
24388 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24389 if test "x$ac_cv_func__finitef" = x""yes; then :
24390 cat >>confdefs.h <<_ACEOF
24391 #define HAVE__FINITEF 1
24392 _ACEOF
24393
24394 fi
24395 done
24396
24397 fi
24398 fi
24399
24400
24401
24402
24403
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24405 $as_echo_n "checking for long double trig functions... " >&6; }
24406 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24407 $as_echo_n "(cached) " >&6
24408 else
24409
24410
24411 ac_ext=cpp
24412 ac_cpp='$CXXCPP $CPPFLAGS'
24413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24416
24417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 /* end confdefs.h. */
24419 #include <math.h>
24420 int
24421 main ()
24422 {
24423 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24424 ;
24425 return 0;
24426 }
24427 _ACEOF
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429 glibcxx_cv_func_long_double_trig_use=yes
24430 else
24431 glibcxx_cv_func_long_double_trig_use=no
24432 fi
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24439
24440 fi
24441
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24443 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24444 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24445 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24446 do :
24447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24449 eval as_val=\$$as_ac_var
24450 if test "x$as_val" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24453 _ACEOF
24454
24455 fi
24456 done
24457
24458 else
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24460 $as_echo_n "checking for _long double trig functions... " >&6; }
24461 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24462 $as_echo_n "(cached) " >&6
24463 else
24464
24465
24466 ac_ext=cpp
24467 ac_cpp='$CXXCPP $CPPFLAGS'
24468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24471
24472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24473 /* end confdefs.h. */
24474 #include <math.h>
24475 int
24476 main ()
24477 {
24478 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24479 ;
24480 return 0;
24481 }
24482 _ACEOF
24483 if ac_fn_cxx_try_compile "$LINENO"; then :
24484 glibcxx_cv_func__long_double_trig_use=yes
24485 else
24486 glibcxx_cv_func__long_double_trig_use=no
24487 fi
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489 ac_ext=c
24490 ac_cpp='$CPP $CPPFLAGS'
24491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494
24495 fi
24496
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24498 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24499 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24500 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24501 do :
24502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24504 eval as_val=\$$as_ac_var
24505 if test "x$as_val" = x""yes; then :
24506 cat >>confdefs.h <<_ACEOF
24507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24508 _ACEOF
24509
24510 fi
24511 done
24512
24513 fi
24514 fi
24515
24516
24517
24518
24519
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24521 $as_echo_n "checking for long double round functions... " >&6; }
24522 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24525
24526
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24532
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24536 int
24537 main ()
24538 {
24539 ceill (0); floorl (0);
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func_long_double_round_use=yes
24546 else
24547 glibcxx_cv_func_long_double_round_use=no
24548 fi
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556 fi
24557
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24559 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24560 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24561 for ac_func in ceill floorl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 else
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24576 $as_echo_n "checking for _long double round functions... " >&6; }
24577 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24578 $as_echo_n "(cached) " >&6
24579 else
24580
24581
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587
24588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24589 /* end confdefs.h. */
24590 #include <math.h>
24591 int
24592 main ()
24593 {
24594 _ceill (0); _floorl (0);
24595 ;
24596 return 0;
24597 }
24598 _ACEOF
24599 if ac_fn_cxx_try_compile "$LINENO"; then :
24600 glibcxx_cv_func__long_double_round_use=yes
24601 else
24602 glibcxx_cv_func__long_double_round_use=no
24603 fi
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610
24611 fi
24612
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24614 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24615 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24616 for ac_func in _ceill _floorl
24617 do :
24618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24620 eval as_val=\$$as_ac_var
24621 if test "x$as_val" = x""yes; then :
24622 cat >>confdefs.h <<_ACEOF
24623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24624 _ACEOF
24625
24626 fi
24627 done
24628
24629 fi
24630 fi
24631
24632
24633
24634
24635
24636
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24638 $as_echo_n "checking for isnanl declaration... " >&6; }
24639 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24640 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24641 $as_echo_n "(cached) " >&6
24642 else
24643
24644
24645 ac_ext=cpp
24646 ac_cpp='$CXXCPP $CPPFLAGS'
24647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650
24651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24652 /* end confdefs.h. */
24653 #include <math.h>
24654 #ifdef HAVE_IEEEFP_H
24655 #include <ieeefp.h>
24656 #endif
24657
24658 int
24659 main ()
24660 {
24661 isnanl(0);
24662 ;
24663 return 0;
24664 }
24665 _ACEOF
24666 if ac_fn_cxx_try_compile "$LINENO"; then :
24667 glibcxx_cv_func_isnanl_use=yes
24668 else
24669 glibcxx_cv_func_isnanl_use=no
24670 fi
24671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24672 ac_ext=c
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24677
24678
24679 fi
24680
24681 fi
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24683 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24684
24685 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24686 for ac_func in isnanl
24687 do :
24688 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24689 if test "x$ac_cv_func_isnanl" = x""yes; then :
24690 cat >>confdefs.h <<_ACEOF
24691 #define HAVE_ISNANL 1
24692 _ACEOF
24693
24694 fi
24695 done
24696
24697 else
24698
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24700 $as_echo_n "checking for _isnanl declaration... " >&6; }
24701 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24702 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24703 $as_echo_n "(cached) " >&6
24704 else
24705
24706
24707 ac_ext=cpp
24708 ac_cpp='$CXXCPP $CPPFLAGS'
24709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24712
24713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h. */
24715 #include <math.h>
24716 #ifdef HAVE_IEEEFP_H
24717 #include <ieeefp.h>
24718 #endif
24719
24720 int
24721 main ()
24722 {
24723 _isnanl(0);
24724 ;
24725 return 0;
24726 }
24727 _ACEOF
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729 glibcxx_cv_func__isnanl_use=yes
24730 else
24731 glibcxx_cv_func__isnanl_use=no
24732 fi
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734 ac_ext=c
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24739
24740
24741 fi
24742
24743 fi
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24745 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24746
24747 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24748 for ac_func in _isnanl
24749 do :
24750 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24751 if test "x$ac_cv_func__isnanl" = x""yes; then :
24752 cat >>confdefs.h <<_ACEOF
24753 #define HAVE__ISNANL 1
24754 _ACEOF
24755
24756 fi
24757 done
24758
24759 fi
24760 fi
24761
24762
24763
24764
24765
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24767 $as_echo_n "checking for isinfl declaration... " >&6; }
24768 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24769 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24770 $as_echo_n "(cached) " >&6
24771 else
24772
24773
24774 ac_ext=cpp
24775 ac_cpp='$CXXCPP $CPPFLAGS'
24776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24779
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24782 #include <math.h>
24783 #ifdef HAVE_IEEEFP_H
24784 #include <ieeefp.h>
24785 #endif
24786
24787 int
24788 main ()
24789 {
24790 isinfl(0);
24791 ;
24792 return 0;
24793 }
24794 _ACEOF
24795 if ac_fn_cxx_try_compile "$LINENO"; then :
24796 glibcxx_cv_func_isinfl_use=yes
24797 else
24798 glibcxx_cv_func_isinfl_use=no
24799 fi
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24801 ac_ext=c
24802 ac_cpp='$CPP $CPPFLAGS'
24803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806
24807
24808 fi
24809
24810 fi
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24812 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24813
24814 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24815 for ac_func in isinfl
24816 do :
24817 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24818 if test "x$ac_cv_func_isinfl" = x""yes; then :
24819 cat >>confdefs.h <<_ACEOF
24820 #define HAVE_ISINFL 1
24821 _ACEOF
24822
24823 fi
24824 done
24825
24826 else
24827
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24829 $as_echo_n "checking for _isinfl declaration... " >&6; }
24830 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24831 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24832 $as_echo_n "(cached) " >&6
24833 else
24834
24835
24836 ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24841
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24844 #include <math.h>
24845 #ifdef HAVE_IEEEFP_H
24846 #include <ieeefp.h>
24847 #endif
24848
24849 int
24850 main ()
24851 {
24852 _isinfl(0);
24853 ;
24854 return 0;
24855 }
24856 _ACEOF
24857 if ac_fn_cxx_try_compile "$LINENO"; then :
24858 glibcxx_cv_func__isinfl_use=yes
24859 else
24860 glibcxx_cv_func__isinfl_use=no
24861 fi
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 ac_ext=c
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24868
24869
24870 fi
24871
24872 fi
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24874 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24875
24876 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24877 for ac_func in _isinfl
24878 do :
24879 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24880 if test "x$ac_cv_func__isinfl" = x""yes; then :
24881 cat >>confdefs.h <<_ACEOF
24882 #define HAVE__ISINFL 1
24883 _ACEOF
24884
24885 fi
24886 done
24887
24888 fi
24889 fi
24890
24891
24892
24893
24894
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24896 $as_echo_n "checking for atan2l declaration... " >&6; }
24897 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24898 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24899 $as_echo_n "(cached) " >&6
24900 else
24901
24902
24903 ac_ext=cpp
24904 ac_cpp='$CXXCPP $CPPFLAGS'
24905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24908
24909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24910 /* end confdefs.h. */
24911 #include <math.h>
24912 int
24913 main ()
24914 {
24915 atan2l(0, 0);
24916 ;
24917 return 0;
24918 }
24919 _ACEOF
24920 if ac_fn_cxx_try_compile "$LINENO"; then :
24921 glibcxx_cv_func_atan2l_use=yes
24922 else
24923 glibcxx_cv_func_atan2l_use=no
24924 fi
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_ext=c
24927 ac_cpp='$CPP $CPPFLAGS'
24928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24931
24932
24933 fi
24934
24935 fi
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24937 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24938
24939 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24940 for ac_func in atan2l
24941 do :
24942 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24943 if test "x$ac_cv_func_atan2l" = x""yes; then :
24944 cat >>confdefs.h <<_ACEOF
24945 #define HAVE_ATAN2L 1
24946 _ACEOF
24947
24948 fi
24949 done
24950
24951 else
24952
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24954 $as_echo_n "checking for _atan2l declaration... " >&6; }
24955 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24956 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24958 else
24959
24960
24961 ac_ext=cpp
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966
24967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24968 /* end confdefs.h. */
24969 #include <math.h>
24970 int
24971 main ()
24972 {
24973 _atan2l(0, 0);
24974 ;
24975 return 0;
24976 }
24977 _ACEOF
24978 if ac_fn_cxx_try_compile "$LINENO"; then :
24979 glibcxx_cv_func__atan2l_use=yes
24980 else
24981 glibcxx_cv_func__atan2l_use=no
24982 fi
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 ac_ext=c
24985 ac_cpp='$CPP $CPPFLAGS'
24986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24989
24990
24991 fi
24992
24993 fi
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24995 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24996
24997 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24998 for ac_func in _atan2l
24999 do :
25000 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25001 if test "x$ac_cv_func__atan2l" = x""yes; then :
25002 cat >>confdefs.h <<_ACEOF
25003 #define HAVE__ATAN2L 1
25004 _ACEOF
25005
25006 fi
25007 done
25008
25009 fi
25010 fi
25011
25012
25013
25014
25015
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25017 $as_echo_n "checking for expl declaration... " >&6; }
25018 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25019 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25021 else
25022
25023
25024 ac_ext=cpp
25025 ac_cpp='$CXXCPP $CPPFLAGS'
25026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25029
25030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25032 #include <math.h>
25033 #ifdef HAVE_IEEEFP_H
25034 #include <ieeefp.h>
25035 #endif
25036
25037 int
25038 main ()
25039 {
25040 expl(0);
25041 ;
25042 return 0;
25043 }
25044 _ACEOF
25045 if ac_fn_cxx_try_compile "$LINENO"; then :
25046 glibcxx_cv_func_expl_use=yes
25047 else
25048 glibcxx_cv_func_expl_use=no
25049 fi
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 ac_ext=c
25052 ac_cpp='$CPP $CPPFLAGS'
25053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25056
25057
25058 fi
25059
25060 fi
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25062 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25063
25064 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25065 for ac_func in expl
25066 do :
25067 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25068 if test "x$ac_cv_func_expl" = x""yes; then :
25069 cat >>confdefs.h <<_ACEOF
25070 #define HAVE_EXPL 1
25071 _ACEOF
25072
25073 fi
25074 done
25075
25076 else
25077
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25079 $as_echo_n "checking for _expl declaration... " >&6; }
25080 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25081 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25084
25085
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25094 #include <math.h>
25095 #ifdef HAVE_IEEEFP_H
25096 #include <ieeefp.h>
25097 #endif
25098
25099 int
25100 main ()
25101 {
25102 _expl(0);
25103 ;
25104 return 0;
25105 }
25106 _ACEOF
25107 if ac_fn_cxx_try_compile "$LINENO"; then :
25108 glibcxx_cv_func__expl_use=yes
25109 else
25110 glibcxx_cv_func__expl_use=no
25111 fi
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 ac_ext=c
25114 ac_cpp='$CPP $CPPFLAGS'
25115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25118
25119
25120 fi
25121
25122 fi
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25124 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25125
25126 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25127 for ac_func in _expl
25128 do :
25129 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25130 if test "x$ac_cv_func__expl" = x""yes; then :
25131 cat >>confdefs.h <<_ACEOF
25132 #define HAVE__EXPL 1
25133 _ACEOF
25134
25135 fi
25136 done
25137
25138 fi
25139 fi
25140
25141
25142
25143
25144
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25146 $as_echo_n "checking for fabsl declaration... " >&6; }
25147 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25148 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25149 $as_echo_n "(cached) " >&6
25150 else
25151
25152
25153 ac_ext=cpp
25154 ac_cpp='$CXXCPP $CPPFLAGS'
25155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25158
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h. */
25161 #include <math.h>
25162 #ifdef HAVE_IEEEFP_H
25163 #include <ieeefp.h>
25164 #endif
25165
25166 int
25167 main ()
25168 {
25169 fabsl(0);
25170 ;
25171 return 0;
25172 }
25173 _ACEOF
25174 if ac_fn_cxx_try_compile "$LINENO"; then :
25175 glibcxx_cv_func_fabsl_use=yes
25176 else
25177 glibcxx_cv_func_fabsl_use=no
25178 fi
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25180 ac_ext=c
25181 ac_cpp='$CPP $CPPFLAGS'
25182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25185
25186
25187 fi
25188
25189 fi
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25191 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25192
25193 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25194 for ac_func in fabsl
25195 do :
25196 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25197 if test "x$ac_cv_func_fabsl" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define HAVE_FABSL 1
25200 _ACEOF
25201
25202 fi
25203 done
25204
25205 else
25206
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25208 $as_echo_n "checking for _fabsl declaration... " >&6; }
25209 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25210 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25211 $as_echo_n "(cached) " >&6
25212 else
25213
25214
25215 ac_ext=cpp
25216 ac_cpp='$CXXCPP $CPPFLAGS'
25217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25220
25221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25222 /* end confdefs.h. */
25223 #include <math.h>
25224 #ifdef HAVE_IEEEFP_H
25225 #include <ieeefp.h>
25226 #endif
25227
25228 int
25229 main ()
25230 {
25231 _fabsl(0);
25232 ;
25233 return 0;
25234 }
25235 _ACEOF
25236 if ac_fn_cxx_try_compile "$LINENO"; then :
25237 glibcxx_cv_func__fabsl_use=yes
25238 else
25239 glibcxx_cv_func__fabsl_use=no
25240 fi
25241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25242 ac_ext=c
25243 ac_cpp='$CPP $CPPFLAGS'
25244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25247
25248
25249 fi
25250
25251 fi
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25253 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25254
25255 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25256 for ac_func in _fabsl
25257 do :
25258 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25259 if test "x$ac_cv_func__fabsl" = x""yes; then :
25260 cat >>confdefs.h <<_ACEOF
25261 #define HAVE__FABSL 1
25262 _ACEOF
25263
25264 fi
25265 done
25266
25267 fi
25268 fi
25269
25270
25271
25272
25273
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25275 $as_echo_n "checking for fmodl declaration... " >&6; }
25276 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25277 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25280
25281
25282 ac_ext=cpp
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25287
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <math.h>
25291 int
25292 main ()
25293 {
25294 fmodl(0, 0);
25295 ;
25296 return 0;
25297 }
25298 _ACEOF
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func_fmodl_use=yes
25301 else
25302 glibcxx_cv_func_fmodl_use=no
25303 fi
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25310
25311
25312 fi
25313
25314 fi
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25316 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25317
25318 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25319 for ac_func in fmodl
25320 do :
25321 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25322 if test "x$ac_cv_func_fmodl" = x""yes; then :
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE_FMODL 1
25325 _ACEOF
25326
25327 fi
25328 done
25329
25330 else
25331
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25333 $as_echo_n "checking for _fmodl declaration... " >&6; }
25334 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25335 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25336 $as_echo_n "(cached) " >&6
25337 else
25338
25339
25340 ac_ext=cpp
25341 ac_cpp='$CXXCPP $CPPFLAGS'
25342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25345
25346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25347 /* end confdefs.h. */
25348 #include <math.h>
25349 int
25350 main ()
25351 {
25352 _fmodl(0, 0);
25353 ;
25354 return 0;
25355 }
25356 _ACEOF
25357 if ac_fn_cxx_try_compile "$LINENO"; then :
25358 glibcxx_cv_func__fmodl_use=yes
25359 else
25360 glibcxx_cv_func__fmodl_use=no
25361 fi
25362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25363 ac_ext=c
25364 ac_cpp='$CPP $CPPFLAGS'
25365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25368
25369
25370 fi
25371
25372 fi
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25374 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25375
25376 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25377 for ac_func in _fmodl
25378 do :
25379 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25380 if test "x$ac_cv_func__fmodl" = x""yes; then :
25381 cat >>confdefs.h <<_ACEOF
25382 #define HAVE__FMODL 1
25383 _ACEOF
25384
25385 fi
25386 done
25387
25388 fi
25389 fi
25390
25391
25392
25393
25394
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25396 $as_echo_n "checking for frexpl declaration... " >&6; }
25397 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25398 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25399 $as_echo_n "(cached) " >&6
25400 else
25401
25402
25403 ac_ext=cpp
25404 ac_cpp='$CXXCPP $CPPFLAGS'
25405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25408
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25411 #include <math.h>
25412 int
25413 main ()
25414 {
25415 frexpl(0, 0);
25416 ;
25417 return 0;
25418 }
25419 _ACEOF
25420 if ac_fn_cxx_try_compile "$LINENO"; then :
25421 glibcxx_cv_func_frexpl_use=yes
25422 else
25423 glibcxx_cv_func_frexpl_use=no
25424 fi
25425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 ac_ext=c
25427 ac_cpp='$CPP $CPPFLAGS'
25428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25431
25432
25433 fi
25434
25435 fi
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25437 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25438
25439 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25440 for ac_func in frexpl
25441 do :
25442 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25443 if test "x$ac_cv_func_frexpl" = x""yes; then :
25444 cat >>confdefs.h <<_ACEOF
25445 #define HAVE_FREXPL 1
25446 _ACEOF
25447
25448 fi
25449 done
25450
25451 else
25452
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25454 $as_echo_n "checking for _frexpl declaration... " >&6; }
25455 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25456 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25457 $as_echo_n "(cached) " >&6
25458 else
25459
25460
25461 ac_ext=cpp
25462 ac_cpp='$CXXCPP $CPPFLAGS'
25463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25466
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25469 #include <math.h>
25470 int
25471 main ()
25472 {
25473 _frexpl(0, 0);
25474 ;
25475 return 0;
25476 }
25477 _ACEOF
25478 if ac_fn_cxx_try_compile "$LINENO"; then :
25479 glibcxx_cv_func__frexpl_use=yes
25480 else
25481 glibcxx_cv_func__frexpl_use=no
25482 fi
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 ac_ext=c
25485 ac_cpp='$CPP $CPPFLAGS'
25486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25489
25490
25491 fi
25492
25493 fi
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25495 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25496
25497 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25498 for ac_func in _frexpl
25499 do :
25500 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25501 if test "x$ac_cv_func__frexpl" = x""yes; then :
25502 cat >>confdefs.h <<_ACEOF
25503 #define HAVE__FREXPL 1
25504 _ACEOF
25505
25506 fi
25507 done
25508
25509 fi
25510 fi
25511
25512
25513
25514
25515
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25517 $as_echo_n "checking for hypotl declaration... " >&6; }
25518 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25519 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25520 $as_echo_n "(cached) " >&6
25521 else
25522
25523
25524 ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25532 #include <math.h>
25533 int
25534 main ()
25535 {
25536 hypotl(0, 0);
25537 ;
25538 return 0;
25539 }
25540 _ACEOF
25541 if ac_fn_cxx_try_compile "$LINENO"; then :
25542 glibcxx_cv_func_hypotl_use=yes
25543 else
25544 glibcxx_cv_func_hypotl_use=no
25545 fi
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547 ac_ext=c
25548 ac_cpp='$CPP $CPPFLAGS'
25549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25552
25553
25554 fi
25555
25556 fi
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25558 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25559
25560 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25561 for ac_func in hypotl
25562 do :
25563 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25564 if test "x$ac_cv_func_hypotl" = x""yes; then :
25565 cat >>confdefs.h <<_ACEOF
25566 #define HAVE_HYPOTL 1
25567 _ACEOF
25568
25569 fi
25570 done
25571
25572 else
25573
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25575 $as_echo_n "checking for _hypotl declaration... " >&6; }
25576 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25577 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25578 $as_echo_n "(cached) " >&6
25579 else
25580
25581
25582 ac_ext=cpp
25583 ac_cpp='$CXXCPP $CPPFLAGS'
25584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587
25588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25589 /* end confdefs.h. */
25590 #include <math.h>
25591 int
25592 main ()
25593 {
25594 _hypotl(0, 0);
25595 ;
25596 return 0;
25597 }
25598 _ACEOF
25599 if ac_fn_cxx_try_compile "$LINENO"; then :
25600 glibcxx_cv_func__hypotl_use=yes
25601 else
25602 glibcxx_cv_func__hypotl_use=no
25603 fi
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 ac_ext=c
25606 ac_cpp='$CPP $CPPFLAGS'
25607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25610
25611
25612 fi
25613
25614 fi
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25616 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25617
25618 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25619 for ac_func in _hypotl
25620 do :
25621 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25622 if test "x$ac_cv_func__hypotl" = x""yes; then :
25623 cat >>confdefs.h <<_ACEOF
25624 #define HAVE__HYPOTL 1
25625 _ACEOF
25626
25627 fi
25628 done
25629
25630 fi
25631 fi
25632
25633
25634
25635
25636
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25638 $as_echo_n "checking for ldexpl declaration... " >&6; }
25639 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25640 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25641 $as_echo_n "(cached) " >&6
25642 else
25643
25644
25645 ac_ext=cpp
25646 ac_cpp='$CXXCPP $CPPFLAGS'
25647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25650
25651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25653 #include <math.h>
25654 int
25655 main ()
25656 {
25657 ldexpl(0, 0);
25658 ;
25659 return 0;
25660 }
25661 _ACEOF
25662 if ac_fn_cxx_try_compile "$LINENO"; then :
25663 glibcxx_cv_func_ldexpl_use=yes
25664 else
25665 glibcxx_cv_func_ldexpl_use=no
25666 fi
25667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25673
25674
25675 fi
25676
25677 fi
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25679 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25680
25681 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25682 for ac_func in ldexpl
25683 do :
25684 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25685 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25686 cat >>confdefs.h <<_ACEOF
25687 #define HAVE_LDEXPL 1
25688 _ACEOF
25689
25690 fi
25691 done
25692
25693 else
25694
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25696 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25697 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25698 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25699 $as_echo_n "(cached) " >&6
25700 else
25701
25702
25703 ac_ext=cpp
25704 ac_cpp='$CXXCPP $CPPFLAGS'
25705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25708
25709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25710 /* end confdefs.h. */
25711 #include <math.h>
25712 int
25713 main ()
25714 {
25715 _ldexpl(0, 0);
25716 ;
25717 return 0;
25718 }
25719 _ACEOF
25720 if ac_fn_cxx_try_compile "$LINENO"; then :
25721 glibcxx_cv_func__ldexpl_use=yes
25722 else
25723 glibcxx_cv_func__ldexpl_use=no
25724 fi
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_ext=c
25727 ac_cpp='$CPP $CPPFLAGS'
25728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25731
25732
25733 fi
25734
25735 fi
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25737 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25738
25739 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25740 for ac_func in _ldexpl
25741 do :
25742 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25743 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25744 cat >>confdefs.h <<_ACEOF
25745 #define HAVE__LDEXPL 1
25746 _ACEOF
25747
25748 fi
25749 done
25750
25751 fi
25752 fi
25753
25754
25755
25756
25757
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25759 $as_echo_n "checking for logl declaration... " >&6; }
25760 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25761 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25762 $as_echo_n "(cached) " >&6
25763 else
25764
25765
25766 ac_ext=cpp
25767 ac_cpp='$CXXCPP $CPPFLAGS'
25768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25771
25772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25774 #include <math.h>
25775 #ifdef HAVE_IEEEFP_H
25776 #include <ieeefp.h>
25777 #endif
25778
25779 int
25780 main ()
25781 {
25782 logl(0);
25783 ;
25784 return 0;
25785 }
25786 _ACEOF
25787 if ac_fn_cxx_try_compile "$LINENO"; then :
25788 glibcxx_cv_func_logl_use=yes
25789 else
25790 glibcxx_cv_func_logl_use=no
25791 fi
25792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25793 ac_ext=c
25794 ac_cpp='$CPP $CPPFLAGS'
25795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25798
25799
25800 fi
25801
25802 fi
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25804 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25805
25806 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25807 for ac_func in logl
25808 do :
25809 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25810 if test "x$ac_cv_func_logl" = x""yes; then :
25811 cat >>confdefs.h <<_ACEOF
25812 #define HAVE_LOGL 1
25813 _ACEOF
25814
25815 fi
25816 done
25817
25818 else
25819
25820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25821 $as_echo_n "checking for _logl declaration... " >&6; }
25822 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25823 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25824 $as_echo_n "(cached) " >&6
25825 else
25826
25827
25828 ac_ext=cpp
25829 ac_cpp='$CXXCPP $CPPFLAGS'
25830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25833
25834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25835 /* end confdefs.h. */
25836 #include <math.h>
25837 #ifdef HAVE_IEEEFP_H
25838 #include <ieeefp.h>
25839 #endif
25840
25841 int
25842 main ()
25843 {
25844 _logl(0);
25845 ;
25846 return 0;
25847 }
25848 _ACEOF
25849 if ac_fn_cxx_try_compile "$LINENO"; then :
25850 glibcxx_cv_func__logl_use=yes
25851 else
25852 glibcxx_cv_func__logl_use=no
25853 fi
25854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855 ac_ext=c
25856 ac_cpp='$CPP $CPPFLAGS'
25857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25860
25861
25862 fi
25863
25864 fi
25865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25866 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25867
25868 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25869 for ac_func in _logl
25870 do :
25871 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25872 if test "x$ac_cv_func__logl" = x""yes; then :
25873 cat >>confdefs.h <<_ACEOF
25874 #define HAVE__LOGL 1
25875 _ACEOF
25876
25877 fi
25878 done
25879
25880 fi
25881 fi
25882
25883
25884
25885
25886
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25888 $as_echo_n "checking for log10l declaration... " >&6; }
25889 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25890 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25891 $as_echo_n "(cached) " >&6
25892 else
25893
25894
25895 ac_ext=cpp
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25900
25901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25903 #include <math.h>
25904 #ifdef HAVE_IEEEFP_H
25905 #include <ieeefp.h>
25906 #endif
25907
25908 int
25909 main ()
25910 {
25911 log10l(0);
25912 ;
25913 return 0;
25914 }
25915 _ACEOF
25916 if ac_fn_cxx_try_compile "$LINENO"; then :
25917 glibcxx_cv_func_log10l_use=yes
25918 else
25919 glibcxx_cv_func_log10l_use=no
25920 fi
25921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25922 ac_ext=c
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25927
25928
25929 fi
25930
25931 fi
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25933 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25934
25935 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25936 for ac_func in log10l
25937 do :
25938 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25939 if test "x$ac_cv_func_log10l" = x""yes; then :
25940 cat >>confdefs.h <<_ACEOF
25941 #define HAVE_LOG10L 1
25942 _ACEOF
25943
25944 fi
25945 done
25946
25947 else
25948
25949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25950 $as_echo_n "checking for _log10l declaration... " >&6; }
25951 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25952 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25953 $as_echo_n "(cached) " >&6
25954 else
25955
25956
25957 ac_ext=cpp
25958 ac_cpp='$CXXCPP $CPPFLAGS'
25959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25962
25963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25964 /* end confdefs.h. */
25965 #include <math.h>
25966 #ifdef HAVE_IEEEFP_H
25967 #include <ieeefp.h>
25968 #endif
25969
25970 int
25971 main ()
25972 {
25973 _log10l(0);
25974 ;
25975 return 0;
25976 }
25977 _ACEOF
25978 if ac_fn_cxx_try_compile "$LINENO"; then :
25979 glibcxx_cv_func__log10l_use=yes
25980 else
25981 glibcxx_cv_func__log10l_use=no
25982 fi
25983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25984 ac_ext=c
25985 ac_cpp='$CPP $CPPFLAGS'
25986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25989
25990
25991 fi
25992
25993 fi
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25995 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25996
25997 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25998 for ac_func in _log10l
25999 do :
26000 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26001 if test "x$ac_cv_func__log10l" = x""yes; then :
26002 cat >>confdefs.h <<_ACEOF
26003 #define HAVE__LOG10L 1
26004 _ACEOF
26005
26006 fi
26007 done
26008
26009 fi
26010 fi
26011
26012
26013
26014
26015
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26017 $as_echo_n "checking for modfl declaration... " >&6; }
26018 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26019 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26022
26023
26024 ac_ext=cpp
26025 ac_cpp='$CXXCPP $CPPFLAGS'
26026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26029
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032 #include <math.h>
26033 int
26034 main ()
26035 {
26036 modfl(0, 0);
26037 ;
26038 return 0;
26039 }
26040 _ACEOF
26041 if ac_fn_cxx_try_compile "$LINENO"; then :
26042 glibcxx_cv_func_modfl_use=yes
26043 else
26044 glibcxx_cv_func_modfl_use=no
26045 fi
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 ac_ext=c
26048 ac_cpp='$CPP $CPPFLAGS'
26049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26052
26053
26054 fi
26055
26056 fi
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26058 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26059
26060 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26061 for ac_func in modfl
26062 do :
26063 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26064 if test "x$ac_cv_func_modfl" = x""yes; then :
26065 cat >>confdefs.h <<_ACEOF
26066 #define HAVE_MODFL 1
26067 _ACEOF
26068
26069 fi
26070 done
26071
26072 else
26073
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26075 $as_echo_n "checking for _modfl declaration... " >&6; }
26076 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26077 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26078 $as_echo_n "(cached) " >&6
26079 else
26080
26081
26082 ac_ext=cpp
26083 ac_cpp='$CXXCPP $CPPFLAGS'
26084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26087
26088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h. */
26090 #include <math.h>
26091 int
26092 main ()
26093 {
26094 _modfl(0, 0);
26095 ;
26096 return 0;
26097 }
26098 _ACEOF
26099 if ac_fn_cxx_try_compile "$LINENO"; then :
26100 glibcxx_cv_func__modfl_use=yes
26101 else
26102 glibcxx_cv_func__modfl_use=no
26103 fi
26104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26105 ac_ext=c
26106 ac_cpp='$CPP $CPPFLAGS'
26107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26110
26111
26112 fi
26113
26114 fi
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26116 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26117
26118 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26119 for ac_func in _modfl
26120 do :
26121 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26122 if test "x$ac_cv_func__modfl" = x""yes; then :
26123 cat >>confdefs.h <<_ACEOF
26124 #define HAVE__MODFL 1
26125 _ACEOF
26126
26127 fi
26128 done
26129
26130 fi
26131 fi
26132
26133
26134
26135
26136
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26138 $as_echo_n "checking for powl declaration... " >&6; }
26139 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26140 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26141 $as_echo_n "(cached) " >&6
26142 else
26143
26144
26145 ac_ext=cpp
26146 ac_cpp='$CXXCPP $CPPFLAGS'
26147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26150
26151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26152 /* end confdefs.h. */
26153 #include <math.h>
26154 int
26155 main ()
26156 {
26157 powl(0, 0);
26158 ;
26159 return 0;
26160 }
26161 _ACEOF
26162 if ac_fn_cxx_try_compile "$LINENO"; then :
26163 glibcxx_cv_func_powl_use=yes
26164 else
26165 glibcxx_cv_func_powl_use=no
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26168 ac_ext=c
26169 ac_cpp='$CPP $CPPFLAGS'
26170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26173
26174
26175 fi
26176
26177 fi
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26179 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26180
26181 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26182 for ac_func in powl
26183 do :
26184 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26185 if test "x$ac_cv_func_powl" = x""yes; then :
26186 cat >>confdefs.h <<_ACEOF
26187 #define HAVE_POWL 1
26188 _ACEOF
26189
26190 fi
26191 done
26192
26193 else
26194
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26196 $as_echo_n "checking for _powl declaration... " >&6; }
26197 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26198 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26199 $as_echo_n "(cached) " >&6
26200 else
26201
26202
26203 ac_ext=cpp
26204 ac_cpp='$CXXCPP $CPPFLAGS'
26205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26208
26209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26210 /* end confdefs.h. */
26211 #include <math.h>
26212 int
26213 main ()
26214 {
26215 _powl(0, 0);
26216 ;
26217 return 0;
26218 }
26219 _ACEOF
26220 if ac_fn_cxx_try_compile "$LINENO"; then :
26221 glibcxx_cv_func__powl_use=yes
26222 else
26223 glibcxx_cv_func__powl_use=no
26224 fi
26225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26226 ac_ext=c
26227 ac_cpp='$CPP $CPPFLAGS'
26228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26231
26232
26233 fi
26234
26235 fi
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26237 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26238
26239 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26240 for ac_func in _powl
26241 do :
26242 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26243 if test "x$ac_cv_func__powl" = x""yes; then :
26244 cat >>confdefs.h <<_ACEOF
26245 #define HAVE__POWL 1
26246 _ACEOF
26247
26248 fi
26249 done
26250
26251 fi
26252 fi
26253
26254
26255
26256
26257
26258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26259 $as_echo_n "checking for sqrtl declaration... " >&6; }
26260 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26261 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26262 $as_echo_n "(cached) " >&6
26263 else
26264
26265
26266 ac_ext=cpp
26267 ac_cpp='$CXXCPP $CPPFLAGS'
26268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271
26272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26273 /* end confdefs.h. */
26274 #include <math.h>
26275 #ifdef HAVE_IEEEFP_H
26276 #include <ieeefp.h>
26277 #endif
26278
26279 int
26280 main ()
26281 {
26282 sqrtl(0);
26283 ;
26284 return 0;
26285 }
26286 _ACEOF
26287 if ac_fn_cxx_try_compile "$LINENO"; then :
26288 glibcxx_cv_func_sqrtl_use=yes
26289 else
26290 glibcxx_cv_func_sqrtl_use=no
26291 fi
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293 ac_ext=c
26294 ac_cpp='$CPP $CPPFLAGS'
26295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26298
26299
26300 fi
26301
26302 fi
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26304 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26305
26306 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26307 for ac_func in sqrtl
26308 do :
26309 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26310 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26311 cat >>confdefs.h <<_ACEOF
26312 #define HAVE_SQRTL 1
26313 _ACEOF
26314
26315 fi
26316 done
26317
26318 else
26319
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26321 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26322 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26323 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26324 $as_echo_n "(cached) " >&6
26325 else
26326
26327
26328 ac_ext=cpp
26329 ac_cpp='$CXXCPP $CPPFLAGS'
26330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26333
26334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26335 /* end confdefs.h. */
26336 #include <math.h>
26337 #ifdef HAVE_IEEEFP_H
26338 #include <ieeefp.h>
26339 #endif
26340
26341 int
26342 main ()
26343 {
26344 _sqrtl(0);
26345 ;
26346 return 0;
26347 }
26348 _ACEOF
26349 if ac_fn_cxx_try_compile "$LINENO"; then :
26350 glibcxx_cv_func__sqrtl_use=yes
26351 else
26352 glibcxx_cv_func__sqrtl_use=no
26353 fi
26354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26355 ac_ext=c
26356 ac_cpp='$CPP $CPPFLAGS'
26357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26360
26361
26362 fi
26363
26364 fi
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26366 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26367
26368 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26369 for ac_func in _sqrtl
26370 do :
26371 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26372 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26373 cat >>confdefs.h <<_ACEOF
26374 #define HAVE__SQRTL 1
26375 _ACEOF
26376
26377 fi
26378 done
26379
26380 fi
26381 fi
26382
26383
26384
26385
26386
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26388 $as_echo_n "checking for sincosl declaration... " >&6; }
26389 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26390 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26391 $as_echo_n "(cached) " >&6
26392 else
26393
26394
26395 ac_ext=cpp
26396 ac_cpp='$CXXCPP $CPPFLAGS'
26397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400
26401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26402 /* end confdefs.h. */
26403 #include <math.h>
26404 int
26405 main ()
26406 {
26407 sincosl(0, 0, 0);
26408 ;
26409 return 0;
26410 }
26411 _ACEOF
26412 if ac_fn_cxx_try_compile "$LINENO"; then :
26413 glibcxx_cv_func_sincosl_use=yes
26414 else
26415 glibcxx_cv_func_sincosl_use=no
26416 fi
26417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26418 ac_ext=c
26419 ac_cpp='$CPP $CPPFLAGS'
26420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26423
26424
26425 fi
26426
26427 fi
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26429 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26430
26431 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26432 for ac_func in sincosl
26433 do :
26434 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26435 if test "x$ac_cv_func_sincosl" = x""yes; then :
26436 cat >>confdefs.h <<_ACEOF
26437 #define HAVE_SINCOSL 1
26438 _ACEOF
26439
26440 fi
26441 done
26442
26443 else
26444
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26446 $as_echo_n "checking for _sincosl declaration... " >&6; }
26447 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26448 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26449 $as_echo_n "(cached) " >&6
26450 else
26451
26452
26453 ac_ext=cpp
26454 ac_cpp='$CXXCPP $CPPFLAGS'
26455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458
26459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26460 /* end confdefs.h. */
26461 #include <math.h>
26462 int
26463 main ()
26464 {
26465 _sincosl(0, 0, 0);
26466 ;
26467 return 0;
26468 }
26469 _ACEOF
26470 if ac_fn_cxx_try_compile "$LINENO"; then :
26471 glibcxx_cv_func__sincosl_use=yes
26472 else
26473 glibcxx_cv_func__sincosl_use=no
26474 fi
26475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26476 ac_ext=c
26477 ac_cpp='$CPP $CPPFLAGS'
26478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26481
26482
26483 fi
26484
26485 fi
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26487 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26488
26489 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26490 for ac_func in _sincosl
26491 do :
26492 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26493 if test "x$ac_cv_func__sincosl" = x""yes; then :
26494 cat >>confdefs.h <<_ACEOF
26495 #define HAVE__SINCOSL 1
26496 _ACEOF
26497
26498 fi
26499 done
26500
26501 fi
26502 fi
26503
26504
26505
26506
26507
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26509 $as_echo_n "checking for finitel declaration... " >&6; }
26510 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26511 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26512 $as_echo_n "(cached) " >&6
26513 else
26514
26515
26516 ac_ext=cpp
26517 ac_cpp='$CXXCPP $CPPFLAGS'
26518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26521
26522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26523 /* end confdefs.h. */
26524 #include <math.h>
26525 #ifdef HAVE_IEEEFP_H
26526 #include <ieeefp.h>
26527 #endif
26528
26529 int
26530 main ()
26531 {
26532 finitel(0);
26533 ;
26534 return 0;
26535 }
26536 _ACEOF
26537 if ac_fn_cxx_try_compile "$LINENO"; then :
26538 glibcxx_cv_func_finitel_use=yes
26539 else
26540 glibcxx_cv_func_finitel_use=no
26541 fi
26542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26543 ac_ext=c
26544 ac_cpp='$CPP $CPPFLAGS'
26545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26548
26549
26550 fi
26551
26552 fi
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26554 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26555
26556 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26557 for ac_func in finitel
26558 do :
26559 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26560 if test "x$ac_cv_func_finitel" = x""yes; then :
26561 cat >>confdefs.h <<_ACEOF
26562 #define HAVE_FINITEL 1
26563 _ACEOF
26564
26565 fi
26566 done
26567
26568 else
26569
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26571 $as_echo_n "checking for _finitel declaration... " >&6; }
26572 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26573 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26574 $as_echo_n "(cached) " >&6
26575 else
26576
26577
26578 ac_ext=cpp
26579 ac_cpp='$CXXCPP $CPPFLAGS'
26580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583
26584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26585 /* end confdefs.h. */
26586 #include <math.h>
26587 #ifdef HAVE_IEEEFP_H
26588 #include <ieeefp.h>
26589 #endif
26590
26591 int
26592 main ()
26593 {
26594 _finitel(0);
26595 ;
26596 return 0;
26597 }
26598 _ACEOF
26599 if ac_fn_cxx_try_compile "$LINENO"; then :
26600 glibcxx_cv_func__finitel_use=yes
26601 else
26602 glibcxx_cv_func__finitel_use=no
26603 fi
26604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26605 ac_ext=c
26606 ac_cpp='$CPP $CPPFLAGS'
26607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26610
26611
26612 fi
26613
26614 fi
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26616 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26617
26618 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26619 for ac_func in _finitel
26620 do :
26621 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26622 if test "x$ac_cv_func__finitel" = x""yes; then :
26623 cat >>confdefs.h <<_ACEOF
26624 #define HAVE__FINITEL 1
26625 _ACEOF
26626
26627 fi
26628 done
26629
26630 fi
26631 fi
26632
26633
26634
26635
26636 LIBS="$ac_save_LIBS"
26637 CXXFLAGS="$ac_save_CXXFLAGS"
26638
26639
26640 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26641 ac_save_CXXFLAGS="$CXXFLAGS"
26642 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26643
26644
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26646 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26647 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26648 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26649 $as_echo_n "(cached) " >&6
26650 else
26651
26652
26653 ac_ext=cpp
26654 ac_cpp='$CXXCPP $CPPFLAGS'
26655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26658
26659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26660 /* end confdefs.h. */
26661 #include <stdlib.h>
26662 int
26663 main ()
26664 {
26665 at_quick_exit(0);
26666 ;
26667 return 0;
26668 }
26669 _ACEOF
26670 if ac_fn_cxx_try_compile "$LINENO"; then :
26671 glibcxx_cv_func_at_quick_exit_use=yes
26672 else
26673 glibcxx_cv_func_at_quick_exit_use=no
26674 fi
26675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26676 ac_ext=c
26677 ac_cpp='$CPP $CPPFLAGS'
26678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26681
26682
26683 fi
26684
26685 fi
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26687 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26688 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26689 for ac_func in at_quick_exit
26690 do :
26691 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26692 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26693 cat >>confdefs.h <<_ACEOF
26694 #define HAVE_AT_QUICK_EXIT 1
26695 _ACEOF
26696
26697 fi
26698 done
26699
26700 fi
26701
26702
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26704 $as_echo_n "checking for quick_exit declaration... " >&6; }
26705 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26706 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26707 $as_echo_n "(cached) " >&6
26708 else
26709
26710
26711 ac_ext=cpp
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26716
26717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26718 /* end confdefs.h. */
26719 #include <stdlib.h>
26720 int
26721 main ()
26722 {
26723 quick_exit(0);
26724 ;
26725 return 0;
26726 }
26727 _ACEOF
26728 if ac_fn_cxx_try_compile "$LINENO"; then :
26729 glibcxx_cv_func_quick_exit_use=yes
26730 else
26731 glibcxx_cv_func_quick_exit_use=no
26732 fi
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734 ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739
26740
26741 fi
26742
26743 fi
26744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26745 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26746 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26747 for ac_func in quick_exit
26748 do :
26749 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26750 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26751 cat >>confdefs.h <<_ACEOF
26752 #define HAVE_QUICK_EXIT 1
26753 _ACEOF
26754
26755 fi
26756 done
26757
26758 fi
26759
26760
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26762 $as_echo_n "checking for strtold declaration... " >&6; }
26763 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26764 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26765 $as_echo_n "(cached) " >&6
26766 else
26767
26768
26769 ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26774
26775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h. */
26777 #include <stdlib.h>
26778 int
26779 main ()
26780 {
26781 strtold(0, 0);
26782 ;
26783 return 0;
26784 }
26785 _ACEOF
26786 if ac_fn_cxx_try_compile "$LINENO"; then :
26787 glibcxx_cv_func_strtold_use=yes
26788 else
26789 glibcxx_cv_func_strtold_use=no
26790 fi
26791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 ac_ext=c
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26797
26798
26799 fi
26800
26801 fi
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26803 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26804 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26805 for ac_func in strtold
26806 do :
26807 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26808 if test "x$ac_cv_func_strtold" = x""yes; then :
26809 cat >>confdefs.h <<_ACEOF
26810 #define HAVE_STRTOLD 1
26811 _ACEOF
26812
26813 fi
26814 done
26815
26816 fi
26817
26818
26819
26820
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26822 $as_echo_n "checking for strtof declaration... " >&6; }
26823 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26824 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26827
26828
26829 ac_ext=cpp
26830 ac_cpp='$CXXCPP $CPPFLAGS'
26831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26834
26835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26837 #include <stdlib.h>
26838 int
26839 main ()
26840 {
26841 strtof(0, 0);
26842 ;
26843 return 0;
26844 }
26845 _ACEOF
26846 if ac_fn_cxx_try_compile "$LINENO"; then :
26847 glibcxx_cv_func_strtof_use=yes
26848 else
26849 glibcxx_cv_func_strtof_use=no
26850 fi
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_ext=c
26853 ac_cpp='$CPP $CPPFLAGS'
26854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26857
26858
26859 fi
26860
26861 fi
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26863 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26864 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26865 for ac_func in strtof
26866 do :
26867 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26868 if test "x$ac_cv_func_strtof" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE_STRTOF 1
26871 _ACEOF
26872
26873 fi
26874 done
26875
26876 fi
26877
26878
26879
26880
26881 CXXFLAGS="$ac_save_CXXFLAGS"
26882
26883
26884 # For /dev/random and /dev/urandom for TR1.
26885
26886
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26888 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26889 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26890 $as_echo_n "(cached) " >&6
26891 else
26892
26893 if test -r /dev/random && test -r /dev/urandom; then
26894 ## For MSys environment the test above is detect as false-positive
26895 ## on mingw-targets. So disable it explicit for them.
26896 case ${target_os} in
26897 *mingw*) glibcxx_cv_random_tr1=no ;;
26898 *) glibcxx_cv_random_tr1=yes ;;
26899 esac
26900 else
26901 glibcxx_cv_random_tr1=no;
26902 fi
26903
26904 fi
26905
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26907 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26908
26909 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26910
26911 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26912
26913 fi
26914
26915
26916
26917 # For TLS support.
26918
26919
26920 # Check whether --enable-tls was given.
26921 if test "${enable_tls+set}" = set; then :
26922 enableval=$enable_tls;
26923 case "$enableval" in
26924 yes|no) ;;
26925 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26926 esac
26927
26928 else
26929 enable_tls=yes
26930 fi
26931
26932
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26934 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26935 if test "${gcc_cv_have_tls+set}" = set; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26938
26939 if test "$cross_compiling" = yes; then :
26940 if test x$gcc_no_link = xyes; then
26941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26942 fi
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26945 __thread int a; int b; int main() { return a = b; }
26946 _ACEOF
26947 if ac_fn_c_try_link "$LINENO"; then :
26948 chktls_save_LDFLAGS="$LDFLAGS"
26949 case $host in
26950 *-*-linux*)
26951 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26952 ;;
26953 esac
26954 chktls_save_CFLAGS="$CFLAGS"
26955 CFLAGS="-fPIC $CFLAGS"
26956 if test x$gcc_no_link = xyes; then
26957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26958 fi
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 int f() { return 0; }
26962 _ACEOF
26963 if ac_fn_c_try_link "$LINENO"; then :
26964 if test x$gcc_no_link = xyes; then
26965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26966 fi
26967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26968 /* end confdefs.h. */
26969 __thread int a; int b; int f() { return a = b; }
26970 _ACEOF
26971 if ac_fn_c_try_link "$LINENO"; then :
26972 gcc_cv_have_tls=yes
26973 else
26974 gcc_cv_have_tls=no
26975 fi
26976 rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978 else
26979 gcc_cv_have_tls=yes
26980 fi
26981 rm -f core conftest.err conftest.$ac_objext \
26982 conftest$ac_exeext conftest.$ac_ext
26983 CFLAGS="$chktls_save_CFLAGS"
26984 LDFLAGS="$chktls_save_LDFLAGS"
26985 else
26986 gcc_cv_have_tls=no
26987 fi
26988 rm -f core conftest.err conftest.$ac_objext \
26989 conftest$ac_exeext conftest.$ac_ext
26990
26991
26992 else
26993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26994 /* end confdefs.h. */
26995 __thread int a; int b; int main() { return a = b; }
26996 _ACEOF
26997 if ac_fn_c_try_run "$LINENO"; then :
26998 chktls_save_LDFLAGS="$LDFLAGS"
26999 LDFLAGS="-static $LDFLAGS"
27000 if test x$gcc_no_link = xyes; then
27001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27002 fi
27003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27004 /* end confdefs.h. */
27005 int main() { return 0; }
27006 _ACEOF
27007 if ac_fn_c_try_link "$LINENO"; then :
27008 if test "$cross_compiling" = yes; then :
27009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27011 as_fn_error "cannot run test program while cross compiling
27012 See \`config.log' for more details." "$LINENO" 5; }
27013 else
27014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27015 /* end confdefs.h. */
27016 __thread int a; int b; int main() { return a = b; }
27017 _ACEOF
27018 if ac_fn_c_try_run "$LINENO"; then :
27019 gcc_cv_have_tls=yes
27020 else
27021 gcc_cv_have_tls=no
27022 fi
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27024 conftest.$ac_objext conftest.beam conftest.$ac_ext
27025 fi
27026
27027 else
27028 gcc_cv_have_tls=yes
27029 fi
27030 rm -f core conftest.err conftest.$ac_objext \
27031 conftest$ac_exeext conftest.$ac_ext
27032 LDFLAGS="$chktls_save_LDFLAGS"
27033 if test $gcc_cv_have_tls = yes; then
27034 chktls_save_CFLAGS="$CFLAGS"
27035 thread_CFLAGS=failed
27036 for flag in '' '-pthread' '-lpthread'; do
27037 CFLAGS="$flag $chktls_save_CFLAGS"
27038 if test x$gcc_no_link = xyes; then
27039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27040 fi
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27042 /* end confdefs.h. */
27043 #include <pthread.h>
27044 void *g(void *d) { return NULL; }
27045 int
27046 main ()
27047 {
27048 pthread_t t; pthread_create(&t,NULL,g,NULL);
27049 ;
27050 return 0;
27051 }
27052 _ACEOF
27053 if ac_fn_c_try_link "$LINENO"; then :
27054 thread_CFLAGS="$flag"
27055 fi
27056 rm -f core conftest.err conftest.$ac_objext \
27057 conftest$ac_exeext conftest.$ac_ext
27058 if test "X$thread_CFLAGS" != Xfailed; then
27059 break
27060 fi
27061 done
27062 CFLAGS="$chktls_save_CFLAGS"
27063 if test "X$thread_CFLAGS" != Xfailed; then
27064 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27065 if test "$cross_compiling" = yes; then :
27066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27068 as_fn_error "cannot run test program while cross compiling
27069 See \`config.log' for more details." "$LINENO" 5; }
27070 else
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <pthread.h>
27074 __thread int a;
27075 static int *volatile a_in_other_thread;
27076 static void *
27077 thread_func (void *arg)
27078 {
27079 a_in_other_thread = &a;
27080 return (void *)0;
27081 }
27082 int
27083 main ()
27084 {
27085 pthread_t thread;
27086 void *thread_retval;
27087 int *volatile a_in_main_thread;
27088 a_in_main_thread = &a;
27089 if (pthread_create (&thread, (pthread_attr_t *)0,
27090 thread_func, (void *)0))
27091 return 0;
27092 if (pthread_join (thread, &thread_retval))
27093 return 0;
27094 return (a_in_other_thread == a_in_main_thread);
27095 ;
27096 return 0;
27097 }
27098 _ACEOF
27099 if ac_fn_c_try_run "$LINENO"; then :
27100 gcc_cv_have_tls=yes
27101 else
27102 gcc_cv_have_tls=no
27103 fi
27104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27105 conftest.$ac_objext conftest.beam conftest.$ac_ext
27106 fi
27107
27108 CFLAGS="$chktls_save_CFLAGS"
27109 fi
27110 fi
27111 else
27112 gcc_cv_have_tls=no
27113 fi
27114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27115 conftest.$ac_objext conftest.beam conftest.$ac_ext
27116 fi
27117
27118 fi
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27120 $as_echo "$gcc_cv_have_tls" >&6; }
27121 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27122
27123 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27124
27125 fi
27126
27127 for ac_func in __cxa_thread_atexit_impl
27128 do :
27129 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27130 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27131 cat >>confdefs.h <<_ACEOF
27132 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27133 _ACEOF
27134
27135 fi
27136 done
27137
27138
27139 # For iconv support.
27140
27141 if test "X$prefix" = "XNONE"; then
27142 acl_final_prefix="$ac_default_prefix"
27143 else
27144 acl_final_prefix="$prefix"
27145 fi
27146 if test "X$exec_prefix" = "XNONE"; then
27147 acl_final_exec_prefix='${prefix}'
27148 else
27149 acl_final_exec_prefix="$exec_prefix"
27150 fi
27151 acl_save_prefix="$prefix"
27152 prefix="$acl_final_prefix"
27153 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27154 prefix="$acl_save_prefix"
27155
27156
27157 # Check whether --with-gnu-ld was given.
27158 if test "${with_gnu_ld+set}" = set; then :
27159 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27160 else
27161 with_gnu_ld=no
27162 fi
27163
27164 # Prepare PATH_SEPARATOR.
27165 # The user is always right.
27166 if test "${PATH_SEPARATOR+set}" != set; then
27167 echo "#! /bin/sh" >conf$$.sh
27168 echo "exit 0" >>conf$$.sh
27169 chmod +x conf$$.sh
27170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27171 PATH_SEPARATOR=';'
27172 else
27173 PATH_SEPARATOR=:
27174 fi
27175 rm -f conf$$.sh
27176 fi
27177 ac_prog=ld
27178 if test "$GCC" = yes; then
27179 # Check if gcc -print-prog-name=ld gives a path.
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27181 $as_echo_n "checking for ld used by GCC... " >&6; }
27182 case $host in
27183 *-*-mingw*)
27184 # gcc leaves a trailing carriage return which upsets mingw
27185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27186 *)
27187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27188 esac
27189 case $ac_prog in
27190 # Accept absolute paths.
27191 [\\/]* | [A-Za-z]:[\\/]*)
27192 re_direlt='/[^/][^/]*/\.\./'
27193 # Canonicalize the path of ld
27194 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27195 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27196 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27197 done
27198 test -z "$LD" && LD="$ac_prog"
27199 ;;
27200 "")
27201 # If it fails, then pretend we aren't using GCC.
27202 ac_prog=ld
27203 ;;
27204 *)
27205 # If it is relative, then search for the first ld in PATH.
27206 with_gnu_ld=unknown
27207 ;;
27208 esac
27209 elif test "$with_gnu_ld" = yes; then
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27211 $as_echo_n "checking for GNU ld... " >&6; }
27212 else
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27214 $as_echo_n "checking for non-GNU ld... " >&6; }
27215 fi
27216 if test "${acl_cv_path_LD+set}" = set; then :
27217 $as_echo_n "(cached) " >&6
27218 else
27219 if test -z "$LD"; then
27220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27221 for ac_dir in $PATH; do
27222 test -z "$ac_dir" && ac_dir=.
27223 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27224 acl_cv_path_LD="$ac_dir/$ac_prog"
27225 # Check to see if the program is GNU ld. I'd rather use --version,
27226 # but apparently some GNU ld's only accept -v.
27227 # Break only if it was the GNU/non-GNU ld that we prefer.
27228 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27229 test "$with_gnu_ld" != no && break
27230 else
27231 test "$with_gnu_ld" != yes && break
27232 fi
27233 fi
27234 done
27235 IFS="$ac_save_ifs"
27236 else
27237 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27238 fi
27239 fi
27240
27241 LD="$acl_cv_path_LD"
27242 if test -n "$LD"; then
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27244 $as_echo "$LD" >&6; }
27245 else
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27247 $as_echo "no" >&6; }
27248 fi
27249 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27252 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27253 $as_echo_n "(cached) " >&6
27254 else
27255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27256 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27257 acl_cv_prog_gnu_ld=yes
27258 else
27259 acl_cv_prog_gnu_ld=no
27260 fi
27261 fi
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27263 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27264 with_gnu_ld=$acl_cv_prog_gnu_ld
27265
27266
27267
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27269 $as_echo_n "checking for shared library run path origin... " >&6; }
27270 if test "${acl_cv_rpath+set}" = set; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27273
27274 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27275 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27276 . ./conftest.sh
27277 rm -f ./conftest.sh
27278 acl_cv_rpath=done
27279
27280 fi
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27282 $as_echo "$acl_cv_rpath" >&6; }
27283 wl="$acl_cv_wl"
27284 libext="$acl_cv_libext"
27285 shlibext="$acl_cv_shlibext"
27286 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27287 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27288 hardcode_direct="$acl_cv_hardcode_direct"
27289 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27290 # Check whether --enable-rpath was given.
27291 if test "${enable_rpath+set}" = set; then :
27292 enableval=$enable_rpath; :
27293 else
27294 enable_rpath=yes
27295 fi
27296
27297
27298
27299
27300
27301
27302
27303
27304 use_additional=yes
27305
27306 acl_save_prefix="$prefix"
27307 prefix="$acl_final_prefix"
27308 acl_save_exec_prefix="$exec_prefix"
27309 exec_prefix="$acl_final_exec_prefix"
27310
27311 eval additional_includedir=\"$includedir\"
27312 eval additional_libdir=\"$libdir\"
27313
27314 exec_prefix="$acl_save_exec_prefix"
27315 prefix="$acl_save_prefix"
27316
27317
27318 # Check whether --with-libiconv-prefix was given.
27319 if test "${with_libiconv_prefix+set}" = set; then :
27320 withval=$with_libiconv_prefix;
27321 if test "X$withval" = "Xno"; then
27322 use_additional=no
27323 else
27324 if test "X$withval" = "X"; then
27325
27326 acl_save_prefix="$prefix"
27327 prefix="$acl_final_prefix"
27328 acl_save_exec_prefix="$exec_prefix"
27329 exec_prefix="$acl_final_exec_prefix"
27330
27331 eval additional_includedir=\"$includedir\"
27332 eval additional_libdir=\"$libdir\"
27333
27334 exec_prefix="$acl_save_exec_prefix"
27335 prefix="$acl_save_prefix"
27336
27337 else
27338 additional_includedir="$withval/include"
27339 additional_libdir="$withval/lib"
27340 fi
27341 fi
27342
27343 fi
27344
27345 LIBICONV=
27346 LTLIBICONV=
27347 INCICONV=
27348 rpathdirs=
27349 ltrpathdirs=
27350 names_already_handled=
27351 names_next_round='iconv '
27352 while test -n "$names_next_round"; do
27353 names_this_round="$names_next_round"
27354 names_next_round=
27355 for name in $names_this_round; do
27356 already_handled=
27357 for n in $names_already_handled; do
27358 if test "$n" = "$name"; then
27359 already_handled=yes
27360 break
27361 fi
27362 done
27363 if test -z "$already_handled"; then
27364 names_already_handled="$names_already_handled $name"
27365 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27366 eval value=\"\$HAVE_LIB$uppername\"
27367 if test -n "$value"; then
27368 if test "$value" = yes; then
27369 eval value=\"\$LIB$uppername\"
27370 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27371 eval value=\"\$LTLIB$uppername\"
27372 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27373 else
27374 :
27375 fi
27376 else
27377 found_dir=
27378 found_la=
27379 found_so=
27380 found_a=
27381 if test $use_additional = yes; then
27382 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27383 found_dir="$additional_libdir"
27384 found_so="$additional_libdir/lib$name.$shlibext"
27385 if test -f "$additional_libdir/lib$name.la"; then
27386 found_la="$additional_libdir/lib$name.la"
27387 fi
27388 else
27389 if test -f "$additional_libdir/lib$name.$libext"; then
27390 found_dir="$additional_libdir"
27391 found_a="$additional_libdir/lib$name.$libext"
27392 if test -f "$additional_libdir/lib$name.la"; then
27393 found_la="$additional_libdir/lib$name.la"
27394 fi
27395 fi
27396 fi
27397 fi
27398 if test "X$found_dir" = "X"; then
27399 for x in $LDFLAGS $LTLIBICONV; do
27400
27401 acl_save_prefix="$prefix"
27402 prefix="$acl_final_prefix"
27403 acl_save_exec_prefix="$exec_prefix"
27404 exec_prefix="$acl_final_exec_prefix"
27405 eval x=\"$x\"
27406 exec_prefix="$acl_save_exec_prefix"
27407 prefix="$acl_save_prefix"
27408
27409 case "$x" in
27410 -L*)
27411 dir=`echo "X$x" | sed -e 's/^X-L//'`
27412 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27413 found_dir="$dir"
27414 found_so="$dir/lib$name.$shlibext"
27415 if test -f "$dir/lib$name.la"; then
27416 found_la="$dir/lib$name.la"
27417 fi
27418 else
27419 if test -f "$dir/lib$name.$libext"; then
27420 found_dir="$dir"
27421 found_a="$dir/lib$name.$libext"
27422 if test -f "$dir/lib$name.la"; then
27423 found_la="$dir/lib$name.la"
27424 fi
27425 fi
27426 fi
27427 ;;
27428 esac
27429 if test "X$found_dir" != "X"; then
27430 break
27431 fi
27432 done
27433 fi
27434 if test "X$found_dir" != "X"; then
27435 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27436 if test "X$found_so" != "X"; then
27437 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27439 else
27440 haveit=
27441 for x in $ltrpathdirs; do
27442 if test "X$x" = "X$found_dir"; then
27443 haveit=yes
27444 break
27445 fi
27446 done
27447 if test -z "$haveit"; then
27448 ltrpathdirs="$ltrpathdirs $found_dir"
27449 fi
27450 if test "$hardcode_direct" = yes; then
27451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27452 else
27453 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27454 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27455 haveit=
27456 for x in $rpathdirs; do
27457 if test "X$x" = "X$found_dir"; then
27458 haveit=yes
27459 break
27460 fi
27461 done
27462 if test -z "$haveit"; then
27463 rpathdirs="$rpathdirs $found_dir"
27464 fi
27465 else
27466 haveit=
27467 for x in $LDFLAGS $LIBICONV; do
27468
27469 acl_save_prefix="$prefix"
27470 prefix="$acl_final_prefix"
27471 acl_save_exec_prefix="$exec_prefix"
27472 exec_prefix="$acl_final_exec_prefix"
27473 eval x=\"$x\"
27474 exec_prefix="$acl_save_exec_prefix"
27475 prefix="$acl_save_prefix"
27476
27477 if test "X$x" = "X-L$found_dir"; then
27478 haveit=yes
27479 break
27480 fi
27481 done
27482 if test -z "$haveit"; then
27483 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27484 fi
27485 if test "$hardcode_minus_L" != no; then
27486 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27487 else
27488 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27489 fi
27490 fi
27491 fi
27492 fi
27493 else
27494 if test "X$found_a" != "X"; then
27495 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27496 else
27497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27498 fi
27499 fi
27500 additional_includedir=
27501 case "$found_dir" in
27502 */lib | */lib/)
27503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27504 additional_includedir="$basedir/include"
27505 ;;
27506 esac
27507 if test "X$additional_includedir" != "X"; then
27508 if test "X$additional_includedir" != "X/usr/include"; then
27509 haveit=
27510 if test "X$additional_includedir" = "X/usr/local/include"; then
27511 if test -n "$GCC"; then
27512 case $host_os in
27513 linux*) haveit=yes;;
27514 esac
27515 fi
27516 fi
27517 if test -z "$haveit"; then
27518 for x in $CPPFLAGS $INCICONV; do
27519
27520 acl_save_prefix="$prefix"
27521 prefix="$acl_final_prefix"
27522 acl_save_exec_prefix="$exec_prefix"
27523 exec_prefix="$acl_final_exec_prefix"
27524 eval x=\"$x\"
27525 exec_prefix="$acl_save_exec_prefix"
27526 prefix="$acl_save_prefix"
27527
27528 if test "X$x" = "X-I$additional_includedir"; then
27529 haveit=yes
27530 break
27531 fi
27532 done
27533 if test -z "$haveit"; then
27534 if test -d "$additional_includedir"; then
27535 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27536 fi
27537 fi
27538 fi
27539 fi
27540 fi
27541 if test -n "$found_la"; then
27542 save_libdir="$libdir"
27543 case "$found_la" in
27544 */* | *\\*) . "$found_la" ;;
27545 *) . "./$found_la" ;;
27546 esac
27547 libdir="$save_libdir"
27548 for dep in $dependency_libs; do
27549 case "$dep" in
27550 -L*)
27551 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27552 if test "X$additional_libdir" != "X/usr/lib"; then
27553 haveit=
27554 if test "X$additional_libdir" = "X/usr/local/lib"; then
27555 if test -n "$GCC"; then
27556 case $host_os in
27557 linux*) haveit=yes;;
27558 esac
27559 fi
27560 fi
27561 if test -z "$haveit"; then
27562 haveit=
27563 for x in $LDFLAGS $LIBICONV; do
27564
27565 acl_save_prefix="$prefix"
27566 prefix="$acl_final_prefix"
27567 acl_save_exec_prefix="$exec_prefix"
27568 exec_prefix="$acl_final_exec_prefix"
27569 eval x=\"$x\"
27570 exec_prefix="$acl_save_exec_prefix"
27571 prefix="$acl_save_prefix"
27572
27573 if test "X$x" = "X-L$additional_libdir"; then
27574 haveit=yes
27575 break
27576 fi
27577 done
27578 if test -z "$haveit"; then
27579 if test -d "$additional_libdir"; then
27580 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27581 fi
27582 fi
27583 haveit=
27584 for x in $LDFLAGS $LTLIBICONV; do
27585
27586 acl_save_prefix="$prefix"
27587 prefix="$acl_final_prefix"
27588 acl_save_exec_prefix="$exec_prefix"
27589 exec_prefix="$acl_final_exec_prefix"
27590 eval x=\"$x\"
27591 exec_prefix="$acl_save_exec_prefix"
27592 prefix="$acl_save_prefix"
27593
27594 if test "X$x" = "X-L$additional_libdir"; then
27595 haveit=yes
27596 break
27597 fi
27598 done
27599 if test -z "$haveit"; then
27600 if test -d "$additional_libdir"; then
27601 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27602 fi
27603 fi
27604 fi
27605 fi
27606 ;;
27607 -R*)
27608 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27609 if test "$enable_rpath" != no; then
27610 haveit=
27611 for x in $rpathdirs; do
27612 if test "X$x" = "X$dir"; then
27613 haveit=yes
27614 break
27615 fi
27616 done
27617 if test -z "$haveit"; then
27618 rpathdirs="$rpathdirs $dir"
27619 fi
27620 haveit=
27621 for x in $ltrpathdirs; do
27622 if test "X$x" = "X$dir"; then
27623 haveit=yes
27624 break
27625 fi
27626 done
27627 if test -z "$haveit"; then
27628 ltrpathdirs="$ltrpathdirs $dir"
27629 fi
27630 fi
27631 ;;
27632 -l*)
27633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27634 ;;
27635 *.la)
27636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27637 ;;
27638 *)
27639 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27640 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27641 ;;
27642 esac
27643 done
27644 fi
27645 else
27646 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27647 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27648 fi
27649 fi
27650 fi
27651 done
27652 done
27653 if test "X$rpathdirs" != "X"; then
27654 if test -n "$hardcode_libdir_separator"; then
27655 alldirs=
27656 for found_dir in $rpathdirs; do
27657 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27658 done
27659 acl_save_libdir="$libdir"
27660 libdir="$alldirs"
27661 eval flag=\"$hardcode_libdir_flag_spec\"
27662 libdir="$acl_save_libdir"
27663 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27664 else
27665 for found_dir in $rpathdirs; do
27666 acl_save_libdir="$libdir"
27667 libdir="$found_dir"
27668 eval flag=\"$hardcode_libdir_flag_spec\"
27669 libdir="$acl_save_libdir"
27670 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27671 done
27672 fi
27673 fi
27674 if test "X$ltrpathdirs" != "X"; then
27675 for found_dir in $ltrpathdirs; do
27676 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27677 done
27678 fi
27679
27680
27681
27682
27683
27684
27685
27686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27687 $as_echo_n "checking for iconv... " >&6; }
27688 if test "${am_cv_func_iconv+set}" = set; then :
27689 $as_echo_n "(cached) " >&6
27690 else
27691
27692 am_cv_func_iconv="no, consider installing GNU libiconv"
27693 am_cv_lib_iconv=no
27694 am_save_CPPFLAGS="$CPPFLAGS"
27695 CPPFLAGS="$CPPFLAGS $INCICONV"
27696 if test x$gcc_no_link = xyes; then
27697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27698 fi
27699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27701 #include <stdlib.h>
27702 #include <iconv.h>
27703 int
27704 main ()
27705 {
27706 iconv_t cd = iconv_open("","");
27707 iconv(cd,NULL,NULL,NULL,NULL);
27708 iconv_close(cd);
27709 ;
27710 return 0;
27711 }
27712 _ACEOF
27713 if ac_fn_c_try_link "$LINENO"; then :
27714 am_cv_func_iconv=yes
27715 fi
27716 rm -f core conftest.err conftest.$ac_objext \
27717 conftest$ac_exeext conftest.$ac_ext
27718 CPPFLAGS="$am_save_CPPFLAGS"
27719
27720 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
27721 for _libs in .libs _libs; do
27722 am_save_CPPFLAGS="$CPPFLAGS"
27723 am_save_LIBS="$LIBS"
27724 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
27725 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
27726 if test x$gcc_no_link = xyes; then
27727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27728 fi
27729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h. */
27731 #include <stdlib.h>
27732 #include <iconv.h>
27733 int
27734 main ()
27735 {
27736 iconv_t cd = iconv_open("","");
27737 iconv(cd,NULL,NULL,NULL,NULL);
27738 iconv_close(cd);
27739 ;
27740 return 0;
27741 }
27742 _ACEOF
27743 if ac_fn_c_try_link "$LINENO"; then :
27744 INCICONV="-I../libiconv/include"
27745 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
27746 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
27747 am_cv_lib_iconv=yes
27748 am_cv_func_iconv=yes
27749 fi
27750 rm -f core conftest.err conftest.$ac_objext \
27751 conftest$ac_exeext conftest.$ac_ext
27752 CPPFLAGS="$am_save_CPPFLAGS"
27753 LIBS="$am_save_LIBS"
27754 if test "$am_cv_func_iconv" = "yes"; then
27755 break
27756 fi
27757 done
27758 fi
27759
27760 if test "$am_cv_func_iconv" != yes; then
27761 am_save_CPPFLAGS="$CPPFLAGS"
27762 am_save_LIBS="$LIBS"
27763 CPPFLAGS="$LIBS $INCICONV"
27764 LIBS="$LIBS $LIBICONV"
27765 if test x$gcc_no_link = xyes; then
27766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27767 fi
27768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27769 /* end confdefs.h. */
27770 #include <stdlib.h>
27771 #include <iconv.h>
27772 int
27773 main ()
27774 {
27775 iconv_t cd = iconv_open("","");
27776 iconv(cd,NULL,NULL,NULL,NULL);
27777 iconv_close(cd);
27778 ;
27779 return 0;
27780 }
27781 _ACEOF
27782 if ac_fn_c_try_link "$LINENO"; then :
27783 am_cv_lib_iconv=yes
27784 am_cv_func_iconv=yes
27785 fi
27786 rm -f core conftest.err conftest.$ac_objext \
27787 conftest$ac_exeext conftest.$ac_ext
27788 CPPFLAGS="$am_save_CPPFLAGS"
27789 LIBS="$am_save_LIBS"
27790 fi
27791
27792 fi
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27794 $as_echo "$am_cv_func_iconv" >&6; }
27795 if test "$am_cv_func_iconv" = yes; then
27796
27797 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27798
27799 fi
27800 if test "$am_cv_lib_iconv" = yes; then
27801
27802 for element in $INCICONV; do
27803 haveit=
27804 for x in $CPPFLAGS; do
27805
27806 acl_save_prefix="$prefix"
27807 prefix="$acl_final_prefix"
27808 acl_save_exec_prefix="$exec_prefix"
27809 exec_prefix="$acl_final_exec_prefix"
27810 eval x=\"$x\"
27811 exec_prefix="$acl_save_exec_prefix"
27812 prefix="$acl_save_prefix"
27813
27814 if test "X$x" = "X$element"; then
27815 haveit=yes
27816 break
27817 fi
27818 done
27819 if test -z "$haveit"; then
27820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27821 fi
27822 done
27823
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27825 $as_echo_n "checking how to link with libiconv... " >&6; }
27826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27827 $as_echo "$LIBICONV" >&6; }
27828 else
27829 LIBICONV=
27830 LTLIBICONV=
27831 fi
27832
27833
27834
27835 if test "$am_cv_func_iconv" = yes; then
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27837 $as_echo_n "checking for iconv declaration... " >&6; }
27838 if test "${am_cv_proto_iconv+set}" = set; then :
27839 $as_echo_n "(cached) " >&6
27840 else
27841
27842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27843 /* end confdefs.h. */
27844
27845 #include <stdlib.h>
27846 #include <iconv.h>
27847 extern
27848 #ifdef __cplusplus
27849 "C"
27850 #endif
27851 #if defined(__STDC__) || defined(__cplusplus)
27852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27853 #else
27854 size_t iconv();
27855 #endif
27856
27857 int
27858 main ()
27859 {
27860
27861 ;
27862 return 0;
27863 }
27864 _ACEOF
27865 if ac_fn_c_try_compile "$LINENO"; then :
27866 am_cv_proto_iconv_arg1=""
27867 else
27868 am_cv_proto_iconv_arg1="const"
27869 fi
27870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27871 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);"
27872 fi
27873
27874 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27876 }$am_cv_proto_iconv" >&5
27877 $as_echo "${ac_t:-
27878 }$am_cv_proto_iconv" >&6; }
27879
27880 cat >>confdefs.h <<_ACEOF
27881 #define ICONV_CONST $am_cv_proto_iconv_arg1
27882 _ACEOF
27883
27884 fi
27885
27886
27887 else
27888
27889 # This lets us hard-code the functionality we know we'll have in the cross
27890 # target environment. "Let" is a sugar-coated word placed on an especially
27891 # dull and tedious hack, actually.
27892 #
27893 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27894 # that involve linking, can't be used:
27895 # "cannot open sim-crt0.o"
27896 # "cannot open crt0.o"
27897 # etc. All this is because there currently exists no unified, consistent
27898 # way for top level CC information to be passed down to target directories:
27899 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27900 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27901 # crosses can be removed.
27902
27903 # If Canadian cross, then don't pick up tools from the build directory.
27904 # Used only in GLIBCXX_EXPORT_INCLUDES.
27905 if test -n "$with_cross_host" &&
27906 test x"$build_alias" != x"$with_cross_host" &&
27907 test x"$build" != x"$target";
27908 then
27909 CANADIAN=yes
27910 else
27911 CANADIAN=no
27912 fi
27913
27914 # Construct crosses by hand, eliminating bits that need ld...
27915 # GLIBCXX_CHECK_MATH_SUPPORT
27916
27917 # First, test for "known" system libraries. We may be using newlib even
27918 # on a hosted environment.
27919 if test "x${with_newlib}" = "xyes"; then
27920 os_include_dir="os/newlib"
27921 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27922
27923
27924 # GLIBCXX_CHECK_STDLIB_SUPPORT
27925 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27926
27927
27928 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27929
27930 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27931
27932 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27933
27934 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27935
27936 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27937
27938 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27939
27940 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27941
27942 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27943
27944 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27945
27946 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27947
27948 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27949
27950 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27951
27952 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27953
27954 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27955
27956 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27957
27958 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27959
27960 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27961
27962 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27963
27964 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27965
27966 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27967
27968 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27969
27970 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27971
27972
27973 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27974
27975 else
27976
27977 # Base decisions on target environment.
27978 case "${host}" in
27979 arm*-*-symbianelf*)
27980 # This is a freestanding configuration; there is nothing to do here.
27981 ;;
27982
27983 mips*-sde-elf*)
27984 # These definitions are for the SDE C library rather than newlib.
27985 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27986
27987
27988 # All these tests are for C++; save the language and the compiler flags.
27989 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27990 # found in GLIBCXX_CONFIGURE.
27991
27992 ac_ext=cpp
27993 ac_cpp='$CXXCPP $CPPFLAGS'
27994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27997
27998 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27999 ac_save_CXXFLAGS="$CXXFLAGS"
28000
28001 # Check for maintainer-mode bits.
28002 if test x"$USE_MAINTAINER_MODE" = xno; then
28003 WERROR=''
28004 else
28005 WERROR='-Werror'
28006 fi
28007
28008 # Check for -ffunction-sections -fdata-sections
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28010 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28011 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 int foo; void bar() { };
28015 int
28016 main ()
28017 {
28018
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 if ac_fn_cxx_try_compile "$LINENO"; then :
28024 ac_fdsections=yes
28025 else
28026 ac_fdsections=no
28027 fi
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28029 if test "$ac_test_CXXFLAGS" = set; then
28030 CXXFLAGS="$ac_save_CXXFLAGS"
28031 else
28032 # this is the suspicious part
28033 CXXFLAGS=''
28034 fi
28035 if test x"$ac_fdsections" = x"yes"; then
28036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28037 fi
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28039 $as_echo "$ac_fdsections" >&6; }
28040
28041 ac_ext=c
28042 ac_cpp='$CPP $CPPFLAGS'
28043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28046
28047
28048
28049
28050
28051 # If we're not using GNU ld, then there's no point in even trying these
28052 # tests. Check for that first. We should have already tested for gld
28053 # by now (in libtool), but require it now just to be safe...
28054 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28055 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28056
28057
28058
28059 # The name set by libtool depends on the version of libtool. Shame on us
28060 # for depending on an impl detail, but c'est la vie. Older versions used
28061 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28062 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28063 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28064 # set (hence we're using an older libtool), then set it.
28065 if test x${with_gnu_ld+set} != xset; then
28066 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28067 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28068 with_gnu_ld=no
28069 else
28070 with_gnu_ld=$ac_cv_prog_gnu_ld
28071 fi
28072 fi
28073
28074 # Start by getting the version number. I think the libtool test already
28075 # does some of this, but throws away the result.
28076 glibcxx_ld_is_gold=no
28077 if test x"$with_gnu_ld" = x"yes"; then
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28079 $as_echo_n "checking for ld version... " >&6; }
28080
28081 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28082 glibcxx_ld_is_gold=yes
28083 fi
28084 ldver=`$LD --version 2>/dev/null |
28085 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'`
28086
28087 glibcxx_gnu_ld_version=`echo $ldver | \
28088 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28090 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28091 fi
28092
28093 # Set --gc-sections.
28094 glibcxx_have_gc_sections=no
28095 if test "$glibcxx_ld_is_gold" = "yes"; then
28096 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28097 glibcxx_have_gc_sections=yes
28098 fi
28099 else
28100 glibcxx_gcsections_min_ld=21602
28101 if test x"$with_gnu_ld" = x"yes" &&
28102 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28103 glibcxx_have_gc_sections=yes
28104 fi
28105 fi
28106 if test "$glibcxx_have_gc_sections" = "yes"; then
28107 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28108 # NB: This flag only works reliably after 2.16.1. Configure tests
28109 # for this are difficult, so hard wire a value that should work.
28110
28111 ac_test_CFLAGS="${CFLAGS+set}"
28112 ac_save_CFLAGS="$CFLAGS"
28113 CFLAGS='-Wl,--gc-sections'
28114
28115 # Check for -Wl,--gc-sections
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28117 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28118 if test x$gcc_no_link = xyes; then
28119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28120 fi
28121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28122 /* end confdefs.h. */
28123 int one(void) { return 1; }
28124 int two(void) { return 2; }
28125
28126 int
28127 main ()
28128 {
28129 two();
28130 ;
28131 return 0;
28132 }
28133 _ACEOF
28134 if ac_fn_c_try_link "$LINENO"; then :
28135 ac_gcsections=yes
28136 else
28137 ac_gcsections=no
28138 fi
28139 rm -f core conftest.err conftest.$ac_objext \
28140 conftest$ac_exeext conftest.$ac_ext
28141 if test "$ac_gcsections" = "yes"; then
28142 rm -f conftest.c
28143 touch conftest.c
28144 if $CC -c conftest.c; then
28145 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28146 grep "Warning: gc-sections option ignored" > /dev/null; then
28147 ac_gcsections=no
28148 fi
28149 fi
28150 rm -f conftest.c conftest.o conftest
28151 fi
28152 if test "$ac_gcsections" = "yes"; then
28153 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28154 fi
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28156 $as_echo "$ac_gcsections" >&6; }
28157
28158 if test "$ac_test_CFLAGS" = set; then
28159 CFLAGS="$ac_save_CFLAGS"
28160 else
28161 # this is the suspicious part
28162 CFLAGS=''
28163 fi
28164 fi
28165
28166 # Set -z,relro.
28167 # Note this is only for shared objects.
28168 ac_ld_relro=no
28169 if test x"$with_gnu_ld" = x"yes"; then
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28171 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28172 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28173 if test -n "$cxx_z_relo"; then
28174 OPT_LDFLAGS="-Wl,-z,relro"
28175 ac_ld_relro=yes
28176 fi
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28178 $as_echo "$ac_ld_relro" >&6; }
28179 fi
28180
28181 # Set linker optimization flags.
28182 if test x"$with_gnu_ld" = x"yes"; then
28183 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28184 fi
28185
28186
28187
28188
28189
28190 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28191 ac_save_CXXFLAGS="$CXXFLAGS"
28192 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28193
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28195 $as_echo_n "checking for sin in -lm... " >&6; }
28196 if test "${ac_cv_lib_m_sin+set}" = set; then :
28197 $as_echo_n "(cached) " >&6
28198 else
28199 ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lm $LIBS"
28201 if test x$gcc_no_link = xyes; then
28202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28203 fi
28204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28205 /* end confdefs.h. */
28206
28207 /* Override any GCC internal prototype to avoid an error.
28208 Use char because int might match the return type of a GCC
28209 builtin and then its argument prototype would still apply. */
28210 #ifdef __cplusplus
28211 extern "C"
28212 #endif
28213 char sin ();
28214 int
28215 main ()
28216 {
28217 return sin ();
28218 ;
28219 return 0;
28220 }
28221 _ACEOF
28222 if ac_fn_c_try_link "$LINENO"; then :
28223 ac_cv_lib_m_sin=yes
28224 else
28225 ac_cv_lib_m_sin=no
28226 fi
28227 rm -f core conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28229 LIBS=$ac_check_lib_save_LIBS
28230 fi
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28232 $as_echo "$ac_cv_lib_m_sin" >&6; }
28233 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28234 libm="-lm"
28235 fi
28236
28237 ac_save_LIBS="$LIBS"
28238 LIBS="$LIBS $libm"
28239
28240
28241
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28243 $as_echo_n "checking for isinf declaration... " >&6; }
28244 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28245 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28246 $as_echo_n "(cached) " >&6
28247 else
28248
28249
28250 ac_ext=cpp
28251 ac_cpp='$CXXCPP $CPPFLAGS'
28252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28255
28256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28257 /* end confdefs.h. */
28258 #include <math.h>
28259 #ifdef HAVE_IEEEFP_H
28260 #include <ieeefp.h>
28261 #endif
28262
28263 int
28264 main ()
28265 {
28266 isinf(0);
28267 ;
28268 return 0;
28269 }
28270 _ACEOF
28271 if ac_fn_cxx_try_compile "$LINENO"; then :
28272 glibcxx_cv_func_isinf_use=yes
28273 else
28274 glibcxx_cv_func_isinf_use=no
28275 fi
28276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28277 ac_ext=c
28278 ac_cpp='$CPP $CPPFLAGS'
28279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28282
28283
28284 fi
28285
28286 fi
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28288 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28289
28290 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28291 for ac_func in isinf
28292 do :
28293 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28294 if test "x$ac_cv_func_isinf" = x""yes; then :
28295 cat >>confdefs.h <<_ACEOF
28296 #define HAVE_ISINF 1
28297 _ACEOF
28298
28299 fi
28300 done
28301
28302 else
28303
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28305 $as_echo_n "checking for _isinf declaration... " >&6; }
28306 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28307 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28308 $as_echo_n "(cached) " >&6
28309 else
28310
28311
28312 ac_ext=cpp
28313 ac_cpp='$CXXCPP $CPPFLAGS'
28314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28317
28318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28319 /* end confdefs.h. */
28320 #include <math.h>
28321 #ifdef HAVE_IEEEFP_H
28322 #include <ieeefp.h>
28323 #endif
28324
28325 int
28326 main ()
28327 {
28328 _isinf(0);
28329 ;
28330 return 0;
28331 }
28332 _ACEOF
28333 if ac_fn_cxx_try_compile "$LINENO"; then :
28334 glibcxx_cv_func__isinf_use=yes
28335 else
28336 glibcxx_cv_func__isinf_use=no
28337 fi
28338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28339 ac_ext=c
28340 ac_cpp='$CPP $CPPFLAGS'
28341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28344
28345
28346 fi
28347
28348 fi
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28350 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28351
28352 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28353 for ac_func in _isinf
28354 do :
28355 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28356 if test "x$ac_cv_func__isinf" = x""yes; then :
28357 cat >>confdefs.h <<_ACEOF
28358 #define HAVE__ISINF 1
28359 _ACEOF
28360
28361 fi
28362 done
28363
28364 fi
28365 fi
28366
28367
28368
28369
28370
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28372 $as_echo_n "checking for isnan declaration... " >&6; }
28373 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28374 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28375 $as_echo_n "(cached) " >&6
28376 else
28377
28378
28379 ac_ext=cpp
28380 ac_cpp='$CXXCPP $CPPFLAGS'
28381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384
28385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h. */
28387 #include <math.h>
28388 #ifdef HAVE_IEEEFP_H
28389 #include <ieeefp.h>
28390 #endif
28391
28392 int
28393 main ()
28394 {
28395 isnan(0);
28396 ;
28397 return 0;
28398 }
28399 _ACEOF
28400 if ac_fn_cxx_try_compile "$LINENO"; then :
28401 glibcxx_cv_func_isnan_use=yes
28402 else
28403 glibcxx_cv_func_isnan_use=no
28404 fi
28405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28406 ac_ext=c
28407 ac_cpp='$CPP $CPPFLAGS'
28408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28411
28412
28413 fi
28414
28415 fi
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28417 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28418
28419 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28420 for ac_func in isnan
28421 do :
28422 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28423 if test "x$ac_cv_func_isnan" = x""yes; then :
28424 cat >>confdefs.h <<_ACEOF
28425 #define HAVE_ISNAN 1
28426 _ACEOF
28427
28428 fi
28429 done
28430
28431 else
28432
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28434 $as_echo_n "checking for _isnan declaration... " >&6; }
28435 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28436 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28437 $as_echo_n "(cached) " >&6
28438 else
28439
28440
28441 ac_ext=cpp
28442 ac_cpp='$CXXCPP $CPPFLAGS'
28443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28446
28447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28448 /* end confdefs.h. */
28449 #include <math.h>
28450 #ifdef HAVE_IEEEFP_H
28451 #include <ieeefp.h>
28452 #endif
28453
28454 int
28455 main ()
28456 {
28457 _isnan(0);
28458 ;
28459 return 0;
28460 }
28461 _ACEOF
28462 if ac_fn_cxx_try_compile "$LINENO"; then :
28463 glibcxx_cv_func__isnan_use=yes
28464 else
28465 glibcxx_cv_func__isnan_use=no
28466 fi
28467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28468 ac_ext=c
28469 ac_cpp='$CPP $CPPFLAGS'
28470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28473
28474
28475 fi
28476
28477 fi
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28479 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28480
28481 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28482 for ac_func in _isnan
28483 do :
28484 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28485 if test "x$ac_cv_func__isnan" = x""yes; then :
28486 cat >>confdefs.h <<_ACEOF
28487 #define HAVE__ISNAN 1
28488 _ACEOF
28489
28490 fi
28491 done
28492
28493 fi
28494 fi
28495
28496
28497
28498
28499
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28501 $as_echo_n "checking for finite declaration... " >&6; }
28502 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28503 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28504 $as_echo_n "(cached) " >&6
28505 else
28506
28507
28508 ac_ext=cpp
28509 ac_cpp='$CXXCPP $CPPFLAGS'
28510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28513
28514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28515 /* end confdefs.h. */
28516 #include <math.h>
28517 #ifdef HAVE_IEEEFP_H
28518 #include <ieeefp.h>
28519 #endif
28520
28521 int
28522 main ()
28523 {
28524 finite(0);
28525 ;
28526 return 0;
28527 }
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func_finite_use=yes
28531 else
28532 glibcxx_cv_func_finite_use=no
28533 fi
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28540
28541
28542 fi
28543
28544 fi
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28546 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28547
28548 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28549 for ac_func in finite
28550 do :
28551 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28552 if test "x$ac_cv_func_finite" = x""yes; then :
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_FINITE 1
28555 _ACEOF
28556
28557 fi
28558 done
28559
28560 else
28561
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28563 $as_echo_n "checking for _finite declaration... " >&6; }
28564 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28565 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28566 $as_echo_n "(cached) " >&6
28567 else
28568
28569
28570 ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28575
28576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h. */
28578 #include <math.h>
28579 #ifdef HAVE_IEEEFP_H
28580 #include <ieeefp.h>
28581 #endif
28582
28583 int
28584 main ()
28585 {
28586 _finite(0);
28587 ;
28588 return 0;
28589 }
28590 _ACEOF
28591 if ac_fn_cxx_try_compile "$LINENO"; then :
28592 glibcxx_cv_func__finite_use=yes
28593 else
28594 glibcxx_cv_func__finite_use=no
28595 fi
28596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 ac_ext=c
28598 ac_cpp='$CPP $CPPFLAGS'
28599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28602
28603
28604 fi
28605
28606 fi
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28608 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28609
28610 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28611 for ac_func in _finite
28612 do :
28613 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28614 if test "x$ac_cv_func__finite" = x""yes; then :
28615 cat >>confdefs.h <<_ACEOF
28616 #define HAVE__FINITE 1
28617 _ACEOF
28618
28619 fi
28620 done
28621
28622 fi
28623 fi
28624
28625
28626
28627
28628
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28630 $as_echo_n "checking for sincos declaration... " >&6; }
28631 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28632 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28633 $as_echo_n "(cached) " >&6
28634 else
28635
28636
28637 ac_ext=cpp
28638 ac_cpp='$CXXCPP $CPPFLAGS'
28639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28642
28643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28644 /* end confdefs.h. */
28645 #include <math.h>
28646 int
28647 main ()
28648 {
28649 sincos(0, 0, 0);
28650 ;
28651 return 0;
28652 }
28653 _ACEOF
28654 if ac_fn_cxx_try_compile "$LINENO"; then :
28655 glibcxx_cv_func_sincos_use=yes
28656 else
28657 glibcxx_cv_func_sincos_use=no
28658 fi
28659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28660 ac_ext=c
28661 ac_cpp='$CPP $CPPFLAGS'
28662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28665
28666
28667 fi
28668
28669 fi
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28671 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28672
28673 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28674 for ac_func in sincos
28675 do :
28676 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28677 if test "x$ac_cv_func_sincos" = x""yes; then :
28678 cat >>confdefs.h <<_ACEOF
28679 #define HAVE_SINCOS 1
28680 _ACEOF
28681
28682 fi
28683 done
28684
28685 else
28686
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28688 $as_echo_n "checking for _sincos declaration... " >&6; }
28689 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28690 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28693
28694
28695 ac_ext=cpp
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700
28701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h. */
28703 #include <math.h>
28704 int
28705 main ()
28706 {
28707 _sincos(0, 0, 0);
28708 ;
28709 return 0;
28710 }
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713 glibcxx_cv_func__sincos_use=yes
28714 else
28715 glibcxx_cv_func__sincos_use=no
28716 fi
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28723
28724
28725 fi
28726
28727 fi
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28729 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28730
28731 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28732 for ac_func in _sincos
28733 do :
28734 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28735 if test "x$ac_cv_func__sincos" = x""yes; then :
28736 cat >>confdefs.h <<_ACEOF
28737 #define HAVE__SINCOS 1
28738 _ACEOF
28739
28740 fi
28741 done
28742
28743 fi
28744 fi
28745
28746
28747
28748
28749
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28751 $as_echo_n "checking for fpclass declaration... " >&6; }
28752 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28753 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28754 $as_echo_n "(cached) " >&6
28755 else
28756
28757
28758 ac_ext=cpp
28759 ac_cpp='$CXXCPP $CPPFLAGS'
28760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28763
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <math.h>
28767 #ifdef HAVE_IEEEFP_H
28768 #include <ieeefp.h>
28769 #endif
28770
28771 int
28772 main ()
28773 {
28774 fpclass(0);
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780 glibcxx_cv_func_fpclass_use=yes
28781 else
28782 glibcxx_cv_func_fpclass_use=no
28783 fi
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785 ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28790
28791
28792 fi
28793
28794 fi
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28796 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28797
28798 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28799 for ac_func in fpclass
28800 do :
28801 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28802 if test "x$ac_cv_func_fpclass" = x""yes; then :
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_FPCLASS 1
28805 _ACEOF
28806
28807 fi
28808 done
28809
28810 else
28811
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28813 $as_echo_n "checking for _fpclass declaration... " >&6; }
28814 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28815 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28818
28819
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28832
28833 int
28834 main ()
28835 {
28836 _fpclass(0);
28837 ;
28838 return 0;
28839 }
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842 glibcxx_cv_func__fpclass_use=yes
28843 else
28844 glibcxx_cv_func__fpclass_use=no
28845 fi
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852
28853
28854 fi
28855
28856 fi
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28858 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28859
28860 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28861 for ac_func in _fpclass
28862 do :
28863 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28864 if test "x$ac_cv_func__fpclass" = x""yes; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define HAVE__FPCLASS 1
28867 _ACEOF
28868
28869 fi
28870 done
28871
28872 fi
28873 fi
28874
28875
28876
28877
28878
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28880 $as_echo_n "checking for qfpclass declaration... " >&6; }
28881 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28882 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28885
28886
28887 ac_ext=cpp
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28892
28893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28894 /* end confdefs.h. */
28895 #include <math.h>
28896 #ifdef HAVE_IEEEFP_H
28897 #include <ieeefp.h>
28898 #endif
28899
28900 int
28901 main ()
28902 {
28903 qfpclass(0);
28904 ;
28905 return 0;
28906 }
28907 _ACEOF
28908 if ac_fn_cxx_try_compile "$LINENO"; then :
28909 glibcxx_cv_func_qfpclass_use=yes
28910 else
28911 glibcxx_cv_func_qfpclass_use=no
28912 fi
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914 ac_ext=c
28915 ac_cpp='$CPP $CPPFLAGS'
28916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28919
28920
28921 fi
28922
28923 fi
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28925 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28926
28927 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28928 for ac_func in qfpclass
28929 do :
28930 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28931 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28932 cat >>confdefs.h <<_ACEOF
28933 #define HAVE_QFPCLASS 1
28934 _ACEOF
28935
28936 fi
28937 done
28938
28939 else
28940
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28942 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28943 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28944 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28945 $as_echo_n "(cached) " >&6
28946 else
28947
28948
28949 ac_ext=cpp
28950 ac_cpp='$CXXCPP $CPPFLAGS'
28951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28954
28955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28956 /* end confdefs.h. */
28957 #include <math.h>
28958 #ifdef HAVE_IEEEFP_H
28959 #include <ieeefp.h>
28960 #endif
28961
28962 int
28963 main ()
28964 {
28965 _qfpclass(0);
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 if ac_fn_cxx_try_compile "$LINENO"; then :
28971 glibcxx_cv_func__qfpclass_use=yes
28972 else
28973 glibcxx_cv_func__qfpclass_use=no
28974 fi
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976 ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28981
28982
28983 fi
28984
28985 fi
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28987 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28988
28989 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28990 for ac_func in _qfpclass
28991 do :
28992 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28993 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28994 cat >>confdefs.h <<_ACEOF
28995 #define HAVE__QFPCLASS 1
28996 _ACEOF
28997
28998 fi
28999 done
29000
29001 fi
29002 fi
29003
29004
29005
29006
29007
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29009 $as_echo_n "checking for hypot declaration... " >&6; }
29010 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29011 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29014
29015
29016 ac_ext=cpp
29017 ac_cpp='$CXXCPP $CPPFLAGS'
29018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29021
29022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29023 /* end confdefs.h. */
29024 #include <math.h>
29025 int
29026 main ()
29027 {
29028 hypot(0, 0);
29029 ;
29030 return 0;
29031 }
29032 _ACEOF
29033 if ac_fn_cxx_try_compile "$LINENO"; then :
29034 glibcxx_cv_func_hypot_use=yes
29035 else
29036 glibcxx_cv_func_hypot_use=no
29037 fi
29038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29039 ac_ext=c
29040 ac_cpp='$CPP $CPPFLAGS'
29041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29044
29045
29046 fi
29047
29048 fi
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29050 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29051
29052 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29053 for ac_func in hypot
29054 do :
29055 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29056 if test "x$ac_cv_func_hypot" = x""yes; then :
29057 cat >>confdefs.h <<_ACEOF
29058 #define HAVE_HYPOT 1
29059 _ACEOF
29060
29061 fi
29062 done
29063
29064 else
29065
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29067 $as_echo_n "checking for _hypot declaration... " >&6; }
29068 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29069 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29070 $as_echo_n "(cached) " >&6
29071 else
29072
29073
29074 ac_ext=cpp
29075 ac_cpp='$CXXCPP $CPPFLAGS'
29076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29079
29080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29081 /* end confdefs.h. */
29082 #include <math.h>
29083 int
29084 main ()
29085 {
29086 _hypot(0, 0);
29087 ;
29088 return 0;
29089 }
29090 _ACEOF
29091 if ac_fn_cxx_try_compile "$LINENO"; then :
29092 glibcxx_cv_func__hypot_use=yes
29093 else
29094 glibcxx_cv_func__hypot_use=no
29095 fi
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29097 ac_ext=c
29098 ac_cpp='$CPP $CPPFLAGS'
29099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102
29103
29104 fi
29105
29106 fi
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29108 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29109
29110 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29111 for ac_func in _hypot
29112 do :
29113 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29114 if test "x$ac_cv_func__hypot" = x""yes; then :
29115 cat >>confdefs.h <<_ACEOF
29116 #define HAVE__HYPOT 1
29117 _ACEOF
29118
29119 fi
29120 done
29121
29122 fi
29123 fi
29124
29125
29126
29127
29128
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29130 $as_echo_n "checking for float trig functions... " >&6; }
29131 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29132 $as_echo_n "(cached) " >&6
29133 else
29134
29135
29136 ac_ext=cpp
29137 ac_cpp='$CXXCPP $CPPFLAGS'
29138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29141
29142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143 /* end confdefs.h. */
29144 #include <math.h>
29145 int
29146 main ()
29147 {
29148 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29149 ;
29150 return 0;
29151 }
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func_float_trig_use=yes
29155 else
29156 glibcxx_cv_func_float_trig_use=no
29157 fi
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164
29165 fi
29166
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29168 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29169 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29170 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29171 do :
29172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29174 eval as_val=\$$as_ac_var
29175 if test "x$as_val" = x""yes; then :
29176 cat >>confdefs.h <<_ACEOF
29177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29178 _ACEOF
29179
29180 fi
29181 done
29182
29183 else
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29185 $as_echo_n "checking for _float trig functions... " >&6; }
29186 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29187 $as_echo_n "(cached) " >&6
29188 else
29189
29190
29191 ac_ext=cpp
29192 ac_cpp='$CXXCPP $CPPFLAGS'
29193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29196
29197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29198 /* end confdefs.h. */
29199 #include <math.h>
29200 int
29201 main ()
29202 {
29203 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29204 ;
29205 return 0;
29206 }
29207 _ACEOF
29208 if ac_fn_cxx_try_compile "$LINENO"; then :
29209 glibcxx_cv_func__float_trig_use=yes
29210 else
29211 glibcxx_cv_func__float_trig_use=no
29212 fi
29213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29214 ac_ext=c
29215 ac_cpp='$CPP $CPPFLAGS'
29216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29219
29220 fi
29221
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29223 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29224 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29225 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29226 do :
29227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29229 eval as_val=\$$as_ac_var
29230 if test "x$as_val" = x""yes; then :
29231 cat >>confdefs.h <<_ACEOF
29232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29233 _ACEOF
29234
29235 fi
29236 done
29237
29238 fi
29239 fi
29240
29241
29242
29243
29244
29245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29246 $as_echo_n "checking for float round functions... " >&6; }
29247 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29250
29251
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29257
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29261 int
29262 main ()
29263 {
29264 ceilf (0); floorf (0);
29265 ;
29266 return 0;
29267 }
29268 _ACEOF
29269 if ac_fn_cxx_try_compile "$LINENO"; then :
29270 glibcxx_cv_func_float_round_use=yes
29271 else
29272 glibcxx_cv_func_float_round_use=no
29273 fi
29274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29280
29281 fi
29282
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29284 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29285 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29286 for ac_func in ceilf floorf
29287 do :
29288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29290 eval as_val=\$$as_ac_var
29291 if test "x$as_val" = x""yes; then :
29292 cat >>confdefs.h <<_ACEOF
29293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29294 _ACEOF
29295
29296 fi
29297 done
29298
29299 else
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29301 $as_echo_n "checking for _float round functions... " >&6; }
29302 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29303 $as_echo_n "(cached) " >&6
29304 else
29305
29306
29307 ac_ext=cpp
29308 ac_cpp='$CXXCPP $CPPFLAGS'
29309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29312
29313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29314 /* end confdefs.h. */
29315 #include <math.h>
29316 int
29317 main ()
29318 {
29319 _ceilf (0); _floorf (0);
29320 ;
29321 return 0;
29322 }
29323 _ACEOF
29324 if ac_fn_cxx_try_compile "$LINENO"; then :
29325 glibcxx_cv_func__float_round_use=yes
29326 else
29327 glibcxx_cv_func__float_round_use=no
29328 fi
29329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29330 ac_ext=c
29331 ac_cpp='$CPP $CPPFLAGS'
29332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29335
29336 fi
29337
29338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29339 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29340 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29341 for ac_func in _ceilf _floorf
29342 do :
29343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29345 eval as_val=\$$as_ac_var
29346 if test "x$as_val" = x""yes; then :
29347 cat >>confdefs.h <<_ACEOF
29348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29349 _ACEOF
29350
29351 fi
29352 done
29353
29354 fi
29355 fi
29356
29357
29358
29359
29360
29361
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29363 $as_echo_n "checking for expf declaration... " >&6; }
29364 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29365 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29366 $as_echo_n "(cached) " >&6
29367 else
29368
29369
29370 ac_ext=cpp
29371 ac_cpp='$CXXCPP $CPPFLAGS'
29372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375
29376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29377 /* end confdefs.h. */
29378 #include <math.h>
29379 #ifdef HAVE_IEEEFP_H
29380 #include <ieeefp.h>
29381 #endif
29382
29383 int
29384 main ()
29385 {
29386 expf(0);
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 if ac_fn_cxx_try_compile "$LINENO"; then :
29392 glibcxx_cv_func_expf_use=yes
29393 else
29394 glibcxx_cv_func_expf_use=no
29395 fi
29396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29397 ac_ext=c
29398 ac_cpp='$CPP $CPPFLAGS'
29399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29402
29403
29404 fi
29405
29406 fi
29407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29408 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29409
29410 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29411 for ac_func in expf
29412 do :
29413 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29414 if test "x$ac_cv_func_expf" = x""yes; then :
29415 cat >>confdefs.h <<_ACEOF
29416 #define HAVE_EXPF 1
29417 _ACEOF
29418
29419 fi
29420 done
29421
29422 else
29423
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29425 $as_echo_n "checking for _expf declaration... " >&6; }
29426 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29427 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29428 $as_echo_n "(cached) " >&6
29429 else
29430
29431
29432 ac_ext=cpp
29433 ac_cpp='$CXXCPP $CPPFLAGS'
29434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29437
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h. */
29440 #include <math.h>
29441 #ifdef HAVE_IEEEFP_H
29442 #include <ieeefp.h>
29443 #endif
29444
29445 int
29446 main ()
29447 {
29448 _expf(0);
29449 ;
29450 return 0;
29451 }
29452 _ACEOF
29453 if ac_fn_cxx_try_compile "$LINENO"; then :
29454 glibcxx_cv_func__expf_use=yes
29455 else
29456 glibcxx_cv_func__expf_use=no
29457 fi
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459 ac_ext=c
29460 ac_cpp='$CPP $CPPFLAGS'
29461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29464
29465
29466 fi
29467
29468 fi
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29470 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29471
29472 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29473 for ac_func in _expf
29474 do :
29475 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29476 if test "x$ac_cv_func__expf" = x""yes; then :
29477 cat >>confdefs.h <<_ACEOF
29478 #define HAVE__EXPF 1
29479 _ACEOF
29480
29481 fi
29482 done
29483
29484 fi
29485 fi
29486
29487
29488
29489
29490
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29492 $as_echo_n "checking for isnanf declaration... " >&6; }
29493 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29494 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29495 $as_echo_n "(cached) " >&6
29496 else
29497
29498
29499 ac_ext=cpp
29500 ac_cpp='$CXXCPP $CPPFLAGS'
29501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29504
29505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29506 /* end confdefs.h. */
29507 #include <math.h>
29508 #ifdef HAVE_IEEEFP_H
29509 #include <ieeefp.h>
29510 #endif
29511
29512 int
29513 main ()
29514 {
29515 isnanf(0);
29516 ;
29517 return 0;
29518 }
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521 glibcxx_cv_func_isnanf_use=yes
29522 else
29523 glibcxx_cv_func_isnanf_use=no
29524 fi
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29531
29532
29533 fi
29534
29535 fi
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29537 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29538
29539 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29540 for ac_func in isnanf
29541 do :
29542 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29543 if test "x$ac_cv_func_isnanf" = x""yes; then :
29544 cat >>confdefs.h <<_ACEOF
29545 #define HAVE_ISNANF 1
29546 _ACEOF
29547
29548 fi
29549 done
29550
29551 else
29552
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29554 $as_echo_n "checking for _isnanf declaration... " >&6; }
29555 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29556 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29557 $as_echo_n "(cached) " >&6
29558 else
29559
29560
29561 ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29569 #include <math.h>
29570 #ifdef HAVE_IEEEFP_H
29571 #include <ieeefp.h>
29572 #endif
29573
29574 int
29575 main ()
29576 {
29577 _isnanf(0);
29578 ;
29579 return 0;
29580 }
29581 _ACEOF
29582 if ac_fn_cxx_try_compile "$LINENO"; then :
29583 glibcxx_cv_func__isnanf_use=yes
29584 else
29585 glibcxx_cv_func__isnanf_use=no
29586 fi
29587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29588 ac_ext=c
29589 ac_cpp='$CPP $CPPFLAGS'
29590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29593
29594
29595 fi
29596
29597 fi
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29599 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29600
29601 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29602 for ac_func in _isnanf
29603 do :
29604 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29605 if test "x$ac_cv_func__isnanf" = x""yes; then :
29606 cat >>confdefs.h <<_ACEOF
29607 #define HAVE__ISNANF 1
29608 _ACEOF
29609
29610 fi
29611 done
29612
29613 fi
29614 fi
29615
29616
29617
29618
29619
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29621 $as_echo_n "checking for isinff declaration... " >&6; }
29622 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29623 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29624 $as_echo_n "(cached) " >&6
29625 else
29626
29627
29628 ac_ext=cpp
29629 ac_cpp='$CXXCPP $CPPFLAGS'
29630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633
29634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h. */
29636 #include <math.h>
29637 #ifdef HAVE_IEEEFP_H
29638 #include <ieeefp.h>
29639 #endif
29640
29641 int
29642 main ()
29643 {
29644 isinff(0);
29645 ;
29646 return 0;
29647 }
29648 _ACEOF
29649 if ac_fn_cxx_try_compile "$LINENO"; then :
29650 glibcxx_cv_func_isinff_use=yes
29651 else
29652 glibcxx_cv_func_isinff_use=no
29653 fi
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655 ac_ext=c
29656 ac_cpp='$CPP $CPPFLAGS'
29657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29660
29661
29662 fi
29663
29664 fi
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29666 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29667
29668 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29669 for ac_func in isinff
29670 do :
29671 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29672 if test "x$ac_cv_func_isinff" = x""yes; then :
29673 cat >>confdefs.h <<_ACEOF
29674 #define HAVE_ISINFF 1
29675 _ACEOF
29676
29677 fi
29678 done
29679
29680 else
29681
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29683 $as_echo_n "checking for _isinff declaration... " >&6; }
29684 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29685 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29686 $as_echo_n "(cached) " >&6
29687 else
29688
29689
29690 ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29695
29696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29697 /* end confdefs.h. */
29698 #include <math.h>
29699 #ifdef HAVE_IEEEFP_H
29700 #include <ieeefp.h>
29701 #endif
29702
29703 int
29704 main ()
29705 {
29706 _isinff(0);
29707 ;
29708 return 0;
29709 }
29710 _ACEOF
29711 if ac_fn_cxx_try_compile "$LINENO"; then :
29712 glibcxx_cv_func__isinff_use=yes
29713 else
29714 glibcxx_cv_func__isinff_use=no
29715 fi
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29722
29723
29724 fi
29725
29726 fi
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29728 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29729
29730 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29731 for ac_func in _isinff
29732 do :
29733 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29734 if test "x$ac_cv_func__isinff" = x""yes; then :
29735 cat >>confdefs.h <<_ACEOF
29736 #define HAVE__ISINFF 1
29737 _ACEOF
29738
29739 fi
29740 done
29741
29742 fi
29743 fi
29744
29745
29746
29747
29748
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29750 $as_echo_n "checking for atan2f declaration... " >&6; }
29751 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29752 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29753 $as_echo_n "(cached) " >&6
29754 else
29755
29756
29757 ac_ext=cpp
29758 ac_cpp='$CXXCPP $CPPFLAGS'
29759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29762
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29765 #include <math.h>
29766 int
29767 main ()
29768 {
29769 atan2f(0, 0);
29770 ;
29771 return 0;
29772 }
29773 _ACEOF
29774 if ac_fn_cxx_try_compile "$LINENO"; then :
29775 glibcxx_cv_func_atan2f_use=yes
29776 else
29777 glibcxx_cv_func_atan2f_use=no
29778 fi
29779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29780 ac_ext=c
29781 ac_cpp='$CPP $CPPFLAGS'
29782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29785
29786
29787 fi
29788
29789 fi
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29791 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29792
29793 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29794 for ac_func in atan2f
29795 do :
29796 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29797 if test "x$ac_cv_func_atan2f" = x""yes; then :
29798 cat >>confdefs.h <<_ACEOF
29799 #define HAVE_ATAN2F 1
29800 _ACEOF
29801
29802 fi
29803 done
29804
29805 else
29806
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29808 $as_echo_n "checking for _atan2f declaration... " >&6; }
29809 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29810 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29813
29814
29815 ac_ext=cpp
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820
29821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29822 /* end confdefs.h. */
29823 #include <math.h>
29824 int
29825 main ()
29826 {
29827 _atan2f(0, 0);
29828 ;
29829 return 0;
29830 }
29831 _ACEOF
29832 if ac_fn_cxx_try_compile "$LINENO"; then :
29833 glibcxx_cv_func__atan2f_use=yes
29834 else
29835 glibcxx_cv_func__atan2f_use=no
29836 fi
29837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29838 ac_ext=c
29839 ac_cpp='$CPP $CPPFLAGS'
29840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29843
29844
29845 fi
29846
29847 fi
29848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29849 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29850
29851 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29852 for ac_func in _atan2f
29853 do :
29854 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29855 if test "x$ac_cv_func__atan2f" = x""yes; then :
29856 cat >>confdefs.h <<_ACEOF
29857 #define HAVE__ATAN2F 1
29858 _ACEOF
29859
29860 fi
29861 done
29862
29863 fi
29864 fi
29865
29866
29867
29868
29869
29870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29871 $as_echo_n "checking for fabsf declaration... " >&6; }
29872 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29873 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29874 $as_echo_n "(cached) " >&6
29875 else
29876
29877
29878 ac_ext=cpp
29879 ac_cpp='$CXXCPP $CPPFLAGS'
29880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29883
29884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29885 /* end confdefs.h. */
29886 #include <math.h>
29887 #ifdef HAVE_IEEEFP_H
29888 #include <ieeefp.h>
29889 #endif
29890
29891 int
29892 main ()
29893 {
29894 fabsf(0);
29895 ;
29896 return 0;
29897 }
29898 _ACEOF
29899 if ac_fn_cxx_try_compile "$LINENO"; then :
29900 glibcxx_cv_func_fabsf_use=yes
29901 else
29902 glibcxx_cv_func_fabsf_use=no
29903 fi
29904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29905 ac_ext=c
29906 ac_cpp='$CPP $CPPFLAGS'
29907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29910
29911
29912 fi
29913
29914 fi
29915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29916 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29917
29918 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29919 for ac_func in fabsf
29920 do :
29921 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29922 if test "x$ac_cv_func_fabsf" = x""yes; then :
29923 cat >>confdefs.h <<_ACEOF
29924 #define HAVE_FABSF 1
29925 _ACEOF
29926
29927 fi
29928 done
29929
29930 else
29931
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29933 $as_echo_n "checking for _fabsf declaration... " >&6; }
29934 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29935 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29936 $as_echo_n "(cached) " >&6
29937 else
29938
29939
29940 ac_ext=cpp
29941 ac_cpp='$CXXCPP $CPPFLAGS'
29942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29945
29946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29947 /* end confdefs.h. */
29948 #include <math.h>
29949 #ifdef HAVE_IEEEFP_H
29950 #include <ieeefp.h>
29951 #endif
29952
29953 int
29954 main ()
29955 {
29956 _fabsf(0);
29957 ;
29958 return 0;
29959 }
29960 _ACEOF
29961 if ac_fn_cxx_try_compile "$LINENO"; then :
29962 glibcxx_cv_func__fabsf_use=yes
29963 else
29964 glibcxx_cv_func__fabsf_use=no
29965 fi
29966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29967 ac_ext=c
29968 ac_cpp='$CPP $CPPFLAGS'
29969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29972
29973
29974 fi
29975
29976 fi
29977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29978 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29979
29980 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29981 for ac_func in _fabsf
29982 do :
29983 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29984 if test "x$ac_cv_func__fabsf" = x""yes; then :
29985 cat >>confdefs.h <<_ACEOF
29986 #define HAVE__FABSF 1
29987 _ACEOF
29988
29989 fi
29990 done
29991
29992 fi
29993 fi
29994
29995
29996
29997
29998
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30000 $as_echo_n "checking for fmodf declaration... " >&6; }
30001 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30002 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30003 $as_echo_n "(cached) " >&6
30004 else
30005
30006
30007 ac_ext=cpp
30008 ac_cpp='$CXXCPP $CPPFLAGS'
30009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30012
30013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30014 /* end confdefs.h. */
30015 #include <math.h>
30016 int
30017 main ()
30018 {
30019 fmodf(0, 0);
30020 ;
30021 return 0;
30022 }
30023 _ACEOF
30024 if ac_fn_cxx_try_compile "$LINENO"; then :
30025 glibcxx_cv_func_fmodf_use=yes
30026 else
30027 glibcxx_cv_func_fmodf_use=no
30028 fi
30029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30030 ac_ext=c
30031 ac_cpp='$CPP $CPPFLAGS'
30032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30035
30036
30037 fi
30038
30039 fi
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30041 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30042
30043 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30044 for ac_func in fmodf
30045 do :
30046 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30047 if test "x$ac_cv_func_fmodf" = x""yes; then :
30048 cat >>confdefs.h <<_ACEOF
30049 #define HAVE_FMODF 1
30050 _ACEOF
30051
30052 fi
30053 done
30054
30055 else
30056
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30058 $as_echo_n "checking for _fmodf declaration... " >&6; }
30059 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30060 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30061 $as_echo_n "(cached) " >&6
30062 else
30063
30064
30065 ac_ext=cpp
30066 ac_cpp='$CXXCPP $CPPFLAGS'
30067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30070
30071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30072 /* end confdefs.h. */
30073 #include <math.h>
30074 int
30075 main ()
30076 {
30077 _fmodf(0, 0);
30078 ;
30079 return 0;
30080 }
30081 _ACEOF
30082 if ac_fn_cxx_try_compile "$LINENO"; then :
30083 glibcxx_cv_func__fmodf_use=yes
30084 else
30085 glibcxx_cv_func__fmodf_use=no
30086 fi
30087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30088 ac_ext=c
30089 ac_cpp='$CPP $CPPFLAGS'
30090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30093
30094
30095 fi
30096
30097 fi
30098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30099 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30100
30101 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30102 for ac_func in _fmodf
30103 do :
30104 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30105 if test "x$ac_cv_func__fmodf" = x""yes; then :
30106 cat >>confdefs.h <<_ACEOF
30107 #define HAVE__FMODF 1
30108 _ACEOF
30109
30110 fi
30111 done
30112
30113 fi
30114 fi
30115
30116
30117
30118
30119
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30121 $as_echo_n "checking for frexpf declaration... " >&6; }
30122 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30123 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30126
30127
30128 ac_ext=cpp
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30133
30134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30135 /* end confdefs.h. */
30136 #include <math.h>
30137 int
30138 main ()
30139 {
30140 frexpf(0, 0);
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 if ac_fn_cxx_try_compile "$LINENO"; then :
30146 glibcxx_cv_func_frexpf_use=yes
30147 else
30148 glibcxx_cv_func_frexpf_use=no
30149 fi
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151 ac_ext=c
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156
30157
30158 fi
30159
30160 fi
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30162 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30163
30164 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30165 for ac_func in frexpf
30166 do :
30167 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30168 if test "x$ac_cv_func_frexpf" = x""yes; then :
30169 cat >>confdefs.h <<_ACEOF
30170 #define HAVE_FREXPF 1
30171 _ACEOF
30172
30173 fi
30174 done
30175
30176 else
30177
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30179 $as_echo_n "checking for _frexpf declaration... " >&6; }
30180 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30181 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30182 $as_echo_n "(cached) " >&6
30183 else
30184
30185
30186 ac_ext=cpp
30187 ac_cpp='$CXXCPP $CPPFLAGS'
30188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30191
30192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30193 /* end confdefs.h. */
30194 #include <math.h>
30195 int
30196 main ()
30197 {
30198 _frexpf(0, 0);
30199 ;
30200 return 0;
30201 }
30202 _ACEOF
30203 if ac_fn_cxx_try_compile "$LINENO"; then :
30204 glibcxx_cv_func__frexpf_use=yes
30205 else
30206 glibcxx_cv_func__frexpf_use=no
30207 fi
30208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30209 ac_ext=c
30210 ac_cpp='$CPP $CPPFLAGS'
30211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214
30215
30216 fi
30217
30218 fi
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30220 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30221
30222 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30223 for ac_func in _frexpf
30224 do :
30225 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30226 if test "x$ac_cv_func__frexpf" = x""yes; then :
30227 cat >>confdefs.h <<_ACEOF
30228 #define HAVE__FREXPF 1
30229 _ACEOF
30230
30231 fi
30232 done
30233
30234 fi
30235 fi
30236
30237
30238
30239
30240
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30242 $as_echo_n "checking for hypotf declaration... " >&6; }
30243 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30244 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30245 $as_echo_n "(cached) " >&6
30246 else
30247
30248
30249 ac_ext=cpp
30250 ac_cpp='$CXXCPP $CPPFLAGS'
30251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30254
30255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30256 /* end confdefs.h. */
30257 #include <math.h>
30258 int
30259 main ()
30260 {
30261 hypotf(0, 0);
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 if ac_fn_cxx_try_compile "$LINENO"; then :
30267 glibcxx_cv_func_hypotf_use=yes
30268 else
30269 glibcxx_cv_func_hypotf_use=no
30270 fi
30271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30272 ac_ext=c
30273 ac_cpp='$CPP $CPPFLAGS'
30274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30277
30278
30279 fi
30280
30281 fi
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30283 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30284
30285 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30286 for ac_func in hypotf
30287 do :
30288 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30289 if test "x$ac_cv_func_hypotf" = x""yes; then :
30290 cat >>confdefs.h <<_ACEOF
30291 #define HAVE_HYPOTF 1
30292 _ACEOF
30293
30294 fi
30295 done
30296
30297 else
30298
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30300 $as_echo_n "checking for _hypotf declaration... " >&6; }
30301 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30302 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30303 $as_echo_n "(cached) " >&6
30304 else
30305
30306
30307 ac_ext=cpp
30308 ac_cpp='$CXXCPP $CPPFLAGS'
30309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30312
30313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30315 #include <math.h>
30316 int
30317 main ()
30318 {
30319 _hypotf(0, 0);
30320 ;
30321 return 0;
30322 }
30323 _ACEOF
30324 if ac_fn_cxx_try_compile "$LINENO"; then :
30325 glibcxx_cv_func__hypotf_use=yes
30326 else
30327 glibcxx_cv_func__hypotf_use=no
30328 fi
30329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30330 ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335
30336
30337 fi
30338
30339 fi
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30341 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30342
30343 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30344 for ac_func in _hypotf
30345 do :
30346 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30347 if test "x$ac_cv_func__hypotf" = x""yes; then :
30348 cat >>confdefs.h <<_ACEOF
30349 #define HAVE__HYPOTF 1
30350 _ACEOF
30351
30352 fi
30353 done
30354
30355 fi
30356 fi
30357
30358
30359
30360
30361
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30363 $as_echo_n "checking for ldexpf declaration... " >&6; }
30364 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30365 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30368
30369
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30375
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30379 int
30380 main ()
30381 {
30382 ldexpf(0, 0);
30383 ;
30384 return 0;
30385 }
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func_ldexpf_use=yes
30389 else
30390 glibcxx_cv_func_ldexpf_use=no
30391 fi
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398
30399
30400 fi
30401
30402 fi
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30404 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30405
30406 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30407 for ac_func in ldexpf
30408 do :
30409 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30410 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE_LDEXPF 1
30413 _ACEOF
30414
30415 fi
30416 done
30417
30418 else
30419
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30421 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30422 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30423 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30426
30427
30428 ac_ext=cpp
30429 ac_cpp='$CXXCPP $CPPFLAGS'
30430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433
30434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30435 /* end confdefs.h. */
30436 #include <math.h>
30437 int
30438 main ()
30439 {
30440 _ldexpf(0, 0);
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446 glibcxx_cv_func__ldexpf_use=yes
30447 else
30448 glibcxx_cv_func__ldexpf_use=no
30449 fi
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451 ac_ext=c
30452 ac_cpp='$CPP $CPPFLAGS'
30453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30456
30457
30458 fi
30459
30460 fi
30461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30462 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30463
30464 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30465 for ac_func in _ldexpf
30466 do :
30467 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30468 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30469 cat >>confdefs.h <<_ACEOF
30470 #define HAVE__LDEXPF 1
30471 _ACEOF
30472
30473 fi
30474 done
30475
30476 fi
30477 fi
30478
30479
30480
30481
30482
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30484 $as_echo_n "checking for logf declaration... " >&6; }
30485 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30486 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30487 $as_echo_n "(cached) " >&6
30488 else
30489
30490
30491 ac_ext=cpp
30492 ac_cpp='$CXXCPP $CPPFLAGS'
30493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496
30497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30498 /* end confdefs.h. */
30499 #include <math.h>
30500 #ifdef HAVE_IEEEFP_H
30501 #include <ieeefp.h>
30502 #endif
30503
30504 int
30505 main ()
30506 {
30507 logf(0);
30508 ;
30509 return 0;
30510 }
30511 _ACEOF
30512 if ac_fn_cxx_try_compile "$LINENO"; then :
30513 glibcxx_cv_func_logf_use=yes
30514 else
30515 glibcxx_cv_func_logf_use=no
30516 fi
30517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30518 ac_ext=c
30519 ac_cpp='$CPP $CPPFLAGS'
30520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30523
30524
30525 fi
30526
30527 fi
30528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30529 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30530
30531 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30532 for ac_func in logf
30533 do :
30534 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30535 if test "x$ac_cv_func_logf" = x""yes; then :
30536 cat >>confdefs.h <<_ACEOF
30537 #define HAVE_LOGF 1
30538 _ACEOF
30539
30540 fi
30541 done
30542
30543 else
30544
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30546 $as_echo_n "checking for _logf declaration... " >&6; }
30547 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30548 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30549 $as_echo_n "(cached) " >&6
30550 else
30551
30552
30553 ac_ext=cpp
30554 ac_cpp='$CXXCPP $CPPFLAGS'
30555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30558
30559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30560 /* end confdefs.h. */
30561 #include <math.h>
30562 #ifdef HAVE_IEEEFP_H
30563 #include <ieeefp.h>
30564 #endif
30565
30566 int
30567 main ()
30568 {
30569 _logf(0);
30570 ;
30571 return 0;
30572 }
30573 _ACEOF
30574 if ac_fn_cxx_try_compile "$LINENO"; then :
30575 glibcxx_cv_func__logf_use=yes
30576 else
30577 glibcxx_cv_func__logf_use=no
30578 fi
30579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30580 ac_ext=c
30581 ac_cpp='$CPP $CPPFLAGS'
30582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585
30586
30587 fi
30588
30589 fi
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30591 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30592
30593 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30594 for ac_func in _logf
30595 do :
30596 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30597 if test "x$ac_cv_func__logf" = x""yes; then :
30598 cat >>confdefs.h <<_ACEOF
30599 #define HAVE__LOGF 1
30600 _ACEOF
30601
30602 fi
30603 done
30604
30605 fi
30606 fi
30607
30608
30609
30610
30611
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30613 $as_echo_n "checking for log10f declaration... " >&6; }
30614 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30615 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30616 $as_echo_n "(cached) " >&6
30617 else
30618
30619
30620 ac_ext=cpp
30621 ac_cpp='$CXXCPP $CPPFLAGS'
30622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625
30626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30627 /* end confdefs.h. */
30628 #include <math.h>
30629 #ifdef HAVE_IEEEFP_H
30630 #include <ieeefp.h>
30631 #endif
30632
30633 int
30634 main ()
30635 {
30636 log10f(0);
30637 ;
30638 return 0;
30639 }
30640 _ACEOF
30641 if ac_fn_cxx_try_compile "$LINENO"; then :
30642 glibcxx_cv_func_log10f_use=yes
30643 else
30644 glibcxx_cv_func_log10f_use=no
30645 fi
30646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30647 ac_ext=c
30648 ac_cpp='$CPP $CPPFLAGS'
30649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652
30653
30654 fi
30655
30656 fi
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30658 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30659
30660 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30661 for ac_func in log10f
30662 do :
30663 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30664 if test "x$ac_cv_func_log10f" = x""yes; then :
30665 cat >>confdefs.h <<_ACEOF
30666 #define HAVE_LOG10F 1
30667 _ACEOF
30668
30669 fi
30670 done
30671
30672 else
30673
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30675 $as_echo_n "checking for _log10f declaration... " >&6; }
30676 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30677 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30678 $as_echo_n "(cached) " >&6
30679 else
30680
30681
30682 ac_ext=cpp
30683 ac_cpp='$CXXCPP $CPPFLAGS'
30684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30687
30688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689 /* end confdefs.h. */
30690 #include <math.h>
30691 #ifdef HAVE_IEEEFP_H
30692 #include <ieeefp.h>
30693 #endif
30694
30695 int
30696 main ()
30697 {
30698 _log10f(0);
30699 ;
30700 return 0;
30701 }
30702 _ACEOF
30703 if ac_fn_cxx_try_compile "$LINENO"; then :
30704 glibcxx_cv_func__log10f_use=yes
30705 else
30706 glibcxx_cv_func__log10f_use=no
30707 fi
30708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30709 ac_ext=c
30710 ac_cpp='$CPP $CPPFLAGS'
30711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714
30715
30716 fi
30717
30718 fi
30719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30720 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30721
30722 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30723 for ac_func in _log10f
30724 do :
30725 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30726 if test "x$ac_cv_func__log10f" = x""yes; then :
30727 cat >>confdefs.h <<_ACEOF
30728 #define HAVE__LOG10F 1
30729 _ACEOF
30730
30731 fi
30732 done
30733
30734 fi
30735 fi
30736
30737
30738
30739
30740
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30742 $as_echo_n "checking for modff declaration... " >&6; }
30743 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30744 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30745 $as_echo_n "(cached) " >&6
30746 else
30747
30748
30749 ac_ext=cpp
30750 ac_cpp='$CXXCPP $CPPFLAGS'
30751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30754
30755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30756 /* end confdefs.h. */
30757 #include <math.h>
30758 int
30759 main ()
30760 {
30761 modff(0, 0);
30762 ;
30763 return 0;
30764 }
30765 _ACEOF
30766 if ac_fn_cxx_try_compile "$LINENO"; then :
30767 glibcxx_cv_func_modff_use=yes
30768 else
30769 glibcxx_cv_func_modff_use=no
30770 fi
30771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777
30778
30779 fi
30780
30781 fi
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30783 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30784
30785 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30786 for ac_func in modff
30787 do :
30788 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30789 if test "x$ac_cv_func_modff" = x""yes; then :
30790 cat >>confdefs.h <<_ACEOF
30791 #define HAVE_MODFF 1
30792 _ACEOF
30793
30794 fi
30795 done
30796
30797 else
30798
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30800 $as_echo_n "checking for _modff declaration... " >&6; }
30801 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30802 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30803 $as_echo_n "(cached) " >&6
30804 else
30805
30806
30807 ac_ext=cpp
30808 ac_cpp='$CXXCPP $CPPFLAGS'
30809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812
30813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30815 #include <math.h>
30816 int
30817 main ()
30818 {
30819 _modff(0, 0);
30820 ;
30821 return 0;
30822 }
30823 _ACEOF
30824 if ac_fn_cxx_try_compile "$LINENO"; then :
30825 glibcxx_cv_func__modff_use=yes
30826 else
30827 glibcxx_cv_func__modff_use=no
30828 fi
30829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30830 ac_ext=c
30831 ac_cpp='$CPP $CPPFLAGS'
30832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30835
30836
30837 fi
30838
30839 fi
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30841 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30842
30843 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30844 for ac_func in _modff
30845 do :
30846 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30847 if test "x$ac_cv_func__modff" = x""yes; then :
30848 cat >>confdefs.h <<_ACEOF
30849 #define HAVE__MODFF 1
30850 _ACEOF
30851
30852 fi
30853 done
30854
30855 fi
30856 fi
30857
30858
30859
30860
30861
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30863 $as_echo_n "checking for modf declaration... " >&6; }
30864 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30865 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30866 $as_echo_n "(cached) " >&6
30867 else
30868
30869
30870 ac_ext=cpp
30871 ac_cpp='$CXXCPP $CPPFLAGS'
30872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30875
30876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30877 /* end confdefs.h. */
30878 #include <math.h>
30879 int
30880 main ()
30881 {
30882 modf(0, 0);
30883 ;
30884 return 0;
30885 }
30886 _ACEOF
30887 if ac_fn_cxx_try_compile "$LINENO"; then :
30888 glibcxx_cv_func_modf_use=yes
30889 else
30890 glibcxx_cv_func_modf_use=no
30891 fi
30892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30893 ac_ext=c
30894 ac_cpp='$CPP $CPPFLAGS'
30895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30898
30899
30900 fi
30901
30902 fi
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30904 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30905
30906 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30907 for ac_func in modf
30908 do :
30909 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30910 if test "x$ac_cv_func_modf" = x""yes; then :
30911 cat >>confdefs.h <<_ACEOF
30912 #define HAVE_MODF 1
30913 _ACEOF
30914
30915 fi
30916 done
30917
30918 else
30919
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30921 $as_echo_n "checking for _modf declaration... " >&6; }
30922 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30923 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30924 $as_echo_n "(cached) " >&6
30925 else
30926
30927
30928 ac_ext=cpp
30929 ac_cpp='$CXXCPP $CPPFLAGS'
30930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933
30934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30935 /* end confdefs.h. */
30936 #include <math.h>
30937 int
30938 main ()
30939 {
30940 _modf(0, 0);
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 if ac_fn_cxx_try_compile "$LINENO"; then :
30946 glibcxx_cv_func__modf_use=yes
30947 else
30948 glibcxx_cv_func__modf_use=no
30949 fi
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_ext=c
30952 ac_cpp='$CPP $CPPFLAGS'
30953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30956
30957
30958 fi
30959
30960 fi
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30962 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30963
30964 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30965 for ac_func in _modf
30966 do :
30967 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30968 if test "x$ac_cv_func__modf" = x""yes; then :
30969 cat >>confdefs.h <<_ACEOF
30970 #define HAVE__MODF 1
30971 _ACEOF
30972
30973 fi
30974 done
30975
30976 fi
30977 fi
30978
30979
30980
30981
30982
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30984 $as_echo_n "checking for powf declaration... " >&6; }
30985 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30986 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30987 $as_echo_n "(cached) " >&6
30988 else
30989
30990
30991 ac_ext=cpp
30992 ac_cpp='$CXXCPP $CPPFLAGS'
30993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30996
30997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30998 /* end confdefs.h. */
30999 #include <math.h>
31000 int
31001 main ()
31002 {
31003 powf(0, 0);
31004 ;
31005 return 0;
31006 }
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func_powf_use=yes
31010 else
31011 glibcxx_cv_func_powf_use=no
31012 fi
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019
31020
31021 fi
31022
31023 fi
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31025 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31026
31027 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31028 for ac_func in powf
31029 do :
31030 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31031 if test "x$ac_cv_func_powf" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE_POWF 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039 else
31040
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31042 $as_echo_n "checking for _powf declaration... " >&6; }
31043 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31044 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31045 $as_echo_n "(cached) " >&6
31046 else
31047
31048
31049 ac_ext=cpp
31050 ac_cpp='$CXXCPP $CPPFLAGS'
31051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054
31055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31056 /* end confdefs.h. */
31057 #include <math.h>
31058 int
31059 main ()
31060 {
31061 _powf(0, 0);
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067 glibcxx_cv_func__powf_use=yes
31068 else
31069 glibcxx_cv_func__powf_use=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077
31078
31079 fi
31080
31081 fi
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31083 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31084
31085 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31086 for ac_func in _powf
31087 do :
31088 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31089 if test "x$ac_cv_func__powf" = x""yes; then :
31090 cat >>confdefs.h <<_ACEOF
31091 #define HAVE__POWF 1
31092 _ACEOF
31093
31094 fi
31095 done
31096
31097 fi
31098 fi
31099
31100
31101
31102
31103
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31105 $as_echo_n "checking for sqrtf declaration... " >&6; }
31106 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31107 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31110
31111
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31121 #ifdef HAVE_IEEEFP_H
31122 #include <ieeefp.h>
31123 #endif
31124
31125 int
31126 main ()
31127 {
31128 sqrtf(0);
31129 ;
31130 return 0;
31131 }
31132 _ACEOF
31133 if ac_fn_cxx_try_compile "$LINENO"; then :
31134 glibcxx_cv_func_sqrtf_use=yes
31135 else
31136 glibcxx_cv_func_sqrtf_use=no
31137 fi
31138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144
31145
31146 fi
31147
31148 fi
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31150 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31151
31152 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31153 for ac_func in sqrtf
31154 do :
31155 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31156 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31157 cat >>confdefs.h <<_ACEOF
31158 #define HAVE_SQRTF 1
31159 _ACEOF
31160
31161 fi
31162 done
31163
31164 else
31165
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31167 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31168 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31169 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31172
31173
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31183 #ifdef HAVE_IEEEFP_H
31184 #include <ieeefp.h>
31185 #endif
31186
31187 int
31188 main ()
31189 {
31190 _sqrtf(0);
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 if ac_fn_cxx_try_compile "$LINENO"; then :
31196 glibcxx_cv_func__sqrtf_use=yes
31197 else
31198 glibcxx_cv_func__sqrtf_use=no
31199 fi
31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201 ac_ext=c
31202 ac_cpp='$CPP $CPPFLAGS'
31203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206
31207
31208 fi
31209
31210 fi
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31212 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31213
31214 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31215 for ac_func in _sqrtf
31216 do :
31217 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31218 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31219 cat >>confdefs.h <<_ACEOF
31220 #define HAVE__SQRTF 1
31221 _ACEOF
31222
31223 fi
31224 done
31225
31226 fi
31227 fi
31228
31229
31230
31231
31232
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31234 $as_echo_n "checking for sincosf declaration... " >&6; }
31235 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31236 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31237 $as_echo_n "(cached) " >&6
31238 else
31239
31240
31241 ac_ext=cpp
31242 ac_cpp='$CXXCPP $CPPFLAGS'
31243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31246
31247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31248 /* end confdefs.h. */
31249 #include <math.h>
31250 int
31251 main ()
31252 {
31253 sincosf(0, 0, 0);
31254 ;
31255 return 0;
31256 }
31257 _ACEOF
31258 if ac_fn_cxx_try_compile "$LINENO"; then :
31259 glibcxx_cv_func_sincosf_use=yes
31260 else
31261 glibcxx_cv_func_sincosf_use=no
31262 fi
31263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31264 ac_ext=c
31265 ac_cpp='$CPP $CPPFLAGS'
31266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31269
31270
31271 fi
31272
31273 fi
31274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31275 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31276
31277 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31278 for ac_func in sincosf
31279 do :
31280 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31281 if test "x$ac_cv_func_sincosf" = x""yes; then :
31282 cat >>confdefs.h <<_ACEOF
31283 #define HAVE_SINCOSF 1
31284 _ACEOF
31285
31286 fi
31287 done
31288
31289 else
31290
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31292 $as_echo_n "checking for _sincosf declaration... " >&6; }
31293 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31294 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31295 $as_echo_n "(cached) " >&6
31296 else
31297
31298
31299 ac_ext=cpp
31300 ac_cpp='$CXXCPP $CPPFLAGS'
31301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31304
31305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31306 /* end confdefs.h. */
31307 #include <math.h>
31308 int
31309 main ()
31310 {
31311 _sincosf(0, 0, 0);
31312 ;
31313 return 0;
31314 }
31315 _ACEOF
31316 if ac_fn_cxx_try_compile "$LINENO"; then :
31317 glibcxx_cv_func__sincosf_use=yes
31318 else
31319 glibcxx_cv_func__sincosf_use=no
31320 fi
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31322 ac_ext=c
31323 ac_cpp='$CPP $CPPFLAGS'
31324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327
31328
31329 fi
31330
31331 fi
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31333 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31334
31335 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31336 for ac_func in _sincosf
31337 do :
31338 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31339 if test "x$ac_cv_func__sincosf" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define HAVE__SINCOSF 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347 fi
31348 fi
31349
31350
31351
31352
31353
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31355 $as_echo_n "checking for finitef declaration... " >&6; }
31356 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31357 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31358 $as_echo_n "(cached) " >&6
31359 else
31360
31361
31362 ac_ext=cpp
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367
31368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h. */
31370 #include <math.h>
31371 #ifdef HAVE_IEEEFP_H
31372 #include <ieeefp.h>
31373 #endif
31374
31375 int
31376 main ()
31377 {
31378 finitef(0);
31379 ;
31380 return 0;
31381 }
31382 _ACEOF
31383 if ac_fn_cxx_try_compile "$LINENO"; then :
31384 glibcxx_cv_func_finitef_use=yes
31385 else
31386 glibcxx_cv_func_finitef_use=no
31387 fi
31388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ac_ext=c
31390 ac_cpp='$CPP $CPPFLAGS'
31391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394
31395
31396 fi
31397
31398 fi
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31400 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31401
31402 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31403 for ac_func in finitef
31404 do :
31405 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31406 if test "x$ac_cv_func_finitef" = x""yes; then :
31407 cat >>confdefs.h <<_ACEOF
31408 #define HAVE_FINITEF 1
31409 _ACEOF
31410
31411 fi
31412 done
31413
31414 else
31415
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31417 $as_echo_n "checking for _finitef declaration... " >&6; }
31418 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31419 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31422
31423
31424 ac_ext=cpp
31425 ac_cpp='$CXXCPP $CPPFLAGS'
31426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31429
31430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h. */
31432 #include <math.h>
31433 #ifdef HAVE_IEEEFP_H
31434 #include <ieeefp.h>
31435 #endif
31436
31437 int
31438 main ()
31439 {
31440 _finitef(0);
31441 ;
31442 return 0;
31443 }
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446 glibcxx_cv_func__finitef_use=yes
31447 else
31448 glibcxx_cv_func__finitef_use=no
31449 fi
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456
31457
31458 fi
31459
31460 fi
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31462 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31463
31464 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31465 for ac_func in _finitef
31466 do :
31467 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31468 if test "x$ac_cv_func__finitef" = x""yes; then :
31469 cat >>confdefs.h <<_ACEOF
31470 #define HAVE__FINITEF 1
31471 _ACEOF
31472
31473 fi
31474 done
31475
31476 fi
31477 fi
31478
31479
31480
31481
31482
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31484 $as_echo_n "checking for long double trig functions... " >&6; }
31485 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31486 $as_echo_n "(cached) " >&6
31487 else
31488
31489
31490 ac_ext=cpp
31491 ac_cpp='$CXXCPP $CPPFLAGS'
31492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31495
31496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31497 /* end confdefs.h. */
31498 #include <math.h>
31499 int
31500 main ()
31501 {
31502 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func_long_double_trig_use=yes
31509 else
31510 glibcxx_cv_func_long_double_trig_use=no
31511 fi
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518
31519 fi
31520
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31522 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31523 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31524 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31525 do :
31526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31528 eval as_val=\$$as_ac_var
31529 if test "x$as_val" = x""yes; then :
31530 cat >>confdefs.h <<_ACEOF
31531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31532 _ACEOF
31533
31534 fi
31535 done
31536
31537 else
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31539 $as_echo_n "checking for _long double trig functions... " >&6; }
31540 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31541 $as_echo_n "(cached) " >&6
31542 else
31543
31544
31545 ac_ext=cpp
31546 ac_cpp='$CXXCPP $CPPFLAGS'
31547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31550
31551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h. */
31553 #include <math.h>
31554 int
31555 main ()
31556 {
31557 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31558 ;
31559 return 0;
31560 }
31561 _ACEOF
31562 if ac_fn_cxx_try_compile "$LINENO"; then :
31563 glibcxx_cv_func__long_double_trig_use=yes
31564 else
31565 glibcxx_cv_func__long_double_trig_use=no
31566 fi
31567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31568 ac_ext=c
31569 ac_cpp='$CPP $CPPFLAGS'
31570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573
31574 fi
31575
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31577 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31578 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31579 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31580 do :
31581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31583 eval as_val=\$$as_ac_var
31584 if test "x$as_val" = x""yes; then :
31585 cat >>confdefs.h <<_ACEOF
31586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31587 _ACEOF
31588
31589 fi
31590 done
31591
31592 fi
31593 fi
31594
31595
31596
31597
31598
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31600 $as_echo_n "checking for long double round functions... " >&6; }
31601 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31604
31605
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31611
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31615 int
31616 main ()
31617 {
31618 ceill (0); floorl (0);
31619 ;
31620 return 0;
31621 }
31622 _ACEOF
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func_long_double_round_use=yes
31625 else
31626 glibcxx_cv_func_long_double_round_use=no
31627 fi
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31629 ac_ext=c
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31634
31635 fi
31636
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31638 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31639 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31640 for ac_func in ceill floorl
31641 do :
31642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31644 eval as_val=\$$as_ac_var
31645 if test "x$as_val" = x""yes; then :
31646 cat >>confdefs.h <<_ACEOF
31647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31648 _ACEOF
31649
31650 fi
31651 done
31652
31653 else
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31655 $as_echo_n "checking for _long double round functions... " >&6; }
31656 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31657 $as_echo_n "(cached) " >&6
31658 else
31659
31660
31661 ac_ext=cpp
31662 ac_cpp='$CXXCPP $CPPFLAGS'
31663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31666
31667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31668 /* end confdefs.h. */
31669 #include <math.h>
31670 int
31671 main ()
31672 {
31673 _ceill (0); _floorl (0);
31674 ;
31675 return 0;
31676 }
31677 _ACEOF
31678 if ac_fn_cxx_try_compile "$LINENO"; then :
31679 glibcxx_cv_func__long_double_round_use=yes
31680 else
31681 glibcxx_cv_func__long_double_round_use=no
31682 fi
31683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31684 ac_ext=c
31685 ac_cpp='$CPP $CPPFLAGS'
31686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31689
31690 fi
31691
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31693 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31694 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31695 for ac_func in _ceill _floorl
31696 do :
31697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31699 eval as_val=\$$as_ac_var
31700 if test "x$as_val" = x""yes; then :
31701 cat >>confdefs.h <<_ACEOF
31702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31703 _ACEOF
31704
31705 fi
31706 done
31707
31708 fi
31709 fi
31710
31711
31712
31713
31714
31715
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31717 $as_echo_n "checking for isnanl declaration... " >&6; }
31718 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31719 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31720 $as_echo_n "(cached) " >&6
31721 else
31722
31723
31724 ac_ext=cpp
31725 ac_cpp='$CXXCPP $CPPFLAGS'
31726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729
31730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31731 /* end confdefs.h. */
31732 #include <math.h>
31733 #ifdef HAVE_IEEEFP_H
31734 #include <ieeefp.h>
31735 #endif
31736
31737 int
31738 main ()
31739 {
31740 isnanl(0);
31741 ;
31742 return 0;
31743 }
31744 _ACEOF
31745 if ac_fn_cxx_try_compile "$LINENO"; then :
31746 glibcxx_cv_func_isnanl_use=yes
31747 else
31748 glibcxx_cv_func_isnanl_use=no
31749 fi
31750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31751 ac_ext=c
31752 ac_cpp='$CPP $CPPFLAGS'
31753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31756
31757
31758 fi
31759
31760 fi
31761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31762 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31763
31764 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31765 for ac_func in isnanl
31766 do :
31767 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31768 if test "x$ac_cv_func_isnanl" = x""yes; then :
31769 cat >>confdefs.h <<_ACEOF
31770 #define HAVE_ISNANL 1
31771 _ACEOF
31772
31773 fi
31774 done
31775
31776 else
31777
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31779 $as_echo_n "checking for _isnanl declaration... " >&6; }
31780 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31781 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31782 $as_echo_n "(cached) " >&6
31783 else
31784
31785
31786 ac_ext=cpp
31787 ac_cpp='$CXXCPP $CPPFLAGS'
31788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31791
31792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31793 /* end confdefs.h. */
31794 #include <math.h>
31795 #ifdef HAVE_IEEEFP_H
31796 #include <ieeefp.h>
31797 #endif
31798
31799 int
31800 main ()
31801 {
31802 _isnanl(0);
31803 ;
31804 return 0;
31805 }
31806 _ACEOF
31807 if ac_fn_cxx_try_compile "$LINENO"; then :
31808 glibcxx_cv_func__isnanl_use=yes
31809 else
31810 glibcxx_cv_func__isnanl_use=no
31811 fi
31812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31813 ac_ext=c
31814 ac_cpp='$CPP $CPPFLAGS'
31815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31818
31819
31820 fi
31821
31822 fi
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31824 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31825
31826 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31827 for ac_func in _isnanl
31828 do :
31829 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31830 if test "x$ac_cv_func__isnanl" = x""yes; then :
31831 cat >>confdefs.h <<_ACEOF
31832 #define HAVE__ISNANL 1
31833 _ACEOF
31834
31835 fi
31836 done
31837
31838 fi
31839 fi
31840
31841
31842
31843
31844
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31846 $as_echo_n "checking for isinfl declaration... " >&6; }
31847 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31848 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31849 $as_echo_n "(cached) " >&6
31850 else
31851
31852
31853 ac_ext=cpp
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858
31859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860 /* end confdefs.h. */
31861 #include <math.h>
31862 #ifdef HAVE_IEEEFP_H
31863 #include <ieeefp.h>
31864 #endif
31865
31866 int
31867 main ()
31868 {
31869 isinfl(0);
31870 ;
31871 return 0;
31872 }
31873 _ACEOF
31874 if ac_fn_cxx_try_compile "$LINENO"; then :
31875 glibcxx_cv_func_isinfl_use=yes
31876 else
31877 glibcxx_cv_func_isinfl_use=no
31878 fi
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880 ac_ext=c
31881 ac_cpp='$CPP $CPPFLAGS'
31882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885
31886
31887 fi
31888
31889 fi
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31891 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31892
31893 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31894 for ac_func in isinfl
31895 do :
31896 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31897 if test "x$ac_cv_func_isinfl" = x""yes; then :
31898 cat >>confdefs.h <<_ACEOF
31899 #define HAVE_ISINFL 1
31900 _ACEOF
31901
31902 fi
31903 done
31904
31905 else
31906
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31908 $as_echo_n "checking for _isinfl declaration... " >&6; }
31909 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31910 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31913
31914
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31924 #ifdef HAVE_IEEEFP_H
31925 #include <ieeefp.h>
31926 #endif
31927
31928 int
31929 main ()
31930 {
31931 _isinfl(0);
31932 ;
31933 return 0;
31934 }
31935 _ACEOF
31936 if ac_fn_cxx_try_compile "$LINENO"; then :
31937 glibcxx_cv_func__isinfl_use=yes
31938 else
31939 glibcxx_cv_func__isinfl_use=no
31940 fi
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942 ac_ext=c
31943 ac_cpp='$CPP $CPPFLAGS'
31944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31947
31948
31949 fi
31950
31951 fi
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31953 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31954
31955 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31956 for ac_func in _isinfl
31957 do :
31958 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31959 if test "x$ac_cv_func__isinfl" = x""yes; then :
31960 cat >>confdefs.h <<_ACEOF
31961 #define HAVE__ISINFL 1
31962 _ACEOF
31963
31964 fi
31965 done
31966
31967 fi
31968 fi
31969
31970
31971
31972
31973
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31975 $as_echo_n "checking for atan2l declaration... " >&6; }
31976 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31977 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31978 $as_echo_n "(cached) " >&6
31979 else
31980
31981
31982 ac_ext=cpp
31983 ac_cpp='$CXXCPP $CPPFLAGS'
31984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31987
31988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31989 /* end confdefs.h. */
31990 #include <math.h>
31991 int
31992 main ()
31993 {
31994 atan2l(0, 0);
31995 ;
31996 return 0;
31997 }
31998 _ACEOF
31999 if ac_fn_cxx_try_compile "$LINENO"; then :
32000 glibcxx_cv_func_atan2l_use=yes
32001 else
32002 glibcxx_cv_func_atan2l_use=no
32003 fi
32004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32005 ac_ext=c
32006 ac_cpp='$CPP $CPPFLAGS'
32007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010
32011
32012 fi
32013
32014 fi
32015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32016 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32017
32018 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32019 for ac_func in atan2l
32020 do :
32021 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32022 if test "x$ac_cv_func_atan2l" = x""yes; then :
32023 cat >>confdefs.h <<_ACEOF
32024 #define HAVE_ATAN2L 1
32025 _ACEOF
32026
32027 fi
32028 done
32029
32030 else
32031
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32033 $as_echo_n "checking for _atan2l declaration... " >&6; }
32034 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32035 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32036 $as_echo_n "(cached) " >&6
32037 else
32038
32039
32040 ac_ext=cpp
32041 ac_cpp='$CXXCPP $CPPFLAGS'
32042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32045
32046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32047 /* end confdefs.h. */
32048 #include <math.h>
32049 int
32050 main ()
32051 {
32052 _atan2l(0, 0);
32053 ;
32054 return 0;
32055 }
32056 _ACEOF
32057 if ac_fn_cxx_try_compile "$LINENO"; then :
32058 glibcxx_cv_func__atan2l_use=yes
32059 else
32060 glibcxx_cv_func__atan2l_use=no
32061 fi
32062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32063 ac_ext=c
32064 ac_cpp='$CPP $CPPFLAGS'
32065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32068
32069
32070 fi
32071
32072 fi
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32074 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32075
32076 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32077 for ac_func in _atan2l
32078 do :
32079 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32080 if test "x$ac_cv_func__atan2l" = x""yes; then :
32081 cat >>confdefs.h <<_ACEOF
32082 #define HAVE__ATAN2L 1
32083 _ACEOF
32084
32085 fi
32086 done
32087
32088 fi
32089 fi
32090
32091
32092
32093
32094
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32096 $as_echo_n "checking for expl declaration... " >&6; }
32097 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32098 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32099 $as_echo_n "(cached) " >&6
32100 else
32101
32102
32103 ac_ext=cpp
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108
32109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32110 /* end confdefs.h. */
32111 #include <math.h>
32112 #ifdef HAVE_IEEEFP_H
32113 #include <ieeefp.h>
32114 #endif
32115
32116 int
32117 main ()
32118 {
32119 expl(0);
32120 ;
32121 return 0;
32122 }
32123 _ACEOF
32124 if ac_fn_cxx_try_compile "$LINENO"; then :
32125 glibcxx_cv_func_expl_use=yes
32126 else
32127 glibcxx_cv_func_expl_use=no
32128 fi
32129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32130 ac_ext=c
32131 ac_cpp='$CPP $CPPFLAGS'
32132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32135
32136
32137 fi
32138
32139 fi
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32141 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32142
32143 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32144 for ac_func in expl
32145 do :
32146 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32147 if test "x$ac_cv_func_expl" = x""yes; then :
32148 cat >>confdefs.h <<_ACEOF
32149 #define HAVE_EXPL 1
32150 _ACEOF
32151
32152 fi
32153 done
32154
32155 else
32156
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32158 $as_echo_n "checking for _expl declaration... " >&6; }
32159 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32160 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32161 $as_echo_n "(cached) " >&6
32162 else
32163
32164
32165 ac_ext=cpp
32166 ac_cpp='$CXXCPP $CPPFLAGS'
32167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32170
32171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32172 /* end confdefs.h. */
32173 #include <math.h>
32174 #ifdef HAVE_IEEEFP_H
32175 #include <ieeefp.h>
32176 #endif
32177
32178 int
32179 main ()
32180 {
32181 _expl(0);
32182 ;
32183 return 0;
32184 }
32185 _ACEOF
32186 if ac_fn_cxx_try_compile "$LINENO"; then :
32187 glibcxx_cv_func__expl_use=yes
32188 else
32189 glibcxx_cv_func__expl_use=no
32190 fi
32191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 ac_ext=c
32193 ac_cpp='$CPP $CPPFLAGS'
32194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32197
32198
32199 fi
32200
32201 fi
32202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32203 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32204
32205 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32206 for ac_func in _expl
32207 do :
32208 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32209 if test "x$ac_cv_func__expl" = x""yes; then :
32210 cat >>confdefs.h <<_ACEOF
32211 #define HAVE__EXPL 1
32212 _ACEOF
32213
32214 fi
32215 done
32216
32217 fi
32218 fi
32219
32220
32221
32222
32223
32224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32225 $as_echo_n "checking for fabsl declaration... " >&6; }
32226 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32227 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32228 $as_echo_n "(cached) " >&6
32229 else
32230
32231
32232 ac_ext=cpp
32233 ac_cpp='$CXXCPP $CPPFLAGS'
32234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32237
32238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32239 /* end confdefs.h. */
32240 #include <math.h>
32241 #ifdef HAVE_IEEEFP_H
32242 #include <ieeefp.h>
32243 #endif
32244
32245 int
32246 main ()
32247 {
32248 fabsl(0);
32249 ;
32250 return 0;
32251 }
32252 _ACEOF
32253 if ac_fn_cxx_try_compile "$LINENO"; then :
32254 glibcxx_cv_func_fabsl_use=yes
32255 else
32256 glibcxx_cv_func_fabsl_use=no
32257 fi
32258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259 ac_ext=c
32260 ac_cpp='$CPP $CPPFLAGS'
32261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264
32265
32266 fi
32267
32268 fi
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32270 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32271
32272 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32273 for ac_func in fabsl
32274 do :
32275 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32276 if test "x$ac_cv_func_fabsl" = x""yes; then :
32277 cat >>confdefs.h <<_ACEOF
32278 #define HAVE_FABSL 1
32279 _ACEOF
32280
32281 fi
32282 done
32283
32284 else
32285
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32287 $as_echo_n "checking for _fabsl declaration... " >&6; }
32288 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32289 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32290 $as_echo_n "(cached) " >&6
32291 else
32292
32293
32294 ac_ext=cpp
32295 ac_cpp='$CXXCPP $CPPFLAGS'
32296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32299
32300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32301 /* end confdefs.h. */
32302 #include <math.h>
32303 #ifdef HAVE_IEEEFP_H
32304 #include <ieeefp.h>
32305 #endif
32306
32307 int
32308 main ()
32309 {
32310 _fabsl(0);
32311 ;
32312 return 0;
32313 }
32314 _ACEOF
32315 if ac_fn_cxx_try_compile "$LINENO"; then :
32316 glibcxx_cv_func__fabsl_use=yes
32317 else
32318 glibcxx_cv_func__fabsl_use=no
32319 fi
32320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32321 ac_ext=c
32322 ac_cpp='$CPP $CPPFLAGS'
32323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32326
32327
32328 fi
32329
32330 fi
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32332 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32333
32334 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32335 for ac_func in _fabsl
32336 do :
32337 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32338 if test "x$ac_cv_func__fabsl" = x""yes; then :
32339 cat >>confdefs.h <<_ACEOF
32340 #define HAVE__FABSL 1
32341 _ACEOF
32342
32343 fi
32344 done
32345
32346 fi
32347 fi
32348
32349
32350
32351
32352
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32354 $as_echo_n "checking for fmodl declaration... " >&6; }
32355 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32356 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32357 $as_echo_n "(cached) " >&6
32358 else
32359
32360
32361 ac_ext=cpp
32362 ac_cpp='$CXXCPP $CPPFLAGS'
32363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32366
32367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32368 /* end confdefs.h. */
32369 #include <math.h>
32370 int
32371 main ()
32372 {
32373 fmodl(0, 0);
32374 ;
32375 return 0;
32376 }
32377 _ACEOF
32378 if ac_fn_cxx_try_compile "$LINENO"; then :
32379 glibcxx_cv_func_fmodl_use=yes
32380 else
32381 glibcxx_cv_func_fmodl_use=no
32382 fi
32383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 ac_ext=c
32385 ac_cpp='$CPP $CPPFLAGS'
32386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32389
32390
32391 fi
32392
32393 fi
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32395 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32396
32397 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32398 for ac_func in fmodl
32399 do :
32400 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32401 if test "x$ac_cv_func_fmodl" = x""yes; then :
32402 cat >>confdefs.h <<_ACEOF
32403 #define HAVE_FMODL 1
32404 _ACEOF
32405
32406 fi
32407 done
32408
32409 else
32410
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32412 $as_echo_n "checking for _fmodl declaration... " >&6; }
32413 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32414 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32415 $as_echo_n "(cached) " >&6
32416 else
32417
32418
32419 ac_ext=cpp
32420 ac_cpp='$CXXCPP $CPPFLAGS'
32421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32424
32425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32426 /* end confdefs.h. */
32427 #include <math.h>
32428 int
32429 main ()
32430 {
32431 _fmodl(0, 0);
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 if ac_fn_cxx_try_compile "$LINENO"; then :
32437 glibcxx_cv_func__fmodl_use=yes
32438 else
32439 glibcxx_cv_func__fmodl_use=no
32440 fi
32441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32442 ac_ext=c
32443 ac_cpp='$CPP $CPPFLAGS'
32444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32447
32448
32449 fi
32450
32451 fi
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32453 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32454
32455 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32456 for ac_func in _fmodl
32457 do :
32458 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32459 if test "x$ac_cv_func__fmodl" = x""yes; then :
32460 cat >>confdefs.h <<_ACEOF
32461 #define HAVE__FMODL 1
32462 _ACEOF
32463
32464 fi
32465 done
32466
32467 fi
32468 fi
32469
32470
32471
32472
32473
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32475 $as_echo_n "checking for frexpl declaration... " >&6; }
32476 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32477 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32478 $as_echo_n "(cached) " >&6
32479 else
32480
32481
32482 ac_ext=cpp
32483 ac_cpp='$CXXCPP $CPPFLAGS'
32484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32487
32488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32489 /* end confdefs.h. */
32490 #include <math.h>
32491 int
32492 main ()
32493 {
32494 frexpl(0, 0);
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 if ac_fn_cxx_try_compile "$LINENO"; then :
32500 glibcxx_cv_func_frexpl_use=yes
32501 else
32502 glibcxx_cv_func_frexpl_use=no
32503 fi
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505 ac_ext=c
32506 ac_cpp='$CPP $CPPFLAGS'
32507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32510
32511
32512 fi
32513
32514 fi
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32516 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32517
32518 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32519 for ac_func in frexpl
32520 do :
32521 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32522 if test "x$ac_cv_func_frexpl" = x""yes; then :
32523 cat >>confdefs.h <<_ACEOF
32524 #define HAVE_FREXPL 1
32525 _ACEOF
32526
32527 fi
32528 done
32529
32530 else
32531
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32533 $as_echo_n "checking for _frexpl declaration... " >&6; }
32534 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32535 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32536 $as_echo_n "(cached) " >&6
32537 else
32538
32539
32540 ac_ext=cpp
32541 ac_cpp='$CXXCPP $CPPFLAGS'
32542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32545
32546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547 /* end confdefs.h. */
32548 #include <math.h>
32549 int
32550 main ()
32551 {
32552 _frexpl(0, 0);
32553 ;
32554 return 0;
32555 }
32556 _ACEOF
32557 if ac_fn_cxx_try_compile "$LINENO"; then :
32558 glibcxx_cv_func__frexpl_use=yes
32559 else
32560 glibcxx_cv_func__frexpl_use=no
32561 fi
32562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32563 ac_ext=c
32564 ac_cpp='$CPP $CPPFLAGS'
32565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568
32569
32570 fi
32571
32572 fi
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32574 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32575
32576 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32577 for ac_func in _frexpl
32578 do :
32579 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32580 if test "x$ac_cv_func__frexpl" = x""yes; then :
32581 cat >>confdefs.h <<_ACEOF
32582 #define HAVE__FREXPL 1
32583 _ACEOF
32584
32585 fi
32586 done
32587
32588 fi
32589 fi
32590
32591
32592
32593
32594
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32596 $as_echo_n "checking for hypotl declaration... " >&6; }
32597 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32598 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32599 $as_echo_n "(cached) " >&6
32600 else
32601
32602
32603 ac_ext=cpp
32604 ac_cpp='$CXXCPP $CPPFLAGS'
32605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608
32609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32611 #include <math.h>
32612 int
32613 main ()
32614 {
32615 hypotl(0, 0);
32616 ;
32617 return 0;
32618 }
32619 _ACEOF
32620 if ac_fn_cxx_try_compile "$LINENO"; then :
32621 glibcxx_cv_func_hypotl_use=yes
32622 else
32623 glibcxx_cv_func_hypotl_use=no
32624 fi
32625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32626 ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631
32632
32633 fi
32634
32635 fi
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32637 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32638
32639 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32640 for ac_func in hypotl
32641 do :
32642 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32643 if test "x$ac_cv_func_hypotl" = x""yes; then :
32644 cat >>confdefs.h <<_ACEOF
32645 #define HAVE_HYPOTL 1
32646 _ACEOF
32647
32648 fi
32649 done
32650
32651 else
32652
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32654 $as_echo_n "checking for _hypotl declaration... " >&6; }
32655 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32656 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32657 $as_echo_n "(cached) " >&6
32658 else
32659
32660
32661 ac_ext=cpp
32662 ac_cpp='$CXXCPP $CPPFLAGS'
32663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32666
32667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32668 /* end confdefs.h. */
32669 #include <math.h>
32670 int
32671 main ()
32672 {
32673 _hypotl(0, 0);
32674 ;
32675 return 0;
32676 }
32677 _ACEOF
32678 if ac_fn_cxx_try_compile "$LINENO"; then :
32679 glibcxx_cv_func__hypotl_use=yes
32680 else
32681 glibcxx_cv_func__hypotl_use=no
32682 fi
32683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32684 ac_ext=c
32685 ac_cpp='$CPP $CPPFLAGS'
32686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689
32690
32691 fi
32692
32693 fi
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32695 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32696
32697 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32698 for ac_func in _hypotl
32699 do :
32700 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32701 if test "x$ac_cv_func__hypotl" = x""yes; then :
32702 cat >>confdefs.h <<_ACEOF
32703 #define HAVE__HYPOTL 1
32704 _ACEOF
32705
32706 fi
32707 done
32708
32709 fi
32710 fi
32711
32712
32713
32714
32715
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32717 $as_echo_n "checking for ldexpl declaration... " >&6; }
32718 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32719 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32720 $as_echo_n "(cached) " >&6
32721 else
32722
32723
32724 ac_ext=cpp
32725 ac_cpp='$CXXCPP $CPPFLAGS'
32726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32729
32730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32731 /* end confdefs.h. */
32732 #include <math.h>
32733 int
32734 main ()
32735 {
32736 ldexpl(0, 0);
32737 ;
32738 return 0;
32739 }
32740 _ACEOF
32741 if ac_fn_cxx_try_compile "$LINENO"; then :
32742 glibcxx_cv_func_ldexpl_use=yes
32743 else
32744 glibcxx_cv_func_ldexpl_use=no
32745 fi
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747 ac_ext=c
32748 ac_cpp='$CPP $CPPFLAGS'
32749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752
32753
32754 fi
32755
32756 fi
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32758 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32759
32760 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32761 for ac_func in ldexpl
32762 do :
32763 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32764 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32765 cat >>confdefs.h <<_ACEOF
32766 #define HAVE_LDEXPL 1
32767 _ACEOF
32768
32769 fi
32770 done
32771
32772 else
32773
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32775 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32776 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32777 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32778 $as_echo_n "(cached) " >&6
32779 else
32780
32781
32782 ac_ext=cpp
32783 ac_cpp='$CXXCPP $CPPFLAGS'
32784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32787
32788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32789 /* end confdefs.h. */
32790 #include <math.h>
32791 int
32792 main ()
32793 {
32794 _ldexpl(0, 0);
32795 ;
32796 return 0;
32797 }
32798 _ACEOF
32799 if ac_fn_cxx_try_compile "$LINENO"; then :
32800 glibcxx_cv_func__ldexpl_use=yes
32801 else
32802 glibcxx_cv_func__ldexpl_use=no
32803 fi
32804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32805 ac_ext=c
32806 ac_cpp='$CPP $CPPFLAGS'
32807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32810
32811
32812 fi
32813
32814 fi
32815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32816 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32817
32818 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32819 for ac_func in _ldexpl
32820 do :
32821 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32822 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32823 cat >>confdefs.h <<_ACEOF
32824 #define HAVE__LDEXPL 1
32825 _ACEOF
32826
32827 fi
32828 done
32829
32830 fi
32831 fi
32832
32833
32834
32835
32836
32837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32838 $as_echo_n "checking for logl declaration... " >&6; }
32839 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32840 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32841 $as_echo_n "(cached) " >&6
32842 else
32843
32844
32845 ac_ext=cpp
32846 ac_cpp='$CXXCPP $CPPFLAGS'
32847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32850
32851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32852 /* end confdefs.h. */
32853 #include <math.h>
32854 #ifdef HAVE_IEEEFP_H
32855 #include <ieeefp.h>
32856 #endif
32857
32858 int
32859 main ()
32860 {
32861 logl(0);
32862 ;
32863 return 0;
32864 }
32865 _ACEOF
32866 if ac_fn_cxx_try_compile "$LINENO"; then :
32867 glibcxx_cv_func_logl_use=yes
32868 else
32869 glibcxx_cv_func_logl_use=no
32870 fi
32871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32872 ac_ext=c
32873 ac_cpp='$CPP $CPPFLAGS'
32874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32877
32878
32879 fi
32880
32881 fi
32882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32883 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32884
32885 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32886 for ac_func in logl
32887 do :
32888 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32889 if test "x$ac_cv_func_logl" = x""yes; then :
32890 cat >>confdefs.h <<_ACEOF
32891 #define HAVE_LOGL 1
32892 _ACEOF
32893
32894 fi
32895 done
32896
32897 else
32898
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32900 $as_echo_n "checking for _logl declaration... " >&6; }
32901 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32902 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32903 $as_echo_n "(cached) " >&6
32904 else
32905
32906
32907 ac_ext=cpp
32908 ac_cpp='$CXXCPP $CPPFLAGS'
32909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32912
32913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32914 /* end confdefs.h. */
32915 #include <math.h>
32916 #ifdef HAVE_IEEEFP_H
32917 #include <ieeefp.h>
32918 #endif
32919
32920 int
32921 main ()
32922 {
32923 _logl(0);
32924 ;
32925 return 0;
32926 }
32927 _ACEOF
32928 if ac_fn_cxx_try_compile "$LINENO"; then :
32929 glibcxx_cv_func__logl_use=yes
32930 else
32931 glibcxx_cv_func__logl_use=no
32932 fi
32933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32934 ac_ext=c
32935 ac_cpp='$CPP $CPPFLAGS'
32936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32939
32940
32941 fi
32942
32943 fi
32944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32945 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32946
32947 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32948 for ac_func in _logl
32949 do :
32950 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32951 if test "x$ac_cv_func__logl" = x""yes; then :
32952 cat >>confdefs.h <<_ACEOF
32953 #define HAVE__LOGL 1
32954 _ACEOF
32955
32956 fi
32957 done
32958
32959 fi
32960 fi
32961
32962
32963
32964
32965
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32967 $as_echo_n "checking for log10l declaration... " >&6; }
32968 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32969 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32970 $as_echo_n "(cached) " >&6
32971 else
32972
32973
32974 ac_ext=cpp
32975 ac_cpp='$CXXCPP $CPPFLAGS'
32976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32979
32980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32981 /* end confdefs.h. */
32982 #include <math.h>
32983 #ifdef HAVE_IEEEFP_H
32984 #include <ieeefp.h>
32985 #endif
32986
32987 int
32988 main ()
32989 {
32990 log10l(0);
32991 ;
32992 return 0;
32993 }
32994 _ACEOF
32995 if ac_fn_cxx_try_compile "$LINENO"; then :
32996 glibcxx_cv_func_log10l_use=yes
32997 else
32998 glibcxx_cv_func_log10l_use=no
32999 fi
33000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001 ac_ext=c
33002 ac_cpp='$CPP $CPPFLAGS'
33003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33006
33007
33008 fi
33009
33010 fi
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33012 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33013
33014 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33015 for ac_func in log10l
33016 do :
33017 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33018 if test "x$ac_cv_func_log10l" = x""yes; then :
33019 cat >>confdefs.h <<_ACEOF
33020 #define HAVE_LOG10L 1
33021 _ACEOF
33022
33023 fi
33024 done
33025
33026 else
33027
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33029 $as_echo_n "checking for _log10l declaration... " >&6; }
33030 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33031 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33032 $as_echo_n "(cached) " >&6
33033 else
33034
33035
33036 ac_ext=cpp
33037 ac_cpp='$CXXCPP $CPPFLAGS'
33038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33041
33042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33043 /* end confdefs.h. */
33044 #include <math.h>
33045 #ifdef HAVE_IEEEFP_H
33046 #include <ieeefp.h>
33047 #endif
33048
33049 int
33050 main ()
33051 {
33052 _log10l(0);
33053 ;
33054 return 0;
33055 }
33056 _ACEOF
33057 if ac_fn_cxx_try_compile "$LINENO"; then :
33058 glibcxx_cv_func__log10l_use=yes
33059 else
33060 glibcxx_cv_func__log10l_use=no
33061 fi
33062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33063 ac_ext=c
33064 ac_cpp='$CPP $CPPFLAGS'
33065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33068
33069
33070 fi
33071
33072 fi
33073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33074 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33075
33076 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33077 for ac_func in _log10l
33078 do :
33079 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33080 if test "x$ac_cv_func__log10l" = x""yes; then :
33081 cat >>confdefs.h <<_ACEOF
33082 #define HAVE__LOG10L 1
33083 _ACEOF
33084
33085 fi
33086 done
33087
33088 fi
33089 fi
33090
33091
33092
33093
33094
33095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33096 $as_echo_n "checking for modfl declaration... " >&6; }
33097 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33098 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33099 $as_echo_n "(cached) " >&6
33100 else
33101
33102
33103 ac_ext=cpp
33104 ac_cpp='$CXXCPP $CPPFLAGS'
33105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33108
33109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33110 /* end confdefs.h. */
33111 #include <math.h>
33112 int
33113 main ()
33114 {
33115 modfl(0, 0);
33116 ;
33117 return 0;
33118 }
33119 _ACEOF
33120 if ac_fn_cxx_try_compile "$LINENO"; then :
33121 glibcxx_cv_func_modfl_use=yes
33122 else
33123 glibcxx_cv_func_modfl_use=no
33124 fi
33125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33126 ac_ext=c
33127 ac_cpp='$CPP $CPPFLAGS'
33128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33131
33132
33133 fi
33134
33135 fi
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33137 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33138
33139 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33140 for ac_func in modfl
33141 do :
33142 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33143 if test "x$ac_cv_func_modfl" = x""yes; then :
33144 cat >>confdefs.h <<_ACEOF
33145 #define HAVE_MODFL 1
33146 _ACEOF
33147
33148 fi
33149 done
33150
33151 else
33152
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33154 $as_echo_n "checking for _modfl declaration... " >&6; }
33155 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33156 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33157 $as_echo_n "(cached) " >&6
33158 else
33159
33160
33161 ac_ext=cpp
33162 ac_cpp='$CXXCPP $CPPFLAGS'
33163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33166
33167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33168 /* end confdefs.h. */
33169 #include <math.h>
33170 int
33171 main ()
33172 {
33173 _modfl(0, 0);
33174 ;
33175 return 0;
33176 }
33177 _ACEOF
33178 if ac_fn_cxx_try_compile "$LINENO"; then :
33179 glibcxx_cv_func__modfl_use=yes
33180 else
33181 glibcxx_cv_func__modfl_use=no
33182 fi
33183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33184 ac_ext=c
33185 ac_cpp='$CPP $CPPFLAGS'
33186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33189
33190
33191 fi
33192
33193 fi
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33195 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33196
33197 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33198 for ac_func in _modfl
33199 do :
33200 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33201 if test "x$ac_cv_func__modfl" = x""yes; then :
33202 cat >>confdefs.h <<_ACEOF
33203 #define HAVE__MODFL 1
33204 _ACEOF
33205
33206 fi
33207 done
33208
33209 fi
33210 fi
33211
33212
33213
33214
33215
33216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33217 $as_echo_n "checking for powl declaration... " >&6; }
33218 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33219 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33220 $as_echo_n "(cached) " >&6
33221 else
33222
33223
33224 ac_ext=cpp
33225 ac_cpp='$CXXCPP $CPPFLAGS'
33226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33229
33230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h. */
33232 #include <math.h>
33233 int
33234 main ()
33235 {
33236 powl(0, 0);
33237 ;
33238 return 0;
33239 }
33240 _ACEOF
33241 if ac_fn_cxx_try_compile "$LINENO"; then :
33242 glibcxx_cv_func_powl_use=yes
33243 else
33244 glibcxx_cv_func_powl_use=no
33245 fi
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247 ac_ext=c
33248 ac_cpp='$CPP $CPPFLAGS'
33249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33252
33253
33254 fi
33255
33256 fi
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33258 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33259
33260 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33261 for ac_func in powl
33262 do :
33263 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33264 if test "x$ac_cv_func_powl" = x""yes; then :
33265 cat >>confdefs.h <<_ACEOF
33266 #define HAVE_POWL 1
33267 _ACEOF
33268
33269 fi
33270 done
33271
33272 else
33273
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33275 $as_echo_n "checking for _powl declaration... " >&6; }
33276 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33277 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33278 $as_echo_n "(cached) " >&6
33279 else
33280
33281
33282 ac_ext=cpp
33283 ac_cpp='$CXXCPP $CPPFLAGS'
33284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33287
33288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33289 /* end confdefs.h. */
33290 #include <math.h>
33291 int
33292 main ()
33293 {
33294 _powl(0, 0);
33295 ;
33296 return 0;
33297 }
33298 _ACEOF
33299 if ac_fn_cxx_try_compile "$LINENO"; then :
33300 glibcxx_cv_func__powl_use=yes
33301 else
33302 glibcxx_cv_func__powl_use=no
33303 fi
33304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33305 ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33310
33311
33312 fi
33313
33314 fi
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33316 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33317
33318 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33319 for ac_func in _powl
33320 do :
33321 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33322 if test "x$ac_cv_func__powl" = x""yes; then :
33323 cat >>confdefs.h <<_ACEOF
33324 #define HAVE__POWL 1
33325 _ACEOF
33326
33327 fi
33328 done
33329
33330 fi
33331 fi
33332
33333
33334
33335
33336
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33338 $as_echo_n "checking for sqrtl declaration... " >&6; }
33339 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33340 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33341 $as_echo_n "(cached) " >&6
33342 else
33343
33344
33345 ac_ext=cpp
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350
33351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33352 /* end confdefs.h. */
33353 #include <math.h>
33354 #ifdef HAVE_IEEEFP_H
33355 #include <ieeefp.h>
33356 #endif
33357
33358 int
33359 main ()
33360 {
33361 sqrtl(0);
33362 ;
33363 return 0;
33364 }
33365 _ACEOF
33366 if ac_fn_cxx_try_compile "$LINENO"; then :
33367 glibcxx_cv_func_sqrtl_use=yes
33368 else
33369 glibcxx_cv_func_sqrtl_use=no
33370 fi
33371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33372 ac_ext=c
33373 ac_cpp='$CPP $CPPFLAGS'
33374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377
33378
33379 fi
33380
33381 fi
33382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33383 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33384
33385 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33386 for ac_func in sqrtl
33387 do :
33388 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33389 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33390 cat >>confdefs.h <<_ACEOF
33391 #define HAVE_SQRTL 1
33392 _ACEOF
33393
33394 fi
33395 done
33396
33397 else
33398
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33400 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33401 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33402 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33403 $as_echo_n "(cached) " >&6
33404 else
33405
33406
33407 ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33412
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415 #include <math.h>
33416 #ifdef HAVE_IEEEFP_H
33417 #include <ieeefp.h>
33418 #endif
33419
33420 int
33421 main ()
33422 {
33423 _sqrtl(0);
33424 ;
33425 return 0;
33426 }
33427 _ACEOF
33428 if ac_fn_cxx_try_compile "$LINENO"; then :
33429 glibcxx_cv_func__sqrtl_use=yes
33430 else
33431 glibcxx_cv_func__sqrtl_use=no
33432 fi
33433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33434 ac_ext=c
33435 ac_cpp='$CPP $CPPFLAGS'
33436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33439
33440
33441 fi
33442
33443 fi
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33445 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33446
33447 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33448 for ac_func in _sqrtl
33449 do :
33450 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33451 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33452 cat >>confdefs.h <<_ACEOF
33453 #define HAVE__SQRTL 1
33454 _ACEOF
33455
33456 fi
33457 done
33458
33459 fi
33460 fi
33461
33462
33463
33464
33465
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33467 $as_echo_n "checking for sincosl declaration... " >&6; }
33468 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33469 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33470 $as_echo_n "(cached) " >&6
33471 else
33472
33473
33474 ac_ext=cpp
33475 ac_cpp='$CXXCPP $CPPFLAGS'
33476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33479
33480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33481 /* end confdefs.h. */
33482 #include <math.h>
33483 int
33484 main ()
33485 {
33486 sincosl(0, 0, 0);
33487 ;
33488 return 0;
33489 }
33490 _ACEOF
33491 if ac_fn_cxx_try_compile "$LINENO"; then :
33492 glibcxx_cv_func_sincosl_use=yes
33493 else
33494 glibcxx_cv_func_sincosl_use=no
33495 fi
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33497 ac_ext=c
33498 ac_cpp='$CPP $CPPFLAGS'
33499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33502
33503
33504 fi
33505
33506 fi
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33508 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33509
33510 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33511 for ac_func in sincosl
33512 do :
33513 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33514 if test "x$ac_cv_func_sincosl" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE_SINCOSL 1
33517 _ACEOF
33518
33519 fi
33520 done
33521
33522 else
33523
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33525 $as_echo_n "checking for _sincosl declaration... " >&6; }
33526 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33527 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33528 $as_echo_n "(cached) " >&6
33529 else
33530
33531
33532 ac_ext=cpp
33533 ac_cpp='$CXXCPP $CPPFLAGS'
33534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33537
33538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33539 /* end confdefs.h. */
33540 #include <math.h>
33541 int
33542 main ()
33543 {
33544 _sincosl(0, 0, 0);
33545 ;
33546 return 0;
33547 }
33548 _ACEOF
33549 if ac_fn_cxx_try_compile "$LINENO"; then :
33550 glibcxx_cv_func__sincosl_use=yes
33551 else
33552 glibcxx_cv_func__sincosl_use=no
33553 fi
33554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33555 ac_ext=c
33556 ac_cpp='$CPP $CPPFLAGS'
33557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33560
33561
33562 fi
33563
33564 fi
33565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33566 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33567
33568 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33569 for ac_func in _sincosl
33570 do :
33571 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33572 if test "x$ac_cv_func__sincosl" = x""yes; then :
33573 cat >>confdefs.h <<_ACEOF
33574 #define HAVE__SINCOSL 1
33575 _ACEOF
33576
33577 fi
33578 done
33579
33580 fi
33581 fi
33582
33583
33584
33585
33586
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33588 $as_echo_n "checking for finitel declaration... " >&6; }
33589 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33590 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33591 $as_echo_n "(cached) " >&6
33592 else
33593
33594
33595 ac_ext=cpp
33596 ac_cpp='$CXXCPP $CPPFLAGS'
33597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33600
33601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33602 /* end confdefs.h. */
33603 #include <math.h>
33604 #ifdef HAVE_IEEEFP_H
33605 #include <ieeefp.h>
33606 #endif
33607
33608 int
33609 main ()
33610 {
33611 finitel(0);
33612 ;
33613 return 0;
33614 }
33615 _ACEOF
33616 if ac_fn_cxx_try_compile "$LINENO"; then :
33617 glibcxx_cv_func_finitel_use=yes
33618 else
33619 glibcxx_cv_func_finitel_use=no
33620 fi
33621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33622 ac_ext=c
33623 ac_cpp='$CPP $CPPFLAGS'
33624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33627
33628
33629 fi
33630
33631 fi
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33633 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33634
33635 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33636 for ac_func in finitel
33637 do :
33638 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33639 if test "x$ac_cv_func_finitel" = x""yes; then :
33640 cat >>confdefs.h <<_ACEOF
33641 #define HAVE_FINITEL 1
33642 _ACEOF
33643
33644 fi
33645 done
33646
33647 else
33648
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33650 $as_echo_n "checking for _finitel declaration... " >&6; }
33651 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33652 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33653 $as_echo_n "(cached) " >&6
33654 else
33655
33656
33657 ac_ext=cpp
33658 ac_cpp='$CXXCPP $CPPFLAGS'
33659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33662
33663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33664 /* end confdefs.h. */
33665 #include <math.h>
33666 #ifdef HAVE_IEEEFP_H
33667 #include <ieeefp.h>
33668 #endif
33669
33670 int
33671 main ()
33672 {
33673 _finitel(0);
33674 ;
33675 return 0;
33676 }
33677 _ACEOF
33678 if ac_fn_cxx_try_compile "$LINENO"; then :
33679 glibcxx_cv_func__finitel_use=yes
33680 else
33681 glibcxx_cv_func__finitel_use=no
33682 fi
33683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33684 ac_ext=c
33685 ac_cpp='$CPP $CPPFLAGS'
33686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33689
33690
33691 fi
33692
33693 fi
33694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33695 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33696
33697 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33698 for ac_func in _finitel
33699 do :
33700 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33701 if test "x$ac_cv_func__finitel" = x""yes; then :
33702 cat >>confdefs.h <<_ACEOF
33703 #define HAVE__FINITEL 1
33704 _ACEOF
33705
33706 fi
33707 done
33708
33709 fi
33710 fi
33711
33712
33713
33714
33715 LIBS="$ac_save_LIBS"
33716 CXXFLAGS="$ac_save_CXXFLAGS"
33717
33718
33719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33720 ac_save_CXXFLAGS="$CXXFLAGS"
33721 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33722
33723
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33725 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33726 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33727 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33728 $as_echo_n "(cached) " >&6
33729 else
33730
33731
33732 ac_ext=cpp
33733 ac_cpp='$CXXCPP $CPPFLAGS'
33734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33737
33738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33739 /* end confdefs.h. */
33740 #include <stdlib.h>
33741 int
33742 main ()
33743 {
33744 at_quick_exit(0);
33745 ;
33746 return 0;
33747 }
33748 _ACEOF
33749 if ac_fn_cxx_try_compile "$LINENO"; then :
33750 glibcxx_cv_func_at_quick_exit_use=yes
33751 else
33752 glibcxx_cv_func_at_quick_exit_use=no
33753 fi
33754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33755 ac_ext=c
33756 ac_cpp='$CPP $CPPFLAGS'
33757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33760
33761
33762 fi
33763
33764 fi
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33766 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33767 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33768 for ac_func in at_quick_exit
33769 do :
33770 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33771 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE_AT_QUICK_EXIT 1
33774 _ACEOF
33775
33776 fi
33777 done
33778
33779 fi
33780
33781
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33783 $as_echo_n "checking for quick_exit declaration... " >&6; }
33784 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33785 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33786 $as_echo_n "(cached) " >&6
33787 else
33788
33789
33790 ac_ext=cpp
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795
33796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33797 /* end confdefs.h. */
33798 #include <stdlib.h>
33799 int
33800 main ()
33801 {
33802 quick_exit(0);
33803 ;
33804 return 0;
33805 }
33806 _ACEOF
33807 if ac_fn_cxx_try_compile "$LINENO"; then :
33808 glibcxx_cv_func_quick_exit_use=yes
33809 else
33810 glibcxx_cv_func_quick_exit_use=no
33811 fi
33812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33813 ac_ext=c
33814 ac_cpp='$CPP $CPPFLAGS'
33815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33818
33819
33820 fi
33821
33822 fi
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33824 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33825 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33826 for ac_func in quick_exit
33827 do :
33828 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33829 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33830 cat >>confdefs.h <<_ACEOF
33831 #define HAVE_QUICK_EXIT 1
33832 _ACEOF
33833
33834 fi
33835 done
33836
33837 fi
33838
33839
33840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33841 $as_echo_n "checking for strtold declaration... " >&6; }
33842 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33843 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33844 $as_echo_n "(cached) " >&6
33845 else
33846
33847
33848 ac_ext=cpp
33849 ac_cpp='$CXXCPP $CPPFLAGS'
33850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33853
33854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33855 /* end confdefs.h. */
33856 #include <stdlib.h>
33857 int
33858 main ()
33859 {
33860 strtold(0, 0);
33861 ;
33862 return 0;
33863 }
33864 _ACEOF
33865 if ac_fn_cxx_try_compile "$LINENO"; then :
33866 glibcxx_cv_func_strtold_use=yes
33867 else
33868 glibcxx_cv_func_strtold_use=no
33869 fi
33870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33871 ac_ext=c
33872 ac_cpp='$CPP $CPPFLAGS'
33873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33876
33877
33878 fi
33879
33880 fi
33881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33882 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33883 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33884 for ac_func in strtold
33885 do :
33886 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33887 if test "x$ac_cv_func_strtold" = x""yes; then :
33888 cat >>confdefs.h <<_ACEOF
33889 #define HAVE_STRTOLD 1
33890 _ACEOF
33891
33892 fi
33893 done
33894
33895 fi
33896
33897
33898
33899
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33901 $as_echo_n "checking for strtof declaration... " >&6; }
33902 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33903 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33904 $as_echo_n "(cached) " >&6
33905 else
33906
33907
33908 ac_ext=cpp
33909 ac_cpp='$CXXCPP $CPPFLAGS'
33910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33913
33914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33915 /* end confdefs.h. */
33916 #include <stdlib.h>
33917 int
33918 main ()
33919 {
33920 strtof(0, 0);
33921 ;
33922 return 0;
33923 }
33924 _ACEOF
33925 if ac_fn_cxx_try_compile "$LINENO"; then :
33926 glibcxx_cv_func_strtof_use=yes
33927 else
33928 glibcxx_cv_func_strtof_use=no
33929 fi
33930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33931 ac_ext=c
33932 ac_cpp='$CPP $CPPFLAGS'
33933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33936
33937
33938 fi
33939
33940 fi
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33942 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33943 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33944 for ac_func in strtof
33945 do :
33946 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33947 if test "x$ac_cv_func_strtof" = x""yes; then :
33948 cat >>confdefs.h <<_ACEOF
33949 #define HAVE_STRTOF 1
33950 _ACEOF
33951
33952 fi
33953 done
33954
33955 fi
33956
33957
33958
33959
33960 CXXFLAGS="$ac_save_CXXFLAGS"
33961
33962
33963 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33964
33965 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33966
33967 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33968
33969 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33970
33971
33972 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33973
33974 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33975
33976 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33977
33978 ;;
33979
33980 spu-*-elf*)
33981
33982 # All these tests are for C++; save the language and the compiler flags.
33983 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33984 # found in GLIBCXX_CONFIGURE.
33985
33986 ac_ext=cpp
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33991
33992 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33993 ac_save_CXXFLAGS="$CXXFLAGS"
33994
33995 # Check for maintainer-mode bits.
33996 if test x"$USE_MAINTAINER_MODE" = xno; then
33997 WERROR=''
33998 else
33999 WERROR='-Werror'
34000 fi
34001
34002 # Check for -ffunction-sections -fdata-sections
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34004 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34005 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 int foo; void bar() { };
34009 int
34010 main ()
34011 {
34012
34013 ;
34014 return 0;
34015 }
34016 _ACEOF
34017 if ac_fn_cxx_try_compile "$LINENO"; then :
34018 ac_fdsections=yes
34019 else
34020 ac_fdsections=no
34021 fi
34022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 if test "$ac_test_CXXFLAGS" = set; then
34024 CXXFLAGS="$ac_save_CXXFLAGS"
34025 else
34026 # this is the suspicious part
34027 CXXFLAGS=''
34028 fi
34029 if test x"$ac_fdsections" = x"yes"; then
34030 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34031 fi
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34033 $as_echo "$ac_fdsections" >&6; }
34034
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040
34041
34042
34043
34044
34045 # If we're not using GNU ld, then there's no point in even trying these
34046 # tests. Check for that first. We should have already tested for gld
34047 # by now (in libtool), but require it now just to be safe...
34048 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34049 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34050
34051
34052
34053 # The name set by libtool depends on the version of libtool. Shame on us
34054 # for depending on an impl detail, but c'est la vie. Older versions used
34055 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34056 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34057 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34058 # set (hence we're using an older libtool), then set it.
34059 if test x${with_gnu_ld+set} != xset; then
34060 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34061 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34062 with_gnu_ld=no
34063 else
34064 with_gnu_ld=$ac_cv_prog_gnu_ld
34065 fi
34066 fi
34067
34068 # Start by getting the version number. I think the libtool test already
34069 # does some of this, but throws away the result.
34070 glibcxx_ld_is_gold=no
34071 if test x"$with_gnu_ld" = x"yes"; then
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34073 $as_echo_n "checking for ld version... " >&6; }
34074
34075 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34076 glibcxx_ld_is_gold=yes
34077 fi
34078 ldver=`$LD --version 2>/dev/null |
34079 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'`
34080
34081 glibcxx_gnu_ld_version=`echo $ldver | \
34082 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34084 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34085 fi
34086
34087 # Set --gc-sections.
34088 glibcxx_have_gc_sections=no
34089 if test "$glibcxx_ld_is_gold" = "yes"; then
34090 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34091 glibcxx_have_gc_sections=yes
34092 fi
34093 else
34094 glibcxx_gcsections_min_ld=21602
34095 if test x"$with_gnu_ld" = x"yes" &&
34096 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34097 glibcxx_have_gc_sections=yes
34098 fi
34099 fi
34100 if test "$glibcxx_have_gc_sections" = "yes"; then
34101 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34102 # NB: This flag only works reliably after 2.16.1. Configure tests
34103 # for this are difficult, so hard wire a value that should work.
34104
34105 ac_test_CFLAGS="${CFLAGS+set}"
34106 ac_save_CFLAGS="$CFLAGS"
34107 CFLAGS='-Wl,--gc-sections'
34108
34109 # Check for -Wl,--gc-sections
34110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34111 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34112 if test x$gcc_no_link = xyes; then
34113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34114 fi
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 int one(void) { return 1; }
34118 int two(void) { return 2; }
34119
34120 int
34121 main ()
34122 {
34123 two();
34124 ;
34125 return 0;
34126 }
34127 _ACEOF
34128 if ac_fn_c_try_link "$LINENO"; then :
34129 ac_gcsections=yes
34130 else
34131 ac_gcsections=no
34132 fi
34133 rm -f core conftest.err conftest.$ac_objext \
34134 conftest$ac_exeext conftest.$ac_ext
34135 if test "$ac_gcsections" = "yes"; then
34136 rm -f conftest.c
34137 touch conftest.c
34138 if $CC -c conftest.c; then
34139 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34140 grep "Warning: gc-sections option ignored" > /dev/null; then
34141 ac_gcsections=no
34142 fi
34143 fi
34144 rm -f conftest.c conftest.o conftest
34145 fi
34146 if test "$ac_gcsections" = "yes"; then
34147 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34148 fi
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34150 $as_echo "$ac_gcsections" >&6; }
34151
34152 if test "$ac_test_CFLAGS" = set; then
34153 CFLAGS="$ac_save_CFLAGS"
34154 else
34155 # this is the suspicious part
34156 CFLAGS=''
34157 fi
34158 fi
34159
34160 # Set -z,relro.
34161 # Note this is only for shared objects.
34162 ac_ld_relro=no
34163 if test x"$with_gnu_ld" = x"yes"; then
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34165 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34166 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34167 if test -n "$cxx_z_relo"; then
34168 OPT_LDFLAGS="-Wl,-z,relro"
34169 ac_ld_relro=yes
34170 fi
34171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34172 $as_echo "$ac_ld_relro" >&6; }
34173 fi
34174
34175 # Set linker optimization flags.
34176 if test x"$with_gnu_ld" = x"yes"; then
34177 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34178 fi
34179
34180
34181
34182
34183
34184 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34185 ac_save_CXXFLAGS="$CXXFLAGS"
34186 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34187
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34189 $as_echo_n "checking for sin in -lm... " >&6; }
34190 if test "${ac_cv_lib_m_sin+set}" = set; then :
34191 $as_echo_n "(cached) " >&6
34192 else
34193 ac_check_lib_save_LIBS=$LIBS
34194 LIBS="-lm $LIBS"
34195 if test x$gcc_no_link = xyes; then
34196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34197 fi
34198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34199 /* end confdefs.h. */
34200
34201 /* Override any GCC internal prototype to avoid an error.
34202 Use char because int might match the return type of a GCC
34203 builtin and then its argument prototype would still apply. */
34204 #ifdef __cplusplus
34205 extern "C"
34206 #endif
34207 char sin ();
34208 int
34209 main ()
34210 {
34211 return sin ();
34212 ;
34213 return 0;
34214 }
34215 _ACEOF
34216 if ac_fn_c_try_link "$LINENO"; then :
34217 ac_cv_lib_m_sin=yes
34218 else
34219 ac_cv_lib_m_sin=no
34220 fi
34221 rm -f core conftest.err conftest.$ac_objext \
34222 conftest$ac_exeext conftest.$ac_ext
34223 LIBS=$ac_check_lib_save_LIBS
34224 fi
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34226 $as_echo "$ac_cv_lib_m_sin" >&6; }
34227 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34228 libm="-lm"
34229 fi
34230
34231 ac_save_LIBS="$LIBS"
34232 LIBS="$LIBS $libm"
34233
34234
34235
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34237 $as_echo_n "checking for isinf declaration... " >&6; }
34238 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34239 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34242
34243
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34256
34257 int
34258 main ()
34259 {
34260 isinf(0);
34261 ;
34262 return 0;
34263 }
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func_isinf_use=yes
34267 else
34268 glibcxx_cv_func_isinf_use=no
34269 fi
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276
34277
34278 fi
34279
34280 fi
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34282 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34283
34284 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34285 for ac_func in isinf
34286 do :
34287 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34288 if test "x$ac_cv_func_isinf" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE_ISINF 1
34291 _ACEOF
34292
34293 fi
34294 done
34295
34296 else
34297
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34299 $as_echo_n "checking for _isinf declaration... " >&6; }
34300 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34301 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34302 $as_echo_n "(cached) " >&6
34303 else
34304
34305
34306 ac_ext=cpp
34307 ac_cpp='$CXXCPP $CPPFLAGS'
34308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311
34312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34313 /* end confdefs.h. */
34314 #include <math.h>
34315 #ifdef HAVE_IEEEFP_H
34316 #include <ieeefp.h>
34317 #endif
34318
34319 int
34320 main ()
34321 {
34322 _isinf(0);
34323 ;
34324 return 0;
34325 }
34326 _ACEOF
34327 if ac_fn_cxx_try_compile "$LINENO"; then :
34328 glibcxx_cv_func__isinf_use=yes
34329 else
34330 glibcxx_cv_func__isinf_use=no
34331 fi
34332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34333 ac_ext=c
34334 ac_cpp='$CPP $CPPFLAGS'
34335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34338
34339
34340 fi
34341
34342 fi
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34344 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34345
34346 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34347 for ac_func in _isinf
34348 do :
34349 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34350 if test "x$ac_cv_func__isinf" = x""yes; then :
34351 cat >>confdefs.h <<_ACEOF
34352 #define HAVE__ISINF 1
34353 _ACEOF
34354
34355 fi
34356 done
34357
34358 fi
34359 fi
34360
34361
34362
34363
34364
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34366 $as_echo_n "checking for isnan declaration... " >&6; }
34367 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34368 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34369 $as_echo_n "(cached) " >&6
34370 else
34371
34372
34373 ac_ext=cpp
34374 ac_cpp='$CXXCPP $CPPFLAGS'
34375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34378
34379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34380 /* end confdefs.h. */
34381 #include <math.h>
34382 #ifdef HAVE_IEEEFP_H
34383 #include <ieeefp.h>
34384 #endif
34385
34386 int
34387 main ()
34388 {
34389 isnan(0);
34390 ;
34391 return 0;
34392 }
34393 _ACEOF
34394 if ac_fn_cxx_try_compile "$LINENO"; then :
34395 glibcxx_cv_func_isnan_use=yes
34396 else
34397 glibcxx_cv_func_isnan_use=no
34398 fi
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400 ac_ext=c
34401 ac_cpp='$CPP $CPPFLAGS'
34402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34405
34406
34407 fi
34408
34409 fi
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34411 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34412
34413 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34414 for ac_func in isnan
34415 do :
34416 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34417 if test "x$ac_cv_func_isnan" = x""yes; then :
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE_ISNAN 1
34420 _ACEOF
34421
34422 fi
34423 done
34424
34425 else
34426
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34428 $as_echo_n "checking for _isnan declaration... " >&6; }
34429 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34430 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34431 $as_echo_n "(cached) " >&6
34432 else
34433
34434
34435 ac_ext=cpp
34436 ac_cpp='$CXXCPP $CPPFLAGS'
34437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440
34441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34442 /* end confdefs.h. */
34443 #include <math.h>
34444 #ifdef HAVE_IEEEFP_H
34445 #include <ieeefp.h>
34446 #endif
34447
34448 int
34449 main ()
34450 {
34451 _isnan(0);
34452 ;
34453 return 0;
34454 }
34455 _ACEOF
34456 if ac_fn_cxx_try_compile "$LINENO"; then :
34457 glibcxx_cv_func__isnan_use=yes
34458 else
34459 glibcxx_cv_func__isnan_use=no
34460 fi
34461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34462 ac_ext=c
34463 ac_cpp='$CPP $CPPFLAGS'
34464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467
34468
34469 fi
34470
34471 fi
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34473 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34474
34475 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34476 for ac_func in _isnan
34477 do :
34478 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34479 if test "x$ac_cv_func__isnan" = x""yes; then :
34480 cat >>confdefs.h <<_ACEOF
34481 #define HAVE__ISNAN 1
34482 _ACEOF
34483
34484 fi
34485 done
34486
34487 fi
34488 fi
34489
34490
34491
34492
34493
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34495 $as_echo_n "checking for finite declaration... " >&6; }
34496 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34497 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34498 $as_echo_n "(cached) " >&6
34499 else
34500
34501
34502 ac_ext=cpp
34503 ac_cpp='$CXXCPP $CPPFLAGS'
34504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34507
34508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 /* end confdefs.h. */
34510 #include <math.h>
34511 #ifdef HAVE_IEEEFP_H
34512 #include <ieeefp.h>
34513 #endif
34514
34515 int
34516 main ()
34517 {
34518 finite(0);
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func_finite_use=yes
34525 else
34526 glibcxx_cv_func_finite_use=no
34527 fi
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34534
34535
34536 fi
34537
34538 fi
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34540 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34541
34542 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34543 for ac_func in finite
34544 do :
34545 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34546 if test "x$ac_cv_func_finite" = x""yes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE_FINITE 1
34549 _ACEOF
34550
34551 fi
34552 done
34553
34554 else
34555
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34557 $as_echo_n "checking for _finite declaration... " >&6; }
34558 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34559 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34560 $as_echo_n "(cached) " >&6
34561 else
34562
34563
34564 ac_ext=cpp
34565 ac_cpp='$CXXCPP $CPPFLAGS'
34566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34569
34570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34571 /* end confdefs.h. */
34572 #include <math.h>
34573 #ifdef HAVE_IEEEFP_H
34574 #include <ieeefp.h>
34575 #endif
34576
34577 int
34578 main ()
34579 {
34580 _finite(0);
34581 ;
34582 return 0;
34583 }
34584 _ACEOF
34585 if ac_fn_cxx_try_compile "$LINENO"; then :
34586 glibcxx_cv_func__finite_use=yes
34587 else
34588 glibcxx_cv_func__finite_use=no
34589 fi
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_ext=c
34592 ac_cpp='$CPP $CPPFLAGS'
34593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34596
34597
34598 fi
34599
34600 fi
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34602 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34603
34604 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34605 for ac_func in _finite
34606 do :
34607 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34608 if test "x$ac_cv_func__finite" = x""yes; then :
34609 cat >>confdefs.h <<_ACEOF
34610 #define HAVE__FINITE 1
34611 _ACEOF
34612
34613 fi
34614 done
34615
34616 fi
34617 fi
34618
34619
34620
34621
34622
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34624 $as_echo_n "checking for sincos declaration... " >&6; }
34625 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34626 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34627 $as_echo_n "(cached) " >&6
34628 else
34629
34630
34631 ac_ext=cpp
34632 ac_cpp='$CXXCPP $CPPFLAGS'
34633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34636
34637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34638 /* end confdefs.h. */
34639 #include <math.h>
34640 int
34641 main ()
34642 {
34643 sincos(0, 0, 0);
34644 ;
34645 return 0;
34646 }
34647 _ACEOF
34648 if ac_fn_cxx_try_compile "$LINENO"; then :
34649 glibcxx_cv_func_sincos_use=yes
34650 else
34651 glibcxx_cv_func_sincos_use=no
34652 fi
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654 ac_ext=c
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659
34660
34661 fi
34662
34663 fi
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34665 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34666
34667 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34668 for ac_func in sincos
34669 do :
34670 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34671 if test "x$ac_cv_func_sincos" = x""yes; then :
34672 cat >>confdefs.h <<_ACEOF
34673 #define HAVE_SINCOS 1
34674 _ACEOF
34675
34676 fi
34677 done
34678
34679 else
34680
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34682 $as_echo_n "checking for _sincos declaration... " >&6; }
34683 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34684 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34685 $as_echo_n "(cached) " >&6
34686 else
34687
34688
34689 ac_ext=cpp
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34694
34695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34696 /* end confdefs.h. */
34697 #include <math.h>
34698 int
34699 main ()
34700 {
34701 _sincos(0, 0, 0);
34702 ;
34703 return 0;
34704 }
34705 _ACEOF
34706 if ac_fn_cxx_try_compile "$LINENO"; then :
34707 glibcxx_cv_func__sincos_use=yes
34708 else
34709 glibcxx_cv_func__sincos_use=no
34710 fi
34711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34712 ac_ext=c
34713 ac_cpp='$CPP $CPPFLAGS'
34714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717
34718
34719 fi
34720
34721 fi
34722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34723 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34724
34725 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34726 for ac_func in _sincos
34727 do :
34728 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34729 if test "x$ac_cv_func__sincos" = x""yes; then :
34730 cat >>confdefs.h <<_ACEOF
34731 #define HAVE__SINCOS 1
34732 _ACEOF
34733
34734 fi
34735 done
34736
34737 fi
34738 fi
34739
34740
34741
34742
34743
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34745 $as_echo_n "checking for fpclass declaration... " >&6; }
34746 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34747 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34748 $as_echo_n "(cached) " >&6
34749 else
34750
34751
34752 ac_ext=cpp
34753 ac_cpp='$CXXCPP $CPPFLAGS'
34754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757
34758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34759 /* end confdefs.h. */
34760 #include <math.h>
34761 #ifdef HAVE_IEEEFP_H
34762 #include <ieeefp.h>
34763 #endif
34764
34765 int
34766 main ()
34767 {
34768 fpclass(0);
34769 ;
34770 return 0;
34771 }
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func_fpclass_use=yes
34775 else
34776 glibcxx_cv_func_fpclass_use=no
34777 fi
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34784
34785
34786 fi
34787
34788 fi
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34790 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34791
34792 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34793 for ac_func in fpclass
34794 do :
34795 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34796 if test "x$ac_cv_func_fpclass" = x""yes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE_FPCLASS 1
34799 _ACEOF
34800
34801 fi
34802 done
34803
34804 else
34805
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34807 $as_echo_n "checking for _fpclass declaration... " >&6; }
34808 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34809 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34810 $as_echo_n "(cached) " >&6
34811 else
34812
34813
34814 ac_ext=cpp
34815 ac_cpp='$CXXCPP $CPPFLAGS'
34816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819
34820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34821 /* end confdefs.h. */
34822 #include <math.h>
34823 #ifdef HAVE_IEEEFP_H
34824 #include <ieeefp.h>
34825 #endif
34826
34827 int
34828 main ()
34829 {
34830 _fpclass(0);
34831 ;
34832 return 0;
34833 }
34834 _ACEOF
34835 if ac_fn_cxx_try_compile "$LINENO"; then :
34836 glibcxx_cv_func__fpclass_use=yes
34837 else
34838 glibcxx_cv_func__fpclass_use=no
34839 fi
34840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34841 ac_ext=c
34842 ac_cpp='$CPP $CPPFLAGS'
34843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34846
34847
34848 fi
34849
34850 fi
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34852 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34853
34854 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34855 for ac_func in _fpclass
34856 do :
34857 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34858 if test "x$ac_cv_func__fpclass" = x""yes; then :
34859 cat >>confdefs.h <<_ACEOF
34860 #define HAVE__FPCLASS 1
34861 _ACEOF
34862
34863 fi
34864 done
34865
34866 fi
34867 fi
34868
34869
34870
34871
34872
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34874 $as_echo_n "checking for qfpclass declaration... " >&6; }
34875 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34876 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34877 $as_echo_n "(cached) " >&6
34878 else
34879
34880
34881 ac_ext=cpp
34882 ac_cpp='$CXXCPP $CPPFLAGS'
34883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886
34887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34888 /* end confdefs.h. */
34889 #include <math.h>
34890 #ifdef HAVE_IEEEFP_H
34891 #include <ieeefp.h>
34892 #endif
34893
34894 int
34895 main ()
34896 {
34897 qfpclass(0);
34898 ;
34899 return 0;
34900 }
34901 _ACEOF
34902 if ac_fn_cxx_try_compile "$LINENO"; then :
34903 glibcxx_cv_func_qfpclass_use=yes
34904 else
34905 glibcxx_cv_func_qfpclass_use=no
34906 fi
34907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_ext=c
34909 ac_cpp='$CPP $CPPFLAGS'
34910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34913
34914
34915 fi
34916
34917 fi
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34919 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34920
34921 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34922 for ac_func in qfpclass
34923 do :
34924 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34925 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34926 cat >>confdefs.h <<_ACEOF
34927 #define HAVE_QFPCLASS 1
34928 _ACEOF
34929
34930 fi
34931 done
34932
34933 else
34934
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34936 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34937 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34938 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34939 $as_echo_n "(cached) " >&6
34940 else
34941
34942
34943 ac_ext=cpp
34944 ac_cpp='$CXXCPP $CPPFLAGS'
34945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34948
34949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34950 /* end confdefs.h. */
34951 #include <math.h>
34952 #ifdef HAVE_IEEEFP_H
34953 #include <ieeefp.h>
34954 #endif
34955
34956 int
34957 main ()
34958 {
34959 _qfpclass(0);
34960 ;
34961 return 0;
34962 }
34963 _ACEOF
34964 if ac_fn_cxx_try_compile "$LINENO"; then :
34965 glibcxx_cv_func__qfpclass_use=yes
34966 else
34967 glibcxx_cv_func__qfpclass_use=no
34968 fi
34969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 ac_ext=c
34971 ac_cpp='$CPP $CPPFLAGS'
34972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34975
34976
34977 fi
34978
34979 fi
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34981 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34982
34983 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34984 for ac_func in _qfpclass
34985 do :
34986 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34987 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34988 cat >>confdefs.h <<_ACEOF
34989 #define HAVE__QFPCLASS 1
34990 _ACEOF
34991
34992 fi
34993 done
34994
34995 fi
34996 fi
34997
34998
34999
35000
35001
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35003 $as_echo_n "checking for hypot declaration... " >&6; }
35004 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35005 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35006 $as_echo_n "(cached) " >&6
35007 else
35008
35009
35010 ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015
35016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h. */
35018 #include <math.h>
35019 int
35020 main ()
35021 {
35022 hypot(0, 0);
35023 ;
35024 return 0;
35025 }
35026 _ACEOF
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028 glibcxx_cv_func_hypot_use=yes
35029 else
35030 glibcxx_cv_func_hypot_use=no
35031 fi
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 ac_ext=c
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35038
35039
35040 fi
35041
35042 fi
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35044 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35045
35046 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35047 for ac_func in hypot
35048 do :
35049 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35050 if test "x$ac_cv_func_hypot" = x""yes; then :
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE_HYPOT 1
35053 _ACEOF
35054
35055 fi
35056 done
35057
35058 else
35059
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35061 $as_echo_n "checking for _hypot declaration... " >&6; }
35062 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35063 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35064 $as_echo_n "(cached) " >&6
35065 else
35066
35067
35068 ac_ext=cpp
35069 ac_cpp='$CXXCPP $CPPFLAGS'
35070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073
35074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35075 /* end confdefs.h. */
35076 #include <math.h>
35077 int
35078 main ()
35079 {
35080 _hypot(0, 0);
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 if ac_fn_cxx_try_compile "$LINENO"; then :
35086 glibcxx_cv_func__hypot_use=yes
35087 else
35088 glibcxx_cv_func__hypot_use=no
35089 fi
35090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35091 ac_ext=c
35092 ac_cpp='$CPP $CPPFLAGS'
35093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35096
35097
35098 fi
35099
35100 fi
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35102 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35103
35104 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35105 for ac_func in _hypot
35106 do :
35107 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35108 if test "x$ac_cv_func__hypot" = x""yes; then :
35109 cat >>confdefs.h <<_ACEOF
35110 #define HAVE__HYPOT 1
35111 _ACEOF
35112
35113 fi
35114 done
35115
35116 fi
35117 fi
35118
35119
35120
35121
35122
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35124 $as_echo_n "checking for float trig functions... " >&6; }
35125 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35126 $as_echo_n "(cached) " >&6
35127 else
35128
35129
35130 ac_ext=cpp
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35135
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138 #include <math.h>
35139 int
35140 main ()
35141 {
35142 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35143 ;
35144 return 0;
35145 }
35146 _ACEOF
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148 glibcxx_cv_func_float_trig_use=yes
35149 else
35150 glibcxx_cv_func_float_trig_use=no
35151 fi
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35153 ac_ext=c
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35158
35159 fi
35160
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35162 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35163 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35164 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35165 do :
35166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35168 eval as_val=\$$as_ac_var
35169 if test "x$as_val" = x""yes; then :
35170 cat >>confdefs.h <<_ACEOF
35171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35172 _ACEOF
35173
35174 fi
35175 done
35176
35177 else
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35179 $as_echo_n "checking for _float trig functions... " >&6; }
35180 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35181 $as_echo_n "(cached) " >&6
35182 else
35183
35184
35185 ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190
35191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h. */
35193 #include <math.h>
35194 int
35195 main ()
35196 {
35197 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35198 ;
35199 return 0;
35200 }
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203 glibcxx_cv_func__float_trig_use=yes
35204 else
35205 glibcxx_cv_func__float_trig_use=no
35206 fi
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213
35214 fi
35215
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35217 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35218 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35219 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35220 do :
35221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35223 eval as_val=\$$as_ac_var
35224 if test "x$as_val" = x""yes; then :
35225 cat >>confdefs.h <<_ACEOF
35226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35227 _ACEOF
35228
35229 fi
35230 done
35231
35232 fi
35233 fi
35234
35235
35236
35237
35238
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35240 $as_echo_n "checking for float round functions... " >&6; }
35241 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35242 $as_echo_n "(cached) " >&6
35243 else
35244
35245
35246 ac_ext=cpp
35247 ac_cpp='$CXXCPP $CPPFLAGS'
35248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35251
35252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35253 /* end confdefs.h. */
35254 #include <math.h>
35255 int
35256 main ()
35257 {
35258 ceilf (0); floorf (0);
35259 ;
35260 return 0;
35261 }
35262 _ACEOF
35263 if ac_fn_cxx_try_compile "$LINENO"; then :
35264 glibcxx_cv_func_float_round_use=yes
35265 else
35266 glibcxx_cv_func_float_round_use=no
35267 fi
35268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35269 ac_ext=c
35270 ac_cpp='$CPP $CPPFLAGS'
35271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35274
35275 fi
35276
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35278 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35279 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35280 for ac_func in ceilf floorf
35281 do :
35282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35284 eval as_val=\$$as_ac_var
35285 if test "x$as_val" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35288 _ACEOF
35289
35290 fi
35291 done
35292
35293 else
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35295 $as_echo_n "checking for _float round functions... " >&6; }
35296 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35299
35300
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35306
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35310 int
35311 main ()
35312 {
35313 _ceilf (0); _floorf (0);
35314 ;
35315 return 0;
35316 }
35317 _ACEOF
35318 if ac_fn_cxx_try_compile "$LINENO"; then :
35319 glibcxx_cv_func__float_round_use=yes
35320 else
35321 glibcxx_cv_func__float_round_use=no
35322 fi
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35324 ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329
35330 fi
35331
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35333 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35334 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35335 for ac_func in _ceilf _floorf
35336 do :
35337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35339 eval as_val=\$$as_ac_var
35340 if test "x$as_val" = x""yes; then :
35341 cat >>confdefs.h <<_ACEOF
35342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35343 _ACEOF
35344
35345 fi
35346 done
35347
35348 fi
35349 fi
35350
35351
35352
35353
35354
35355
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35357 $as_echo_n "checking for expf declaration... " >&6; }
35358 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35359 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35360 $as_echo_n "(cached) " >&6
35361 else
35362
35363
35364 ac_ext=cpp
35365 ac_cpp='$CXXCPP $CPPFLAGS'
35366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369
35370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35371 /* end confdefs.h. */
35372 #include <math.h>
35373 #ifdef HAVE_IEEEFP_H
35374 #include <ieeefp.h>
35375 #endif
35376
35377 int
35378 main ()
35379 {
35380 expf(0);
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func_expf_use=yes
35387 else
35388 glibcxx_cv_func_expf_use=no
35389 fi
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35396
35397
35398 fi
35399
35400 fi
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35402 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35403
35404 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35405 for ac_func in expf
35406 do :
35407 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35408 if test "x$ac_cv_func_expf" = x""yes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE_EXPF 1
35411 _ACEOF
35412
35413 fi
35414 done
35415
35416 else
35417
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35419 $as_echo_n "checking for _expf declaration... " >&6; }
35420 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35421 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35422 $as_echo_n "(cached) " >&6
35423 else
35424
35425
35426 ac_ext=cpp
35427 ac_cpp='$CXXCPP $CPPFLAGS'
35428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35431
35432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35433 /* end confdefs.h. */
35434 #include <math.h>
35435 #ifdef HAVE_IEEEFP_H
35436 #include <ieeefp.h>
35437 #endif
35438
35439 int
35440 main ()
35441 {
35442 _expf(0);
35443 ;
35444 return 0;
35445 }
35446 _ACEOF
35447 if ac_fn_cxx_try_compile "$LINENO"; then :
35448 glibcxx_cv_func__expf_use=yes
35449 else
35450 glibcxx_cv_func__expf_use=no
35451 fi
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35458
35459
35460 fi
35461
35462 fi
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35464 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35465
35466 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35467 for ac_func in _expf
35468 do :
35469 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35470 if test "x$ac_cv_func__expf" = x""yes; then :
35471 cat >>confdefs.h <<_ACEOF
35472 #define HAVE__EXPF 1
35473 _ACEOF
35474
35475 fi
35476 done
35477
35478 fi
35479 fi
35480
35481
35482
35483
35484
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35486 $as_echo_n "checking for isnanf declaration... " >&6; }
35487 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35488 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35489 $as_echo_n "(cached) " >&6
35490 else
35491
35492
35493 ac_ext=cpp
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498
35499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35500 /* end confdefs.h. */
35501 #include <math.h>
35502 #ifdef HAVE_IEEEFP_H
35503 #include <ieeefp.h>
35504 #endif
35505
35506 int
35507 main ()
35508 {
35509 isnanf(0);
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 if ac_fn_cxx_try_compile "$LINENO"; then :
35515 glibcxx_cv_func_isnanf_use=yes
35516 else
35517 glibcxx_cv_func_isnanf_use=no
35518 fi
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525
35526
35527 fi
35528
35529 fi
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35531 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35532
35533 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35534 for ac_func in isnanf
35535 do :
35536 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35537 if test "x$ac_cv_func_isnanf" = x""yes; then :
35538 cat >>confdefs.h <<_ACEOF
35539 #define HAVE_ISNANF 1
35540 _ACEOF
35541
35542 fi
35543 done
35544
35545 else
35546
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35548 $as_echo_n "checking for _isnanf declaration... " >&6; }
35549 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35550 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35551 $as_echo_n "(cached) " >&6
35552 else
35553
35554
35555 ac_ext=cpp
35556 ac_cpp='$CXXCPP $CPPFLAGS'
35557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35560
35561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35562 /* end confdefs.h. */
35563 #include <math.h>
35564 #ifdef HAVE_IEEEFP_H
35565 #include <ieeefp.h>
35566 #endif
35567
35568 int
35569 main ()
35570 {
35571 _isnanf(0);
35572 ;
35573 return 0;
35574 }
35575 _ACEOF
35576 if ac_fn_cxx_try_compile "$LINENO"; then :
35577 glibcxx_cv_func__isnanf_use=yes
35578 else
35579 glibcxx_cv_func__isnanf_use=no
35580 fi
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 ac_ext=c
35583 ac_cpp='$CPP $CPPFLAGS'
35584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35587
35588
35589 fi
35590
35591 fi
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35593 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35594
35595 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35596 for ac_func in _isnanf
35597 do :
35598 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35599 if test "x$ac_cv_func__isnanf" = x""yes; then :
35600 cat >>confdefs.h <<_ACEOF
35601 #define HAVE__ISNANF 1
35602 _ACEOF
35603
35604 fi
35605 done
35606
35607 fi
35608 fi
35609
35610
35611
35612
35613
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35615 $as_echo_n "checking for isinff declaration... " >&6; }
35616 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35617 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35618 $as_echo_n "(cached) " >&6
35619 else
35620
35621
35622 ac_ext=cpp
35623 ac_cpp='$CXXCPP $CPPFLAGS'
35624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35627
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35630 #include <math.h>
35631 #ifdef HAVE_IEEEFP_H
35632 #include <ieeefp.h>
35633 #endif
35634
35635 int
35636 main ()
35637 {
35638 isinff(0);
35639 ;
35640 return 0;
35641 }
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func_isinff_use=yes
35645 else
35646 glibcxx_cv_func_isinff_use=no
35647 fi
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35654
35655
35656 fi
35657
35658 fi
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35660 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35661
35662 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35663 for ac_func in isinff
35664 do :
35665 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35666 if test "x$ac_cv_func_isinff" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE_ISINFF 1
35669 _ACEOF
35670
35671 fi
35672 done
35673
35674 else
35675
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35677 $as_echo_n "checking for _isinff declaration... " >&6; }
35678 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35679 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35680 $as_echo_n "(cached) " >&6
35681 else
35682
35683
35684 ac_ext=cpp
35685 ac_cpp='$CXXCPP $CPPFLAGS'
35686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35689
35690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35691 /* end confdefs.h. */
35692 #include <math.h>
35693 #ifdef HAVE_IEEEFP_H
35694 #include <ieeefp.h>
35695 #endif
35696
35697 int
35698 main ()
35699 {
35700 _isinff(0);
35701 ;
35702 return 0;
35703 }
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func__isinff_use=yes
35707 else
35708 glibcxx_cv_func__isinff_use=no
35709 fi
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35716
35717
35718 fi
35719
35720 fi
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35722 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35723
35724 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35725 for ac_func in _isinff
35726 do :
35727 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35728 if test "x$ac_cv_func__isinff" = x""yes; then :
35729 cat >>confdefs.h <<_ACEOF
35730 #define HAVE__ISINFF 1
35731 _ACEOF
35732
35733 fi
35734 done
35735
35736 fi
35737 fi
35738
35739
35740
35741
35742
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35744 $as_echo_n "checking for atan2f declaration... " >&6; }
35745 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35746 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35747 $as_echo_n "(cached) " >&6
35748 else
35749
35750
35751 ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35759 #include <math.h>
35760 int
35761 main ()
35762 {
35763 atan2f(0, 0);
35764 ;
35765 return 0;
35766 }
35767 _ACEOF
35768 if ac_fn_cxx_try_compile "$LINENO"; then :
35769 glibcxx_cv_func_atan2f_use=yes
35770 else
35771 glibcxx_cv_func_atan2f_use=no
35772 fi
35773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779
35780
35781 fi
35782
35783 fi
35784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35785 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35786
35787 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35788 for ac_func in atan2f
35789 do :
35790 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35791 if test "x$ac_cv_func_atan2f" = x""yes; then :
35792 cat >>confdefs.h <<_ACEOF
35793 #define HAVE_ATAN2F 1
35794 _ACEOF
35795
35796 fi
35797 done
35798
35799 else
35800
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35802 $as_echo_n "checking for _atan2f declaration... " >&6; }
35803 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35804 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35805 $as_echo_n "(cached) " >&6
35806 else
35807
35808
35809 ac_ext=cpp
35810 ac_cpp='$CXXCPP $CPPFLAGS'
35811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35816 /* end confdefs.h. */
35817 #include <math.h>
35818 int
35819 main ()
35820 {
35821 _atan2f(0, 0);
35822 ;
35823 return 0;
35824 }
35825 _ACEOF
35826 if ac_fn_cxx_try_compile "$LINENO"; then :
35827 glibcxx_cv_func__atan2f_use=yes
35828 else
35829 glibcxx_cv_func__atan2f_use=no
35830 fi
35831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35832 ac_ext=c
35833 ac_cpp='$CPP $CPPFLAGS'
35834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35837
35838
35839 fi
35840
35841 fi
35842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35843 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35844
35845 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35846 for ac_func in _atan2f
35847 do :
35848 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35849 if test "x$ac_cv_func__atan2f" = x""yes; then :
35850 cat >>confdefs.h <<_ACEOF
35851 #define HAVE__ATAN2F 1
35852 _ACEOF
35853
35854 fi
35855 done
35856
35857 fi
35858 fi
35859
35860
35861
35862
35863
35864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35865 $as_echo_n "checking for fabsf declaration... " >&6; }
35866 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35867 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35868 $as_echo_n "(cached) " >&6
35869 else
35870
35871
35872 ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877
35878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h. */
35880 #include <math.h>
35881 #ifdef HAVE_IEEEFP_H
35882 #include <ieeefp.h>
35883 #endif
35884
35885 int
35886 main ()
35887 {
35888 fabsf(0);
35889 ;
35890 return 0;
35891 }
35892 _ACEOF
35893 if ac_fn_cxx_try_compile "$LINENO"; then :
35894 glibcxx_cv_func_fabsf_use=yes
35895 else
35896 glibcxx_cv_func_fabsf_use=no
35897 fi
35898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 ac_ext=c
35900 ac_cpp='$CPP $CPPFLAGS'
35901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904
35905
35906 fi
35907
35908 fi
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35910 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35911
35912 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35913 for ac_func in fabsf
35914 do :
35915 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35916 if test "x$ac_cv_func_fabsf" = x""yes; then :
35917 cat >>confdefs.h <<_ACEOF
35918 #define HAVE_FABSF 1
35919 _ACEOF
35920
35921 fi
35922 done
35923
35924 else
35925
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35927 $as_echo_n "checking for _fabsf declaration... " >&6; }
35928 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35929 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35930 $as_echo_n "(cached) " >&6
35931 else
35932
35933
35934 ac_ext=cpp
35935 ac_cpp='$CXXCPP $CPPFLAGS'
35936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939
35940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35941 /* end confdefs.h. */
35942 #include <math.h>
35943 #ifdef HAVE_IEEEFP_H
35944 #include <ieeefp.h>
35945 #endif
35946
35947 int
35948 main ()
35949 {
35950 _fabsf(0);
35951 ;
35952 return 0;
35953 }
35954 _ACEOF
35955 if ac_fn_cxx_try_compile "$LINENO"; then :
35956 glibcxx_cv_func__fabsf_use=yes
35957 else
35958 glibcxx_cv_func__fabsf_use=no
35959 fi
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966
35967
35968 fi
35969
35970 fi
35971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35972 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35973
35974 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35975 for ac_func in _fabsf
35976 do :
35977 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35978 if test "x$ac_cv_func__fabsf" = x""yes; then :
35979 cat >>confdefs.h <<_ACEOF
35980 #define HAVE__FABSF 1
35981 _ACEOF
35982
35983 fi
35984 done
35985
35986 fi
35987 fi
35988
35989
35990
35991
35992
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35994 $as_echo_n "checking for fmodf declaration... " >&6; }
35995 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35996 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35997 $as_echo_n "(cached) " >&6
35998 else
35999
36000
36001 ac_ext=cpp
36002 ac_cpp='$CXXCPP $CPPFLAGS'
36003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36006
36007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36008 /* end confdefs.h. */
36009 #include <math.h>
36010 int
36011 main ()
36012 {
36013 fmodf(0, 0);
36014 ;
36015 return 0;
36016 }
36017 _ACEOF
36018 if ac_fn_cxx_try_compile "$LINENO"; then :
36019 glibcxx_cv_func_fmodf_use=yes
36020 else
36021 glibcxx_cv_func_fmodf_use=no
36022 fi
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024 ac_ext=c
36025 ac_cpp='$CPP $CPPFLAGS'
36026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36029
36030
36031 fi
36032
36033 fi
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36035 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36036
36037 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36038 for ac_func in fmodf
36039 do :
36040 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36041 if test "x$ac_cv_func_fmodf" = x""yes; then :
36042 cat >>confdefs.h <<_ACEOF
36043 #define HAVE_FMODF 1
36044 _ACEOF
36045
36046 fi
36047 done
36048
36049 else
36050
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36052 $as_echo_n "checking for _fmodf declaration... " >&6; }
36053 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36054 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36055 $as_echo_n "(cached) " >&6
36056 else
36057
36058
36059 ac_ext=cpp
36060 ac_cpp='$CXXCPP $CPPFLAGS'
36061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36064
36065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36066 /* end confdefs.h. */
36067 #include <math.h>
36068 int
36069 main ()
36070 {
36071 _fmodf(0, 0);
36072 ;
36073 return 0;
36074 }
36075 _ACEOF
36076 if ac_fn_cxx_try_compile "$LINENO"; then :
36077 glibcxx_cv_func__fmodf_use=yes
36078 else
36079 glibcxx_cv_func__fmodf_use=no
36080 fi
36081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_ext=c
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087
36088
36089 fi
36090
36091 fi
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36093 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36094
36095 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36096 for ac_func in _fmodf
36097 do :
36098 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36099 if test "x$ac_cv_func__fmodf" = x""yes; then :
36100 cat >>confdefs.h <<_ACEOF
36101 #define HAVE__FMODF 1
36102 _ACEOF
36103
36104 fi
36105 done
36106
36107 fi
36108 fi
36109
36110
36111
36112
36113
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36115 $as_echo_n "checking for frexpf declaration... " >&6; }
36116 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36117 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36118 $as_echo_n "(cached) " >&6
36119 else
36120
36121
36122 ac_ext=cpp
36123 ac_cpp='$CXXCPP $CPPFLAGS'
36124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36127
36128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36129 /* end confdefs.h. */
36130 #include <math.h>
36131 int
36132 main ()
36133 {
36134 frexpf(0, 0);
36135 ;
36136 return 0;
36137 }
36138 _ACEOF
36139 if ac_fn_cxx_try_compile "$LINENO"; then :
36140 glibcxx_cv_func_frexpf_use=yes
36141 else
36142 glibcxx_cv_func_frexpf_use=no
36143 fi
36144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36145 ac_ext=c
36146 ac_cpp='$CPP $CPPFLAGS'
36147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36150
36151
36152 fi
36153
36154 fi
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36156 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36157
36158 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36159 for ac_func in frexpf
36160 do :
36161 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36162 if test "x$ac_cv_func_frexpf" = x""yes; then :
36163 cat >>confdefs.h <<_ACEOF
36164 #define HAVE_FREXPF 1
36165 _ACEOF
36166
36167 fi
36168 done
36169
36170 else
36171
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36173 $as_echo_n "checking for _frexpf declaration... " >&6; }
36174 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36175 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36176 $as_echo_n "(cached) " >&6
36177 else
36178
36179
36180 ac_ext=cpp
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36185
36186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h. */
36188 #include <math.h>
36189 int
36190 main ()
36191 {
36192 _frexpf(0, 0);
36193 ;
36194 return 0;
36195 }
36196 _ACEOF
36197 if ac_fn_cxx_try_compile "$LINENO"; then :
36198 glibcxx_cv_func__frexpf_use=yes
36199 else
36200 glibcxx_cv_func__frexpf_use=no
36201 fi
36202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36203 ac_ext=c
36204 ac_cpp='$CPP $CPPFLAGS'
36205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36208
36209
36210 fi
36211
36212 fi
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36214 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36215
36216 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36217 for ac_func in _frexpf
36218 do :
36219 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36220 if test "x$ac_cv_func__frexpf" = x""yes; then :
36221 cat >>confdefs.h <<_ACEOF
36222 #define HAVE__FREXPF 1
36223 _ACEOF
36224
36225 fi
36226 done
36227
36228 fi
36229 fi
36230
36231
36232
36233
36234
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36236 $as_echo_n "checking for hypotf declaration... " >&6; }
36237 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36238 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36239 $as_echo_n "(cached) " >&6
36240 else
36241
36242
36243 ac_ext=cpp
36244 ac_cpp='$CXXCPP $CPPFLAGS'
36245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248
36249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36250 /* end confdefs.h. */
36251 #include <math.h>
36252 int
36253 main ()
36254 {
36255 hypotf(0, 0);
36256 ;
36257 return 0;
36258 }
36259 _ACEOF
36260 if ac_fn_cxx_try_compile "$LINENO"; then :
36261 glibcxx_cv_func_hypotf_use=yes
36262 else
36263 glibcxx_cv_func_hypotf_use=no
36264 fi
36265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36266 ac_ext=c
36267 ac_cpp='$CPP $CPPFLAGS'
36268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36271
36272
36273 fi
36274
36275 fi
36276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36277 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36278
36279 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36280 for ac_func in hypotf
36281 do :
36282 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36283 if test "x$ac_cv_func_hypotf" = x""yes; then :
36284 cat >>confdefs.h <<_ACEOF
36285 #define HAVE_HYPOTF 1
36286 _ACEOF
36287
36288 fi
36289 done
36290
36291 else
36292
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36294 $as_echo_n "checking for _hypotf declaration... " >&6; }
36295 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36296 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36297 $as_echo_n "(cached) " >&6
36298 else
36299
36300
36301 ac_ext=cpp
36302 ac_cpp='$CXXCPP $CPPFLAGS'
36303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306
36307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36308 /* end confdefs.h. */
36309 #include <math.h>
36310 int
36311 main ()
36312 {
36313 _hypotf(0, 0);
36314 ;
36315 return 0;
36316 }
36317 _ACEOF
36318 if ac_fn_cxx_try_compile "$LINENO"; then :
36319 glibcxx_cv_func__hypotf_use=yes
36320 else
36321 glibcxx_cv_func__hypotf_use=no
36322 fi
36323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36324 ac_ext=c
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36329
36330
36331 fi
36332
36333 fi
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36335 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36336
36337 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36338 for ac_func in _hypotf
36339 do :
36340 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36341 if test "x$ac_cv_func__hypotf" = x""yes; then :
36342 cat >>confdefs.h <<_ACEOF
36343 #define HAVE__HYPOTF 1
36344 _ACEOF
36345
36346 fi
36347 done
36348
36349 fi
36350 fi
36351
36352
36353
36354
36355
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36357 $as_echo_n "checking for ldexpf declaration... " >&6; }
36358 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36359 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36360 $as_echo_n "(cached) " >&6
36361 else
36362
36363
36364 ac_ext=cpp
36365 ac_cpp='$CXXCPP $CPPFLAGS'
36366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36369
36370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371 /* end confdefs.h. */
36372 #include <math.h>
36373 int
36374 main ()
36375 {
36376 ldexpf(0, 0);
36377 ;
36378 return 0;
36379 }
36380 _ACEOF
36381 if ac_fn_cxx_try_compile "$LINENO"; then :
36382 glibcxx_cv_func_ldexpf_use=yes
36383 else
36384 glibcxx_cv_func_ldexpf_use=no
36385 fi
36386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36387 ac_ext=c
36388 ac_cpp='$CPP $CPPFLAGS'
36389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36392
36393
36394 fi
36395
36396 fi
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36398 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36399
36400 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36401 for ac_func in ldexpf
36402 do :
36403 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36404 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36405 cat >>confdefs.h <<_ACEOF
36406 #define HAVE_LDEXPF 1
36407 _ACEOF
36408
36409 fi
36410 done
36411
36412 else
36413
36414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36415 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36416 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36417 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36418 $as_echo_n "(cached) " >&6
36419 else
36420
36421
36422 ac_ext=cpp
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427
36428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429 /* end confdefs.h. */
36430 #include <math.h>
36431 int
36432 main ()
36433 {
36434 _ldexpf(0, 0);
36435 ;
36436 return 0;
36437 }
36438 _ACEOF
36439 if ac_fn_cxx_try_compile "$LINENO"; then :
36440 glibcxx_cv_func__ldexpf_use=yes
36441 else
36442 glibcxx_cv_func__ldexpf_use=no
36443 fi
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445 ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36450
36451
36452 fi
36453
36454 fi
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36456 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36457
36458 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36459 for ac_func in _ldexpf
36460 do :
36461 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36462 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36463 cat >>confdefs.h <<_ACEOF
36464 #define HAVE__LDEXPF 1
36465 _ACEOF
36466
36467 fi
36468 done
36469
36470 fi
36471 fi
36472
36473
36474
36475
36476
36477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36478 $as_echo_n "checking for logf declaration... " >&6; }
36479 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36480 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36481 $as_echo_n "(cached) " >&6
36482 else
36483
36484
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490
36491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36492 /* end confdefs.h. */
36493 #include <math.h>
36494 #ifdef HAVE_IEEEFP_H
36495 #include <ieeefp.h>
36496 #endif
36497
36498 int
36499 main ()
36500 {
36501 logf(0);
36502 ;
36503 return 0;
36504 }
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func_logf_use=yes
36508 else
36509 glibcxx_cv_func_logf_use=no
36510 fi
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36517
36518
36519 fi
36520
36521 fi
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36523 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36524
36525 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36526 for ac_func in logf
36527 do :
36528 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36529 if test "x$ac_cv_func_logf" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE_LOGF 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537 else
36538
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36540 $as_echo_n "checking for _logf declaration... " >&6; }
36541 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36542 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36543 $as_echo_n "(cached) " >&6
36544 else
36545
36546
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552
36553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36554 /* end confdefs.h. */
36555 #include <math.h>
36556 #ifdef HAVE_IEEEFP_H
36557 #include <ieeefp.h>
36558 #endif
36559
36560 int
36561 main ()
36562 {
36563 _logf(0);
36564 ;
36565 return 0;
36566 }
36567 _ACEOF
36568 if ac_fn_cxx_try_compile "$LINENO"; then :
36569 glibcxx_cv_func__logf_use=yes
36570 else
36571 glibcxx_cv_func__logf_use=no
36572 fi
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36574 ac_ext=c
36575 ac_cpp='$CPP $CPPFLAGS'
36576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36579
36580
36581 fi
36582
36583 fi
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36585 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36586
36587 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36588 for ac_func in _logf
36589 do :
36590 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36591 if test "x$ac_cv_func__logf" = x""yes; then :
36592 cat >>confdefs.h <<_ACEOF
36593 #define HAVE__LOGF 1
36594 _ACEOF
36595
36596 fi
36597 done
36598
36599 fi
36600 fi
36601
36602
36603
36604
36605
36606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36607 $as_echo_n "checking for log10f declaration... " >&6; }
36608 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36609 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36610 $as_echo_n "(cached) " >&6
36611 else
36612
36613
36614 ac_ext=cpp
36615 ac_cpp='$CXXCPP $CPPFLAGS'
36616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36619
36620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36621 /* end confdefs.h. */
36622 #include <math.h>
36623 #ifdef HAVE_IEEEFP_H
36624 #include <ieeefp.h>
36625 #endif
36626
36627 int
36628 main ()
36629 {
36630 log10f(0);
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 if ac_fn_cxx_try_compile "$LINENO"; then :
36636 glibcxx_cv_func_log10f_use=yes
36637 else
36638 glibcxx_cv_func_log10f_use=no
36639 fi
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641 ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36646
36647
36648 fi
36649
36650 fi
36651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36652 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36653
36654 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36655 for ac_func in log10f
36656 do :
36657 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36658 if test "x$ac_cv_func_log10f" = x""yes; then :
36659 cat >>confdefs.h <<_ACEOF
36660 #define HAVE_LOG10F 1
36661 _ACEOF
36662
36663 fi
36664 done
36665
36666 else
36667
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36669 $as_echo_n "checking for _log10f declaration... " >&6; }
36670 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36671 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36672 $as_echo_n "(cached) " >&6
36673 else
36674
36675
36676 ac_ext=cpp
36677 ac_cpp='$CXXCPP $CPPFLAGS'
36678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36681
36682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36683 /* end confdefs.h. */
36684 #include <math.h>
36685 #ifdef HAVE_IEEEFP_H
36686 #include <ieeefp.h>
36687 #endif
36688
36689 int
36690 main ()
36691 {
36692 _log10f(0);
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 if ac_fn_cxx_try_compile "$LINENO"; then :
36698 glibcxx_cv_func__log10f_use=yes
36699 else
36700 glibcxx_cv_func__log10f_use=no
36701 fi
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703 ac_ext=c
36704 ac_cpp='$CPP $CPPFLAGS'
36705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36708
36709
36710 fi
36711
36712 fi
36713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36714 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36715
36716 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36717 for ac_func in _log10f
36718 do :
36719 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36720 if test "x$ac_cv_func__log10f" = x""yes; then :
36721 cat >>confdefs.h <<_ACEOF
36722 #define HAVE__LOG10F 1
36723 _ACEOF
36724
36725 fi
36726 done
36727
36728 fi
36729 fi
36730
36731
36732
36733
36734
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36736 $as_echo_n "checking for modff declaration... " >&6; }
36737 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36738 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36739 $as_echo_n "(cached) " >&6
36740 else
36741
36742
36743 ac_ext=cpp
36744 ac_cpp='$CXXCPP $CPPFLAGS'
36745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36748
36749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36750 /* end confdefs.h. */
36751 #include <math.h>
36752 int
36753 main ()
36754 {
36755 modff(0, 0);
36756 ;
36757 return 0;
36758 }
36759 _ACEOF
36760 if ac_fn_cxx_try_compile "$LINENO"; then :
36761 glibcxx_cv_func_modff_use=yes
36762 else
36763 glibcxx_cv_func_modff_use=no
36764 fi
36765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36766 ac_ext=c
36767 ac_cpp='$CPP $CPPFLAGS'
36768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36771
36772
36773 fi
36774
36775 fi
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36777 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36778
36779 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36780 for ac_func in modff
36781 do :
36782 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36783 if test "x$ac_cv_func_modff" = x""yes; then :
36784 cat >>confdefs.h <<_ACEOF
36785 #define HAVE_MODFF 1
36786 _ACEOF
36787
36788 fi
36789 done
36790
36791 else
36792
36793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36794 $as_echo_n "checking for _modff declaration... " >&6; }
36795 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36796 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36797 $as_echo_n "(cached) " >&6
36798 else
36799
36800
36801 ac_ext=cpp
36802 ac_cpp='$CXXCPP $CPPFLAGS'
36803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806
36807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36808 /* end confdefs.h. */
36809 #include <math.h>
36810 int
36811 main ()
36812 {
36813 _modff(0, 0);
36814 ;
36815 return 0;
36816 }
36817 _ACEOF
36818 if ac_fn_cxx_try_compile "$LINENO"; then :
36819 glibcxx_cv_func__modff_use=yes
36820 else
36821 glibcxx_cv_func__modff_use=no
36822 fi
36823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824 ac_ext=c
36825 ac_cpp='$CPP $CPPFLAGS'
36826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829
36830
36831 fi
36832
36833 fi
36834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36835 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36836
36837 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36838 for ac_func in _modff
36839 do :
36840 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36841 if test "x$ac_cv_func__modff" = x""yes; then :
36842 cat >>confdefs.h <<_ACEOF
36843 #define HAVE__MODFF 1
36844 _ACEOF
36845
36846 fi
36847 done
36848
36849 fi
36850 fi
36851
36852
36853
36854
36855
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36857 $as_echo_n "checking for modf declaration... " >&6; }
36858 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36859 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36860 $as_echo_n "(cached) " >&6
36861 else
36862
36863
36864 ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869
36870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36871 /* end confdefs.h. */
36872 #include <math.h>
36873 int
36874 main ()
36875 {
36876 modf(0, 0);
36877 ;
36878 return 0;
36879 }
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func_modf_use=yes
36883 else
36884 glibcxx_cv_func_modf_use=no
36885 fi
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893
36894 fi
36895
36896 fi
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36898 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36899
36900 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36901 for ac_func in modf
36902 do :
36903 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36904 if test "x$ac_cv_func_modf" = x""yes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE_MODF 1
36907 _ACEOF
36908
36909 fi
36910 done
36911
36912 else
36913
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36915 $as_echo_n "checking for _modf declaration... " >&6; }
36916 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36917 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36918 $as_echo_n "(cached) " >&6
36919 else
36920
36921
36922 ac_ext=cpp
36923 ac_cpp='$CXXCPP $CPPFLAGS'
36924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36929 /* end confdefs.h. */
36930 #include <math.h>
36931 int
36932 main ()
36933 {
36934 _modf(0, 0);
36935 ;
36936 return 0;
36937 }
36938 _ACEOF
36939 if ac_fn_cxx_try_compile "$LINENO"; then :
36940 glibcxx_cv_func__modf_use=yes
36941 else
36942 glibcxx_cv_func__modf_use=no
36943 fi
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_ext=c
36946 ac_cpp='$CPP $CPPFLAGS'
36947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36950
36951
36952 fi
36953
36954 fi
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36956 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36957
36958 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36959 for ac_func in _modf
36960 do :
36961 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36962 if test "x$ac_cv_func__modf" = x""yes; then :
36963 cat >>confdefs.h <<_ACEOF
36964 #define HAVE__MODF 1
36965 _ACEOF
36966
36967 fi
36968 done
36969
36970 fi
36971 fi
36972
36973
36974
36975
36976
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36978 $as_echo_n "checking for powf declaration... " >&6; }
36979 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36980 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36981 $as_echo_n "(cached) " >&6
36982 else
36983
36984
36985 ac_ext=cpp
36986 ac_cpp='$CXXCPP $CPPFLAGS'
36987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36990
36991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36992 /* end confdefs.h. */
36993 #include <math.h>
36994 int
36995 main ()
36996 {
36997 powf(0, 0);
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func_powf_use=yes
37004 else
37005 glibcxx_cv_func_powf_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017 fi
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37019 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37020
37021 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37022 for ac_func in powf
37023 do :
37024 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37025 if test "x$ac_cv_func_powf" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE_POWF 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033 else
37034
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37036 $as_echo_n "checking for _powf declaration... " >&6; }
37037 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37038 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37039 $as_echo_n "(cached) " >&6
37040 else
37041
37042
37043 ac_ext=cpp
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048
37049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050 /* end confdefs.h. */
37051 #include <math.h>
37052 int
37053 main ()
37054 {
37055 _powf(0, 0);
37056 ;
37057 return 0;
37058 }
37059 _ACEOF
37060 if ac_fn_cxx_try_compile "$LINENO"; then :
37061 glibcxx_cv_func__powf_use=yes
37062 else
37063 glibcxx_cv_func__powf_use=no
37064 fi
37065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37066 ac_ext=c
37067 ac_cpp='$CPP $CPPFLAGS'
37068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37071
37072
37073 fi
37074
37075 fi
37076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37077 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37078
37079 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37080 for ac_func in _powf
37081 do :
37082 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37083 if test "x$ac_cv_func__powf" = x""yes; then :
37084 cat >>confdefs.h <<_ACEOF
37085 #define HAVE__POWF 1
37086 _ACEOF
37087
37088 fi
37089 done
37090
37091 fi
37092 fi
37093
37094
37095
37096
37097
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37099 $as_echo_n "checking for sqrtf declaration... " >&6; }
37100 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37101 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37102 $as_echo_n "(cached) " >&6
37103 else
37104
37105
37106 ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111
37112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h. */
37114 #include <math.h>
37115 #ifdef HAVE_IEEEFP_H
37116 #include <ieeefp.h>
37117 #endif
37118
37119 int
37120 main ()
37121 {
37122 sqrtf(0);
37123 ;
37124 return 0;
37125 }
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func_sqrtf_use=yes
37129 else
37130 glibcxx_cv_func_sqrtf_use=no
37131 fi
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138
37139
37140 fi
37141
37142 fi
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37144 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37145
37146 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37147 for ac_func in sqrtf
37148 do :
37149 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37150 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE_SQRTF 1
37153 _ACEOF
37154
37155 fi
37156 done
37157
37158 else
37159
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37161 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37162 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37163 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37164 $as_echo_n "(cached) " >&6
37165 else
37166
37167
37168 ac_ext=cpp
37169 ac_cpp='$CXXCPP $CPPFLAGS'
37170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37173
37174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37175 /* end confdefs.h. */
37176 #include <math.h>
37177 #ifdef HAVE_IEEEFP_H
37178 #include <ieeefp.h>
37179 #endif
37180
37181 int
37182 main ()
37183 {
37184 _sqrtf(0);
37185 ;
37186 return 0;
37187 }
37188 _ACEOF
37189 if ac_fn_cxx_try_compile "$LINENO"; then :
37190 glibcxx_cv_func__sqrtf_use=yes
37191 else
37192 glibcxx_cv_func__sqrtf_use=no
37193 fi
37194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37200
37201
37202 fi
37203
37204 fi
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37206 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37207
37208 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37209 for ac_func in _sqrtf
37210 do :
37211 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37212 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37213 cat >>confdefs.h <<_ACEOF
37214 #define HAVE__SQRTF 1
37215 _ACEOF
37216
37217 fi
37218 done
37219
37220 fi
37221 fi
37222
37223
37224
37225
37226
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37228 $as_echo_n "checking for sincosf declaration... " >&6; }
37229 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37230 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37231 $as_echo_n "(cached) " >&6
37232 else
37233
37234
37235 ac_ext=cpp
37236 ac_cpp='$CXXCPP $CPPFLAGS'
37237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240
37241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37242 /* end confdefs.h. */
37243 #include <math.h>
37244 int
37245 main ()
37246 {
37247 sincosf(0, 0, 0);
37248 ;
37249 return 0;
37250 }
37251 _ACEOF
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253 glibcxx_cv_func_sincosf_use=yes
37254 else
37255 glibcxx_cv_func_sincosf_use=no
37256 fi
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258 ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263
37264
37265 fi
37266
37267 fi
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37269 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37270
37271 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37272 for ac_func in sincosf
37273 do :
37274 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37275 if test "x$ac_cv_func_sincosf" = x""yes; then :
37276 cat >>confdefs.h <<_ACEOF
37277 #define HAVE_SINCOSF 1
37278 _ACEOF
37279
37280 fi
37281 done
37282
37283 else
37284
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37286 $as_echo_n "checking for _sincosf declaration... " >&6; }
37287 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37288 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37289 $as_echo_n "(cached) " >&6
37290 else
37291
37292
37293 ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37298
37299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h. */
37301 #include <math.h>
37302 int
37303 main ()
37304 {
37305 _sincosf(0, 0, 0);
37306 ;
37307 return 0;
37308 }
37309 _ACEOF
37310 if ac_fn_cxx_try_compile "$LINENO"; then :
37311 glibcxx_cv_func__sincosf_use=yes
37312 else
37313 glibcxx_cv_func__sincosf_use=no
37314 fi
37315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37316 ac_ext=c
37317 ac_cpp='$CPP $CPPFLAGS'
37318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37321
37322
37323 fi
37324
37325 fi
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37327 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37328
37329 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37330 for ac_func in _sincosf
37331 do :
37332 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37333 if test "x$ac_cv_func__sincosf" = x""yes; then :
37334 cat >>confdefs.h <<_ACEOF
37335 #define HAVE__SINCOSF 1
37336 _ACEOF
37337
37338 fi
37339 done
37340
37341 fi
37342 fi
37343
37344
37345
37346
37347
37348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37349 $as_echo_n "checking for finitef declaration... " >&6; }
37350 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37351 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37352 $as_echo_n "(cached) " >&6
37353 else
37354
37355
37356 ac_ext=cpp
37357 ac_cpp='$CXXCPP $CPPFLAGS'
37358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37361
37362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 /* end confdefs.h. */
37364 #include <math.h>
37365 #ifdef HAVE_IEEEFP_H
37366 #include <ieeefp.h>
37367 #endif
37368
37369 int
37370 main ()
37371 {
37372 finitef(0);
37373 ;
37374 return 0;
37375 }
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func_finitef_use=yes
37379 else
37380 glibcxx_cv_func_finitef_use=no
37381 fi
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388
37389
37390 fi
37391
37392 fi
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37394 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37395
37396 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37397 for ac_func in finitef
37398 do :
37399 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37400 if test "x$ac_cv_func_finitef" = x""yes; then :
37401 cat >>confdefs.h <<_ACEOF
37402 #define HAVE_FINITEF 1
37403 _ACEOF
37404
37405 fi
37406 done
37407
37408 else
37409
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37411 $as_echo_n "checking for _finitef declaration... " >&6; }
37412 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37413 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37414 $as_echo_n "(cached) " >&6
37415 else
37416
37417
37418 ac_ext=cpp
37419 ac_cpp='$CXXCPP $CPPFLAGS'
37420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37423
37424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37425 /* end confdefs.h. */
37426 #include <math.h>
37427 #ifdef HAVE_IEEEFP_H
37428 #include <ieeefp.h>
37429 #endif
37430
37431 int
37432 main ()
37433 {
37434 _finitef(0);
37435 ;
37436 return 0;
37437 }
37438 _ACEOF
37439 if ac_fn_cxx_try_compile "$LINENO"; then :
37440 glibcxx_cv_func__finitef_use=yes
37441 else
37442 glibcxx_cv_func__finitef_use=no
37443 fi
37444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37445 ac_ext=c
37446 ac_cpp='$CPP $CPPFLAGS'
37447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37450
37451
37452 fi
37453
37454 fi
37455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37456 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37457
37458 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37459 for ac_func in _finitef
37460 do :
37461 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37462 if test "x$ac_cv_func__finitef" = x""yes; then :
37463 cat >>confdefs.h <<_ACEOF
37464 #define HAVE__FINITEF 1
37465 _ACEOF
37466
37467 fi
37468 done
37469
37470 fi
37471 fi
37472
37473
37474
37475
37476
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37478 $as_echo_n "checking for long double trig functions... " >&6; }
37479 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37480 $as_echo_n "(cached) " >&6
37481 else
37482
37483
37484 ac_ext=cpp
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37489
37490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h. */
37492 #include <math.h>
37493 int
37494 main ()
37495 {
37496 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37497 ;
37498 return 0;
37499 }
37500 _ACEOF
37501 if ac_fn_cxx_try_compile "$LINENO"; then :
37502 glibcxx_cv_func_long_double_trig_use=yes
37503 else
37504 glibcxx_cv_func_long_double_trig_use=no
37505 fi
37506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37507 ac_ext=c
37508 ac_cpp='$CPP $CPPFLAGS'
37509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37512
37513 fi
37514
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37516 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37517 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37518 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37519 do :
37520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37522 eval as_val=\$$as_ac_var
37523 if test "x$as_val" = x""yes; then :
37524 cat >>confdefs.h <<_ACEOF
37525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 _ACEOF
37527
37528 fi
37529 done
37530
37531 else
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37533 $as_echo_n "checking for _long double trig functions... " >&6; }
37534 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37535 $as_echo_n "(cached) " >&6
37536 else
37537
37538
37539 ac_ext=cpp
37540 ac_cpp='$CXXCPP $CPPFLAGS'
37541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37544
37545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 /* end confdefs.h. */
37547 #include <math.h>
37548 int
37549 main ()
37550 {
37551 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557 glibcxx_cv_func__long_double_trig_use=yes
37558 else
37559 glibcxx_cv_func__long_double_trig_use=no
37560 fi
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562 ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567
37568 fi
37569
37570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37571 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37572 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37573 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37574 do :
37575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37577 eval as_val=\$$as_ac_var
37578 if test "x$as_val" = x""yes; then :
37579 cat >>confdefs.h <<_ACEOF
37580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37581 _ACEOF
37582
37583 fi
37584 done
37585
37586 fi
37587 fi
37588
37589
37590
37591
37592
37593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37594 $as_echo_n "checking for long double round functions... " >&6; }
37595 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37596 $as_echo_n "(cached) " >&6
37597 else
37598
37599
37600 ac_ext=cpp
37601 ac_cpp='$CXXCPP $CPPFLAGS'
37602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37605
37606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37607 /* end confdefs.h. */
37608 #include <math.h>
37609 int
37610 main ()
37611 {
37612 ceill (0); floorl (0);
37613 ;
37614 return 0;
37615 }
37616 _ACEOF
37617 if ac_fn_cxx_try_compile "$LINENO"; then :
37618 glibcxx_cv_func_long_double_round_use=yes
37619 else
37620 glibcxx_cv_func_long_double_round_use=no
37621 fi
37622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37623 ac_ext=c
37624 ac_cpp='$CPP $CPPFLAGS'
37625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37628
37629 fi
37630
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37632 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37633 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37634 for ac_func in ceill floorl
37635 do :
37636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37638 eval as_val=\$$as_ac_var
37639 if test "x$as_val" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37642 _ACEOF
37643
37644 fi
37645 done
37646
37647 else
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37649 $as_echo_n "checking for _long double round functions... " >&6; }
37650 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37653
37654
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37660
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37664 int
37665 main ()
37666 {
37667 _ceill (0); _floorl (0);
37668 ;
37669 return 0;
37670 }
37671 _ACEOF
37672 if ac_fn_cxx_try_compile "$LINENO"; then :
37673 glibcxx_cv_func__long_double_round_use=yes
37674 else
37675 glibcxx_cv_func__long_double_round_use=no
37676 fi
37677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37678 ac_ext=c
37679 ac_cpp='$CPP $CPPFLAGS'
37680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37683
37684 fi
37685
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37687 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37688 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37689 for ac_func in _ceill _floorl
37690 do :
37691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37693 eval as_val=\$$as_ac_var
37694 if test "x$as_val" = x""yes; then :
37695 cat >>confdefs.h <<_ACEOF
37696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37697 _ACEOF
37698
37699 fi
37700 done
37701
37702 fi
37703 fi
37704
37705
37706
37707
37708
37709
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37711 $as_echo_n "checking for isnanl declaration... " >&6; }
37712 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37713 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37714 $as_echo_n "(cached) " >&6
37715 else
37716
37717
37718 ac_ext=cpp
37719 ac_cpp='$CXXCPP $CPPFLAGS'
37720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723
37724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37725 /* end confdefs.h. */
37726 #include <math.h>
37727 #ifdef HAVE_IEEEFP_H
37728 #include <ieeefp.h>
37729 #endif
37730
37731 int
37732 main ()
37733 {
37734 isnanl(0);
37735 ;
37736 return 0;
37737 }
37738 _ACEOF
37739 if ac_fn_cxx_try_compile "$LINENO"; then :
37740 glibcxx_cv_func_isnanl_use=yes
37741 else
37742 glibcxx_cv_func_isnanl_use=no
37743 fi
37744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37745 ac_ext=c
37746 ac_cpp='$CPP $CPPFLAGS'
37747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37750
37751
37752 fi
37753
37754 fi
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37756 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37757
37758 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37759 for ac_func in isnanl
37760 do :
37761 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37762 if test "x$ac_cv_func_isnanl" = x""yes; then :
37763 cat >>confdefs.h <<_ACEOF
37764 #define HAVE_ISNANL 1
37765 _ACEOF
37766
37767 fi
37768 done
37769
37770 else
37771
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37773 $as_echo_n "checking for _isnanl declaration... " >&6; }
37774 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37775 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37776 $as_echo_n "(cached) " >&6
37777 else
37778
37779
37780 ac_ext=cpp
37781 ac_cpp='$CXXCPP $CPPFLAGS'
37782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37785
37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37787 /* end confdefs.h. */
37788 #include <math.h>
37789 #ifdef HAVE_IEEEFP_H
37790 #include <ieeefp.h>
37791 #endif
37792
37793 int
37794 main ()
37795 {
37796 _isnanl(0);
37797 ;
37798 return 0;
37799 }
37800 _ACEOF
37801 if ac_fn_cxx_try_compile "$LINENO"; then :
37802 glibcxx_cv_func__isnanl_use=yes
37803 else
37804 glibcxx_cv_func__isnanl_use=no
37805 fi
37806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 ac_ext=c
37808 ac_cpp='$CPP $CPPFLAGS'
37809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37812
37813
37814 fi
37815
37816 fi
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37818 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37819
37820 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37821 for ac_func in _isnanl
37822 do :
37823 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37824 if test "x$ac_cv_func__isnanl" = x""yes; then :
37825 cat >>confdefs.h <<_ACEOF
37826 #define HAVE__ISNANL 1
37827 _ACEOF
37828
37829 fi
37830 done
37831
37832 fi
37833 fi
37834
37835
37836
37837
37838
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37840 $as_echo_n "checking for isinfl declaration... " >&6; }
37841 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37842 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37843 $as_echo_n "(cached) " >&6
37844 else
37845
37846
37847 ac_ext=cpp
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37852
37853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 /* end confdefs.h. */
37855 #include <math.h>
37856 #ifdef HAVE_IEEEFP_H
37857 #include <ieeefp.h>
37858 #endif
37859
37860 int
37861 main ()
37862 {
37863 isinfl(0);
37864 ;
37865 return 0;
37866 }
37867 _ACEOF
37868 if ac_fn_cxx_try_compile "$LINENO"; then :
37869 glibcxx_cv_func_isinfl_use=yes
37870 else
37871 glibcxx_cv_func_isinfl_use=no
37872 fi
37873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37874 ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879
37880
37881 fi
37882
37883 fi
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37885 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37886
37887 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37888 for ac_func in isinfl
37889 do :
37890 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37891 if test "x$ac_cv_func_isinfl" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_ISINFL 1
37894 _ACEOF
37895
37896 fi
37897 done
37898
37899 else
37900
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37902 $as_echo_n "checking for _isinfl declaration... " >&6; }
37903 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37904 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37905 $as_echo_n "(cached) " >&6
37906 else
37907
37908
37909 ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37914
37915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h. */
37917 #include <math.h>
37918 #ifdef HAVE_IEEEFP_H
37919 #include <ieeefp.h>
37920 #endif
37921
37922 int
37923 main ()
37924 {
37925 _isinfl(0);
37926 ;
37927 return 0;
37928 }
37929 _ACEOF
37930 if ac_fn_cxx_try_compile "$LINENO"; then :
37931 glibcxx_cv_func__isinfl_use=yes
37932 else
37933 glibcxx_cv_func__isinfl_use=no
37934 fi
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37936 ac_ext=c
37937 ac_cpp='$CPP $CPPFLAGS'
37938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37941
37942
37943 fi
37944
37945 fi
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37947 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37948
37949 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37950 for ac_func in _isinfl
37951 do :
37952 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37953 if test "x$ac_cv_func__isinfl" = x""yes; then :
37954 cat >>confdefs.h <<_ACEOF
37955 #define HAVE__ISINFL 1
37956 _ACEOF
37957
37958 fi
37959 done
37960
37961 fi
37962 fi
37963
37964
37965
37966
37967
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37969 $as_echo_n "checking for atan2l declaration... " >&6; }
37970 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37971 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37972 $as_echo_n "(cached) " >&6
37973 else
37974
37975
37976 ac_ext=cpp
37977 ac_cpp='$CXXCPP $CPPFLAGS'
37978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37981
37982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37983 /* end confdefs.h. */
37984 #include <math.h>
37985 int
37986 main ()
37987 {
37988 atan2l(0, 0);
37989 ;
37990 return 0;
37991 }
37992 _ACEOF
37993 if ac_fn_cxx_try_compile "$LINENO"; then :
37994 glibcxx_cv_func_atan2l_use=yes
37995 else
37996 glibcxx_cv_func_atan2l_use=no
37997 fi
37998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37999 ac_ext=c
38000 ac_cpp='$CPP $CPPFLAGS'
38001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38004
38005
38006 fi
38007
38008 fi
38009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38010 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38011
38012 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38013 for ac_func in atan2l
38014 do :
38015 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38016 if test "x$ac_cv_func_atan2l" = x""yes; then :
38017 cat >>confdefs.h <<_ACEOF
38018 #define HAVE_ATAN2L 1
38019 _ACEOF
38020
38021 fi
38022 done
38023
38024 else
38025
38026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38027 $as_echo_n "checking for _atan2l declaration... " >&6; }
38028 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38029 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38030 $as_echo_n "(cached) " >&6
38031 else
38032
38033
38034 ac_ext=cpp
38035 ac_cpp='$CXXCPP $CPPFLAGS'
38036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38039
38040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38041 /* end confdefs.h. */
38042 #include <math.h>
38043 int
38044 main ()
38045 {
38046 _atan2l(0, 0);
38047 ;
38048 return 0;
38049 }
38050 _ACEOF
38051 if ac_fn_cxx_try_compile "$LINENO"; then :
38052 glibcxx_cv_func__atan2l_use=yes
38053 else
38054 glibcxx_cv_func__atan2l_use=no
38055 fi
38056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38057 ac_ext=c
38058 ac_cpp='$CPP $CPPFLAGS'
38059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38062
38063
38064 fi
38065
38066 fi
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38068 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38069
38070 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38071 for ac_func in _atan2l
38072 do :
38073 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38074 if test "x$ac_cv_func__atan2l" = x""yes; then :
38075 cat >>confdefs.h <<_ACEOF
38076 #define HAVE__ATAN2L 1
38077 _ACEOF
38078
38079 fi
38080 done
38081
38082 fi
38083 fi
38084
38085
38086
38087
38088
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38090 $as_echo_n "checking for expl declaration... " >&6; }
38091 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38092 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38093 $as_echo_n "(cached) " >&6
38094 else
38095
38096
38097 ac_ext=cpp
38098 ac_cpp='$CXXCPP $CPPFLAGS'
38099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38102
38103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38104 /* end confdefs.h. */
38105 #include <math.h>
38106 #ifdef HAVE_IEEEFP_H
38107 #include <ieeefp.h>
38108 #endif
38109
38110 int
38111 main ()
38112 {
38113 expl(0);
38114 ;
38115 return 0;
38116 }
38117 _ACEOF
38118 if ac_fn_cxx_try_compile "$LINENO"; then :
38119 glibcxx_cv_func_expl_use=yes
38120 else
38121 glibcxx_cv_func_expl_use=no
38122 fi
38123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38124 ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38129
38130
38131 fi
38132
38133 fi
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38135 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38136
38137 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38138 for ac_func in expl
38139 do :
38140 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38141 if test "x$ac_cv_func_expl" = x""yes; then :
38142 cat >>confdefs.h <<_ACEOF
38143 #define HAVE_EXPL 1
38144 _ACEOF
38145
38146 fi
38147 done
38148
38149 else
38150
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38152 $as_echo_n "checking for _expl declaration... " >&6; }
38153 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38154 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38155 $as_echo_n "(cached) " >&6
38156 else
38157
38158
38159 ac_ext=cpp
38160 ac_cpp='$CXXCPP $CPPFLAGS'
38161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38164
38165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38166 /* end confdefs.h. */
38167 #include <math.h>
38168 #ifdef HAVE_IEEEFP_H
38169 #include <ieeefp.h>
38170 #endif
38171
38172 int
38173 main ()
38174 {
38175 _expl(0);
38176 ;
38177 return 0;
38178 }
38179 _ACEOF
38180 if ac_fn_cxx_try_compile "$LINENO"; then :
38181 glibcxx_cv_func__expl_use=yes
38182 else
38183 glibcxx_cv_func__expl_use=no
38184 fi
38185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38186 ac_ext=c
38187 ac_cpp='$CPP $CPPFLAGS'
38188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38191
38192
38193 fi
38194
38195 fi
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38197 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38198
38199 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38200 for ac_func in _expl
38201 do :
38202 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38203 if test "x$ac_cv_func__expl" = x""yes; then :
38204 cat >>confdefs.h <<_ACEOF
38205 #define HAVE__EXPL 1
38206 _ACEOF
38207
38208 fi
38209 done
38210
38211 fi
38212 fi
38213
38214
38215
38216
38217
38218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38219 $as_echo_n "checking for fabsl declaration... " >&6; }
38220 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38221 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38222 $as_echo_n "(cached) " >&6
38223 else
38224
38225
38226 ac_ext=cpp
38227 ac_cpp='$CXXCPP $CPPFLAGS'
38228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38231
38232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38233 /* end confdefs.h. */
38234 #include <math.h>
38235 #ifdef HAVE_IEEEFP_H
38236 #include <ieeefp.h>
38237 #endif
38238
38239 int
38240 main ()
38241 {
38242 fabsl(0);
38243 ;
38244 return 0;
38245 }
38246 _ACEOF
38247 if ac_fn_cxx_try_compile "$LINENO"; then :
38248 glibcxx_cv_func_fabsl_use=yes
38249 else
38250 glibcxx_cv_func_fabsl_use=no
38251 fi
38252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253 ac_ext=c
38254 ac_cpp='$CPP $CPPFLAGS'
38255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38258
38259
38260 fi
38261
38262 fi
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38264 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38265
38266 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38267 for ac_func in fabsl
38268 do :
38269 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38270 if test "x$ac_cv_func_fabsl" = x""yes; then :
38271 cat >>confdefs.h <<_ACEOF
38272 #define HAVE_FABSL 1
38273 _ACEOF
38274
38275 fi
38276 done
38277
38278 else
38279
38280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38281 $as_echo_n "checking for _fabsl declaration... " >&6; }
38282 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38283 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38284 $as_echo_n "(cached) " >&6
38285 else
38286
38287
38288 ac_ext=cpp
38289 ac_cpp='$CXXCPP $CPPFLAGS'
38290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38293
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38296 #include <math.h>
38297 #ifdef HAVE_IEEEFP_H
38298 #include <ieeefp.h>
38299 #endif
38300
38301 int
38302 main ()
38303 {
38304 _fabsl(0);
38305 ;
38306 return 0;
38307 }
38308 _ACEOF
38309 if ac_fn_cxx_try_compile "$LINENO"; then :
38310 glibcxx_cv_func__fabsl_use=yes
38311 else
38312 glibcxx_cv_func__fabsl_use=no
38313 fi
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38315 ac_ext=c
38316 ac_cpp='$CPP $CPPFLAGS'
38317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38320
38321
38322 fi
38323
38324 fi
38325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38326 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38327
38328 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38329 for ac_func in _fabsl
38330 do :
38331 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38332 if test "x$ac_cv_func__fabsl" = x""yes; then :
38333 cat >>confdefs.h <<_ACEOF
38334 #define HAVE__FABSL 1
38335 _ACEOF
38336
38337 fi
38338 done
38339
38340 fi
38341 fi
38342
38343
38344
38345
38346
38347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38348 $as_echo_n "checking for fmodl declaration... " >&6; }
38349 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38350 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38351 $as_echo_n "(cached) " >&6
38352 else
38353
38354
38355 ac_ext=cpp
38356 ac_cpp='$CXXCPP $CPPFLAGS'
38357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38360
38361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38362 /* end confdefs.h. */
38363 #include <math.h>
38364 int
38365 main ()
38366 {
38367 fmodl(0, 0);
38368 ;
38369 return 0;
38370 }
38371 _ACEOF
38372 if ac_fn_cxx_try_compile "$LINENO"; then :
38373 glibcxx_cv_func_fmodl_use=yes
38374 else
38375 glibcxx_cv_func_fmodl_use=no
38376 fi
38377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38378 ac_ext=c
38379 ac_cpp='$CPP $CPPFLAGS'
38380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38383
38384
38385 fi
38386
38387 fi
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38389 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38390
38391 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38392 for ac_func in fmodl
38393 do :
38394 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38395 if test "x$ac_cv_func_fmodl" = x""yes; then :
38396 cat >>confdefs.h <<_ACEOF
38397 #define HAVE_FMODL 1
38398 _ACEOF
38399
38400 fi
38401 done
38402
38403 else
38404
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38406 $as_echo_n "checking for _fmodl declaration... " >&6; }
38407 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38408 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38409 $as_echo_n "(cached) " >&6
38410 else
38411
38412
38413 ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38418
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h. */
38421 #include <math.h>
38422 int
38423 main ()
38424 {
38425 _fmodl(0, 0);
38426 ;
38427 return 0;
38428 }
38429 _ACEOF
38430 if ac_fn_cxx_try_compile "$LINENO"; then :
38431 glibcxx_cv_func__fmodl_use=yes
38432 else
38433 glibcxx_cv_func__fmodl_use=no
38434 fi
38435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38436 ac_ext=c
38437 ac_cpp='$CPP $CPPFLAGS'
38438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38441
38442
38443 fi
38444
38445 fi
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38447 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38448
38449 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38450 for ac_func in _fmodl
38451 do :
38452 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38453 if test "x$ac_cv_func__fmodl" = x""yes; then :
38454 cat >>confdefs.h <<_ACEOF
38455 #define HAVE__FMODL 1
38456 _ACEOF
38457
38458 fi
38459 done
38460
38461 fi
38462 fi
38463
38464
38465
38466
38467
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38469 $as_echo_n "checking for frexpl declaration... " >&6; }
38470 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38471 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38472 $as_echo_n "(cached) " >&6
38473 else
38474
38475
38476 ac_ext=cpp
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38481
38482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38483 /* end confdefs.h. */
38484 #include <math.h>
38485 int
38486 main ()
38487 {
38488 frexpl(0, 0);
38489 ;
38490 return 0;
38491 }
38492 _ACEOF
38493 if ac_fn_cxx_try_compile "$LINENO"; then :
38494 glibcxx_cv_func_frexpl_use=yes
38495 else
38496 glibcxx_cv_func_frexpl_use=no
38497 fi
38498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38499 ac_ext=c
38500 ac_cpp='$CPP $CPPFLAGS'
38501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38504
38505
38506 fi
38507
38508 fi
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38510 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38511
38512 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38513 for ac_func in frexpl
38514 do :
38515 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38516 if test "x$ac_cv_func_frexpl" = x""yes; then :
38517 cat >>confdefs.h <<_ACEOF
38518 #define HAVE_FREXPL 1
38519 _ACEOF
38520
38521 fi
38522 done
38523
38524 else
38525
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38527 $as_echo_n "checking for _frexpl declaration... " >&6; }
38528 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38529 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38530 $as_echo_n "(cached) " >&6
38531 else
38532
38533
38534 ac_ext=cpp
38535 ac_cpp='$CXXCPP $CPPFLAGS'
38536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38539
38540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38541 /* end confdefs.h. */
38542 #include <math.h>
38543 int
38544 main ()
38545 {
38546 _frexpl(0, 0);
38547 ;
38548 return 0;
38549 }
38550 _ACEOF
38551 if ac_fn_cxx_try_compile "$LINENO"; then :
38552 glibcxx_cv_func__frexpl_use=yes
38553 else
38554 glibcxx_cv_func__frexpl_use=no
38555 fi
38556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38557 ac_ext=c
38558 ac_cpp='$CPP $CPPFLAGS'
38559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38562
38563
38564 fi
38565
38566 fi
38567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38568 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38569
38570 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38571 for ac_func in _frexpl
38572 do :
38573 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38574 if test "x$ac_cv_func__frexpl" = x""yes; then :
38575 cat >>confdefs.h <<_ACEOF
38576 #define HAVE__FREXPL 1
38577 _ACEOF
38578
38579 fi
38580 done
38581
38582 fi
38583 fi
38584
38585
38586
38587
38588
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38590 $as_echo_n "checking for hypotl declaration... " >&6; }
38591 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38592 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38593 $as_echo_n "(cached) " >&6
38594 else
38595
38596
38597 ac_ext=cpp
38598 ac_cpp='$CXXCPP $CPPFLAGS'
38599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38602
38603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38604 /* end confdefs.h. */
38605 #include <math.h>
38606 int
38607 main ()
38608 {
38609 hypotl(0, 0);
38610 ;
38611 return 0;
38612 }
38613 _ACEOF
38614 if ac_fn_cxx_try_compile "$LINENO"; then :
38615 glibcxx_cv_func_hypotl_use=yes
38616 else
38617 glibcxx_cv_func_hypotl_use=no
38618 fi
38619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38620 ac_ext=c
38621 ac_cpp='$CPP $CPPFLAGS'
38622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38625
38626
38627 fi
38628
38629 fi
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38631 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38632
38633 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38634 for ac_func in hypotl
38635 do :
38636 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38637 if test "x$ac_cv_func_hypotl" = x""yes; then :
38638 cat >>confdefs.h <<_ACEOF
38639 #define HAVE_HYPOTL 1
38640 _ACEOF
38641
38642 fi
38643 done
38644
38645 else
38646
38647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38648 $as_echo_n "checking for _hypotl declaration... " >&6; }
38649 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38650 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38651 $as_echo_n "(cached) " >&6
38652 else
38653
38654
38655 ac_ext=cpp
38656 ac_cpp='$CXXCPP $CPPFLAGS'
38657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38660
38661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38662 /* end confdefs.h. */
38663 #include <math.h>
38664 int
38665 main ()
38666 {
38667 _hypotl(0, 0);
38668 ;
38669 return 0;
38670 }
38671 _ACEOF
38672 if ac_fn_cxx_try_compile "$LINENO"; then :
38673 glibcxx_cv_func__hypotl_use=yes
38674 else
38675 glibcxx_cv_func__hypotl_use=no
38676 fi
38677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38678 ac_ext=c
38679 ac_cpp='$CPP $CPPFLAGS'
38680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38683
38684
38685 fi
38686
38687 fi
38688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38689 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38690
38691 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38692 for ac_func in _hypotl
38693 do :
38694 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38695 if test "x$ac_cv_func__hypotl" = x""yes; then :
38696 cat >>confdefs.h <<_ACEOF
38697 #define HAVE__HYPOTL 1
38698 _ACEOF
38699
38700 fi
38701 done
38702
38703 fi
38704 fi
38705
38706
38707
38708
38709
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38711 $as_echo_n "checking for ldexpl declaration... " >&6; }
38712 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38713 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38714 $as_echo_n "(cached) " >&6
38715 else
38716
38717
38718 ac_ext=cpp
38719 ac_cpp='$CXXCPP $CPPFLAGS'
38720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38723
38724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h. */
38726 #include <math.h>
38727 int
38728 main ()
38729 {
38730 ldexpl(0, 0);
38731 ;
38732 return 0;
38733 }
38734 _ACEOF
38735 if ac_fn_cxx_try_compile "$LINENO"; then :
38736 glibcxx_cv_func_ldexpl_use=yes
38737 else
38738 glibcxx_cv_func_ldexpl_use=no
38739 fi
38740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38741 ac_ext=c
38742 ac_cpp='$CPP $CPPFLAGS'
38743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38746
38747
38748 fi
38749
38750 fi
38751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38752 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38753
38754 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38755 for ac_func in ldexpl
38756 do :
38757 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38758 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38759 cat >>confdefs.h <<_ACEOF
38760 #define HAVE_LDEXPL 1
38761 _ACEOF
38762
38763 fi
38764 done
38765
38766 else
38767
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38769 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38770 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38771 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38772 $as_echo_n "(cached) " >&6
38773 else
38774
38775
38776 ac_ext=cpp
38777 ac_cpp='$CXXCPP $CPPFLAGS'
38778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38781
38782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783 /* end confdefs.h. */
38784 #include <math.h>
38785 int
38786 main ()
38787 {
38788 _ldexpl(0, 0);
38789 ;
38790 return 0;
38791 }
38792 _ACEOF
38793 if ac_fn_cxx_try_compile "$LINENO"; then :
38794 glibcxx_cv_func__ldexpl_use=yes
38795 else
38796 glibcxx_cv_func__ldexpl_use=no
38797 fi
38798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38799 ac_ext=c
38800 ac_cpp='$CPP $CPPFLAGS'
38801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38804
38805
38806 fi
38807
38808 fi
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38810 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38811
38812 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38813 for ac_func in _ldexpl
38814 do :
38815 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38816 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38817 cat >>confdefs.h <<_ACEOF
38818 #define HAVE__LDEXPL 1
38819 _ACEOF
38820
38821 fi
38822 done
38823
38824 fi
38825 fi
38826
38827
38828
38829
38830
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38832 $as_echo_n "checking for logl declaration... " >&6; }
38833 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38834 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38837
38838
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38844
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <math.h>
38848 #ifdef HAVE_IEEEFP_H
38849 #include <ieeefp.h>
38850 #endif
38851
38852 int
38853 main ()
38854 {
38855 logl(0);
38856 ;
38857 return 0;
38858 }
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func_logl_use=yes
38862 else
38863 glibcxx_cv_func_logl_use=no
38864 fi
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38871
38872
38873 fi
38874
38875 fi
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38877 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38878
38879 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38880 for ac_func in logl
38881 do :
38882 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38883 if test "x$ac_cv_func_logl" = x""yes; then :
38884 cat >>confdefs.h <<_ACEOF
38885 #define HAVE_LOGL 1
38886 _ACEOF
38887
38888 fi
38889 done
38890
38891 else
38892
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38894 $as_echo_n "checking for _logl declaration... " >&6; }
38895 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38896 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38897 $as_echo_n "(cached) " >&6
38898 else
38899
38900
38901 ac_ext=cpp
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38906
38907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38908 /* end confdefs.h. */
38909 #include <math.h>
38910 #ifdef HAVE_IEEEFP_H
38911 #include <ieeefp.h>
38912 #endif
38913
38914 int
38915 main ()
38916 {
38917 _logl(0);
38918 ;
38919 return 0;
38920 }
38921 _ACEOF
38922 if ac_fn_cxx_try_compile "$LINENO"; then :
38923 glibcxx_cv_func__logl_use=yes
38924 else
38925 glibcxx_cv_func__logl_use=no
38926 fi
38927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38928 ac_ext=c
38929 ac_cpp='$CPP $CPPFLAGS'
38930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38933
38934
38935 fi
38936
38937 fi
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38939 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38940
38941 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38942 for ac_func in _logl
38943 do :
38944 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38945 if test "x$ac_cv_func__logl" = x""yes; then :
38946 cat >>confdefs.h <<_ACEOF
38947 #define HAVE__LOGL 1
38948 _ACEOF
38949
38950 fi
38951 done
38952
38953 fi
38954 fi
38955
38956
38957
38958
38959
38960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38961 $as_echo_n "checking for log10l declaration... " >&6; }
38962 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38963 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38964 $as_echo_n "(cached) " >&6
38965 else
38966
38967
38968 ac_ext=cpp
38969 ac_cpp='$CXXCPP $CPPFLAGS'
38970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38973
38974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38975 /* end confdefs.h. */
38976 #include <math.h>
38977 #ifdef HAVE_IEEEFP_H
38978 #include <ieeefp.h>
38979 #endif
38980
38981 int
38982 main ()
38983 {
38984 log10l(0);
38985 ;
38986 return 0;
38987 }
38988 _ACEOF
38989 if ac_fn_cxx_try_compile "$LINENO"; then :
38990 glibcxx_cv_func_log10l_use=yes
38991 else
38992 glibcxx_cv_func_log10l_use=no
38993 fi
38994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38995 ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39000
39001
39002 fi
39003
39004 fi
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39006 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39007
39008 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39009 for ac_func in log10l
39010 do :
39011 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39012 if test "x$ac_cv_func_log10l" = x""yes; then :
39013 cat >>confdefs.h <<_ACEOF
39014 #define HAVE_LOG10L 1
39015 _ACEOF
39016
39017 fi
39018 done
39019
39020 else
39021
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39023 $as_echo_n "checking for _log10l declaration... " >&6; }
39024 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39025 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39026 $as_echo_n "(cached) " >&6
39027 else
39028
39029
39030 ac_ext=cpp
39031 ac_cpp='$CXXCPP $CPPFLAGS'
39032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39035
39036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39037 /* end confdefs.h. */
39038 #include <math.h>
39039 #ifdef HAVE_IEEEFP_H
39040 #include <ieeefp.h>
39041 #endif
39042
39043 int
39044 main ()
39045 {
39046 _log10l(0);
39047 ;
39048 return 0;
39049 }
39050 _ACEOF
39051 if ac_fn_cxx_try_compile "$LINENO"; then :
39052 glibcxx_cv_func__log10l_use=yes
39053 else
39054 glibcxx_cv_func__log10l_use=no
39055 fi
39056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39062
39063
39064 fi
39065
39066 fi
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39068 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39069
39070 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39071 for ac_func in _log10l
39072 do :
39073 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39074 if test "x$ac_cv_func__log10l" = x""yes; then :
39075 cat >>confdefs.h <<_ACEOF
39076 #define HAVE__LOG10L 1
39077 _ACEOF
39078
39079 fi
39080 done
39081
39082 fi
39083 fi
39084
39085
39086
39087
39088
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39090 $as_echo_n "checking for modfl declaration... " >&6; }
39091 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39092 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39093 $as_echo_n "(cached) " >&6
39094 else
39095
39096
39097 ac_ext=cpp
39098 ac_cpp='$CXXCPP $CPPFLAGS'
39099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39102
39103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h. */
39105 #include <math.h>
39106 int
39107 main ()
39108 {
39109 modfl(0, 0);
39110 ;
39111 return 0;
39112 }
39113 _ACEOF
39114 if ac_fn_cxx_try_compile "$LINENO"; then :
39115 glibcxx_cv_func_modfl_use=yes
39116 else
39117 glibcxx_cv_func_modfl_use=no
39118 fi
39119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39120 ac_ext=c
39121 ac_cpp='$CPP $CPPFLAGS'
39122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39125
39126
39127 fi
39128
39129 fi
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39131 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39132
39133 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39134 for ac_func in modfl
39135 do :
39136 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39137 if test "x$ac_cv_func_modfl" = x""yes; then :
39138 cat >>confdefs.h <<_ACEOF
39139 #define HAVE_MODFL 1
39140 _ACEOF
39141
39142 fi
39143 done
39144
39145 else
39146
39147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39148 $as_echo_n "checking for _modfl declaration... " >&6; }
39149 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39150 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39151 $as_echo_n "(cached) " >&6
39152 else
39153
39154
39155 ac_ext=cpp
39156 ac_cpp='$CXXCPP $CPPFLAGS'
39157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39160
39161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39162 /* end confdefs.h. */
39163 #include <math.h>
39164 int
39165 main ()
39166 {
39167 _modfl(0, 0);
39168 ;
39169 return 0;
39170 }
39171 _ACEOF
39172 if ac_fn_cxx_try_compile "$LINENO"; then :
39173 glibcxx_cv_func__modfl_use=yes
39174 else
39175 glibcxx_cv_func__modfl_use=no
39176 fi
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39178 ac_ext=c
39179 ac_cpp='$CPP $CPPFLAGS'
39180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39183
39184
39185 fi
39186
39187 fi
39188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39189 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39190
39191 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39192 for ac_func in _modfl
39193 do :
39194 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39195 if test "x$ac_cv_func__modfl" = x""yes; then :
39196 cat >>confdefs.h <<_ACEOF
39197 #define HAVE__MODFL 1
39198 _ACEOF
39199
39200 fi
39201 done
39202
39203 fi
39204 fi
39205
39206
39207
39208
39209
39210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39211 $as_echo_n "checking for powl declaration... " >&6; }
39212 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39213 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39214 $as_echo_n "(cached) " >&6
39215 else
39216
39217
39218 ac_ext=cpp
39219 ac_cpp='$CXXCPP $CPPFLAGS'
39220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39223
39224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39225 /* end confdefs.h. */
39226 #include <math.h>
39227 int
39228 main ()
39229 {
39230 powl(0, 0);
39231 ;
39232 return 0;
39233 }
39234 _ACEOF
39235 if ac_fn_cxx_try_compile "$LINENO"; then :
39236 glibcxx_cv_func_powl_use=yes
39237 else
39238 glibcxx_cv_func_powl_use=no
39239 fi
39240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39241 ac_ext=c
39242 ac_cpp='$CPP $CPPFLAGS'
39243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39246
39247
39248 fi
39249
39250 fi
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39252 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39253
39254 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39255 for ac_func in powl
39256 do :
39257 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39258 if test "x$ac_cv_func_powl" = x""yes; then :
39259 cat >>confdefs.h <<_ACEOF
39260 #define HAVE_POWL 1
39261 _ACEOF
39262
39263 fi
39264 done
39265
39266 else
39267
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39269 $as_echo_n "checking for _powl declaration... " >&6; }
39270 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39271 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39272 $as_echo_n "(cached) " >&6
39273 else
39274
39275
39276 ac_ext=cpp
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39281
39282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283 /* end confdefs.h. */
39284 #include <math.h>
39285 int
39286 main ()
39287 {
39288 _powl(0, 0);
39289 ;
39290 return 0;
39291 }
39292 _ACEOF
39293 if ac_fn_cxx_try_compile "$LINENO"; then :
39294 glibcxx_cv_func__powl_use=yes
39295 else
39296 glibcxx_cv_func__powl_use=no
39297 fi
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39304
39305
39306 fi
39307
39308 fi
39309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39310 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39311
39312 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39313 for ac_func in _powl
39314 do :
39315 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39316 if test "x$ac_cv_func__powl" = x""yes; then :
39317 cat >>confdefs.h <<_ACEOF
39318 #define HAVE__POWL 1
39319 _ACEOF
39320
39321 fi
39322 done
39323
39324 fi
39325 fi
39326
39327
39328
39329
39330
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39332 $as_echo_n "checking for sqrtl declaration... " >&6; }
39333 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39334 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39335 $as_echo_n "(cached) " >&6
39336 else
39337
39338
39339 ac_ext=cpp
39340 ac_cpp='$CXXCPP $CPPFLAGS'
39341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39344
39345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39346 /* end confdefs.h. */
39347 #include <math.h>
39348 #ifdef HAVE_IEEEFP_H
39349 #include <ieeefp.h>
39350 #endif
39351
39352 int
39353 main ()
39354 {
39355 sqrtl(0);
39356 ;
39357 return 0;
39358 }
39359 _ACEOF
39360 if ac_fn_cxx_try_compile "$LINENO"; then :
39361 glibcxx_cv_func_sqrtl_use=yes
39362 else
39363 glibcxx_cv_func_sqrtl_use=no
39364 fi
39365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39366 ac_ext=c
39367 ac_cpp='$CPP $CPPFLAGS'
39368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39371
39372
39373 fi
39374
39375 fi
39376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39377 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39378
39379 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39380 for ac_func in sqrtl
39381 do :
39382 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39383 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39384 cat >>confdefs.h <<_ACEOF
39385 #define HAVE_SQRTL 1
39386 _ACEOF
39387
39388 fi
39389 done
39390
39391 else
39392
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39394 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39395 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39396 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39397 $as_echo_n "(cached) " >&6
39398 else
39399
39400
39401 ac_ext=cpp
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39406
39407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39408 /* end confdefs.h. */
39409 #include <math.h>
39410 #ifdef HAVE_IEEEFP_H
39411 #include <ieeefp.h>
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 _sqrtl(0);
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 if ac_fn_cxx_try_compile "$LINENO"; then :
39423 glibcxx_cv_func__sqrtl_use=yes
39424 else
39425 glibcxx_cv_func__sqrtl_use=no
39426 fi
39427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39428 ac_ext=c
39429 ac_cpp='$CPP $CPPFLAGS'
39430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39433
39434
39435 fi
39436
39437 fi
39438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39439 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39440
39441 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39442 for ac_func in _sqrtl
39443 do :
39444 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39445 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE__SQRTL 1
39448 _ACEOF
39449
39450 fi
39451 done
39452
39453 fi
39454 fi
39455
39456
39457
39458
39459
39460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39461 $as_echo_n "checking for sincosl declaration... " >&6; }
39462 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39463 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39464 $as_echo_n "(cached) " >&6
39465 else
39466
39467
39468 ac_ext=cpp
39469 ac_cpp='$CXXCPP $CPPFLAGS'
39470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39473
39474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39475 /* end confdefs.h. */
39476 #include <math.h>
39477 int
39478 main ()
39479 {
39480 sincosl(0, 0, 0);
39481 ;
39482 return 0;
39483 }
39484 _ACEOF
39485 if ac_fn_cxx_try_compile "$LINENO"; then :
39486 glibcxx_cv_func_sincosl_use=yes
39487 else
39488 glibcxx_cv_func_sincosl_use=no
39489 fi
39490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39491 ac_ext=c
39492 ac_cpp='$CPP $CPPFLAGS'
39493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39496
39497
39498 fi
39499
39500 fi
39501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39502 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39503
39504 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39505 for ac_func in sincosl
39506 do :
39507 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39508 if test "x$ac_cv_func_sincosl" = x""yes; then :
39509 cat >>confdefs.h <<_ACEOF
39510 #define HAVE_SINCOSL 1
39511 _ACEOF
39512
39513 fi
39514 done
39515
39516 else
39517
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39519 $as_echo_n "checking for _sincosl declaration... " >&6; }
39520 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39521 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39522 $as_echo_n "(cached) " >&6
39523 else
39524
39525
39526 ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39531
39532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h. */
39534 #include <math.h>
39535 int
39536 main ()
39537 {
39538 _sincosl(0, 0, 0);
39539 ;
39540 return 0;
39541 }
39542 _ACEOF
39543 if ac_fn_cxx_try_compile "$LINENO"; then :
39544 glibcxx_cv_func__sincosl_use=yes
39545 else
39546 glibcxx_cv_func__sincosl_use=no
39547 fi
39548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39549 ac_ext=c
39550 ac_cpp='$CPP $CPPFLAGS'
39551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39554
39555
39556 fi
39557
39558 fi
39559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39560 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39561
39562 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39563 for ac_func in _sincosl
39564 do :
39565 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39566 if test "x$ac_cv_func__sincosl" = x""yes; then :
39567 cat >>confdefs.h <<_ACEOF
39568 #define HAVE__SINCOSL 1
39569 _ACEOF
39570
39571 fi
39572 done
39573
39574 fi
39575 fi
39576
39577
39578
39579
39580
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39582 $as_echo_n "checking for finitel declaration... " >&6; }
39583 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39584 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39587
39588
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39601
39602 int
39603 main ()
39604 {
39605 finitel(0);
39606 ;
39607 return 0;
39608 }
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func_finitel_use=yes
39612 else
39613 glibcxx_cv_func_finitel_use=no
39614 fi
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621
39622
39623 fi
39624
39625 fi
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39627 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39628
39629 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39630 for ac_func in finitel
39631 do :
39632 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39633 if test "x$ac_cv_func_finitel" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_FINITEL 1
39636 _ACEOF
39637
39638 fi
39639 done
39640
39641 else
39642
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39644 $as_echo_n "checking for _finitel declaration... " >&6; }
39645 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39646 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39647 $as_echo_n "(cached) " >&6
39648 else
39649
39650
39651 ac_ext=cpp
39652 ac_cpp='$CXXCPP $CPPFLAGS'
39653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39656
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39659 #include <math.h>
39660 #ifdef HAVE_IEEEFP_H
39661 #include <ieeefp.h>
39662 #endif
39663
39664 int
39665 main ()
39666 {
39667 _finitel(0);
39668 ;
39669 return 0;
39670 }
39671 _ACEOF
39672 if ac_fn_cxx_try_compile "$LINENO"; then :
39673 glibcxx_cv_func__finitel_use=yes
39674 else
39675 glibcxx_cv_func__finitel_use=no
39676 fi
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39678 ac_ext=c
39679 ac_cpp='$CPP $CPPFLAGS'
39680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39683
39684
39685 fi
39686
39687 fi
39688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39689 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39690
39691 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39692 for ac_func in _finitel
39693 do :
39694 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39695 if test "x$ac_cv_func__finitel" = x""yes; then :
39696 cat >>confdefs.h <<_ACEOF
39697 #define HAVE__FINITEL 1
39698 _ACEOF
39699
39700 fi
39701 done
39702
39703 fi
39704 fi
39705
39706
39707
39708
39709 LIBS="$ac_save_LIBS"
39710 CXXFLAGS="$ac_save_CXXFLAGS"
39711
39712
39713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39714 ac_save_CXXFLAGS="$CXXFLAGS"
39715 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39716
39717
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39719 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39720 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39721 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39722 $as_echo_n "(cached) " >&6
39723 else
39724
39725
39726 ac_ext=cpp
39727 ac_cpp='$CXXCPP $CPPFLAGS'
39728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39731
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39733 /* end confdefs.h. */
39734 #include <stdlib.h>
39735 int
39736 main ()
39737 {
39738 at_quick_exit(0);
39739 ;
39740 return 0;
39741 }
39742 _ACEOF
39743 if ac_fn_cxx_try_compile "$LINENO"; then :
39744 glibcxx_cv_func_at_quick_exit_use=yes
39745 else
39746 glibcxx_cv_func_at_quick_exit_use=no
39747 fi
39748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39749 ac_ext=c
39750 ac_cpp='$CPP $CPPFLAGS'
39751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39754
39755
39756 fi
39757
39758 fi
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39760 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39761 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39762 for ac_func in at_quick_exit
39763 do :
39764 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39765 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39766 cat >>confdefs.h <<_ACEOF
39767 #define HAVE_AT_QUICK_EXIT 1
39768 _ACEOF
39769
39770 fi
39771 done
39772
39773 fi
39774
39775
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39777 $as_echo_n "checking for quick_exit declaration... " >&6; }
39778 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39779 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39782
39783
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <stdlib.h>
39793 int
39794 main ()
39795 {
39796 quick_exit(0);
39797 ;
39798 return 0;
39799 }
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_quick_exit_use=yes
39803 else
39804 glibcxx_cv_func_quick_exit_use=no
39805 fi
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39812
39813
39814 fi
39815
39816 fi
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39818 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39819 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39820 for ac_func in quick_exit
39821 do :
39822 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39823 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_QUICK_EXIT 1
39826 _ACEOF
39827
39828 fi
39829 done
39830
39831 fi
39832
39833
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39835 $as_echo_n "checking for strtold declaration... " >&6; }
39836 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39837 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39838 $as_echo_n "(cached) " >&6
39839 else
39840
39841
39842 ac_ext=cpp
39843 ac_cpp='$CXXCPP $CPPFLAGS'
39844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39847
39848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39849 /* end confdefs.h. */
39850 #include <stdlib.h>
39851 int
39852 main ()
39853 {
39854 strtold(0, 0);
39855 ;
39856 return 0;
39857 }
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func_strtold_use=yes
39861 else
39862 glibcxx_cv_func_strtold_use=no
39863 fi
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874 fi
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39876 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39877 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39878 for ac_func in strtold
39879 do :
39880 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39881 if test "x$ac_cv_func_strtold" = x""yes; then :
39882 cat >>confdefs.h <<_ACEOF
39883 #define HAVE_STRTOLD 1
39884 _ACEOF
39885
39886 fi
39887 done
39888
39889 fi
39890
39891
39892
39893
39894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39895 $as_echo_n "checking for strtof declaration... " >&6; }
39896 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39897 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39898 $as_echo_n "(cached) " >&6
39899 else
39900
39901
39902 ac_ext=cpp
39903 ac_cpp='$CXXCPP $CPPFLAGS'
39904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39907
39908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39909 /* end confdefs.h. */
39910 #include <stdlib.h>
39911 int
39912 main ()
39913 {
39914 strtof(0, 0);
39915 ;
39916 return 0;
39917 }
39918 _ACEOF
39919 if ac_fn_cxx_try_compile "$LINENO"; then :
39920 glibcxx_cv_func_strtof_use=yes
39921 else
39922 glibcxx_cv_func_strtof_use=no
39923 fi
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925 ac_ext=c
39926 ac_cpp='$CPP $CPPFLAGS'
39927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39930
39931
39932 fi
39933
39934 fi
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39936 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39937 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39938 for ac_func in strtof
39939 do :
39940 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39941 if test "x$ac_cv_func_strtof" = x""yes; then :
39942 cat >>confdefs.h <<_ACEOF
39943 #define HAVE_STRTOF 1
39944 _ACEOF
39945
39946 fi
39947 done
39948
39949 fi
39950
39951
39952
39953
39954 CXXFLAGS="$ac_save_CXXFLAGS"
39955
39956
39957
39958
39959
39960
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39962 $as_echo_n "checking for iconv... " >&6; }
39963 if test "${am_cv_func_iconv+set}" = set; then :
39964 $as_echo_n "(cached) " >&6
39965 else
39966
39967 am_cv_func_iconv="no, consider installing GNU libiconv"
39968 am_cv_lib_iconv=no
39969 am_save_CPPFLAGS="$CPPFLAGS"
39970 CPPFLAGS="$CPPFLAGS $INCICONV"
39971 if test x$gcc_no_link = xyes; then
39972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39973 fi
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976 #include <stdlib.h>
39977 #include <iconv.h>
39978 int
39979 main ()
39980 {
39981 iconv_t cd = iconv_open("","");
39982 iconv(cd,NULL,NULL,NULL,NULL);
39983 iconv_close(cd);
39984 ;
39985 return 0;
39986 }
39987 _ACEOF
39988 if ac_fn_c_try_link "$LINENO"; then :
39989 am_cv_func_iconv=yes
39990 fi
39991 rm -f core conftest.err conftest.$ac_objext \
39992 conftest$ac_exeext conftest.$ac_ext
39993 CPPFLAGS="$am_save_CPPFLAGS"
39994
39995 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
39996 for _libs in .libs _libs; do
39997 am_save_CPPFLAGS="$CPPFLAGS"
39998 am_save_LIBS="$LIBS"
39999 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40000 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40001 if test x$gcc_no_link = xyes; then
40002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40003 fi
40004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h. */
40006 #include <stdlib.h>
40007 #include <iconv.h>
40008 int
40009 main ()
40010 {
40011 iconv_t cd = iconv_open("","");
40012 iconv(cd,NULL,NULL,NULL,NULL);
40013 iconv_close(cd);
40014 ;
40015 return 0;
40016 }
40017 _ACEOF
40018 if ac_fn_c_try_link "$LINENO"; then :
40019 INCICONV="-I../libiconv/include"
40020 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40021 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40022 am_cv_lib_iconv=yes
40023 am_cv_func_iconv=yes
40024 fi
40025 rm -f core conftest.err conftest.$ac_objext \
40026 conftest$ac_exeext conftest.$ac_ext
40027 CPPFLAGS="$am_save_CPPFLAGS"
40028 LIBS="$am_save_LIBS"
40029 if test "$am_cv_func_iconv" = "yes"; then
40030 break
40031 fi
40032 done
40033 fi
40034
40035 if test "$am_cv_func_iconv" != yes; then
40036 am_save_CPPFLAGS="$CPPFLAGS"
40037 am_save_LIBS="$LIBS"
40038 CPPFLAGS="$LIBS $INCICONV"
40039 LIBS="$LIBS $LIBICONV"
40040 if test x$gcc_no_link = xyes; then
40041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40042 fi
40043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h. */
40045 #include <stdlib.h>
40046 #include <iconv.h>
40047 int
40048 main ()
40049 {
40050 iconv_t cd = iconv_open("","");
40051 iconv(cd,NULL,NULL,NULL,NULL);
40052 iconv_close(cd);
40053 ;
40054 return 0;
40055 }
40056 _ACEOF
40057 if ac_fn_c_try_link "$LINENO"; then :
40058 am_cv_lib_iconv=yes
40059 am_cv_func_iconv=yes
40060 fi
40061 rm -f core conftest.err conftest.$ac_objext \
40062 conftest$ac_exeext conftest.$ac_ext
40063 CPPFLAGS="$am_save_CPPFLAGS"
40064 LIBS="$am_save_LIBS"
40065 fi
40066
40067 fi
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40069 $as_echo "$am_cv_func_iconv" >&6; }
40070 if test "$am_cv_func_iconv" = yes; then
40071
40072 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40073
40074 fi
40075 if test "$am_cv_lib_iconv" = yes; then
40076
40077 for element in $INCICONV; do
40078 haveit=
40079 for x in $CPPFLAGS; do
40080
40081 acl_save_prefix="$prefix"
40082 prefix="$acl_final_prefix"
40083 acl_save_exec_prefix="$exec_prefix"
40084 exec_prefix="$acl_final_exec_prefix"
40085 eval x=\"$x\"
40086 exec_prefix="$acl_save_exec_prefix"
40087 prefix="$acl_save_prefix"
40088
40089 if test "X$x" = "X$element"; then
40090 haveit=yes
40091 break
40092 fi
40093 done
40094 if test -z "$haveit"; then
40095 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40096 fi
40097 done
40098
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40100 $as_echo_n "checking how to link with libiconv... " >&6; }
40101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40102 $as_echo "$LIBICONV" >&6; }
40103 else
40104 LIBICONV=
40105 LTLIBICONV=
40106 fi
40107
40108
40109
40110 if test "$am_cv_func_iconv" = yes; then
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40112 $as_echo_n "checking for iconv declaration... " >&6; }
40113 if test "${am_cv_proto_iconv+set}" = set; then :
40114 $as_echo_n "(cached) " >&6
40115 else
40116
40117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40118 /* end confdefs.h. */
40119
40120 #include <stdlib.h>
40121 #include <iconv.h>
40122 extern
40123 #ifdef __cplusplus
40124 "C"
40125 #endif
40126 #if defined(__STDC__) || defined(__cplusplus)
40127 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40128 #else
40129 size_t iconv();
40130 #endif
40131
40132 int
40133 main ()
40134 {
40135
40136 ;
40137 return 0;
40138 }
40139 _ACEOF
40140 if ac_fn_c_try_compile "$LINENO"; then :
40141 am_cv_proto_iconv_arg1=""
40142 else
40143 am_cv_proto_iconv_arg1="const"
40144 fi
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146 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);"
40147 fi
40148
40149 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40151 }$am_cv_proto_iconv" >&5
40152 $as_echo "${ac_t:-
40153 }$am_cv_proto_iconv" >&6; }
40154
40155 cat >>confdefs.h <<_ACEOF
40156 #define ICONV_CONST $am_cv_proto_iconv_arg1
40157 _ACEOF
40158
40159 fi
40160
40161 ;;
40162
40163 *-aix*)
40164
40165 # If we're not using GNU ld, then there's no point in even trying these
40166 # tests. Check for that first. We should have already tested for gld
40167 # by now (in libtool), but require it now just to be safe...
40168 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40169 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40170
40171
40172
40173 # The name set by libtool depends on the version of libtool. Shame on us
40174 # for depending on an impl detail, but c'est la vie. Older versions used
40175 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40176 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40177 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40178 # set (hence we're using an older libtool), then set it.
40179 if test x${with_gnu_ld+set} != xset; then
40180 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40181 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40182 with_gnu_ld=no
40183 else
40184 with_gnu_ld=$ac_cv_prog_gnu_ld
40185 fi
40186 fi
40187
40188 # Start by getting the version number. I think the libtool test already
40189 # does some of this, but throws away the result.
40190 glibcxx_ld_is_gold=no
40191 if test x"$with_gnu_ld" = x"yes"; then
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40193 $as_echo_n "checking for ld version... " >&6; }
40194
40195 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40196 glibcxx_ld_is_gold=yes
40197 fi
40198 ldver=`$LD --version 2>/dev/null |
40199 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'`
40200
40201 glibcxx_gnu_ld_version=`echo $ldver | \
40202 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40204 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40205 fi
40206
40207 # Set --gc-sections.
40208 glibcxx_have_gc_sections=no
40209 if test "$glibcxx_ld_is_gold" = "yes"; then
40210 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40211 glibcxx_have_gc_sections=yes
40212 fi
40213 else
40214 glibcxx_gcsections_min_ld=21602
40215 if test x"$with_gnu_ld" = x"yes" &&
40216 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40217 glibcxx_have_gc_sections=yes
40218 fi
40219 fi
40220 if test "$glibcxx_have_gc_sections" = "yes"; then
40221 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40222 # NB: This flag only works reliably after 2.16.1. Configure tests
40223 # for this are difficult, so hard wire a value that should work.
40224
40225 ac_test_CFLAGS="${CFLAGS+set}"
40226 ac_save_CFLAGS="$CFLAGS"
40227 CFLAGS='-Wl,--gc-sections'
40228
40229 # Check for -Wl,--gc-sections
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40231 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40232 if test x$gcc_no_link = xyes; then
40233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40234 fi
40235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h. */
40237 int one(void) { return 1; }
40238 int two(void) { return 2; }
40239
40240 int
40241 main ()
40242 {
40243 two();
40244 ;
40245 return 0;
40246 }
40247 _ACEOF
40248 if ac_fn_c_try_link "$LINENO"; then :
40249 ac_gcsections=yes
40250 else
40251 ac_gcsections=no
40252 fi
40253 rm -f core conftest.err conftest.$ac_objext \
40254 conftest$ac_exeext conftest.$ac_ext
40255 if test "$ac_gcsections" = "yes"; then
40256 rm -f conftest.c
40257 touch conftest.c
40258 if $CC -c conftest.c; then
40259 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40260 grep "Warning: gc-sections option ignored" > /dev/null; then
40261 ac_gcsections=no
40262 fi
40263 fi
40264 rm -f conftest.c conftest.o conftest
40265 fi
40266 if test "$ac_gcsections" = "yes"; then
40267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40268 fi
40269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40270 $as_echo "$ac_gcsections" >&6; }
40271
40272 if test "$ac_test_CFLAGS" = set; then
40273 CFLAGS="$ac_save_CFLAGS"
40274 else
40275 # this is the suspicious part
40276 CFLAGS=''
40277 fi
40278 fi
40279
40280 # Set -z,relro.
40281 # Note this is only for shared objects.
40282 ac_ld_relro=no
40283 if test x"$with_gnu_ld" = x"yes"; then
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40285 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40286 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40287 if test -n "$cxx_z_relo"; then
40288 OPT_LDFLAGS="-Wl,-z,relro"
40289 ac_ld_relro=yes
40290 fi
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40292 $as_echo "$ac_ld_relro" >&6; }
40293 fi
40294
40295 # Set linker optimization flags.
40296 if test x"$with_gnu_ld" = x"yes"; then
40297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40298 fi
40299
40300
40301
40302
40303
40304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40305 ac_save_CXXFLAGS="$CXXFLAGS"
40306 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40307
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40309 $as_echo_n "checking for sin in -lm... " >&6; }
40310 if test "${ac_cv_lib_m_sin+set}" = set; then :
40311 $as_echo_n "(cached) " >&6
40312 else
40313 ac_check_lib_save_LIBS=$LIBS
40314 LIBS="-lm $LIBS"
40315 if test x$gcc_no_link = xyes; then
40316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40317 fi
40318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40319 /* end confdefs.h. */
40320
40321 /* Override any GCC internal prototype to avoid an error.
40322 Use char because int might match the return type of a GCC
40323 builtin and then its argument prototype would still apply. */
40324 #ifdef __cplusplus
40325 extern "C"
40326 #endif
40327 char sin ();
40328 int
40329 main ()
40330 {
40331 return sin ();
40332 ;
40333 return 0;
40334 }
40335 _ACEOF
40336 if ac_fn_c_try_link "$LINENO"; then :
40337 ac_cv_lib_m_sin=yes
40338 else
40339 ac_cv_lib_m_sin=no
40340 fi
40341 rm -f core conftest.err conftest.$ac_objext \
40342 conftest$ac_exeext conftest.$ac_ext
40343 LIBS=$ac_check_lib_save_LIBS
40344 fi
40345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40346 $as_echo "$ac_cv_lib_m_sin" >&6; }
40347 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40348 libm="-lm"
40349 fi
40350
40351 ac_save_LIBS="$LIBS"
40352 LIBS="$LIBS $libm"
40353
40354
40355
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40357 $as_echo_n "checking for isinf declaration... " >&6; }
40358 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40359 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40360 $as_echo_n "(cached) " >&6
40361 else
40362
40363
40364 ac_ext=cpp
40365 ac_cpp='$CXXCPP $CPPFLAGS'
40366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40369
40370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40371 /* end confdefs.h. */
40372 #include <math.h>
40373 #ifdef HAVE_IEEEFP_H
40374 #include <ieeefp.h>
40375 #endif
40376
40377 int
40378 main ()
40379 {
40380 isinf(0);
40381 ;
40382 return 0;
40383 }
40384 _ACEOF
40385 if ac_fn_cxx_try_compile "$LINENO"; then :
40386 glibcxx_cv_func_isinf_use=yes
40387 else
40388 glibcxx_cv_func_isinf_use=no
40389 fi
40390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40391 ac_ext=c
40392 ac_cpp='$CPP $CPPFLAGS'
40393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40396
40397
40398 fi
40399
40400 fi
40401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40402 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40403
40404 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40405 for ac_func in isinf
40406 do :
40407 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40408 if test "x$ac_cv_func_isinf" = x""yes; then :
40409 cat >>confdefs.h <<_ACEOF
40410 #define HAVE_ISINF 1
40411 _ACEOF
40412
40413 fi
40414 done
40415
40416 else
40417
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40419 $as_echo_n "checking for _isinf declaration... " >&6; }
40420 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40421 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40422 $as_echo_n "(cached) " >&6
40423 else
40424
40425
40426 ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431
40432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h. */
40434 #include <math.h>
40435 #ifdef HAVE_IEEEFP_H
40436 #include <ieeefp.h>
40437 #endif
40438
40439 int
40440 main ()
40441 {
40442 _isinf(0);
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func__isinf_use=yes
40449 else
40450 glibcxx_cv_func__isinf_use=no
40451 fi
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40458
40459
40460 fi
40461
40462 fi
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40464 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40465
40466 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40467 for ac_func in _isinf
40468 do :
40469 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40470 if test "x$ac_cv_func__isinf" = x""yes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE__ISINF 1
40473 _ACEOF
40474
40475 fi
40476 done
40477
40478 fi
40479 fi
40480
40481
40482
40483
40484
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40486 $as_echo_n "checking for isnan declaration... " >&6; }
40487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40489 $as_echo_n "(cached) " >&6
40490 else
40491
40492
40493 ac_ext=cpp
40494 ac_cpp='$CXXCPP $CPPFLAGS'
40495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40498
40499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40500 /* end confdefs.h. */
40501 #include <math.h>
40502 #ifdef HAVE_IEEEFP_H
40503 #include <ieeefp.h>
40504 #endif
40505
40506 int
40507 main ()
40508 {
40509 isnan(0);
40510 ;
40511 return 0;
40512 }
40513 _ACEOF
40514 if ac_fn_cxx_try_compile "$LINENO"; then :
40515 glibcxx_cv_func_isnan_use=yes
40516 else
40517 glibcxx_cv_func_isnan_use=no
40518 fi
40519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526
40527 fi
40528
40529 fi
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40531 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40532
40533 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40534 for ac_func in isnan
40535 do :
40536 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40537 if test "x$ac_cv_func_isnan" = x""yes; then :
40538 cat >>confdefs.h <<_ACEOF
40539 #define HAVE_ISNAN 1
40540 _ACEOF
40541
40542 fi
40543 done
40544
40545 else
40546
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40548 $as_echo_n "checking for _isnan declaration... " >&6; }
40549 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40550 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40551 $as_echo_n "(cached) " >&6
40552 else
40553
40554
40555 ac_ext=cpp
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560
40561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40562 /* end confdefs.h. */
40563 #include <math.h>
40564 #ifdef HAVE_IEEEFP_H
40565 #include <ieeefp.h>
40566 #endif
40567
40568 int
40569 main ()
40570 {
40571 _isnan(0);
40572 ;
40573 return 0;
40574 }
40575 _ACEOF
40576 if ac_fn_cxx_try_compile "$LINENO"; then :
40577 glibcxx_cv_func__isnan_use=yes
40578 else
40579 glibcxx_cv_func__isnan_use=no
40580 fi
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40582 ac_ext=c
40583 ac_cpp='$CPP $CPPFLAGS'
40584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587
40588
40589 fi
40590
40591 fi
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40593 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40594
40595 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40596 for ac_func in _isnan
40597 do :
40598 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40599 if test "x$ac_cv_func__isnan" = x""yes; then :
40600 cat >>confdefs.h <<_ACEOF
40601 #define HAVE__ISNAN 1
40602 _ACEOF
40603
40604 fi
40605 done
40606
40607 fi
40608 fi
40609
40610
40611
40612
40613
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40615 $as_echo_n "checking for finite declaration... " >&6; }
40616 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40617 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40618 $as_echo_n "(cached) " >&6
40619 else
40620
40621
40622 ac_ext=cpp
40623 ac_cpp='$CXXCPP $CPPFLAGS'
40624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40627
40628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40629 /* end confdefs.h. */
40630 #include <math.h>
40631 #ifdef HAVE_IEEEFP_H
40632 #include <ieeefp.h>
40633 #endif
40634
40635 int
40636 main ()
40637 {
40638 finite(0);
40639 ;
40640 return 0;
40641 }
40642 _ACEOF
40643 if ac_fn_cxx_try_compile "$LINENO"; then :
40644 glibcxx_cv_func_finite_use=yes
40645 else
40646 glibcxx_cv_func_finite_use=no
40647 fi
40648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40649 ac_ext=c
40650 ac_cpp='$CPP $CPPFLAGS'
40651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40654
40655
40656 fi
40657
40658 fi
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40660 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40661
40662 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40663 for ac_func in finite
40664 do :
40665 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40666 if test "x$ac_cv_func_finite" = x""yes; then :
40667 cat >>confdefs.h <<_ACEOF
40668 #define HAVE_FINITE 1
40669 _ACEOF
40670
40671 fi
40672 done
40673
40674 else
40675
40676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40677 $as_echo_n "checking for _finite declaration... " >&6; }
40678 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40679 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40680 $as_echo_n "(cached) " >&6
40681 else
40682
40683
40684 ac_ext=cpp
40685 ac_cpp='$CXXCPP $CPPFLAGS'
40686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40689
40690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40691 /* end confdefs.h. */
40692 #include <math.h>
40693 #ifdef HAVE_IEEEFP_H
40694 #include <ieeefp.h>
40695 #endif
40696
40697 int
40698 main ()
40699 {
40700 _finite(0);
40701 ;
40702 return 0;
40703 }
40704 _ACEOF
40705 if ac_fn_cxx_try_compile "$LINENO"; then :
40706 glibcxx_cv_func__finite_use=yes
40707 else
40708 glibcxx_cv_func__finite_use=no
40709 fi
40710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40711 ac_ext=c
40712 ac_cpp='$CPP $CPPFLAGS'
40713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40716
40717
40718 fi
40719
40720 fi
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40722 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40723
40724 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40725 for ac_func in _finite
40726 do :
40727 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40728 if test "x$ac_cv_func__finite" = x""yes; then :
40729 cat >>confdefs.h <<_ACEOF
40730 #define HAVE__FINITE 1
40731 _ACEOF
40732
40733 fi
40734 done
40735
40736 fi
40737 fi
40738
40739
40740
40741
40742
40743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40744 $as_echo_n "checking for sincos declaration... " >&6; }
40745 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40746 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40747 $as_echo_n "(cached) " >&6
40748 else
40749
40750
40751 ac_ext=cpp
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40756
40757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40758 /* end confdefs.h. */
40759 #include <math.h>
40760 int
40761 main ()
40762 {
40763 sincos(0, 0, 0);
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 if ac_fn_cxx_try_compile "$LINENO"; then :
40769 glibcxx_cv_func_sincos_use=yes
40770 else
40771 glibcxx_cv_func_sincos_use=no
40772 fi
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40774 ac_ext=c
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40779
40780
40781 fi
40782
40783 fi
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40785 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40786
40787 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40788 for ac_func in sincos
40789 do :
40790 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40791 if test "x$ac_cv_func_sincos" = x""yes; then :
40792 cat >>confdefs.h <<_ACEOF
40793 #define HAVE_SINCOS 1
40794 _ACEOF
40795
40796 fi
40797 done
40798
40799 else
40800
40801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40802 $as_echo_n "checking for _sincos declaration... " >&6; }
40803 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40804 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40805 $as_echo_n "(cached) " >&6
40806 else
40807
40808
40809 ac_ext=cpp
40810 ac_cpp='$CXXCPP $CPPFLAGS'
40811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40814
40815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40816 /* end confdefs.h. */
40817 #include <math.h>
40818 int
40819 main ()
40820 {
40821 _sincos(0, 0, 0);
40822 ;
40823 return 0;
40824 }
40825 _ACEOF
40826 if ac_fn_cxx_try_compile "$LINENO"; then :
40827 glibcxx_cv_func__sincos_use=yes
40828 else
40829 glibcxx_cv_func__sincos_use=no
40830 fi
40831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40832 ac_ext=c
40833 ac_cpp='$CPP $CPPFLAGS'
40834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40837
40838
40839 fi
40840
40841 fi
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40843 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40844
40845 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40846 for ac_func in _sincos
40847 do :
40848 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40849 if test "x$ac_cv_func__sincos" = x""yes; then :
40850 cat >>confdefs.h <<_ACEOF
40851 #define HAVE__SINCOS 1
40852 _ACEOF
40853
40854 fi
40855 done
40856
40857 fi
40858 fi
40859
40860
40861
40862
40863
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40865 $as_echo_n "checking for fpclass declaration... " >&6; }
40866 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40867 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40870
40871
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40877
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40881 #ifdef HAVE_IEEEFP_H
40882 #include <ieeefp.h>
40883 #endif
40884
40885 int
40886 main ()
40887 {
40888 fpclass(0);
40889 ;
40890 return 0;
40891 }
40892 _ACEOF
40893 if ac_fn_cxx_try_compile "$LINENO"; then :
40894 glibcxx_cv_func_fpclass_use=yes
40895 else
40896 glibcxx_cv_func_fpclass_use=no
40897 fi
40898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40899 ac_ext=c
40900 ac_cpp='$CPP $CPPFLAGS'
40901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40904
40905
40906 fi
40907
40908 fi
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40910 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40911
40912 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40913 for ac_func in fpclass
40914 do :
40915 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40916 if test "x$ac_cv_func_fpclass" = x""yes; then :
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_FPCLASS 1
40919 _ACEOF
40920
40921 fi
40922 done
40923
40924 else
40925
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40927 $as_echo_n "checking for _fpclass declaration... " >&6; }
40928 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40929 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40932
40933
40934 ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h. */
40942 #include <math.h>
40943 #ifdef HAVE_IEEEFP_H
40944 #include <ieeefp.h>
40945 #endif
40946
40947 int
40948 main ()
40949 {
40950 _fpclass(0);
40951 ;
40952 return 0;
40953 }
40954 _ACEOF
40955 if ac_fn_cxx_try_compile "$LINENO"; then :
40956 glibcxx_cv_func__fpclass_use=yes
40957 else
40958 glibcxx_cv_func__fpclass_use=no
40959 fi
40960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40961 ac_ext=c
40962 ac_cpp='$CPP $CPPFLAGS'
40963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40966
40967
40968 fi
40969
40970 fi
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40972 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40973
40974 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40975 for ac_func in _fpclass
40976 do :
40977 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40978 if test "x$ac_cv_func__fpclass" = x""yes; then :
40979 cat >>confdefs.h <<_ACEOF
40980 #define HAVE__FPCLASS 1
40981 _ACEOF
40982
40983 fi
40984 done
40985
40986 fi
40987 fi
40988
40989
40990
40991
40992
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40994 $as_echo_n "checking for qfpclass declaration... " >&6; }
40995 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40996 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40997 $as_echo_n "(cached) " >&6
40998 else
40999
41000
41001 ac_ext=cpp
41002 ac_cpp='$CXXCPP $CPPFLAGS'
41003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41006
41007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41008 /* end confdefs.h. */
41009 #include <math.h>
41010 #ifdef HAVE_IEEEFP_H
41011 #include <ieeefp.h>
41012 #endif
41013
41014 int
41015 main ()
41016 {
41017 qfpclass(0);
41018 ;
41019 return 0;
41020 }
41021 _ACEOF
41022 if ac_fn_cxx_try_compile "$LINENO"; then :
41023 glibcxx_cv_func_qfpclass_use=yes
41024 else
41025 glibcxx_cv_func_qfpclass_use=no
41026 fi
41027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41028 ac_ext=c
41029 ac_cpp='$CPP $CPPFLAGS'
41030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41033
41034
41035 fi
41036
41037 fi
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41039 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41040
41041 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41042 for ac_func in qfpclass
41043 do :
41044 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41045 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41046 cat >>confdefs.h <<_ACEOF
41047 #define HAVE_QFPCLASS 1
41048 _ACEOF
41049
41050 fi
41051 done
41052
41053 else
41054
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41056 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41057 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41058 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41059 $as_echo_n "(cached) " >&6
41060 else
41061
41062
41063 ac_ext=cpp
41064 ac_cpp='$CXXCPP $CPPFLAGS'
41065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41068
41069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41070 /* end confdefs.h. */
41071 #include <math.h>
41072 #ifdef HAVE_IEEEFP_H
41073 #include <ieeefp.h>
41074 #endif
41075
41076 int
41077 main ()
41078 {
41079 _qfpclass(0);
41080 ;
41081 return 0;
41082 }
41083 _ACEOF
41084 if ac_fn_cxx_try_compile "$LINENO"; then :
41085 glibcxx_cv_func__qfpclass_use=yes
41086 else
41087 glibcxx_cv_func__qfpclass_use=no
41088 fi
41089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41090 ac_ext=c
41091 ac_cpp='$CPP $CPPFLAGS'
41092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41095
41096
41097 fi
41098
41099 fi
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41101 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41102
41103 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41104 for ac_func in _qfpclass
41105 do :
41106 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41107 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define HAVE__QFPCLASS 1
41110 _ACEOF
41111
41112 fi
41113 done
41114
41115 fi
41116 fi
41117
41118
41119
41120
41121
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41123 $as_echo_n "checking for hypot declaration... " >&6; }
41124 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41125 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41126 $as_echo_n "(cached) " >&6
41127 else
41128
41129
41130 ac_ext=cpp
41131 ac_cpp='$CXXCPP $CPPFLAGS'
41132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41135
41136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41137 /* end confdefs.h. */
41138 #include <math.h>
41139 int
41140 main ()
41141 {
41142 hypot(0, 0);
41143 ;
41144 return 0;
41145 }
41146 _ACEOF
41147 if ac_fn_cxx_try_compile "$LINENO"; then :
41148 glibcxx_cv_func_hypot_use=yes
41149 else
41150 glibcxx_cv_func_hypot_use=no
41151 fi
41152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41153 ac_ext=c
41154 ac_cpp='$CPP $CPPFLAGS'
41155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41158
41159
41160 fi
41161
41162 fi
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41164 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41165
41166 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41167 for ac_func in hypot
41168 do :
41169 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41170 if test "x$ac_cv_func_hypot" = x""yes; then :
41171 cat >>confdefs.h <<_ACEOF
41172 #define HAVE_HYPOT 1
41173 _ACEOF
41174
41175 fi
41176 done
41177
41178 else
41179
41180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41181 $as_echo_n "checking for _hypot declaration... " >&6; }
41182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41183 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41184 $as_echo_n "(cached) " >&6
41185 else
41186
41187
41188 ac_ext=cpp
41189 ac_cpp='$CXXCPP $CPPFLAGS'
41190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41193
41194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41195 /* end confdefs.h. */
41196 #include <math.h>
41197 int
41198 main ()
41199 {
41200 _hypot(0, 0);
41201 ;
41202 return 0;
41203 }
41204 _ACEOF
41205 if ac_fn_cxx_try_compile "$LINENO"; then :
41206 glibcxx_cv_func__hypot_use=yes
41207 else
41208 glibcxx_cv_func__hypot_use=no
41209 fi
41210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41211 ac_ext=c
41212 ac_cpp='$CPP $CPPFLAGS'
41213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41216
41217
41218 fi
41219
41220 fi
41221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41222 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41223
41224 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41225 for ac_func in _hypot
41226 do :
41227 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41228 if test "x$ac_cv_func__hypot" = x""yes; then :
41229 cat >>confdefs.h <<_ACEOF
41230 #define HAVE__HYPOT 1
41231 _ACEOF
41232
41233 fi
41234 done
41235
41236 fi
41237 fi
41238
41239
41240
41241
41242
41243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41244 $as_echo_n "checking for float trig functions... " >&6; }
41245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41246 $as_echo_n "(cached) " >&6
41247 else
41248
41249
41250 ac_ext=cpp
41251 ac_cpp='$CXXCPP $CPPFLAGS'
41252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41255
41256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41257 /* end confdefs.h. */
41258 #include <math.h>
41259 int
41260 main ()
41261 {
41262 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41263 ;
41264 return 0;
41265 }
41266 _ACEOF
41267 if ac_fn_cxx_try_compile "$LINENO"; then :
41268 glibcxx_cv_func_float_trig_use=yes
41269 else
41270 glibcxx_cv_func_float_trig_use=no
41271 fi
41272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41273 ac_ext=c
41274 ac_cpp='$CPP $CPPFLAGS'
41275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41278
41279 fi
41280
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41282 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41283 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41284 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41285 do :
41286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41288 eval as_val=\$$as_ac_var
41289 if test "x$as_val" = x""yes; then :
41290 cat >>confdefs.h <<_ACEOF
41291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41292 _ACEOF
41293
41294 fi
41295 done
41296
41297 else
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41299 $as_echo_n "checking for _float trig functions... " >&6; }
41300 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41301 $as_echo_n "(cached) " >&6
41302 else
41303
41304
41305 ac_ext=cpp
41306 ac_cpp='$CXXCPP $CPPFLAGS'
41307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41310
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <math.h>
41314 int
41315 main ()
41316 {
41317 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41318 ;
41319 return 0;
41320 }
41321 _ACEOF
41322 if ac_fn_cxx_try_compile "$LINENO"; then :
41323 glibcxx_cv_func__float_trig_use=yes
41324 else
41325 glibcxx_cv_func__float_trig_use=no
41326 fi
41327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41328 ac_ext=c
41329 ac_cpp='$CPP $CPPFLAGS'
41330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41333
41334 fi
41335
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41337 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41338 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41339 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41340 do :
41341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41343 eval as_val=\$$as_ac_var
41344 if test "x$as_val" = x""yes; then :
41345 cat >>confdefs.h <<_ACEOF
41346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41347 _ACEOF
41348
41349 fi
41350 done
41351
41352 fi
41353 fi
41354
41355
41356
41357
41358
41359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41360 $as_echo_n "checking for float round functions... " >&6; }
41361 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41362 $as_echo_n "(cached) " >&6
41363 else
41364
41365
41366 ac_ext=cpp
41367 ac_cpp='$CXXCPP $CPPFLAGS'
41368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41371
41372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41373 /* end confdefs.h. */
41374 #include <math.h>
41375 int
41376 main ()
41377 {
41378 ceilf (0); floorf (0);
41379 ;
41380 return 0;
41381 }
41382 _ACEOF
41383 if ac_fn_cxx_try_compile "$LINENO"; then :
41384 glibcxx_cv_func_float_round_use=yes
41385 else
41386 glibcxx_cv_func_float_round_use=no
41387 fi
41388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41389 ac_ext=c
41390 ac_cpp='$CPP $CPPFLAGS'
41391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41394
41395 fi
41396
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41398 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41399 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41400 for ac_func in ceilf floorf
41401 do :
41402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41404 eval as_val=\$$as_ac_var
41405 if test "x$as_val" = x""yes; then :
41406 cat >>confdefs.h <<_ACEOF
41407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41408 _ACEOF
41409
41410 fi
41411 done
41412
41413 else
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41415 $as_echo_n "checking for _float round functions... " >&6; }
41416 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41417 $as_echo_n "(cached) " >&6
41418 else
41419
41420
41421 ac_ext=cpp
41422 ac_cpp='$CXXCPP $CPPFLAGS'
41423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41426
41427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428 /* end confdefs.h. */
41429 #include <math.h>
41430 int
41431 main ()
41432 {
41433 _ceilf (0); _floorf (0);
41434 ;
41435 return 0;
41436 }
41437 _ACEOF
41438 if ac_fn_cxx_try_compile "$LINENO"; then :
41439 glibcxx_cv_func__float_round_use=yes
41440 else
41441 glibcxx_cv_func__float_round_use=no
41442 fi
41443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41444 ac_ext=c
41445 ac_cpp='$CPP $CPPFLAGS'
41446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41449
41450 fi
41451
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41453 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41454 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41455 for ac_func in _ceilf _floorf
41456 do :
41457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41459 eval as_val=\$$as_ac_var
41460 if test "x$as_val" = x""yes; then :
41461 cat >>confdefs.h <<_ACEOF
41462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41463 _ACEOF
41464
41465 fi
41466 done
41467
41468 fi
41469 fi
41470
41471
41472
41473
41474
41475
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41477 $as_echo_n "checking for expf declaration... " >&6; }
41478 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41479 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41480 $as_echo_n "(cached) " >&6
41481 else
41482
41483
41484 ac_ext=cpp
41485 ac_cpp='$CXXCPP $CPPFLAGS'
41486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41489
41490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41491 /* end confdefs.h. */
41492 #include <math.h>
41493 #ifdef HAVE_IEEEFP_H
41494 #include <ieeefp.h>
41495 #endif
41496
41497 int
41498 main ()
41499 {
41500 expf(0);
41501 ;
41502 return 0;
41503 }
41504 _ACEOF
41505 if ac_fn_cxx_try_compile "$LINENO"; then :
41506 glibcxx_cv_func_expf_use=yes
41507 else
41508 glibcxx_cv_func_expf_use=no
41509 fi
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41511 ac_ext=c
41512 ac_cpp='$CPP $CPPFLAGS'
41513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41516
41517
41518 fi
41519
41520 fi
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41522 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41523
41524 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41525 for ac_func in expf
41526 do :
41527 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41528 if test "x$ac_cv_func_expf" = x""yes; then :
41529 cat >>confdefs.h <<_ACEOF
41530 #define HAVE_EXPF 1
41531 _ACEOF
41532
41533 fi
41534 done
41535
41536 else
41537
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41539 $as_echo_n "checking for _expf declaration... " >&6; }
41540 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41541 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41542 $as_echo_n "(cached) " >&6
41543 else
41544
41545
41546 ac_ext=cpp
41547 ac_cpp='$CXXCPP $CPPFLAGS'
41548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41551
41552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41553 /* end confdefs.h. */
41554 #include <math.h>
41555 #ifdef HAVE_IEEEFP_H
41556 #include <ieeefp.h>
41557 #endif
41558
41559 int
41560 main ()
41561 {
41562 _expf(0);
41563 ;
41564 return 0;
41565 }
41566 _ACEOF
41567 if ac_fn_cxx_try_compile "$LINENO"; then :
41568 glibcxx_cv_func__expf_use=yes
41569 else
41570 glibcxx_cv_func__expf_use=no
41571 fi
41572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 ac_ext=c
41574 ac_cpp='$CPP $CPPFLAGS'
41575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41578
41579
41580 fi
41581
41582 fi
41583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41584 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41585
41586 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41587 for ac_func in _expf
41588 do :
41589 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41590 if test "x$ac_cv_func__expf" = x""yes; then :
41591 cat >>confdefs.h <<_ACEOF
41592 #define HAVE__EXPF 1
41593 _ACEOF
41594
41595 fi
41596 done
41597
41598 fi
41599 fi
41600
41601
41602
41603
41604
41605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41606 $as_echo_n "checking for isnanf declaration... " >&6; }
41607 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41608 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41609 $as_echo_n "(cached) " >&6
41610 else
41611
41612
41613 ac_ext=cpp
41614 ac_cpp='$CXXCPP $CPPFLAGS'
41615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41618
41619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41620 /* end confdefs.h. */
41621 #include <math.h>
41622 #ifdef HAVE_IEEEFP_H
41623 #include <ieeefp.h>
41624 #endif
41625
41626 int
41627 main ()
41628 {
41629 isnanf(0);
41630 ;
41631 return 0;
41632 }
41633 _ACEOF
41634 if ac_fn_cxx_try_compile "$LINENO"; then :
41635 glibcxx_cv_func_isnanf_use=yes
41636 else
41637 glibcxx_cv_func_isnanf_use=no
41638 fi
41639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41640 ac_ext=c
41641 ac_cpp='$CPP $CPPFLAGS'
41642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41645
41646
41647 fi
41648
41649 fi
41650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41651 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41652
41653 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41654 for ac_func in isnanf
41655 do :
41656 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41657 if test "x$ac_cv_func_isnanf" = x""yes; then :
41658 cat >>confdefs.h <<_ACEOF
41659 #define HAVE_ISNANF 1
41660 _ACEOF
41661
41662 fi
41663 done
41664
41665 else
41666
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41668 $as_echo_n "checking for _isnanf declaration... " >&6; }
41669 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41670 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41671 $as_echo_n "(cached) " >&6
41672 else
41673
41674
41675 ac_ext=cpp
41676 ac_cpp='$CXXCPP $CPPFLAGS'
41677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41680
41681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41682 /* end confdefs.h. */
41683 #include <math.h>
41684 #ifdef HAVE_IEEEFP_H
41685 #include <ieeefp.h>
41686 #endif
41687
41688 int
41689 main ()
41690 {
41691 _isnanf(0);
41692 ;
41693 return 0;
41694 }
41695 _ACEOF
41696 if ac_fn_cxx_try_compile "$LINENO"; then :
41697 glibcxx_cv_func__isnanf_use=yes
41698 else
41699 glibcxx_cv_func__isnanf_use=no
41700 fi
41701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41702 ac_ext=c
41703 ac_cpp='$CPP $CPPFLAGS'
41704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41707
41708
41709 fi
41710
41711 fi
41712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41713 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41714
41715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41716 for ac_func in _isnanf
41717 do :
41718 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41719 if test "x$ac_cv_func__isnanf" = x""yes; then :
41720 cat >>confdefs.h <<_ACEOF
41721 #define HAVE__ISNANF 1
41722 _ACEOF
41723
41724 fi
41725 done
41726
41727 fi
41728 fi
41729
41730
41731
41732
41733
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41735 $as_echo_n "checking for isinff declaration... " >&6; }
41736 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41737 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41738 $as_echo_n "(cached) " >&6
41739 else
41740
41741
41742 ac_ext=cpp
41743 ac_cpp='$CXXCPP $CPPFLAGS'
41744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41747
41748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41749 /* end confdefs.h. */
41750 #include <math.h>
41751 #ifdef HAVE_IEEEFP_H
41752 #include <ieeefp.h>
41753 #endif
41754
41755 int
41756 main ()
41757 {
41758 isinff(0);
41759 ;
41760 return 0;
41761 }
41762 _ACEOF
41763 if ac_fn_cxx_try_compile "$LINENO"; then :
41764 glibcxx_cv_func_isinff_use=yes
41765 else
41766 glibcxx_cv_func_isinff_use=no
41767 fi
41768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 ac_ext=c
41770 ac_cpp='$CPP $CPPFLAGS'
41771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41774
41775
41776 fi
41777
41778 fi
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41780 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41781
41782 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41783 for ac_func in isinff
41784 do :
41785 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41786 if test "x$ac_cv_func_isinff" = x""yes; then :
41787 cat >>confdefs.h <<_ACEOF
41788 #define HAVE_ISINFF 1
41789 _ACEOF
41790
41791 fi
41792 done
41793
41794 else
41795
41796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41797 $as_echo_n "checking for _isinff declaration... " >&6; }
41798 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41799 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41800 $as_echo_n "(cached) " >&6
41801 else
41802
41803
41804 ac_ext=cpp
41805 ac_cpp='$CXXCPP $CPPFLAGS'
41806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41809
41810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41811 /* end confdefs.h. */
41812 #include <math.h>
41813 #ifdef HAVE_IEEEFP_H
41814 #include <ieeefp.h>
41815 #endif
41816
41817 int
41818 main ()
41819 {
41820 _isinff(0);
41821 ;
41822 return 0;
41823 }
41824 _ACEOF
41825 if ac_fn_cxx_try_compile "$LINENO"; then :
41826 glibcxx_cv_func__isinff_use=yes
41827 else
41828 glibcxx_cv_func__isinff_use=no
41829 fi
41830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41831 ac_ext=c
41832 ac_cpp='$CPP $CPPFLAGS'
41833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41836
41837
41838 fi
41839
41840 fi
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41842 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41843
41844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41845 for ac_func in _isinff
41846 do :
41847 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41848 if test "x$ac_cv_func__isinff" = x""yes; then :
41849 cat >>confdefs.h <<_ACEOF
41850 #define HAVE__ISINFF 1
41851 _ACEOF
41852
41853 fi
41854 done
41855
41856 fi
41857 fi
41858
41859
41860
41861
41862
41863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41864 $as_echo_n "checking for atan2f declaration... " >&6; }
41865 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41866 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41867 $as_echo_n "(cached) " >&6
41868 else
41869
41870
41871 ac_ext=cpp
41872 ac_cpp='$CXXCPP $CPPFLAGS'
41873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41876
41877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41878 /* end confdefs.h. */
41879 #include <math.h>
41880 int
41881 main ()
41882 {
41883 atan2f(0, 0);
41884 ;
41885 return 0;
41886 }
41887 _ACEOF
41888 if ac_fn_cxx_try_compile "$LINENO"; then :
41889 glibcxx_cv_func_atan2f_use=yes
41890 else
41891 glibcxx_cv_func_atan2f_use=no
41892 fi
41893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41894 ac_ext=c
41895 ac_cpp='$CPP $CPPFLAGS'
41896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41899
41900
41901 fi
41902
41903 fi
41904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41905 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41906
41907 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41908 for ac_func in atan2f
41909 do :
41910 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41911 if test "x$ac_cv_func_atan2f" = x""yes; then :
41912 cat >>confdefs.h <<_ACEOF
41913 #define HAVE_ATAN2F 1
41914 _ACEOF
41915
41916 fi
41917 done
41918
41919 else
41920
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41922 $as_echo_n "checking for _atan2f declaration... " >&6; }
41923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41924 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41925 $as_echo_n "(cached) " >&6
41926 else
41927
41928
41929 ac_ext=cpp
41930 ac_cpp='$CXXCPP $CPPFLAGS'
41931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41934
41935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41936 /* end confdefs.h. */
41937 #include <math.h>
41938 int
41939 main ()
41940 {
41941 _atan2f(0, 0);
41942 ;
41943 return 0;
41944 }
41945 _ACEOF
41946 if ac_fn_cxx_try_compile "$LINENO"; then :
41947 glibcxx_cv_func__atan2f_use=yes
41948 else
41949 glibcxx_cv_func__atan2f_use=no
41950 fi
41951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41952 ac_ext=c
41953 ac_cpp='$CPP $CPPFLAGS'
41954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41957
41958
41959 fi
41960
41961 fi
41962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41963 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41964
41965 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41966 for ac_func in _atan2f
41967 do :
41968 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41969 if test "x$ac_cv_func__atan2f" = x""yes; then :
41970 cat >>confdefs.h <<_ACEOF
41971 #define HAVE__ATAN2F 1
41972 _ACEOF
41973
41974 fi
41975 done
41976
41977 fi
41978 fi
41979
41980
41981
41982
41983
41984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41985 $as_echo_n "checking for fabsf declaration... " >&6; }
41986 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41987 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41988 $as_echo_n "(cached) " >&6
41989 else
41990
41991
41992 ac_ext=cpp
41993 ac_cpp='$CXXCPP $CPPFLAGS'
41994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41997
41998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41999 /* end confdefs.h. */
42000 #include <math.h>
42001 #ifdef HAVE_IEEEFP_H
42002 #include <ieeefp.h>
42003 #endif
42004
42005 int
42006 main ()
42007 {
42008 fabsf(0);
42009 ;
42010 return 0;
42011 }
42012 _ACEOF
42013 if ac_fn_cxx_try_compile "$LINENO"; then :
42014 glibcxx_cv_func_fabsf_use=yes
42015 else
42016 glibcxx_cv_func_fabsf_use=no
42017 fi
42018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42019 ac_ext=c
42020 ac_cpp='$CPP $CPPFLAGS'
42021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42024
42025
42026 fi
42027
42028 fi
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42030 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42031
42032 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42033 for ac_func in fabsf
42034 do :
42035 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42036 if test "x$ac_cv_func_fabsf" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define HAVE_FABSF 1
42039 _ACEOF
42040
42041 fi
42042 done
42043
42044 else
42045
42046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42047 $as_echo_n "checking for _fabsf declaration... " >&6; }
42048 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42049 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42050 $as_echo_n "(cached) " >&6
42051 else
42052
42053
42054 ac_ext=cpp
42055 ac_cpp='$CXXCPP $CPPFLAGS'
42056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42059
42060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42061 /* end confdefs.h. */
42062 #include <math.h>
42063 #ifdef HAVE_IEEEFP_H
42064 #include <ieeefp.h>
42065 #endif
42066
42067 int
42068 main ()
42069 {
42070 _fabsf(0);
42071 ;
42072 return 0;
42073 }
42074 _ACEOF
42075 if ac_fn_cxx_try_compile "$LINENO"; then :
42076 glibcxx_cv_func__fabsf_use=yes
42077 else
42078 glibcxx_cv_func__fabsf_use=no
42079 fi
42080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42081 ac_ext=c
42082 ac_cpp='$CPP $CPPFLAGS'
42083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42086
42087
42088 fi
42089
42090 fi
42091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42092 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42093
42094 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42095 for ac_func in _fabsf
42096 do :
42097 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42098 if test "x$ac_cv_func__fabsf" = x""yes; then :
42099 cat >>confdefs.h <<_ACEOF
42100 #define HAVE__FABSF 1
42101 _ACEOF
42102
42103 fi
42104 done
42105
42106 fi
42107 fi
42108
42109
42110
42111
42112
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42114 $as_echo_n "checking for fmodf declaration... " >&6; }
42115 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42116 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42117 $as_echo_n "(cached) " >&6
42118 else
42119
42120
42121 ac_ext=cpp
42122 ac_cpp='$CXXCPP $CPPFLAGS'
42123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42126
42127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42128 /* end confdefs.h. */
42129 #include <math.h>
42130 int
42131 main ()
42132 {
42133 fmodf(0, 0);
42134 ;
42135 return 0;
42136 }
42137 _ACEOF
42138 if ac_fn_cxx_try_compile "$LINENO"; then :
42139 glibcxx_cv_func_fmodf_use=yes
42140 else
42141 glibcxx_cv_func_fmodf_use=no
42142 fi
42143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42149
42150
42151 fi
42152
42153 fi
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42155 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42156
42157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42158 for ac_func in fmodf
42159 do :
42160 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42161 if test "x$ac_cv_func_fmodf" = x""yes; then :
42162 cat >>confdefs.h <<_ACEOF
42163 #define HAVE_FMODF 1
42164 _ACEOF
42165
42166 fi
42167 done
42168
42169 else
42170
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42172 $as_echo_n "checking for _fmodf declaration... " >&6; }
42173 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42174 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42175 $as_echo_n "(cached) " >&6
42176 else
42177
42178
42179 ac_ext=cpp
42180 ac_cpp='$CXXCPP $CPPFLAGS'
42181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42184
42185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42186 /* end confdefs.h. */
42187 #include <math.h>
42188 int
42189 main ()
42190 {
42191 _fmodf(0, 0);
42192 ;
42193 return 0;
42194 }
42195 _ACEOF
42196 if ac_fn_cxx_try_compile "$LINENO"; then :
42197 glibcxx_cv_func__fmodf_use=yes
42198 else
42199 glibcxx_cv_func__fmodf_use=no
42200 fi
42201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42202 ac_ext=c
42203 ac_cpp='$CPP $CPPFLAGS'
42204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42207
42208
42209 fi
42210
42211 fi
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42213 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42214
42215 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42216 for ac_func in _fmodf
42217 do :
42218 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42219 if test "x$ac_cv_func__fmodf" = x""yes; then :
42220 cat >>confdefs.h <<_ACEOF
42221 #define HAVE__FMODF 1
42222 _ACEOF
42223
42224 fi
42225 done
42226
42227 fi
42228 fi
42229
42230
42231
42232
42233
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42235 $as_echo_n "checking for frexpf declaration... " >&6; }
42236 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42237 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42238 $as_echo_n "(cached) " >&6
42239 else
42240
42241
42242 ac_ext=cpp
42243 ac_cpp='$CXXCPP $CPPFLAGS'
42244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42247
42248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42249 /* end confdefs.h. */
42250 #include <math.h>
42251 int
42252 main ()
42253 {
42254 frexpf(0, 0);
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 if ac_fn_cxx_try_compile "$LINENO"; then :
42260 glibcxx_cv_func_frexpf_use=yes
42261 else
42262 glibcxx_cv_func_frexpf_use=no
42263 fi
42264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42265 ac_ext=c
42266 ac_cpp='$CPP $CPPFLAGS'
42267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42270
42271
42272 fi
42273
42274 fi
42275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42276 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42277
42278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42279 for ac_func in frexpf
42280 do :
42281 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42282 if test "x$ac_cv_func_frexpf" = x""yes; then :
42283 cat >>confdefs.h <<_ACEOF
42284 #define HAVE_FREXPF 1
42285 _ACEOF
42286
42287 fi
42288 done
42289
42290 else
42291
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42293 $as_echo_n "checking for _frexpf declaration... " >&6; }
42294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42296 $as_echo_n "(cached) " >&6
42297 else
42298
42299
42300 ac_ext=cpp
42301 ac_cpp='$CXXCPP $CPPFLAGS'
42302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42305
42306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42307 /* end confdefs.h. */
42308 #include <math.h>
42309 int
42310 main ()
42311 {
42312 _frexpf(0, 0);
42313 ;
42314 return 0;
42315 }
42316 _ACEOF
42317 if ac_fn_cxx_try_compile "$LINENO"; then :
42318 glibcxx_cv_func__frexpf_use=yes
42319 else
42320 glibcxx_cv_func__frexpf_use=no
42321 fi
42322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42323 ac_ext=c
42324 ac_cpp='$CPP $CPPFLAGS'
42325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42328
42329
42330 fi
42331
42332 fi
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42334 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42335
42336 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42337 for ac_func in _frexpf
42338 do :
42339 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42340 if test "x$ac_cv_func__frexpf" = x""yes; then :
42341 cat >>confdefs.h <<_ACEOF
42342 #define HAVE__FREXPF 1
42343 _ACEOF
42344
42345 fi
42346 done
42347
42348 fi
42349 fi
42350
42351
42352
42353
42354
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42356 $as_echo_n "checking for hypotf declaration... " >&6; }
42357 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42358 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42359 $as_echo_n "(cached) " >&6
42360 else
42361
42362
42363 ac_ext=cpp
42364 ac_cpp='$CXXCPP $CPPFLAGS'
42365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42368
42369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42370 /* end confdefs.h. */
42371 #include <math.h>
42372 int
42373 main ()
42374 {
42375 hypotf(0, 0);
42376 ;
42377 return 0;
42378 }
42379 _ACEOF
42380 if ac_fn_cxx_try_compile "$LINENO"; then :
42381 glibcxx_cv_func_hypotf_use=yes
42382 else
42383 glibcxx_cv_func_hypotf_use=no
42384 fi
42385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42386 ac_ext=c
42387 ac_cpp='$CPP $CPPFLAGS'
42388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42391
42392
42393 fi
42394
42395 fi
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42397 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42398
42399 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42400 for ac_func in hypotf
42401 do :
42402 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42403 if test "x$ac_cv_func_hypotf" = x""yes; then :
42404 cat >>confdefs.h <<_ACEOF
42405 #define HAVE_HYPOTF 1
42406 _ACEOF
42407
42408 fi
42409 done
42410
42411 else
42412
42413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42414 $as_echo_n "checking for _hypotf declaration... " >&6; }
42415 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42416 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42417 $as_echo_n "(cached) " >&6
42418 else
42419
42420
42421 ac_ext=cpp
42422 ac_cpp='$CXXCPP $CPPFLAGS'
42423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42426
42427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42428 /* end confdefs.h. */
42429 #include <math.h>
42430 int
42431 main ()
42432 {
42433 _hypotf(0, 0);
42434 ;
42435 return 0;
42436 }
42437 _ACEOF
42438 if ac_fn_cxx_try_compile "$LINENO"; then :
42439 glibcxx_cv_func__hypotf_use=yes
42440 else
42441 glibcxx_cv_func__hypotf_use=no
42442 fi
42443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42444 ac_ext=c
42445 ac_cpp='$CPP $CPPFLAGS'
42446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42449
42450
42451 fi
42452
42453 fi
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42455 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42456
42457 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42458 for ac_func in _hypotf
42459 do :
42460 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42461 if test "x$ac_cv_func__hypotf" = x""yes; then :
42462 cat >>confdefs.h <<_ACEOF
42463 #define HAVE__HYPOTF 1
42464 _ACEOF
42465
42466 fi
42467 done
42468
42469 fi
42470 fi
42471
42472
42473
42474
42475
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42477 $as_echo_n "checking for ldexpf declaration... " >&6; }
42478 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42479 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42480 $as_echo_n "(cached) " >&6
42481 else
42482
42483
42484 ac_ext=cpp
42485 ac_cpp='$CXXCPP $CPPFLAGS'
42486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42489
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42491 /* end confdefs.h. */
42492 #include <math.h>
42493 int
42494 main ()
42495 {
42496 ldexpf(0, 0);
42497 ;
42498 return 0;
42499 }
42500 _ACEOF
42501 if ac_fn_cxx_try_compile "$LINENO"; then :
42502 glibcxx_cv_func_ldexpf_use=yes
42503 else
42504 glibcxx_cv_func_ldexpf_use=no
42505 fi
42506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42507 ac_ext=c
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42512
42513
42514 fi
42515
42516 fi
42517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42518 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42519
42520 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42521 for ac_func in ldexpf
42522 do :
42523 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42524 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42525 cat >>confdefs.h <<_ACEOF
42526 #define HAVE_LDEXPF 1
42527 _ACEOF
42528
42529 fi
42530 done
42531
42532 else
42533
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42535 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42536 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42537 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42538 $as_echo_n "(cached) " >&6
42539 else
42540
42541
42542 ac_ext=cpp
42543 ac_cpp='$CXXCPP $CPPFLAGS'
42544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42547
42548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42549 /* end confdefs.h. */
42550 #include <math.h>
42551 int
42552 main ()
42553 {
42554 _ldexpf(0, 0);
42555 ;
42556 return 0;
42557 }
42558 _ACEOF
42559 if ac_fn_cxx_try_compile "$LINENO"; then :
42560 glibcxx_cv_func__ldexpf_use=yes
42561 else
42562 glibcxx_cv_func__ldexpf_use=no
42563 fi
42564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42565 ac_ext=c
42566 ac_cpp='$CPP $CPPFLAGS'
42567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42570
42571
42572 fi
42573
42574 fi
42575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42576 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42577
42578 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42579 for ac_func in _ldexpf
42580 do :
42581 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42582 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42583 cat >>confdefs.h <<_ACEOF
42584 #define HAVE__LDEXPF 1
42585 _ACEOF
42586
42587 fi
42588 done
42589
42590 fi
42591 fi
42592
42593
42594
42595
42596
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42598 $as_echo_n "checking for logf declaration... " >&6; }
42599 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42600 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42601 $as_echo_n "(cached) " >&6
42602 else
42603
42604
42605 ac_ext=cpp
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h. */
42613 #include <math.h>
42614 #ifdef HAVE_IEEEFP_H
42615 #include <ieeefp.h>
42616 #endif
42617
42618 int
42619 main ()
42620 {
42621 logf(0);
42622 ;
42623 return 0;
42624 }
42625 _ACEOF
42626 if ac_fn_cxx_try_compile "$LINENO"; then :
42627 glibcxx_cv_func_logf_use=yes
42628 else
42629 glibcxx_cv_func_logf_use=no
42630 fi
42631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42632 ac_ext=c
42633 ac_cpp='$CPP $CPPFLAGS'
42634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42637
42638
42639 fi
42640
42641 fi
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42643 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42644
42645 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42646 for ac_func in logf
42647 do :
42648 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42649 if test "x$ac_cv_func_logf" = x""yes; then :
42650 cat >>confdefs.h <<_ACEOF
42651 #define HAVE_LOGF 1
42652 _ACEOF
42653
42654 fi
42655 done
42656
42657 else
42658
42659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42660 $as_echo_n "checking for _logf declaration... " >&6; }
42661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42662 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42663 $as_echo_n "(cached) " >&6
42664 else
42665
42666
42667 ac_ext=cpp
42668 ac_cpp='$CXXCPP $CPPFLAGS'
42669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42672
42673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42674 /* end confdefs.h. */
42675 #include <math.h>
42676 #ifdef HAVE_IEEEFP_H
42677 #include <ieeefp.h>
42678 #endif
42679
42680 int
42681 main ()
42682 {
42683 _logf(0);
42684 ;
42685 return 0;
42686 }
42687 _ACEOF
42688 if ac_fn_cxx_try_compile "$LINENO"; then :
42689 glibcxx_cv_func__logf_use=yes
42690 else
42691 glibcxx_cv_func__logf_use=no
42692 fi
42693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42694 ac_ext=c
42695 ac_cpp='$CPP $CPPFLAGS'
42696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42699
42700
42701 fi
42702
42703 fi
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42705 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42706
42707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42708 for ac_func in _logf
42709 do :
42710 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42711 if test "x$ac_cv_func__logf" = x""yes; then :
42712 cat >>confdefs.h <<_ACEOF
42713 #define HAVE__LOGF 1
42714 _ACEOF
42715
42716 fi
42717 done
42718
42719 fi
42720 fi
42721
42722
42723
42724
42725
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42727 $as_echo_n "checking for log10f declaration... " >&6; }
42728 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42729 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42730 $as_echo_n "(cached) " >&6
42731 else
42732
42733
42734 ac_ext=cpp
42735 ac_cpp='$CXXCPP $CPPFLAGS'
42736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42739
42740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42741 /* end confdefs.h. */
42742 #include <math.h>
42743 #ifdef HAVE_IEEEFP_H
42744 #include <ieeefp.h>
42745 #endif
42746
42747 int
42748 main ()
42749 {
42750 log10f(0);
42751 ;
42752 return 0;
42753 }
42754 _ACEOF
42755 if ac_fn_cxx_try_compile "$LINENO"; then :
42756 glibcxx_cv_func_log10f_use=yes
42757 else
42758 glibcxx_cv_func_log10f_use=no
42759 fi
42760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42761 ac_ext=c
42762 ac_cpp='$CPP $CPPFLAGS'
42763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42766
42767
42768 fi
42769
42770 fi
42771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42772 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42773
42774 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42775 for ac_func in log10f
42776 do :
42777 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42778 if test "x$ac_cv_func_log10f" = x""yes; then :
42779 cat >>confdefs.h <<_ACEOF
42780 #define HAVE_LOG10F 1
42781 _ACEOF
42782
42783 fi
42784 done
42785
42786 else
42787
42788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42789 $as_echo_n "checking for _log10f declaration... " >&6; }
42790 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42791 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42792 $as_echo_n "(cached) " >&6
42793 else
42794
42795
42796 ac_ext=cpp
42797 ac_cpp='$CXXCPP $CPPFLAGS'
42798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42801
42802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42803 /* end confdefs.h. */
42804 #include <math.h>
42805 #ifdef HAVE_IEEEFP_H
42806 #include <ieeefp.h>
42807 #endif
42808
42809 int
42810 main ()
42811 {
42812 _log10f(0);
42813 ;
42814 return 0;
42815 }
42816 _ACEOF
42817 if ac_fn_cxx_try_compile "$LINENO"; then :
42818 glibcxx_cv_func__log10f_use=yes
42819 else
42820 glibcxx_cv_func__log10f_use=no
42821 fi
42822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42823 ac_ext=c
42824 ac_cpp='$CPP $CPPFLAGS'
42825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42828
42829
42830 fi
42831
42832 fi
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42834 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42835
42836 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42837 for ac_func in _log10f
42838 do :
42839 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42840 if test "x$ac_cv_func__log10f" = x""yes; then :
42841 cat >>confdefs.h <<_ACEOF
42842 #define HAVE__LOG10F 1
42843 _ACEOF
42844
42845 fi
42846 done
42847
42848 fi
42849 fi
42850
42851
42852
42853
42854
42855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42856 $as_echo_n "checking for modff declaration... " >&6; }
42857 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42858 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42859 $as_echo_n "(cached) " >&6
42860 else
42861
42862
42863 ac_ext=cpp
42864 ac_cpp='$CXXCPP $CPPFLAGS'
42865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42868
42869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42870 /* end confdefs.h. */
42871 #include <math.h>
42872 int
42873 main ()
42874 {
42875 modff(0, 0);
42876 ;
42877 return 0;
42878 }
42879 _ACEOF
42880 if ac_fn_cxx_try_compile "$LINENO"; then :
42881 glibcxx_cv_func_modff_use=yes
42882 else
42883 glibcxx_cv_func_modff_use=no
42884 fi
42885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42886 ac_ext=c
42887 ac_cpp='$CPP $CPPFLAGS'
42888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42891
42892
42893 fi
42894
42895 fi
42896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42897 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42898
42899 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42900 for ac_func in modff
42901 do :
42902 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42903 if test "x$ac_cv_func_modff" = x""yes; then :
42904 cat >>confdefs.h <<_ACEOF
42905 #define HAVE_MODFF 1
42906 _ACEOF
42907
42908 fi
42909 done
42910
42911 else
42912
42913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42914 $as_echo_n "checking for _modff declaration... " >&6; }
42915 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42916 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42917 $as_echo_n "(cached) " >&6
42918 else
42919
42920
42921 ac_ext=cpp
42922 ac_cpp='$CXXCPP $CPPFLAGS'
42923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42926
42927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42928 /* end confdefs.h. */
42929 #include <math.h>
42930 int
42931 main ()
42932 {
42933 _modff(0, 0);
42934 ;
42935 return 0;
42936 }
42937 _ACEOF
42938 if ac_fn_cxx_try_compile "$LINENO"; then :
42939 glibcxx_cv_func__modff_use=yes
42940 else
42941 glibcxx_cv_func__modff_use=no
42942 fi
42943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42944 ac_ext=c
42945 ac_cpp='$CPP $CPPFLAGS'
42946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42949
42950
42951 fi
42952
42953 fi
42954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42955 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42956
42957 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42958 for ac_func in _modff
42959 do :
42960 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42961 if test "x$ac_cv_func__modff" = x""yes; then :
42962 cat >>confdefs.h <<_ACEOF
42963 #define HAVE__MODFF 1
42964 _ACEOF
42965
42966 fi
42967 done
42968
42969 fi
42970 fi
42971
42972
42973
42974
42975
42976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42977 $as_echo_n "checking for modf declaration... " >&6; }
42978 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42979 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42980 $as_echo_n "(cached) " >&6
42981 else
42982
42983
42984 ac_ext=cpp
42985 ac_cpp='$CXXCPP $CPPFLAGS'
42986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42989
42990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42991 /* end confdefs.h. */
42992 #include <math.h>
42993 int
42994 main ()
42995 {
42996 modf(0, 0);
42997 ;
42998 return 0;
42999 }
43000 _ACEOF
43001 if ac_fn_cxx_try_compile "$LINENO"; then :
43002 glibcxx_cv_func_modf_use=yes
43003 else
43004 glibcxx_cv_func_modf_use=no
43005 fi
43006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43007 ac_ext=c
43008 ac_cpp='$CPP $CPPFLAGS'
43009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43012
43013
43014 fi
43015
43016 fi
43017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43018 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43019
43020 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43021 for ac_func in modf
43022 do :
43023 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43024 if test "x$ac_cv_func_modf" = x""yes; then :
43025 cat >>confdefs.h <<_ACEOF
43026 #define HAVE_MODF 1
43027 _ACEOF
43028
43029 fi
43030 done
43031
43032 else
43033
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43035 $as_echo_n "checking for _modf declaration... " >&6; }
43036 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43037 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43038 $as_echo_n "(cached) " >&6
43039 else
43040
43041
43042 ac_ext=cpp
43043 ac_cpp='$CXXCPP $CPPFLAGS'
43044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43047
43048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43049 /* end confdefs.h. */
43050 #include <math.h>
43051 int
43052 main ()
43053 {
43054 _modf(0, 0);
43055 ;
43056 return 0;
43057 }
43058 _ACEOF
43059 if ac_fn_cxx_try_compile "$LINENO"; then :
43060 glibcxx_cv_func__modf_use=yes
43061 else
43062 glibcxx_cv_func__modf_use=no
43063 fi
43064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43065 ac_ext=c
43066 ac_cpp='$CPP $CPPFLAGS'
43067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43070
43071
43072 fi
43073
43074 fi
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43076 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43077
43078 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43079 for ac_func in _modf
43080 do :
43081 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43082 if test "x$ac_cv_func__modf" = x""yes; then :
43083 cat >>confdefs.h <<_ACEOF
43084 #define HAVE__MODF 1
43085 _ACEOF
43086
43087 fi
43088 done
43089
43090 fi
43091 fi
43092
43093
43094
43095
43096
43097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43098 $as_echo_n "checking for powf declaration... " >&6; }
43099 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43100 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43101 $as_echo_n "(cached) " >&6
43102 else
43103
43104
43105 ac_ext=cpp
43106 ac_cpp='$CXXCPP $CPPFLAGS'
43107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43110
43111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43112 /* end confdefs.h. */
43113 #include <math.h>
43114 int
43115 main ()
43116 {
43117 powf(0, 0);
43118 ;
43119 return 0;
43120 }
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func_powf_use=yes
43124 else
43125 glibcxx_cv_func_powf_use=no
43126 fi
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136
43137 fi
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43139 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43140
43141 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43142 for ac_func in powf
43143 do :
43144 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43145 if test "x$ac_cv_func_powf" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE_POWF 1
43148 _ACEOF
43149
43150 fi
43151 done
43152
43153 else
43154
43155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43156 $as_echo_n "checking for _powf declaration... " >&6; }
43157 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43158 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43159 $as_echo_n "(cached) " >&6
43160 else
43161
43162
43163 ac_ext=cpp
43164 ac_cpp='$CXXCPP $CPPFLAGS'
43165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43168
43169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43170 /* end confdefs.h. */
43171 #include <math.h>
43172 int
43173 main ()
43174 {
43175 _powf(0, 0);
43176 ;
43177 return 0;
43178 }
43179 _ACEOF
43180 if ac_fn_cxx_try_compile "$LINENO"; then :
43181 glibcxx_cv_func__powf_use=yes
43182 else
43183 glibcxx_cv_func__powf_use=no
43184 fi
43185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43186 ac_ext=c
43187 ac_cpp='$CPP $CPPFLAGS'
43188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43191
43192
43193 fi
43194
43195 fi
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43197 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43198
43199 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43200 for ac_func in _powf
43201 do :
43202 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43203 if test "x$ac_cv_func__powf" = x""yes; then :
43204 cat >>confdefs.h <<_ACEOF
43205 #define HAVE__POWF 1
43206 _ACEOF
43207
43208 fi
43209 done
43210
43211 fi
43212 fi
43213
43214
43215
43216
43217
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43219 $as_echo_n "checking for sqrtf declaration... " >&6; }
43220 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43221 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 #ifdef HAVE_IEEEFP_H
43236 #include <ieeefp.h>
43237 #endif
43238
43239 int
43240 main ()
43241 {
43242 sqrtf(0);
43243 ;
43244 return 0;
43245 }
43246 _ACEOF
43247 if ac_fn_cxx_try_compile "$LINENO"; then :
43248 glibcxx_cv_func_sqrtf_use=yes
43249 else
43250 glibcxx_cv_func_sqrtf_use=no
43251 fi
43252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43253 ac_ext=c
43254 ac_cpp='$CPP $CPPFLAGS'
43255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43258
43259
43260 fi
43261
43262 fi
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43264 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43265
43266 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43267 for ac_func in sqrtf
43268 do :
43269 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43270 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43271 cat >>confdefs.h <<_ACEOF
43272 #define HAVE_SQRTF 1
43273 _ACEOF
43274
43275 fi
43276 done
43277
43278 else
43279
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43281 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43282 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43283 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43284 $as_echo_n "(cached) " >&6
43285 else
43286
43287
43288 ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43295 /* end confdefs.h. */
43296 #include <math.h>
43297 #ifdef HAVE_IEEEFP_H
43298 #include <ieeefp.h>
43299 #endif
43300
43301 int
43302 main ()
43303 {
43304 _sqrtf(0);
43305 ;
43306 return 0;
43307 }
43308 _ACEOF
43309 if ac_fn_cxx_try_compile "$LINENO"; then :
43310 glibcxx_cv_func__sqrtf_use=yes
43311 else
43312 glibcxx_cv_func__sqrtf_use=no
43313 fi
43314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43315 ac_ext=c
43316 ac_cpp='$CPP $CPPFLAGS'
43317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43320
43321
43322 fi
43323
43324 fi
43325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43326 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43327
43328 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43329 for ac_func in _sqrtf
43330 do :
43331 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43332 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43333 cat >>confdefs.h <<_ACEOF
43334 #define HAVE__SQRTF 1
43335 _ACEOF
43336
43337 fi
43338 done
43339
43340 fi
43341 fi
43342
43343
43344
43345
43346
43347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43348 $as_echo_n "checking for sincosf declaration... " >&6; }
43349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43350 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43351 $as_echo_n "(cached) " >&6
43352 else
43353
43354
43355 ac_ext=cpp
43356 ac_cpp='$CXXCPP $CPPFLAGS'
43357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43360
43361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43362 /* end confdefs.h. */
43363 #include <math.h>
43364 int
43365 main ()
43366 {
43367 sincosf(0, 0, 0);
43368 ;
43369 return 0;
43370 }
43371 _ACEOF
43372 if ac_fn_cxx_try_compile "$LINENO"; then :
43373 glibcxx_cv_func_sincosf_use=yes
43374 else
43375 glibcxx_cv_func_sincosf_use=no
43376 fi
43377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43378 ac_ext=c
43379 ac_cpp='$CPP $CPPFLAGS'
43380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43383
43384
43385 fi
43386
43387 fi
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43389 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43390
43391 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43392 for ac_func in sincosf
43393 do :
43394 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43395 if test "x$ac_cv_func_sincosf" = x""yes; then :
43396 cat >>confdefs.h <<_ACEOF
43397 #define HAVE_SINCOSF 1
43398 _ACEOF
43399
43400 fi
43401 done
43402
43403 else
43404
43405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43406 $as_echo_n "checking for _sincosf declaration... " >&6; }
43407 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43408 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43409 $as_echo_n "(cached) " >&6
43410 else
43411
43412
43413 ac_ext=cpp
43414 ac_cpp='$CXXCPP $CPPFLAGS'
43415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43418
43419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43420 /* end confdefs.h. */
43421 #include <math.h>
43422 int
43423 main ()
43424 {
43425 _sincosf(0, 0, 0);
43426 ;
43427 return 0;
43428 }
43429 _ACEOF
43430 if ac_fn_cxx_try_compile "$LINENO"; then :
43431 glibcxx_cv_func__sincosf_use=yes
43432 else
43433 glibcxx_cv_func__sincosf_use=no
43434 fi
43435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43436 ac_ext=c
43437 ac_cpp='$CPP $CPPFLAGS'
43438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43441
43442
43443 fi
43444
43445 fi
43446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43447 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43448
43449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43450 for ac_func in _sincosf
43451 do :
43452 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43453 if test "x$ac_cv_func__sincosf" = x""yes; then :
43454 cat >>confdefs.h <<_ACEOF
43455 #define HAVE__SINCOSF 1
43456 _ACEOF
43457
43458 fi
43459 done
43460
43461 fi
43462 fi
43463
43464
43465
43466
43467
43468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43469 $as_echo_n "checking for finitef declaration... " >&6; }
43470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43471 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43472 $as_echo_n "(cached) " >&6
43473 else
43474
43475
43476 ac_ext=cpp
43477 ac_cpp='$CXXCPP $CPPFLAGS'
43478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43481
43482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43483 /* end confdefs.h. */
43484 #include <math.h>
43485 #ifdef HAVE_IEEEFP_H
43486 #include <ieeefp.h>
43487 #endif
43488
43489 int
43490 main ()
43491 {
43492 finitef(0);
43493 ;
43494 return 0;
43495 }
43496 _ACEOF
43497 if ac_fn_cxx_try_compile "$LINENO"; then :
43498 glibcxx_cv_func_finitef_use=yes
43499 else
43500 glibcxx_cv_func_finitef_use=no
43501 fi
43502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43503 ac_ext=c
43504 ac_cpp='$CPP $CPPFLAGS'
43505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43508
43509
43510 fi
43511
43512 fi
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43514 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43515
43516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43517 for ac_func in finitef
43518 do :
43519 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43520 if test "x$ac_cv_func_finitef" = x""yes; then :
43521 cat >>confdefs.h <<_ACEOF
43522 #define HAVE_FINITEF 1
43523 _ACEOF
43524
43525 fi
43526 done
43527
43528 else
43529
43530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43531 $as_echo_n "checking for _finitef declaration... " >&6; }
43532 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43533 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43534 $as_echo_n "(cached) " >&6
43535 else
43536
43537
43538 ac_ext=cpp
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43543
43544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43545 /* end confdefs.h. */
43546 #include <math.h>
43547 #ifdef HAVE_IEEEFP_H
43548 #include <ieeefp.h>
43549 #endif
43550
43551 int
43552 main ()
43553 {
43554 _finitef(0);
43555 ;
43556 return 0;
43557 }
43558 _ACEOF
43559 if ac_fn_cxx_try_compile "$LINENO"; then :
43560 glibcxx_cv_func__finitef_use=yes
43561 else
43562 glibcxx_cv_func__finitef_use=no
43563 fi
43564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43565 ac_ext=c
43566 ac_cpp='$CPP $CPPFLAGS'
43567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43570
43571
43572 fi
43573
43574 fi
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43576 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43577
43578 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43579 for ac_func in _finitef
43580 do :
43581 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43582 if test "x$ac_cv_func__finitef" = x""yes; then :
43583 cat >>confdefs.h <<_ACEOF
43584 #define HAVE__FINITEF 1
43585 _ACEOF
43586
43587 fi
43588 done
43589
43590 fi
43591 fi
43592
43593
43594
43595
43596
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43598 $as_echo_n "checking for long double trig functions... " >&6; }
43599 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43600 $as_echo_n "(cached) " >&6
43601 else
43602
43603
43604 ac_ext=cpp
43605 ac_cpp='$CXXCPP $CPPFLAGS'
43606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43609
43610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43611 /* end confdefs.h. */
43612 #include <math.h>
43613 int
43614 main ()
43615 {
43616 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43617 ;
43618 return 0;
43619 }
43620 _ACEOF
43621 if ac_fn_cxx_try_compile "$LINENO"; then :
43622 glibcxx_cv_func_long_double_trig_use=yes
43623 else
43624 glibcxx_cv_func_long_double_trig_use=no
43625 fi
43626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632
43633 fi
43634
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43636 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43637 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43638 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43639 do :
43640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43642 eval as_val=\$$as_ac_var
43643 if test "x$as_val" = x""yes; then :
43644 cat >>confdefs.h <<_ACEOF
43645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43646 _ACEOF
43647
43648 fi
43649 done
43650
43651 else
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43653 $as_echo_n "checking for _long double trig functions... " >&6; }
43654 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43655 $as_echo_n "(cached) " >&6
43656 else
43657
43658
43659 ac_ext=cpp
43660 ac_cpp='$CXXCPP $CPPFLAGS'
43661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43664
43665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43666 /* end confdefs.h. */
43667 #include <math.h>
43668 int
43669 main ()
43670 {
43671 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43672 ;
43673 return 0;
43674 }
43675 _ACEOF
43676 if ac_fn_cxx_try_compile "$LINENO"; then :
43677 glibcxx_cv_func__long_double_trig_use=yes
43678 else
43679 glibcxx_cv_func__long_double_trig_use=no
43680 fi
43681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43682 ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687
43688 fi
43689
43690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43691 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43692 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43693 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43694 do :
43695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43697 eval as_val=\$$as_ac_var
43698 if test "x$as_val" = x""yes; then :
43699 cat >>confdefs.h <<_ACEOF
43700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43701 _ACEOF
43702
43703 fi
43704 done
43705
43706 fi
43707 fi
43708
43709
43710
43711
43712
43713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43714 $as_echo_n "checking for long double round functions... " >&6; }
43715 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43716 $as_echo_n "(cached) " >&6
43717 else
43718
43719
43720 ac_ext=cpp
43721 ac_cpp='$CXXCPP $CPPFLAGS'
43722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43725
43726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43727 /* end confdefs.h. */
43728 #include <math.h>
43729 int
43730 main ()
43731 {
43732 ceill (0); floorl (0);
43733 ;
43734 return 0;
43735 }
43736 _ACEOF
43737 if ac_fn_cxx_try_compile "$LINENO"; then :
43738 glibcxx_cv_func_long_double_round_use=yes
43739 else
43740 glibcxx_cv_func_long_double_round_use=no
43741 fi
43742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43743 ac_ext=c
43744 ac_cpp='$CPP $CPPFLAGS'
43745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43748
43749 fi
43750
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43754 for ac_func in ceill floorl
43755 do :
43756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43758 eval as_val=\$$as_ac_var
43759 if test "x$as_val" = x""yes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43762 _ACEOF
43763
43764 fi
43765 done
43766
43767 else
43768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43769 $as_echo_n "checking for _long double round functions... " >&6; }
43770 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43771 $as_echo_n "(cached) " >&6
43772 else
43773
43774
43775 ac_ext=cpp
43776 ac_cpp='$CXXCPP $CPPFLAGS'
43777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43780
43781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43782 /* end confdefs.h. */
43783 #include <math.h>
43784 int
43785 main ()
43786 {
43787 _ceill (0); _floorl (0);
43788 ;
43789 return 0;
43790 }
43791 _ACEOF
43792 if ac_fn_cxx_try_compile "$LINENO"; then :
43793 glibcxx_cv_func__long_double_round_use=yes
43794 else
43795 glibcxx_cv_func__long_double_round_use=no
43796 fi
43797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43798 ac_ext=c
43799 ac_cpp='$CPP $CPPFLAGS'
43800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43803
43804 fi
43805
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43807 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43808 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43809 for ac_func in _ceill _floorl
43810 do :
43811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43813 eval as_val=\$$as_ac_var
43814 if test "x$as_val" = x""yes; then :
43815 cat >>confdefs.h <<_ACEOF
43816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43817 _ACEOF
43818
43819 fi
43820 done
43821
43822 fi
43823 fi
43824
43825
43826
43827
43828
43829
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43831 $as_echo_n "checking for isnanl declaration... " >&6; }
43832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43833 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43834 $as_echo_n "(cached) " >&6
43835 else
43836
43837
43838 ac_ext=cpp
43839 ac_cpp='$CXXCPP $CPPFLAGS'
43840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43843
43844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43845 /* end confdefs.h. */
43846 #include <math.h>
43847 #ifdef HAVE_IEEEFP_H
43848 #include <ieeefp.h>
43849 #endif
43850
43851 int
43852 main ()
43853 {
43854 isnanl(0);
43855 ;
43856 return 0;
43857 }
43858 _ACEOF
43859 if ac_fn_cxx_try_compile "$LINENO"; then :
43860 glibcxx_cv_func_isnanl_use=yes
43861 else
43862 glibcxx_cv_func_isnanl_use=no
43863 fi
43864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43865 ac_ext=c
43866 ac_cpp='$CPP $CPPFLAGS'
43867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43870
43871
43872 fi
43873
43874 fi
43875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43877
43878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43879 for ac_func in isnanl
43880 do :
43881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43882 if test "x$ac_cv_func_isnanl" = x""yes; then :
43883 cat >>confdefs.h <<_ACEOF
43884 #define HAVE_ISNANL 1
43885 _ACEOF
43886
43887 fi
43888 done
43889
43890 else
43891
43892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43893 $as_echo_n "checking for _isnanl declaration... " >&6; }
43894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43895 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43896 $as_echo_n "(cached) " >&6
43897 else
43898
43899
43900 ac_ext=cpp
43901 ac_cpp='$CXXCPP $CPPFLAGS'
43902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43905
43906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43907 /* end confdefs.h. */
43908 #include <math.h>
43909 #ifdef HAVE_IEEEFP_H
43910 #include <ieeefp.h>
43911 #endif
43912
43913 int
43914 main ()
43915 {
43916 _isnanl(0);
43917 ;
43918 return 0;
43919 }
43920 _ACEOF
43921 if ac_fn_cxx_try_compile "$LINENO"; then :
43922 glibcxx_cv_func__isnanl_use=yes
43923 else
43924 glibcxx_cv_func__isnanl_use=no
43925 fi
43926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43927 ac_ext=c
43928 ac_cpp='$CPP $CPPFLAGS'
43929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43932
43933
43934 fi
43935
43936 fi
43937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43939
43940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43941 for ac_func in _isnanl
43942 do :
43943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43944 if test "x$ac_cv_func__isnanl" = x""yes; then :
43945 cat >>confdefs.h <<_ACEOF
43946 #define HAVE__ISNANL 1
43947 _ACEOF
43948
43949 fi
43950 done
43951
43952 fi
43953 fi
43954
43955
43956
43957
43958
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43960 $as_echo_n "checking for isinfl declaration... " >&6; }
43961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43962 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43963 $as_echo_n "(cached) " >&6
43964 else
43965
43966
43967 ac_ext=cpp
43968 ac_cpp='$CXXCPP $CPPFLAGS'
43969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43972
43973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43974 /* end confdefs.h. */
43975 #include <math.h>
43976 #ifdef HAVE_IEEEFP_H
43977 #include <ieeefp.h>
43978 #endif
43979
43980 int
43981 main ()
43982 {
43983 isinfl(0);
43984 ;
43985 return 0;
43986 }
43987 _ACEOF
43988 if ac_fn_cxx_try_compile "$LINENO"; then :
43989 glibcxx_cv_func_isinfl_use=yes
43990 else
43991 glibcxx_cv_func_isinfl_use=no
43992 fi
43993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43994 ac_ext=c
43995 ac_cpp='$CPP $CPPFLAGS'
43996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43999
44000
44001 fi
44002
44003 fi
44004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44006
44007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44008 for ac_func in isinfl
44009 do :
44010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44011 if test "x$ac_cv_func_isinfl" = x""yes; then :
44012 cat >>confdefs.h <<_ACEOF
44013 #define HAVE_ISINFL 1
44014 _ACEOF
44015
44016 fi
44017 done
44018
44019 else
44020
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44022 $as_echo_n "checking for _isinfl declaration... " >&6; }
44023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44024 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44025 $as_echo_n "(cached) " >&6
44026 else
44027
44028
44029 ac_ext=cpp
44030 ac_cpp='$CXXCPP $CPPFLAGS'
44031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44034
44035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44036 /* end confdefs.h. */
44037 #include <math.h>
44038 #ifdef HAVE_IEEEFP_H
44039 #include <ieeefp.h>
44040 #endif
44041
44042 int
44043 main ()
44044 {
44045 _isinfl(0);
44046 ;
44047 return 0;
44048 }
44049 _ACEOF
44050 if ac_fn_cxx_try_compile "$LINENO"; then :
44051 glibcxx_cv_func__isinfl_use=yes
44052 else
44053 glibcxx_cv_func__isinfl_use=no
44054 fi
44055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44056 ac_ext=c
44057 ac_cpp='$CPP $CPPFLAGS'
44058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44061
44062
44063 fi
44064
44065 fi
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44068
44069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44070 for ac_func in _isinfl
44071 do :
44072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44073 if test "x$ac_cv_func__isinfl" = x""yes; then :
44074 cat >>confdefs.h <<_ACEOF
44075 #define HAVE__ISINFL 1
44076 _ACEOF
44077
44078 fi
44079 done
44080
44081 fi
44082 fi
44083
44084
44085
44086
44087
44088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44089 $as_echo_n "checking for atan2l declaration... " >&6; }
44090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44091 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44092 $as_echo_n "(cached) " >&6
44093 else
44094
44095
44096 ac_ext=cpp
44097 ac_cpp='$CXXCPP $CPPFLAGS'
44098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44101
44102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44103 /* end confdefs.h. */
44104 #include <math.h>
44105 int
44106 main ()
44107 {
44108 atan2l(0, 0);
44109 ;
44110 return 0;
44111 }
44112 _ACEOF
44113 if ac_fn_cxx_try_compile "$LINENO"; then :
44114 glibcxx_cv_func_atan2l_use=yes
44115 else
44116 glibcxx_cv_func_atan2l_use=no
44117 fi
44118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44119 ac_ext=c
44120 ac_cpp='$CPP $CPPFLAGS'
44121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44124
44125
44126 fi
44127
44128 fi
44129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44131
44132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44133 for ac_func in atan2l
44134 do :
44135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44136 if test "x$ac_cv_func_atan2l" = x""yes; then :
44137 cat >>confdefs.h <<_ACEOF
44138 #define HAVE_ATAN2L 1
44139 _ACEOF
44140
44141 fi
44142 done
44143
44144 else
44145
44146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44147 $as_echo_n "checking for _atan2l declaration... " >&6; }
44148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44149 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44150 $as_echo_n "(cached) " >&6
44151 else
44152
44153
44154 ac_ext=cpp
44155 ac_cpp='$CXXCPP $CPPFLAGS'
44156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44159
44160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44161 /* end confdefs.h. */
44162 #include <math.h>
44163 int
44164 main ()
44165 {
44166 _atan2l(0, 0);
44167 ;
44168 return 0;
44169 }
44170 _ACEOF
44171 if ac_fn_cxx_try_compile "$LINENO"; then :
44172 glibcxx_cv_func__atan2l_use=yes
44173 else
44174 glibcxx_cv_func__atan2l_use=no
44175 fi
44176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44177 ac_ext=c
44178 ac_cpp='$CPP $CPPFLAGS'
44179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44182
44183
44184 fi
44185
44186 fi
44187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44189
44190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44191 for ac_func in _atan2l
44192 do :
44193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44194 if test "x$ac_cv_func__atan2l" = x""yes; then :
44195 cat >>confdefs.h <<_ACEOF
44196 #define HAVE__ATAN2L 1
44197 _ACEOF
44198
44199 fi
44200 done
44201
44202 fi
44203 fi
44204
44205
44206
44207
44208
44209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44210 $as_echo_n "checking for expl declaration... " >&6; }
44211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44212 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44213 $as_echo_n "(cached) " >&6
44214 else
44215
44216
44217 ac_ext=cpp
44218 ac_cpp='$CXXCPP $CPPFLAGS'
44219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44222
44223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44224 /* end confdefs.h. */
44225 #include <math.h>
44226 #ifdef HAVE_IEEEFP_H
44227 #include <ieeefp.h>
44228 #endif
44229
44230 int
44231 main ()
44232 {
44233 expl(0);
44234 ;
44235 return 0;
44236 }
44237 _ACEOF
44238 if ac_fn_cxx_try_compile "$LINENO"; then :
44239 glibcxx_cv_func_expl_use=yes
44240 else
44241 glibcxx_cv_func_expl_use=no
44242 fi
44243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44244 ac_ext=c
44245 ac_cpp='$CPP $CPPFLAGS'
44246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44249
44250
44251 fi
44252
44253 fi
44254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44256
44257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44258 for ac_func in expl
44259 do :
44260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44261 if test "x$ac_cv_func_expl" = x""yes; then :
44262 cat >>confdefs.h <<_ACEOF
44263 #define HAVE_EXPL 1
44264 _ACEOF
44265
44266 fi
44267 done
44268
44269 else
44270
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44272 $as_echo_n "checking for _expl declaration... " >&6; }
44273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44274 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44275 $as_echo_n "(cached) " >&6
44276 else
44277
44278
44279 ac_ext=cpp
44280 ac_cpp='$CXXCPP $CPPFLAGS'
44281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44284
44285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44286 /* end confdefs.h. */
44287 #include <math.h>
44288 #ifdef HAVE_IEEEFP_H
44289 #include <ieeefp.h>
44290 #endif
44291
44292 int
44293 main ()
44294 {
44295 _expl(0);
44296 ;
44297 return 0;
44298 }
44299 _ACEOF
44300 if ac_fn_cxx_try_compile "$LINENO"; then :
44301 glibcxx_cv_func__expl_use=yes
44302 else
44303 glibcxx_cv_func__expl_use=no
44304 fi
44305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44306 ac_ext=c
44307 ac_cpp='$CPP $CPPFLAGS'
44308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44311
44312
44313 fi
44314
44315 fi
44316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44318
44319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44320 for ac_func in _expl
44321 do :
44322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44323 if test "x$ac_cv_func__expl" = x""yes; then :
44324 cat >>confdefs.h <<_ACEOF
44325 #define HAVE__EXPL 1
44326 _ACEOF
44327
44328 fi
44329 done
44330
44331 fi
44332 fi
44333
44334
44335
44336
44337
44338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44339 $as_echo_n "checking for fabsl declaration... " >&6; }
44340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44341 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44342 $as_echo_n "(cached) " >&6
44343 else
44344
44345
44346 ac_ext=cpp
44347 ac_cpp='$CXXCPP $CPPFLAGS'
44348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351
44352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44353 /* end confdefs.h. */
44354 #include <math.h>
44355 #ifdef HAVE_IEEEFP_H
44356 #include <ieeefp.h>
44357 #endif
44358
44359 int
44360 main ()
44361 {
44362 fabsl(0);
44363 ;
44364 return 0;
44365 }
44366 _ACEOF
44367 if ac_fn_cxx_try_compile "$LINENO"; then :
44368 glibcxx_cv_func_fabsl_use=yes
44369 else
44370 glibcxx_cv_func_fabsl_use=no
44371 fi
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373 ac_ext=c
44374 ac_cpp='$CPP $CPPFLAGS'
44375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44378
44379
44380 fi
44381
44382 fi
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44385
44386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44387 for ac_func in fabsl
44388 do :
44389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44390 if test "x$ac_cv_func_fabsl" = x""yes; then :
44391 cat >>confdefs.h <<_ACEOF
44392 #define HAVE_FABSL 1
44393 _ACEOF
44394
44395 fi
44396 done
44397
44398 else
44399
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44401 $as_echo_n "checking for _fabsl declaration... " >&6; }
44402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44403 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44404 $as_echo_n "(cached) " >&6
44405 else
44406
44407
44408 ac_ext=cpp
44409 ac_cpp='$CXXCPP $CPPFLAGS'
44410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44413
44414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44415 /* end confdefs.h. */
44416 #include <math.h>
44417 #ifdef HAVE_IEEEFP_H
44418 #include <ieeefp.h>
44419 #endif
44420
44421 int
44422 main ()
44423 {
44424 _fabsl(0);
44425 ;
44426 return 0;
44427 }
44428 _ACEOF
44429 if ac_fn_cxx_try_compile "$LINENO"; then :
44430 glibcxx_cv_func__fabsl_use=yes
44431 else
44432 glibcxx_cv_func__fabsl_use=no
44433 fi
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44440
44441
44442 fi
44443
44444 fi
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44447
44448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44449 for ac_func in _fabsl
44450 do :
44451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44452 if test "x$ac_cv_func__fabsl" = x""yes; then :
44453 cat >>confdefs.h <<_ACEOF
44454 #define HAVE__FABSL 1
44455 _ACEOF
44456
44457 fi
44458 done
44459
44460 fi
44461 fi
44462
44463
44464
44465
44466
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44468 $as_echo_n "checking for fmodl declaration... " >&6; }
44469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44470 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44471 $as_echo_n "(cached) " >&6
44472 else
44473
44474
44475 ac_ext=cpp
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44480
44481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44482 /* end confdefs.h. */
44483 #include <math.h>
44484 int
44485 main ()
44486 {
44487 fmodl(0, 0);
44488 ;
44489 return 0;
44490 }
44491 _ACEOF
44492 if ac_fn_cxx_try_compile "$LINENO"; then :
44493 glibcxx_cv_func_fmodl_use=yes
44494 else
44495 glibcxx_cv_func_fmodl_use=no
44496 fi
44497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44498 ac_ext=c
44499 ac_cpp='$CPP $CPPFLAGS'
44500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44503
44504
44505 fi
44506
44507 fi
44508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44510
44511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44512 for ac_func in fmodl
44513 do :
44514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44515 if test "x$ac_cv_func_fmodl" = x""yes; then :
44516 cat >>confdefs.h <<_ACEOF
44517 #define HAVE_FMODL 1
44518 _ACEOF
44519
44520 fi
44521 done
44522
44523 else
44524
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44526 $as_echo_n "checking for _fmodl declaration... " >&6; }
44527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44528 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44529 $as_echo_n "(cached) " >&6
44530 else
44531
44532
44533 ac_ext=cpp
44534 ac_cpp='$CXXCPP $CPPFLAGS'
44535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44538
44539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44540 /* end confdefs.h. */
44541 #include <math.h>
44542 int
44543 main ()
44544 {
44545 _fmodl(0, 0);
44546 ;
44547 return 0;
44548 }
44549 _ACEOF
44550 if ac_fn_cxx_try_compile "$LINENO"; then :
44551 glibcxx_cv_func__fmodl_use=yes
44552 else
44553 glibcxx_cv_func__fmodl_use=no
44554 fi
44555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44556 ac_ext=c
44557 ac_cpp='$CPP $CPPFLAGS'
44558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44561
44562
44563 fi
44564
44565 fi
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44568
44569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44570 for ac_func in _fmodl
44571 do :
44572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44573 if test "x$ac_cv_func__fmodl" = x""yes; then :
44574 cat >>confdefs.h <<_ACEOF
44575 #define HAVE__FMODL 1
44576 _ACEOF
44577
44578 fi
44579 done
44580
44581 fi
44582 fi
44583
44584
44585
44586
44587
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44589 $as_echo_n "checking for frexpl declaration... " >&6; }
44590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44591 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44592 $as_echo_n "(cached) " >&6
44593 else
44594
44595
44596 ac_ext=cpp
44597 ac_cpp='$CXXCPP $CPPFLAGS'
44598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44601
44602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44603 /* end confdefs.h. */
44604 #include <math.h>
44605 int
44606 main ()
44607 {
44608 frexpl(0, 0);
44609 ;
44610 return 0;
44611 }
44612 _ACEOF
44613 if ac_fn_cxx_try_compile "$LINENO"; then :
44614 glibcxx_cv_func_frexpl_use=yes
44615 else
44616 glibcxx_cv_func_frexpl_use=no
44617 fi
44618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44619 ac_ext=c
44620 ac_cpp='$CPP $CPPFLAGS'
44621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44624
44625
44626 fi
44627
44628 fi
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44631
44632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44633 for ac_func in frexpl
44634 do :
44635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44636 if test "x$ac_cv_func_frexpl" = x""yes; then :
44637 cat >>confdefs.h <<_ACEOF
44638 #define HAVE_FREXPL 1
44639 _ACEOF
44640
44641 fi
44642 done
44643
44644 else
44645
44646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44647 $as_echo_n "checking for _frexpl declaration... " >&6; }
44648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44649 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44650 $as_echo_n "(cached) " >&6
44651 else
44652
44653
44654 ac_ext=cpp
44655 ac_cpp='$CXXCPP $CPPFLAGS'
44656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44659
44660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44661 /* end confdefs.h. */
44662 #include <math.h>
44663 int
44664 main ()
44665 {
44666 _frexpl(0, 0);
44667 ;
44668 return 0;
44669 }
44670 _ACEOF
44671 if ac_fn_cxx_try_compile "$LINENO"; then :
44672 glibcxx_cv_func__frexpl_use=yes
44673 else
44674 glibcxx_cv_func__frexpl_use=no
44675 fi
44676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44677 ac_ext=c
44678 ac_cpp='$CPP $CPPFLAGS'
44679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44682
44683
44684 fi
44685
44686 fi
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44689
44690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44691 for ac_func in _frexpl
44692 do :
44693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44694 if test "x$ac_cv_func__frexpl" = x""yes; then :
44695 cat >>confdefs.h <<_ACEOF
44696 #define HAVE__FREXPL 1
44697 _ACEOF
44698
44699 fi
44700 done
44701
44702 fi
44703 fi
44704
44705
44706
44707
44708
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44710 $as_echo_n "checking for hypotl declaration... " >&6; }
44711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44712 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44713 $as_echo_n "(cached) " >&6
44714 else
44715
44716
44717 ac_ext=cpp
44718 ac_cpp='$CXXCPP $CPPFLAGS'
44719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44722
44723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44724 /* end confdefs.h. */
44725 #include <math.h>
44726 int
44727 main ()
44728 {
44729 hypotl(0, 0);
44730 ;
44731 return 0;
44732 }
44733 _ACEOF
44734 if ac_fn_cxx_try_compile "$LINENO"; then :
44735 glibcxx_cv_func_hypotl_use=yes
44736 else
44737 glibcxx_cv_func_hypotl_use=no
44738 fi
44739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44740 ac_ext=c
44741 ac_cpp='$CPP $CPPFLAGS'
44742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44745
44746
44747 fi
44748
44749 fi
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44752
44753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44754 for ac_func in hypotl
44755 do :
44756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44757 if test "x$ac_cv_func_hypotl" = x""yes; then :
44758 cat >>confdefs.h <<_ACEOF
44759 #define HAVE_HYPOTL 1
44760 _ACEOF
44761
44762 fi
44763 done
44764
44765 else
44766
44767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44768 $as_echo_n "checking for _hypotl declaration... " >&6; }
44769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44770 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44771 $as_echo_n "(cached) " >&6
44772 else
44773
44774
44775 ac_ext=cpp
44776 ac_cpp='$CXXCPP $CPPFLAGS'
44777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44780
44781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44782 /* end confdefs.h. */
44783 #include <math.h>
44784 int
44785 main ()
44786 {
44787 _hypotl(0, 0);
44788 ;
44789 return 0;
44790 }
44791 _ACEOF
44792 if ac_fn_cxx_try_compile "$LINENO"; then :
44793 glibcxx_cv_func__hypotl_use=yes
44794 else
44795 glibcxx_cv_func__hypotl_use=no
44796 fi
44797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798 ac_ext=c
44799 ac_cpp='$CPP $CPPFLAGS'
44800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44803
44804
44805 fi
44806
44807 fi
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44810
44811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44812 for ac_func in _hypotl
44813 do :
44814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44815 if test "x$ac_cv_func__hypotl" = x""yes; then :
44816 cat >>confdefs.h <<_ACEOF
44817 #define HAVE__HYPOTL 1
44818 _ACEOF
44819
44820 fi
44821 done
44822
44823 fi
44824 fi
44825
44826
44827
44828
44829
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44831 $as_echo_n "checking for ldexpl declaration... " >&6; }
44832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44833 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44834 $as_echo_n "(cached) " >&6
44835 else
44836
44837
44838 ac_ext=cpp
44839 ac_cpp='$CXXCPP $CPPFLAGS'
44840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44843
44844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44845 /* end confdefs.h. */
44846 #include <math.h>
44847 int
44848 main ()
44849 {
44850 ldexpl(0, 0);
44851 ;
44852 return 0;
44853 }
44854 _ACEOF
44855 if ac_fn_cxx_try_compile "$LINENO"; then :
44856 glibcxx_cv_func_ldexpl_use=yes
44857 else
44858 glibcxx_cv_func_ldexpl_use=no
44859 fi
44860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44861 ac_ext=c
44862 ac_cpp='$CPP $CPPFLAGS'
44863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44866
44867
44868 fi
44869
44870 fi
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44873
44874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44875 for ac_func in ldexpl
44876 do :
44877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44878 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44879 cat >>confdefs.h <<_ACEOF
44880 #define HAVE_LDEXPL 1
44881 _ACEOF
44882
44883 fi
44884 done
44885
44886 else
44887
44888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44891 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44892 $as_echo_n "(cached) " >&6
44893 else
44894
44895
44896 ac_ext=cpp
44897 ac_cpp='$CXXCPP $CPPFLAGS'
44898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44901
44902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44903 /* end confdefs.h. */
44904 #include <math.h>
44905 int
44906 main ()
44907 {
44908 _ldexpl(0, 0);
44909 ;
44910 return 0;
44911 }
44912 _ACEOF
44913 if ac_fn_cxx_try_compile "$LINENO"; then :
44914 glibcxx_cv_func__ldexpl_use=yes
44915 else
44916 glibcxx_cv_func__ldexpl_use=no
44917 fi
44918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44919 ac_ext=c
44920 ac_cpp='$CPP $CPPFLAGS'
44921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44924
44925
44926 fi
44927
44928 fi
44929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44931
44932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44933 for ac_func in _ldexpl
44934 do :
44935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44936 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44937 cat >>confdefs.h <<_ACEOF
44938 #define HAVE__LDEXPL 1
44939 _ACEOF
44940
44941 fi
44942 done
44943
44944 fi
44945 fi
44946
44947
44948
44949
44950
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44952 $as_echo_n "checking for logl declaration... " >&6; }
44953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44954 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44955 $as_echo_n "(cached) " >&6
44956 else
44957
44958
44959 ac_ext=cpp
44960 ac_cpp='$CXXCPP $CPPFLAGS'
44961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44964
44965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44966 /* end confdefs.h. */
44967 #include <math.h>
44968 #ifdef HAVE_IEEEFP_H
44969 #include <ieeefp.h>
44970 #endif
44971
44972 int
44973 main ()
44974 {
44975 logl(0);
44976 ;
44977 return 0;
44978 }
44979 _ACEOF
44980 if ac_fn_cxx_try_compile "$LINENO"; then :
44981 glibcxx_cv_func_logl_use=yes
44982 else
44983 glibcxx_cv_func_logl_use=no
44984 fi
44985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44986 ac_ext=c
44987 ac_cpp='$CPP $CPPFLAGS'
44988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44991
44992
44993 fi
44994
44995 fi
44996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44998
44999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45000 for ac_func in logl
45001 do :
45002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45003 if test "x$ac_cv_func_logl" = x""yes; then :
45004 cat >>confdefs.h <<_ACEOF
45005 #define HAVE_LOGL 1
45006 _ACEOF
45007
45008 fi
45009 done
45010
45011 else
45012
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45014 $as_echo_n "checking for _logl declaration... " >&6; }
45015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45016 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45017 $as_echo_n "(cached) " >&6
45018 else
45019
45020
45021 ac_ext=cpp
45022 ac_cpp='$CXXCPP $CPPFLAGS'
45023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45026
45027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028 /* end confdefs.h. */
45029 #include <math.h>
45030 #ifdef HAVE_IEEEFP_H
45031 #include <ieeefp.h>
45032 #endif
45033
45034 int
45035 main ()
45036 {
45037 _logl(0);
45038 ;
45039 return 0;
45040 }
45041 _ACEOF
45042 if ac_fn_cxx_try_compile "$LINENO"; then :
45043 glibcxx_cv_func__logl_use=yes
45044 else
45045 glibcxx_cv_func__logl_use=no
45046 fi
45047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45048 ac_ext=c
45049 ac_cpp='$CPP $CPPFLAGS'
45050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45053
45054
45055 fi
45056
45057 fi
45058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45060
45061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45062 for ac_func in _logl
45063 do :
45064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45065 if test "x$ac_cv_func__logl" = x""yes; then :
45066 cat >>confdefs.h <<_ACEOF
45067 #define HAVE__LOGL 1
45068 _ACEOF
45069
45070 fi
45071 done
45072
45073 fi
45074 fi
45075
45076
45077
45078
45079
45080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45081 $as_echo_n "checking for log10l declaration... " >&6; }
45082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45083 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45084 $as_echo_n "(cached) " >&6
45085 else
45086
45087
45088 ac_ext=cpp
45089 ac_cpp='$CXXCPP $CPPFLAGS'
45090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45093
45094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45095 /* end confdefs.h. */
45096 #include <math.h>
45097 #ifdef HAVE_IEEEFP_H
45098 #include <ieeefp.h>
45099 #endif
45100
45101 int
45102 main ()
45103 {
45104 log10l(0);
45105 ;
45106 return 0;
45107 }
45108 _ACEOF
45109 if ac_fn_cxx_try_compile "$LINENO"; then :
45110 glibcxx_cv_func_log10l_use=yes
45111 else
45112 glibcxx_cv_func_log10l_use=no
45113 fi
45114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45115 ac_ext=c
45116 ac_cpp='$CPP $CPPFLAGS'
45117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45120
45121
45122 fi
45123
45124 fi
45125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45127
45128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45129 for ac_func in log10l
45130 do :
45131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45132 if test "x$ac_cv_func_log10l" = x""yes; then :
45133 cat >>confdefs.h <<_ACEOF
45134 #define HAVE_LOG10L 1
45135 _ACEOF
45136
45137 fi
45138 done
45139
45140 else
45141
45142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45143 $as_echo_n "checking for _log10l declaration... " >&6; }
45144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45145 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45146 $as_echo_n "(cached) " >&6
45147 else
45148
45149
45150 ac_ext=cpp
45151 ac_cpp='$CXXCPP $CPPFLAGS'
45152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45155
45156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45157 /* end confdefs.h. */
45158 #include <math.h>
45159 #ifdef HAVE_IEEEFP_H
45160 #include <ieeefp.h>
45161 #endif
45162
45163 int
45164 main ()
45165 {
45166 _log10l(0);
45167 ;
45168 return 0;
45169 }
45170 _ACEOF
45171 if ac_fn_cxx_try_compile "$LINENO"; then :
45172 glibcxx_cv_func__log10l_use=yes
45173 else
45174 glibcxx_cv_func__log10l_use=no
45175 fi
45176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45177 ac_ext=c
45178 ac_cpp='$CPP $CPPFLAGS'
45179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45182
45183
45184 fi
45185
45186 fi
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45189
45190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45191 for ac_func in _log10l
45192 do :
45193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45194 if test "x$ac_cv_func__log10l" = x""yes; then :
45195 cat >>confdefs.h <<_ACEOF
45196 #define HAVE__LOG10L 1
45197 _ACEOF
45198
45199 fi
45200 done
45201
45202 fi
45203 fi
45204
45205
45206
45207
45208
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45210 $as_echo_n "checking for modfl declaration... " >&6; }
45211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45212 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45213 $as_echo_n "(cached) " >&6
45214 else
45215
45216
45217 ac_ext=cpp
45218 ac_cpp='$CXXCPP $CPPFLAGS'
45219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45222
45223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45224 /* end confdefs.h. */
45225 #include <math.h>
45226 int
45227 main ()
45228 {
45229 modfl(0, 0);
45230 ;
45231 return 0;
45232 }
45233 _ACEOF
45234 if ac_fn_cxx_try_compile "$LINENO"; then :
45235 glibcxx_cv_func_modfl_use=yes
45236 else
45237 glibcxx_cv_func_modfl_use=no
45238 fi
45239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45240 ac_ext=c
45241 ac_cpp='$CPP $CPPFLAGS'
45242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45245
45246
45247 fi
45248
45249 fi
45250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45252
45253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45254 for ac_func in modfl
45255 do :
45256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45257 if test "x$ac_cv_func_modfl" = x""yes; then :
45258 cat >>confdefs.h <<_ACEOF
45259 #define HAVE_MODFL 1
45260 _ACEOF
45261
45262 fi
45263 done
45264
45265 else
45266
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45268 $as_echo_n "checking for _modfl declaration... " >&6; }
45269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45270 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45271 $as_echo_n "(cached) " >&6
45272 else
45273
45274
45275 ac_ext=cpp
45276 ac_cpp='$CXXCPP $CPPFLAGS'
45277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45280
45281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45282 /* end confdefs.h. */
45283 #include <math.h>
45284 int
45285 main ()
45286 {
45287 _modfl(0, 0);
45288 ;
45289 return 0;
45290 }
45291 _ACEOF
45292 if ac_fn_cxx_try_compile "$LINENO"; then :
45293 glibcxx_cv_func__modfl_use=yes
45294 else
45295 glibcxx_cv_func__modfl_use=no
45296 fi
45297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45298 ac_ext=c
45299 ac_cpp='$CPP $CPPFLAGS'
45300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45303
45304
45305 fi
45306
45307 fi
45308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45310
45311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45312 for ac_func in _modfl
45313 do :
45314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45315 if test "x$ac_cv_func__modfl" = x""yes; then :
45316 cat >>confdefs.h <<_ACEOF
45317 #define HAVE__MODFL 1
45318 _ACEOF
45319
45320 fi
45321 done
45322
45323 fi
45324 fi
45325
45326
45327
45328
45329
45330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45331 $as_echo_n "checking for powl declaration... " >&6; }
45332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45333 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45334 $as_echo_n "(cached) " >&6
45335 else
45336
45337
45338 ac_ext=cpp
45339 ac_cpp='$CXXCPP $CPPFLAGS'
45340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45343
45344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45345 /* end confdefs.h. */
45346 #include <math.h>
45347 int
45348 main ()
45349 {
45350 powl(0, 0);
45351 ;
45352 return 0;
45353 }
45354 _ACEOF
45355 if ac_fn_cxx_try_compile "$LINENO"; then :
45356 glibcxx_cv_func_powl_use=yes
45357 else
45358 glibcxx_cv_func_powl_use=no
45359 fi
45360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45361 ac_ext=c
45362 ac_cpp='$CPP $CPPFLAGS'
45363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45366
45367
45368 fi
45369
45370 fi
45371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45373
45374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45375 for ac_func in powl
45376 do :
45377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45378 if test "x$ac_cv_func_powl" = x""yes; then :
45379 cat >>confdefs.h <<_ACEOF
45380 #define HAVE_POWL 1
45381 _ACEOF
45382
45383 fi
45384 done
45385
45386 else
45387
45388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45389 $as_echo_n "checking for _powl declaration... " >&6; }
45390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45391 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45392 $as_echo_n "(cached) " >&6
45393 else
45394
45395
45396 ac_ext=cpp
45397 ac_cpp='$CXXCPP $CPPFLAGS'
45398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45401
45402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45403 /* end confdefs.h. */
45404 #include <math.h>
45405 int
45406 main ()
45407 {
45408 _powl(0, 0);
45409 ;
45410 return 0;
45411 }
45412 _ACEOF
45413 if ac_fn_cxx_try_compile "$LINENO"; then :
45414 glibcxx_cv_func__powl_use=yes
45415 else
45416 glibcxx_cv_func__powl_use=no
45417 fi
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 ac_ext=c
45420 ac_cpp='$CPP $CPPFLAGS'
45421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45424
45425
45426 fi
45427
45428 fi
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45431
45432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45433 for ac_func in _powl
45434 do :
45435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45436 if test "x$ac_cv_func__powl" = x""yes; then :
45437 cat >>confdefs.h <<_ACEOF
45438 #define HAVE__POWL 1
45439 _ACEOF
45440
45441 fi
45442 done
45443
45444 fi
45445 fi
45446
45447
45448
45449
45450
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45452 $as_echo_n "checking for sqrtl declaration... " >&6; }
45453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45454 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45455 $as_echo_n "(cached) " >&6
45456 else
45457
45458
45459 ac_ext=cpp
45460 ac_cpp='$CXXCPP $CPPFLAGS'
45461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45464
45465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45466 /* end confdefs.h. */
45467 #include <math.h>
45468 #ifdef HAVE_IEEEFP_H
45469 #include <ieeefp.h>
45470 #endif
45471
45472 int
45473 main ()
45474 {
45475 sqrtl(0);
45476 ;
45477 return 0;
45478 }
45479 _ACEOF
45480 if ac_fn_cxx_try_compile "$LINENO"; then :
45481 glibcxx_cv_func_sqrtl_use=yes
45482 else
45483 glibcxx_cv_func_sqrtl_use=no
45484 fi
45485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45486 ac_ext=c
45487 ac_cpp='$CPP $CPPFLAGS'
45488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45491
45492
45493 fi
45494
45495 fi
45496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45498
45499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45500 for ac_func in sqrtl
45501 do :
45502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45503 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45504 cat >>confdefs.h <<_ACEOF
45505 #define HAVE_SQRTL 1
45506 _ACEOF
45507
45508 fi
45509 done
45510
45511 else
45512
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45516 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45517 $as_echo_n "(cached) " >&6
45518 else
45519
45520
45521 ac_ext=cpp
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45526
45527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45528 /* end confdefs.h. */
45529 #include <math.h>
45530 #ifdef HAVE_IEEEFP_H
45531 #include <ieeefp.h>
45532 #endif
45533
45534 int
45535 main ()
45536 {
45537 _sqrtl(0);
45538 ;
45539 return 0;
45540 }
45541 _ACEOF
45542 if ac_fn_cxx_try_compile "$LINENO"; then :
45543 glibcxx_cv_func__sqrtl_use=yes
45544 else
45545 glibcxx_cv_func__sqrtl_use=no
45546 fi
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45548 ac_ext=c
45549 ac_cpp='$CPP $CPPFLAGS'
45550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45553
45554
45555 fi
45556
45557 fi
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45560
45561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45562 for ac_func in _sqrtl
45563 do :
45564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45565 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45566 cat >>confdefs.h <<_ACEOF
45567 #define HAVE__SQRTL 1
45568 _ACEOF
45569
45570 fi
45571 done
45572
45573 fi
45574 fi
45575
45576
45577
45578
45579
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45581 $as_echo_n "checking for sincosl declaration... " >&6; }
45582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45583 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45584 $as_echo_n "(cached) " >&6
45585 else
45586
45587
45588 ac_ext=cpp
45589 ac_cpp='$CXXCPP $CPPFLAGS'
45590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45593
45594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45595 /* end confdefs.h. */
45596 #include <math.h>
45597 int
45598 main ()
45599 {
45600 sincosl(0, 0, 0);
45601 ;
45602 return 0;
45603 }
45604 _ACEOF
45605 if ac_fn_cxx_try_compile "$LINENO"; then :
45606 glibcxx_cv_func_sincosl_use=yes
45607 else
45608 glibcxx_cv_func_sincosl_use=no
45609 fi
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 ac_ext=c
45612 ac_cpp='$CPP $CPPFLAGS'
45613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45616
45617
45618 fi
45619
45620 fi
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45623
45624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45625 for ac_func in sincosl
45626 do :
45627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45628 if test "x$ac_cv_func_sincosl" = x""yes; then :
45629 cat >>confdefs.h <<_ACEOF
45630 #define HAVE_SINCOSL 1
45631 _ACEOF
45632
45633 fi
45634 done
45635
45636 else
45637
45638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45639 $as_echo_n "checking for _sincosl declaration... " >&6; }
45640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45641 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45642 $as_echo_n "(cached) " >&6
45643 else
45644
45645
45646 ac_ext=cpp
45647 ac_cpp='$CXXCPP $CPPFLAGS'
45648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45651
45652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45653 /* end confdefs.h. */
45654 #include <math.h>
45655 int
45656 main ()
45657 {
45658 _sincosl(0, 0, 0);
45659 ;
45660 return 0;
45661 }
45662 _ACEOF
45663 if ac_fn_cxx_try_compile "$LINENO"; then :
45664 glibcxx_cv_func__sincosl_use=yes
45665 else
45666 glibcxx_cv_func__sincosl_use=no
45667 fi
45668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45674
45675
45676 fi
45677
45678 fi
45679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45681
45682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45683 for ac_func in _sincosl
45684 do :
45685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45686 if test "x$ac_cv_func__sincosl" = x""yes; then :
45687 cat >>confdefs.h <<_ACEOF
45688 #define HAVE__SINCOSL 1
45689 _ACEOF
45690
45691 fi
45692 done
45693
45694 fi
45695 fi
45696
45697
45698
45699
45700
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45702 $as_echo_n "checking for finitel declaration... " >&6; }
45703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45704 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45705 $as_echo_n "(cached) " >&6
45706 else
45707
45708
45709 ac_ext=cpp
45710 ac_cpp='$CXXCPP $CPPFLAGS'
45711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45714
45715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45716 /* end confdefs.h. */
45717 #include <math.h>
45718 #ifdef HAVE_IEEEFP_H
45719 #include <ieeefp.h>
45720 #endif
45721
45722 int
45723 main ()
45724 {
45725 finitel(0);
45726 ;
45727 return 0;
45728 }
45729 _ACEOF
45730 if ac_fn_cxx_try_compile "$LINENO"; then :
45731 glibcxx_cv_func_finitel_use=yes
45732 else
45733 glibcxx_cv_func_finitel_use=no
45734 fi
45735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45736 ac_ext=c
45737 ac_cpp='$CPP $CPPFLAGS'
45738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45741
45742
45743 fi
45744
45745 fi
45746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45748
45749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45750 for ac_func in finitel
45751 do :
45752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45753 if test "x$ac_cv_func_finitel" = x""yes; then :
45754 cat >>confdefs.h <<_ACEOF
45755 #define HAVE_FINITEL 1
45756 _ACEOF
45757
45758 fi
45759 done
45760
45761 else
45762
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45764 $as_echo_n "checking for _finitel declaration... " >&6; }
45765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45766 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45767 $as_echo_n "(cached) " >&6
45768 else
45769
45770
45771 ac_ext=cpp
45772 ac_cpp='$CXXCPP $CPPFLAGS'
45773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45776
45777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45778 /* end confdefs.h. */
45779 #include <math.h>
45780 #ifdef HAVE_IEEEFP_H
45781 #include <ieeefp.h>
45782 #endif
45783
45784 int
45785 main ()
45786 {
45787 _finitel(0);
45788 ;
45789 return 0;
45790 }
45791 _ACEOF
45792 if ac_fn_cxx_try_compile "$LINENO"; then :
45793 glibcxx_cv_func__finitel_use=yes
45794 else
45795 glibcxx_cv_func__finitel_use=no
45796 fi
45797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45798 ac_ext=c
45799 ac_cpp='$CPP $CPPFLAGS'
45800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45803
45804
45805 fi
45806
45807 fi
45808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45810
45811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45812 for ac_func in _finitel
45813 do :
45814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45815 if test "x$ac_cv_func__finitel" = x""yes; then :
45816 cat >>confdefs.h <<_ACEOF
45817 #define HAVE__FINITEL 1
45818 _ACEOF
45819
45820 fi
45821 done
45822
45823 fi
45824 fi
45825
45826
45827
45828
45829 LIBS="$ac_save_LIBS"
45830 CXXFLAGS="$ac_save_CXXFLAGS"
45831
45832
45833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45834 ac_save_CXXFLAGS="$CXXFLAGS"
45835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45836
45837
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45841 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45843 else
45844
45845
45846 ac_ext=cpp
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45851
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45854 #include <stdlib.h>
45855 int
45856 main ()
45857 {
45858 at_quick_exit(0);
45859 ;
45860 return 0;
45861 }
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_at_quick_exit_use=yes
45865 else
45866 glibcxx_cv_func_at_quick_exit_use=no
45867 fi
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45874
45875
45876 fi
45877
45878 fi
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45882 for ac_func in at_quick_exit
45883 do :
45884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45885 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define HAVE_AT_QUICK_EXIT 1
45888 _ACEOF
45889
45890 fi
45891 done
45892
45893 fi
45894
45895
45896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45897 $as_echo_n "checking for quick_exit declaration... " >&6; }
45898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45899 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45900 $as_echo_n "(cached) " >&6
45901 else
45902
45903
45904 ac_ext=cpp
45905 ac_cpp='$CXXCPP $CPPFLAGS'
45906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45909
45910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45911 /* end confdefs.h. */
45912 #include <stdlib.h>
45913 int
45914 main ()
45915 {
45916 quick_exit(0);
45917 ;
45918 return 0;
45919 }
45920 _ACEOF
45921 if ac_fn_cxx_try_compile "$LINENO"; then :
45922 glibcxx_cv_func_quick_exit_use=yes
45923 else
45924 glibcxx_cv_func_quick_exit_use=no
45925 fi
45926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45927 ac_ext=c
45928 ac_cpp='$CPP $CPPFLAGS'
45929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45932
45933
45934 fi
45935
45936 fi
45937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45940 for ac_func in quick_exit
45941 do :
45942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45943 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45944 cat >>confdefs.h <<_ACEOF
45945 #define HAVE_QUICK_EXIT 1
45946 _ACEOF
45947
45948 fi
45949 done
45950
45951 fi
45952
45953
45954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45955 $as_echo_n "checking for strtold declaration... " >&6; }
45956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45957 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45958 $as_echo_n "(cached) " >&6
45959 else
45960
45961
45962 ac_ext=cpp
45963 ac_cpp='$CXXCPP $CPPFLAGS'
45964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45967
45968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45969 /* end confdefs.h. */
45970 #include <stdlib.h>
45971 int
45972 main ()
45973 {
45974 strtold(0, 0);
45975 ;
45976 return 0;
45977 }
45978 _ACEOF
45979 if ac_fn_cxx_try_compile "$LINENO"; then :
45980 glibcxx_cv_func_strtold_use=yes
45981 else
45982 glibcxx_cv_func_strtold_use=no
45983 fi
45984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45985 ac_ext=c
45986 ac_cpp='$CPP $CPPFLAGS'
45987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45990
45991
45992 fi
45993
45994 fi
45995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45998 for ac_func in strtold
45999 do :
46000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46001 if test "x$ac_cv_func_strtold" = x""yes; then :
46002 cat >>confdefs.h <<_ACEOF
46003 #define HAVE_STRTOLD 1
46004 _ACEOF
46005
46006 fi
46007 done
46008
46009 fi
46010
46011
46012
46013
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46015 $as_echo_n "checking for strtof declaration... " >&6; }
46016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46020
46021
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46027
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <stdlib.h>
46031 int
46032 main ()
46033 {
46034 strtof(0, 0);
46035 ;
46036 return 0;
46037 }
46038 _ACEOF
46039 if ac_fn_cxx_try_compile "$LINENO"; then :
46040 glibcxx_cv_func_strtof_use=yes
46041 else
46042 glibcxx_cv_func_strtof_use=no
46043 fi
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46050
46051
46052 fi
46053
46054 fi
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46058 for ac_func in strtof
46059 do :
46060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46061 if test "x$ac_cv_func_strtof" = x""yes; then :
46062 cat >>confdefs.h <<_ACEOF
46063 #define HAVE_STRTOF 1
46064 _ACEOF
46065
46066 fi
46067 done
46068
46069 fi
46070
46071
46072
46073
46074 CXXFLAGS="$ac_save_CXXFLAGS"
46075
46076 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46077
46078 # We don't yet support AIX's TLS ABI.
46079 #GCC_CHECK_TLS
46080
46081
46082
46083
46084
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46086 $as_echo_n "checking for iconv... " >&6; }
46087 if test "${am_cv_func_iconv+set}" = set; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46090
46091 am_cv_func_iconv="no, consider installing GNU libiconv"
46092 am_cv_lib_iconv=no
46093 am_save_CPPFLAGS="$CPPFLAGS"
46094 CPPFLAGS="$CPPFLAGS $INCICONV"
46095 if test x$gcc_no_link = xyes; then
46096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46097 fi
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <stdlib.h>
46101 #include <iconv.h>
46102 int
46103 main ()
46104 {
46105 iconv_t cd = iconv_open("","");
46106 iconv(cd,NULL,NULL,NULL,NULL);
46107 iconv_close(cd);
46108 ;
46109 return 0;
46110 }
46111 _ACEOF
46112 if ac_fn_c_try_link "$LINENO"; then :
46113 am_cv_func_iconv=yes
46114 fi
46115 rm -f core conftest.err conftest.$ac_objext \
46116 conftest$ac_exeext conftest.$ac_ext
46117 CPPFLAGS="$am_save_CPPFLAGS"
46118
46119 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46120 for _libs in .libs _libs; do
46121 am_save_CPPFLAGS="$CPPFLAGS"
46122 am_save_LIBS="$LIBS"
46123 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46124 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46125 if test x$gcc_no_link = xyes; then
46126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46127 fi
46128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46129 /* end confdefs.h. */
46130 #include <stdlib.h>
46131 #include <iconv.h>
46132 int
46133 main ()
46134 {
46135 iconv_t cd = iconv_open("","");
46136 iconv(cd,NULL,NULL,NULL,NULL);
46137 iconv_close(cd);
46138 ;
46139 return 0;
46140 }
46141 _ACEOF
46142 if ac_fn_c_try_link "$LINENO"; then :
46143 INCICONV="-I../libiconv/include"
46144 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46145 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46146 am_cv_lib_iconv=yes
46147 am_cv_func_iconv=yes
46148 fi
46149 rm -f core conftest.err conftest.$ac_objext \
46150 conftest$ac_exeext conftest.$ac_ext
46151 CPPFLAGS="$am_save_CPPFLAGS"
46152 LIBS="$am_save_LIBS"
46153 if test "$am_cv_func_iconv" = "yes"; then
46154 break
46155 fi
46156 done
46157 fi
46158
46159 if test "$am_cv_func_iconv" != yes; then
46160 am_save_CPPFLAGS="$CPPFLAGS"
46161 am_save_LIBS="$LIBS"
46162 CPPFLAGS="$LIBS $INCICONV"
46163 LIBS="$LIBS $LIBICONV"
46164 if test x$gcc_no_link = xyes; then
46165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46166 fi
46167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46168 /* end confdefs.h. */
46169 #include <stdlib.h>
46170 #include <iconv.h>
46171 int
46172 main ()
46173 {
46174 iconv_t cd = iconv_open("","");
46175 iconv(cd,NULL,NULL,NULL,NULL);
46176 iconv_close(cd);
46177 ;
46178 return 0;
46179 }
46180 _ACEOF
46181 if ac_fn_c_try_link "$LINENO"; then :
46182 am_cv_lib_iconv=yes
46183 am_cv_func_iconv=yes
46184 fi
46185 rm -f core conftest.err conftest.$ac_objext \
46186 conftest$ac_exeext conftest.$ac_ext
46187 CPPFLAGS="$am_save_CPPFLAGS"
46188 LIBS="$am_save_LIBS"
46189 fi
46190
46191 fi
46192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46193 $as_echo "$am_cv_func_iconv" >&6; }
46194 if test "$am_cv_func_iconv" = yes; then
46195
46196 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46197
46198 fi
46199 if test "$am_cv_lib_iconv" = yes; then
46200
46201 for element in $INCICONV; do
46202 haveit=
46203 for x in $CPPFLAGS; do
46204
46205 acl_save_prefix="$prefix"
46206 prefix="$acl_final_prefix"
46207 acl_save_exec_prefix="$exec_prefix"
46208 exec_prefix="$acl_final_exec_prefix"
46209 eval x=\"$x\"
46210 exec_prefix="$acl_save_exec_prefix"
46211 prefix="$acl_save_prefix"
46212
46213 if test "X$x" = "X$element"; then
46214 haveit=yes
46215 break
46216 fi
46217 done
46218 if test -z "$haveit"; then
46219 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46220 fi
46221 done
46222
46223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46224 $as_echo_n "checking how to link with libiconv... " >&6; }
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46226 $as_echo "$LIBICONV" >&6; }
46227 else
46228 LIBICONV=
46229 LTLIBICONV=
46230 fi
46231
46232
46233
46234 if test "$am_cv_func_iconv" = yes; then
46235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46236 $as_echo_n "checking for iconv declaration... " >&6; }
46237 if test "${am_cv_proto_iconv+set}" = set; then :
46238 $as_echo_n "(cached) " >&6
46239 else
46240
46241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46242 /* end confdefs.h. */
46243
46244 #include <stdlib.h>
46245 #include <iconv.h>
46246 extern
46247 #ifdef __cplusplus
46248 "C"
46249 #endif
46250 #if defined(__STDC__) || defined(__cplusplus)
46251 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46252 #else
46253 size_t iconv();
46254 #endif
46255
46256 int
46257 main ()
46258 {
46259
46260 ;
46261 return 0;
46262 }
46263 _ACEOF
46264 if ac_fn_c_try_compile "$LINENO"; then :
46265 am_cv_proto_iconv_arg1=""
46266 else
46267 am_cv_proto_iconv_arg1="const"
46268 fi
46269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46270 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);"
46271 fi
46272
46273 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46275 }$am_cv_proto_iconv" >&5
46276 $as_echo "${ac_t:-
46277 }$am_cv_proto_iconv" >&6; }
46278
46279 cat >>confdefs.h <<_ACEOF
46280 #define ICONV_CONST $am_cv_proto_iconv_arg1
46281 _ACEOF
46282
46283 fi
46284
46285 ;;
46286
46287 *-darwin*)
46288 # Darwin versions vary, but the linker should work in a cross environment,
46289 # so we just check for all the features here.
46290 # Check for available headers.
46291
46292 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46293
46294 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46295 ac_save_CXXFLAGS="$CXXFLAGS"
46296 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46297
46298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46299 $as_echo_n "checking for sin in -lm... " >&6; }
46300 if test "${ac_cv_lib_m_sin+set}" = set; then :
46301 $as_echo_n "(cached) " >&6
46302 else
46303 ac_check_lib_save_LIBS=$LIBS
46304 LIBS="-lm $LIBS"
46305 if test x$gcc_no_link = xyes; then
46306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46307 fi
46308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46309 /* end confdefs.h. */
46310
46311 /* Override any GCC internal prototype to avoid an error.
46312 Use char because int might match the return type of a GCC
46313 builtin and then its argument prototype would still apply. */
46314 #ifdef __cplusplus
46315 extern "C"
46316 #endif
46317 char sin ();
46318 int
46319 main ()
46320 {
46321 return sin ();
46322 ;
46323 return 0;
46324 }
46325 _ACEOF
46326 if ac_fn_c_try_link "$LINENO"; then :
46327 ac_cv_lib_m_sin=yes
46328 else
46329 ac_cv_lib_m_sin=no
46330 fi
46331 rm -f core conftest.err conftest.$ac_objext \
46332 conftest$ac_exeext conftest.$ac_ext
46333 LIBS=$ac_check_lib_save_LIBS
46334 fi
46335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46336 $as_echo "$ac_cv_lib_m_sin" >&6; }
46337 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46338 libm="-lm"
46339 fi
46340
46341 ac_save_LIBS="$LIBS"
46342 LIBS="$LIBS $libm"
46343
46344
46345
46346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46347 $as_echo_n "checking for isinf declaration... " >&6; }
46348 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46349 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46350 $as_echo_n "(cached) " >&6
46351 else
46352
46353
46354 ac_ext=cpp
46355 ac_cpp='$CXXCPP $CPPFLAGS'
46356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46359
46360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46361 /* end confdefs.h. */
46362 #include <math.h>
46363 #ifdef HAVE_IEEEFP_H
46364 #include <ieeefp.h>
46365 #endif
46366
46367 int
46368 main ()
46369 {
46370 isinf(0);
46371 ;
46372 return 0;
46373 }
46374 _ACEOF
46375 if ac_fn_cxx_try_compile "$LINENO"; then :
46376 glibcxx_cv_func_isinf_use=yes
46377 else
46378 glibcxx_cv_func_isinf_use=no
46379 fi
46380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46381 ac_ext=c
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46386
46387
46388 fi
46389
46390 fi
46391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46392 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46393
46394 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46395 for ac_func in isinf
46396 do :
46397 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46398 if test "x$ac_cv_func_isinf" = x""yes; then :
46399 cat >>confdefs.h <<_ACEOF
46400 #define HAVE_ISINF 1
46401 _ACEOF
46402
46403 fi
46404 done
46405
46406 else
46407
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46409 $as_echo_n "checking for _isinf declaration... " >&6; }
46410 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46411 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46412 $as_echo_n "(cached) " >&6
46413 else
46414
46415
46416 ac_ext=cpp
46417 ac_cpp='$CXXCPP $CPPFLAGS'
46418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46421
46422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46423 /* end confdefs.h. */
46424 #include <math.h>
46425 #ifdef HAVE_IEEEFP_H
46426 #include <ieeefp.h>
46427 #endif
46428
46429 int
46430 main ()
46431 {
46432 _isinf(0);
46433 ;
46434 return 0;
46435 }
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438 glibcxx_cv_func__isinf_use=yes
46439 else
46440 glibcxx_cv_func__isinf_use=no
46441 fi
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443 ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46448
46449
46450 fi
46451
46452 fi
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46454 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46455
46456 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46457 for ac_func in _isinf
46458 do :
46459 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46460 if test "x$ac_cv_func__isinf" = x""yes; then :
46461 cat >>confdefs.h <<_ACEOF
46462 #define HAVE__ISINF 1
46463 _ACEOF
46464
46465 fi
46466 done
46467
46468 fi
46469 fi
46470
46471
46472
46473
46474
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46476 $as_echo_n "checking for isnan declaration... " >&6; }
46477 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46478 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46481
46482
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46488
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46492 #ifdef HAVE_IEEEFP_H
46493 #include <ieeefp.h>
46494 #endif
46495
46496 int
46497 main ()
46498 {
46499 isnan(0);
46500 ;
46501 return 0;
46502 }
46503 _ACEOF
46504 if ac_fn_cxx_try_compile "$LINENO"; then :
46505 glibcxx_cv_func_isnan_use=yes
46506 else
46507 glibcxx_cv_func_isnan_use=no
46508 fi
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510 ac_ext=c
46511 ac_cpp='$CPP $CPPFLAGS'
46512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46515
46516
46517 fi
46518
46519 fi
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46521 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46522
46523 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46524 for ac_func in isnan
46525 do :
46526 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46527 if test "x$ac_cv_func_isnan" = x""yes; then :
46528 cat >>confdefs.h <<_ACEOF
46529 #define HAVE_ISNAN 1
46530 _ACEOF
46531
46532 fi
46533 done
46534
46535 else
46536
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46538 $as_echo_n "checking for _isnan declaration... " >&6; }
46539 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46540 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46542 else
46543
46544
46545 ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46550
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46557
46558 int
46559 main ()
46560 {
46561 _isnan(0);
46562 ;
46563 return 0;
46564 }
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567 glibcxx_cv_func__isnan_use=yes
46568 else
46569 glibcxx_cv_func__isnan_use=no
46570 fi
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46577
46578
46579 fi
46580
46581 fi
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46583 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46584
46585 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46586 for ac_func in _isnan
46587 do :
46588 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46589 if test "x$ac_cv_func__isnan" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define HAVE__ISNAN 1
46592 _ACEOF
46593
46594 fi
46595 done
46596
46597 fi
46598 fi
46599
46600
46601
46602
46603
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46605 $as_echo_n "checking for finite declaration... " >&6; }
46606 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46607 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46610
46611
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46621 #ifdef HAVE_IEEEFP_H
46622 #include <ieeefp.h>
46623 #endif
46624
46625 int
46626 main ()
46627 {
46628 finite(0);
46629 ;
46630 return 0;
46631 }
46632 _ACEOF
46633 if ac_fn_cxx_try_compile "$LINENO"; then :
46634 glibcxx_cv_func_finite_use=yes
46635 else
46636 glibcxx_cv_func_finite_use=no
46637 fi
46638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46639 ac_ext=c
46640 ac_cpp='$CPP $CPPFLAGS'
46641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46644
46645
46646 fi
46647
46648 fi
46649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46650 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46651
46652 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46653 for ac_func in finite
46654 do :
46655 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46656 if test "x$ac_cv_func_finite" = x""yes; then :
46657 cat >>confdefs.h <<_ACEOF
46658 #define HAVE_FINITE 1
46659 _ACEOF
46660
46661 fi
46662 done
46663
46664 else
46665
46666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46667 $as_echo_n "checking for _finite declaration... " >&6; }
46668 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46669 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46670 $as_echo_n "(cached) " >&6
46671 else
46672
46673
46674 ac_ext=cpp
46675 ac_cpp='$CXXCPP $CPPFLAGS'
46676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46679
46680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46681 /* end confdefs.h. */
46682 #include <math.h>
46683 #ifdef HAVE_IEEEFP_H
46684 #include <ieeefp.h>
46685 #endif
46686
46687 int
46688 main ()
46689 {
46690 _finite(0);
46691 ;
46692 return 0;
46693 }
46694 _ACEOF
46695 if ac_fn_cxx_try_compile "$LINENO"; then :
46696 glibcxx_cv_func__finite_use=yes
46697 else
46698 glibcxx_cv_func__finite_use=no
46699 fi
46700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46701 ac_ext=c
46702 ac_cpp='$CPP $CPPFLAGS'
46703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46706
46707
46708 fi
46709
46710 fi
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46712 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46713
46714 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46715 for ac_func in _finite
46716 do :
46717 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46718 if test "x$ac_cv_func__finite" = x""yes; then :
46719 cat >>confdefs.h <<_ACEOF
46720 #define HAVE__FINITE 1
46721 _ACEOF
46722
46723 fi
46724 done
46725
46726 fi
46727 fi
46728
46729
46730
46731
46732
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46734 $as_echo_n "checking for sincos declaration... " >&6; }
46735 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46736 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46739
46740
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <math.h>
46750 int
46751 main ()
46752 {
46753 sincos(0, 0, 0);
46754 ;
46755 return 0;
46756 }
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func_sincos_use=yes
46760 else
46761 glibcxx_cv_func_sincos_use=no
46762 fi
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46769
46770
46771 fi
46772
46773 fi
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46775 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46776
46777 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46778 for ac_func in sincos
46779 do :
46780 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46781 if test "x$ac_cv_func_sincos" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE_SINCOS 1
46784 _ACEOF
46785
46786 fi
46787 done
46788
46789 else
46790
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46792 $as_echo_n "checking for _sincos declaration... " >&6; }
46793 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46794 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46795 $as_echo_n "(cached) " >&6
46796 else
46797
46798
46799 ac_ext=cpp
46800 ac_cpp='$CXXCPP $CPPFLAGS'
46801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46804
46805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46806 /* end confdefs.h. */
46807 #include <math.h>
46808 int
46809 main ()
46810 {
46811 _sincos(0, 0, 0);
46812 ;
46813 return 0;
46814 }
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func__sincos_use=yes
46818 else
46819 glibcxx_cv_func__sincos_use=no
46820 fi
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827
46828
46829 fi
46830
46831 fi
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46833 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46834
46835 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46836 for ac_func in _sincos
46837 do :
46838 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46839 if test "x$ac_cv_func__sincos" = x""yes; then :
46840 cat >>confdefs.h <<_ACEOF
46841 #define HAVE__SINCOS 1
46842 _ACEOF
46843
46844 fi
46845 done
46846
46847 fi
46848 fi
46849
46850
46851
46852
46853
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46855 $as_echo_n "checking for fpclass declaration... " >&6; }
46856 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46857 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46858 $as_echo_n "(cached) " >&6
46859 else
46860
46861
46862 ac_ext=cpp
46863 ac_cpp='$CXXCPP $CPPFLAGS'
46864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46867
46868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46869 /* end confdefs.h. */
46870 #include <math.h>
46871 #ifdef HAVE_IEEEFP_H
46872 #include <ieeefp.h>
46873 #endif
46874
46875 int
46876 main ()
46877 {
46878 fpclass(0);
46879 ;
46880 return 0;
46881 }
46882 _ACEOF
46883 if ac_fn_cxx_try_compile "$LINENO"; then :
46884 glibcxx_cv_func_fpclass_use=yes
46885 else
46886 glibcxx_cv_func_fpclass_use=no
46887 fi
46888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46889 ac_ext=c
46890 ac_cpp='$CPP $CPPFLAGS'
46891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46894
46895
46896 fi
46897
46898 fi
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46900 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46901
46902 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46903 for ac_func in fpclass
46904 do :
46905 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46906 if test "x$ac_cv_func_fpclass" = x""yes; then :
46907 cat >>confdefs.h <<_ACEOF
46908 #define HAVE_FPCLASS 1
46909 _ACEOF
46910
46911 fi
46912 done
46913
46914 else
46915
46916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46917 $as_echo_n "checking for _fpclass declaration... " >&6; }
46918 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46919 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46920 $as_echo_n "(cached) " >&6
46921 else
46922
46923
46924 ac_ext=cpp
46925 ac_cpp='$CXXCPP $CPPFLAGS'
46926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46929
46930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46931 /* end confdefs.h. */
46932 #include <math.h>
46933 #ifdef HAVE_IEEEFP_H
46934 #include <ieeefp.h>
46935 #endif
46936
46937 int
46938 main ()
46939 {
46940 _fpclass(0);
46941 ;
46942 return 0;
46943 }
46944 _ACEOF
46945 if ac_fn_cxx_try_compile "$LINENO"; then :
46946 glibcxx_cv_func__fpclass_use=yes
46947 else
46948 glibcxx_cv_func__fpclass_use=no
46949 fi
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951 ac_ext=c
46952 ac_cpp='$CPP $CPPFLAGS'
46953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46956
46957
46958 fi
46959
46960 fi
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46962 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46963
46964 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46965 for ac_func in _fpclass
46966 do :
46967 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46968 if test "x$ac_cv_func__fpclass" = x""yes; then :
46969 cat >>confdefs.h <<_ACEOF
46970 #define HAVE__FPCLASS 1
46971 _ACEOF
46972
46973 fi
46974 done
46975
46976 fi
46977 fi
46978
46979
46980
46981
46982
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46984 $as_echo_n "checking for qfpclass declaration... " >&6; }
46985 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46986 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46988 else
46989
46990
46991 ac_ext=cpp
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
46999 #include <math.h>
47000 #ifdef HAVE_IEEEFP_H
47001 #include <ieeefp.h>
47002 #endif
47003
47004 int
47005 main ()
47006 {
47007 qfpclass(0);
47008 ;
47009 return 0;
47010 }
47011 _ACEOF
47012 if ac_fn_cxx_try_compile "$LINENO"; then :
47013 glibcxx_cv_func_qfpclass_use=yes
47014 else
47015 glibcxx_cv_func_qfpclass_use=no
47016 fi
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47018 ac_ext=c
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47023
47024
47025 fi
47026
47027 fi
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47029 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47030
47031 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47032 for ac_func in qfpclass
47033 do :
47034 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47035 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47036 cat >>confdefs.h <<_ACEOF
47037 #define HAVE_QFPCLASS 1
47038 _ACEOF
47039
47040 fi
47041 done
47042
47043 else
47044
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47046 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47047 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47048 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47050 else
47051
47052
47053 ac_ext=cpp
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47061 #include <math.h>
47062 #ifdef HAVE_IEEEFP_H
47063 #include <ieeefp.h>
47064 #endif
47065
47066 int
47067 main ()
47068 {
47069 _qfpclass(0);
47070 ;
47071 return 0;
47072 }
47073 _ACEOF
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func__qfpclass_use=yes
47076 else
47077 glibcxx_cv_func__qfpclass_use=no
47078 fi
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47080 ac_ext=c
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085
47086
47087 fi
47088
47089 fi
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47091 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47092
47093 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47094 for ac_func in _qfpclass
47095 do :
47096 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47097 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47098 cat >>confdefs.h <<_ACEOF
47099 #define HAVE__QFPCLASS 1
47100 _ACEOF
47101
47102 fi
47103 done
47104
47105 fi
47106 fi
47107
47108
47109
47110
47111
47112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47113 $as_echo_n "checking for hypot declaration... " >&6; }
47114 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47115 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47116 $as_echo_n "(cached) " >&6
47117 else
47118
47119
47120 ac_ext=cpp
47121 ac_cpp='$CXXCPP $CPPFLAGS'
47122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47125
47126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47127 /* end confdefs.h. */
47128 #include <math.h>
47129 int
47130 main ()
47131 {
47132 hypot(0, 0);
47133 ;
47134 return 0;
47135 }
47136 _ACEOF
47137 if ac_fn_cxx_try_compile "$LINENO"; then :
47138 glibcxx_cv_func_hypot_use=yes
47139 else
47140 glibcxx_cv_func_hypot_use=no
47141 fi
47142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47143 ac_ext=c
47144 ac_cpp='$CPP $CPPFLAGS'
47145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47148
47149
47150 fi
47151
47152 fi
47153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47154 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47155
47156 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47157 for ac_func in hypot
47158 do :
47159 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47160 if test "x$ac_cv_func_hypot" = x""yes; then :
47161 cat >>confdefs.h <<_ACEOF
47162 #define HAVE_HYPOT 1
47163 _ACEOF
47164
47165 fi
47166 done
47167
47168 else
47169
47170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47171 $as_echo_n "checking for _hypot declaration... " >&6; }
47172 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47173 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47174 $as_echo_n "(cached) " >&6
47175 else
47176
47177
47178 ac_ext=cpp
47179 ac_cpp='$CXXCPP $CPPFLAGS'
47180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47183
47184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47185 /* end confdefs.h. */
47186 #include <math.h>
47187 int
47188 main ()
47189 {
47190 _hypot(0, 0);
47191 ;
47192 return 0;
47193 }
47194 _ACEOF
47195 if ac_fn_cxx_try_compile "$LINENO"; then :
47196 glibcxx_cv_func__hypot_use=yes
47197 else
47198 glibcxx_cv_func__hypot_use=no
47199 fi
47200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47201 ac_ext=c
47202 ac_cpp='$CPP $CPPFLAGS'
47203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47206
47207
47208 fi
47209
47210 fi
47211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47212 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47213
47214 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47215 for ac_func in _hypot
47216 do :
47217 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47218 if test "x$ac_cv_func__hypot" = x""yes; then :
47219 cat >>confdefs.h <<_ACEOF
47220 #define HAVE__HYPOT 1
47221 _ACEOF
47222
47223 fi
47224 done
47225
47226 fi
47227 fi
47228
47229
47230
47231
47232
47233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47234 $as_echo_n "checking for float trig functions... " >&6; }
47235 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47236 $as_echo_n "(cached) " >&6
47237 else
47238
47239
47240 ac_ext=cpp
47241 ac_cpp='$CXXCPP $CPPFLAGS'
47242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47245
47246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47247 /* end confdefs.h. */
47248 #include <math.h>
47249 int
47250 main ()
47251 {
47252 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47253 ;
47254 return 0;
47255 }
47256 _ACEOF
47257 if ac_fn_cxx_try_compile "$LINENO"; then :
47258 glibcxx_cv_func_float_trig_use=yes
47259 else
47260 glibcxx_cv_func_float_trig_use=no
47261 fi
47262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47263 ac_ext=c
47264 ac_cpp='$CPP $CPPFLAGS'
47265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47268
47269 fi
47270
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47272 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47273 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47274 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47275 do :
47276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47278 eval as_val=\$$as_ac_var
47279 if test "x$as_val" = x""yes; then :
47280 cat >>confdefs.h <<_ACEOF
47281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47283
47284 fi
47285 done
47286
47287 else
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47289 $as_echo_n "checking for _float trig functions... " >&6; }
47290 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47291 $as_echo_n "(cached) " >&6
47292 else
47293
47294
47295 ac_ext=cpp
47296 ac_cpp='$CXXCPP $CPPFLAGS'
47297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47300
47301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47302 /* end confdefs.h. */
47303 #include <math.h>
47304 int
47305 main ()
47306 {
47307 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47308 ;
47309 return 0;
47310 }
47311 _ACEOF
47312 if ac_fn_cxx_try_compile "$LINENO"; then :
47313 glibcxx_cv_func__float_trig_use=yes
47314 else
47315 glibcxx_cv_func__float_trig_use=no
47316 fi
47317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47318 ac_ext=c
47319 ac_cpp='$CPP $CPPFLAGS'
47320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47323
47324 fi
47325
47326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47327 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47328 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47329 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47330 do :
47331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47333 eval as_val=\$$as_ac_var
47334 if test "x$as_val" = x""yes; then :
47335 cat >>confdefs.h <<_ACEOF
47336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47337 _ACEOF
47338
47339 fi
47340 done
47341
47342 fi
47343 fi
47344
47345
47346
47347
47348
47349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47350 $as_echo_n "checking for float round functions... " >&6; }
47351 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47352 $as_echo_n "(cached) " >&6
47353 else
47354
47355
47356 ac_ext=cpp
47357 ac_cpp='$CXXCPP $CPPFLAGS'
47358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47361
47362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47363 /* end confdefs.h. */
47364 #include <math.h>
47365 int
47366 main ()
47367 {
47368 ceilf (0); floorf (0);
47369 ;
47370 return 0;
47371 }
47372 _ACEOF
47373 if ac_fn_cxx_try_compile "$LINENO"; then :
47374 glibcxx_cv_func_float_round_use=yes
47375 else
47376 glibcxx_cv_func_float_round_use=no
47377 fi
47378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47384
47385 fi
47386
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47388 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47389 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47390 for ac_func in ceilf floorf
47391 do :
47392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47394 eval as_val=\$$as_ac_var
47395 if test "x$as_val" = x""yes; then :
47396 cat >>confdefs.h <<_ACEOF
47397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47398 _ACEOF
47399
47400 fi
47401 done
47402
47403 else
47404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47405 $as_echo_n "checking for _float round functions... " >&6; }
47406 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47407 $as_echo_n "(cached) " >&6
47408 else
47409
47410
47411 ac_ext=cpp
47412 ac_cpp='$CXXCPP $CPPFLAGS'
47413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47416
47417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47418 /* end confdefs.h. */
47419 #include <math.h>
47420 int
47421 main ()
47422 {
47423 _ceilf (0); _floorf (0);
47424 ;
47425 return 0;
47426 }
47427 _ACEOF
47428 if ac_fn_cxx_try_compile "$LINENO"; then :
47429 glibcxx_cv_func__float_round_use=yes
47430 else
47431 glibcxx_cv_func__float_round_use=no
47432 fi
47433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47434 ac_ext=c
47435 ac_cpp='$CPP $CPPFLAGS'
47436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47439
47440 fi
47441
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47443 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47444 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47445 for ac_func in _ceilf _floorf
47446 do :
47447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47449 eval as_val=\$$as_ac_var
47450 if test "x$as_val" = x""yes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47453 _ACEOF
47454
47455 fi
47456 done
47457
47458 fi
47459 fi
47460
47461
47462
47463
47464
47465
47466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47467 $as_echo_n "checking for expf declaration... " >&6; }
47468 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47469 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47470 $as_echo_n "(cached) " >&6
47471 else
47472
47473
47474 ac_ext=cpp
47475 ac_cpp='$CXXCPP $CPPFLAGS'
47476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479
47480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47481 /* end confdefs.h. */
47482 #include <math.h>
47483 #ifdef HAVE_IEEEFP_H
47484 #include <ieeefp.h>
47485 #endif
47486
47487 int
47488 main ()
47489 {
47490 expf(0);
47491 ;
47492 return 0;
47493 }
47494 _ACEOF
47495 if ac_fn_cxx_try_compile "$LINENO"; then :
47496 glibcxx_cv_func_expf_use=yes
47497 else
47498 glibcxx_cv_func_expf_use=no
47499 fi
47500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47501 ac_ext=c
47502 ac_cpp='$CPP $CPPFLAGS'
47503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47506
47507
47508 fi
47509
47510 fi
47511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47512 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47513
47514 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47515 for ac_func in expf
47516 do :
47517 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47518 if test "x$ac_cv_func_expf" = x""yes; then :
47519 cat >>confdefs.h <<_ACEOF
47520 #define HAVE_EXPF 1
47521 _ACEOF
47522
47523 fi
47524 done
47525
47526 else
47527
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47529 $as_echo_n "checking for _expf declaration... " >&6; }
47530 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47531 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47532 $as_echo_n "(cached) " >&6
47533 else
47534
47535
47536 ac_ext=cpp
47537 ac_cpp='$CXXCPP $CPPFLAGS'
47538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47541
47542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47543 /* end confdefs.h. */
47544 #include <math.h>
47545 #ifdef HAVE_IEEEFP_H
47546 #include <ieeefp.h>
47547 #endif
47548
47549 int
47550 main ()
47551 {
47552 _expf(0);
47553 ;
47554 return 0;
47555 }
47556 _ACEOF
47557 if ac_fn_cxx_try_compile "$LINENO"; then :
47558 glibcxx_cv_func__expf_use=yes
47559 else
47560 glibcxx_cv_func__expf_use=no
47561 fi
47562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47563 ac_ext=c
47564 ac_cpp='$CPP $CPPFLAGS'
47565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47568
47569
47570 fi
47571
47572 fi
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47574 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47575
47576 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47577 for ac_func in _expf
47578 do :
47579 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47580 if test "x$ac_cv_func__expf" = x""yes; then :
47581 cat >>confdefs.h <<_ACEOF
47582 #define HAVE__EXPF 1
47583 _ACEOF
47584
47585 fi
47586 done
47587
47588 fi
47589 fi
47590
47591
47592
47593
47594
47595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47596 $as_echo_n "checking for isnanf declaration... " >&6; }
47597 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47598 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47599 $as_echo_n "(cached) " >&6
47600 else
47601
47602
47603 ac_ext=cpp
47604 ac_cpp='$CXXCPP $CPPFLAGS'
47605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47608
47609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47610 /* end confdefs.h. */
47611 #include <math.h>
47612 #ifdef HAVE_IEEEFP_H
47613 #include <ieeefp.h>
47614 #endif
47615
47616 int
47617 main ()
47618 {
47619 isnanf(0);
47620 ;
47621 return 0;
47622 }
47623 _ACEOF
47624 if ac_fn_cxx_try_compile "$LINENO"; then :
47625 glibcxx_cv_func_isnanf_use=yes
47626 else
47627 glibcxx_cv_func_isnanf_use=no
47628 fi
47629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47630 ac_ext=c
47631 ac_cpp='$CPP $CPPFLAGS'
47632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47635
47636
47637 fi
47638
47639 fi
47640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47641 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47642
47643 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47644 for ac_func in isnanf
47645 do :
47646 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47647 if test "x$ac_cv_func_isnanf" = x""yes; then :
47648 cat >>confdefs.h <<_ACEOF
47649 #define HAVE_ISNANF 1
47650 _ACEOF
47651
47652 fi
47653 done
47654
47655 else
47656
47657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47658 $as_echo_n "checking for _isnanf declaration... " >&6; }
47659 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47660 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47661 $as_echo_n "(cached) " >&6
47662 else
47663
47664
47665 ac_ext=cpp
47666 ac_cpp='$CXXCPP $CPPFLAGS'
47667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670
47671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47672 /* end confdefs.h. */
47673 #include <math.h>
47674 #ifdef HAVE_IEEEFP_H
47675 #include <ieeefp.h>
47676 #endif
47677
47678 int
47679 main ()
47680 {
47681 _isnanf(0);
47682 ;
47683 return 0;
47684 }
47685 _ACEOF
47686 if ac_fn_cxx_try_compile "$LINENO"; then :
47687 glibcxx_cv_func__isnanf_use=yes
47688 else
47689 glibcxx_cv_func__isnanf_use=no
47690 fi
47691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47692 ac_ext=c
47693 ac_cpp='$CPP $CPPFLAGS'
47694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47697
47698
47699 fi
47700
47701 fi
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47703 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47704
47705 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47706 for ac_func in _isnanf
47707 do :
47708 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47709 if test "x$ac_cv_func__isnanf" = x""yes; then :
47710 cat >>confdefs.h <<_ACEOF
47711 #define HAVE__ISNANF 1
47712 _ACEOF
47713
47714 fi
47715 done
47716
47717 fi
47718 fi
47719
47720
47721
47722
47723
47724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47725 $as_echo_n "checking for isinff declaration... " >&6; }
47726 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47727 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47728 $as_echo_n "(cached) " >&6
47729 else
47730
47731
47732 ac_ext=cpp
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47737
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 #include <math.h>
47741 #ifdef HAVE_IEEEFP_H
47742 #include <ieeefp.h>
47743 #endif
47744
47745 int
47746 main ()
47747 {
47748 isinff(0);
47749 ;
47750 return 0;
47751 }
47752 _ACEOF
47753 if ac_fn_cxx_try_compile "$LINENO"; then :
47754 glibcxx_cv_func_isinff_use=yes
47755 else
47756 glibcxx_cv_func_isinff_use=no
47757 fi
47758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47759 ac_ext=c
47760 ac_cpp='$CPP $CPPFLAGS'
47761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47764
47765
47766 fi
47767
47768 fi
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47770 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47771
47772 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47773 for ac_func in isinff
47774 do :
47775 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47776 if test "x$ac_cv_func_isinff" = x""yes; then :
47777 cat >>confdefs.h <<_ACEOF
47778 #define HAVE_ISINFF 1
47779 _ACEOF
47780
47781 fi
47782 done
47783
47784 else
47785
47786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47787 $as_echo_n "checking for _isinff declaration... " >&6; }
47788 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47789 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47790 $as_echo_n "(cached) " >&6
47791 else
47792
47793
47794 ac_ext=cpp
47795 ac_cpp='$CXXCPP $CPPFLAGS'
47796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47799
47800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47801 /* end confdefs.h. */
47802 #include <math.h>
47803 #ifdef HAVE_IEEEFP_H
47804 #include <ieeefp.h>
47805 #endif
47806
47807 int
47808 main ()
47809 {
47810 _isinff(0);
47811 ;
47812 return 0;
47813 }
47814 _ACEOF
47815 if ac_fn_cxx_try_compile "$LINENO"; then :
47816 glibcxx_cv_func__isinff_use=yes
47817 else
47818 glibcxx_cv_func__isinff_use=no
47819 fi
47820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47821 ac_ext=c
47822 ac_cpp='$CPP $CPPFLAGS'
47823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47826
47827
47828 fi
47829
47830 fi
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47832 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47833
47834 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47835 for ac_func in _isinff
47836 do :
47837 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47838 if test "x$ac_cv_func__isinff" = x""yes; then :
47839 cat >>confdefs.h <<_ACEOF
47840 #define HAVE__ISINFF 1
47841 _ACEOF
47842
47843 fi
47844 done
47845
47846 fi
47847 fi
47848
47849
47850
47851
47852
47853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47854 $as_echo_n "checking for atan2f declaration... " >&6; }
47855 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47856 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47857 $as_echo_n "(cached) " >&6
47858 else
47859
47860
47861 ac_ext=cpp
47862 ac_cpp='$CXXCPP $CPPFLAGS'
47863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47866
47867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47868 /* end confdefs.h. */
47869 #include <math.h>
47870 int
47871 main ()
47872 {
47873 atan2f(0, 0);
47874 ;
47875 return 0;
47876 }
47877 _ACEOF
47878 if ac_fn_cxx_try_compile "$LINENO"; then :
47879 glibcxx_cv_func_atan2f_use=yes
47880 else
47881 glibcxx_cv_func_atan2f_use=no
47882 fi
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47884 ac_ext=c
47885 ac_cpp='$CPP $CPPFLAGS'
47886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47889
47890
47891 fi
47892
47893 fi
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47895 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47896
47897 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47898 for ac_func in atan2f
47899 do :
47900 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47901 if test "x$ac_cv_func_atan2f" = x""yes; then :
47902 cat >>confdefs.h <<_ACEOF
47903 #define HAVE_ATAN2F 1
47904 _ACEOF
47905
47906 fi
47907 done
47908
47909 else
47910
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47912 $as_echo_n "checking for _atan2f declaration... " >&6; }
47913 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47914 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47915 $as_echo_n "(cached) " >&6
47916 else
47917
47918
47919 ac_ext=cpp
47920 ac_cpp='$CXXCPP $CPPFLAGS'
47921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47924
47925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47926 /* end confdefs.h. */
47927 #include <math.h>
47928 int
47929 main ()
47930 {
47931 _atan2f(0, 0);
47932 ;
47933 return 0;
47934 }
47935 _ACEOF
47936 if ac_fn_cxx_try_compile "$LINENO"; then :
47937 glibcxx_cv_func__atan2f_use=yes
47938 else
47939 glibcxx_cv_func__atan2f_use=no
47940 fi
47941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47942 ac_ext=c
47943 ac_cpp='$CPP $CPPFLAGS'
47944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47947
47948
47949 fi
47950
47951 fi
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47953 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47954
47955 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47956 for ac_func in _atan2f
47957 do :
47958 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47959 if test "x$ac_cv_func__atan2f" = x""yes; then :
47960 cat >>confdefs.h <<_ACEOF
47961 #define HAVE__ATAN2F 1
47962 _ACEOF
47963
47964 fi
47965 done
47966
47967 fi
47968 fi
47969
47970
47971
47972
47973
47974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47975 $as_echo_n "checking for fabsf declaration... " >&6; }
47976 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47977 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47978 $as_echo_n "(cached) " >&6
47979 else
47980
47981
47982 ac_ext=cpp
47983 ac_cpp='$CXXCPP $CPPFLAGS'
47984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987
47988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47989 /* end confdefs.h. */
47990 #include <math.h>
47991 #ifdef HAVE_IEEEFP_H
47992 #include <ieeefp.h>
47993 #endif
47994
47995 int
47996 main ()
47997 {
47998 fabsf(0);
47999 ;
48000 return 0;
48001 }
48002 _ACEOF
48003 if ac_fn_cxx_try_compile "$LINENO"; then :
48004 glibcxx_cv_func_fabsf_use=yes
48005 else
48006 glibcxx_cv_func_fabsf_use=no
48007 fi
48008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48009 ac_ext=c
48010 ac_cpp='$CPP $CPPFLAGS'
48011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48014
48015
48016 fi
48017
48018 fi
48019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48020 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48021
48022 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48023 for ac_func in fabsf
48024 do :
48025 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48026 if test "x$ac_cv_func_fabsf" = x""yes; then :
48027 cat >>confdefs.h <<_ACEOF
48028 #define HAVE_FABSF 1
48029 _ACEOF
48030
48031 fi
48032 done
48033
48034 else
48035
48036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48037 $as_echo_n "checking for _fabsf declaration... " >&6; }
48038 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48039 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48040 $as_echo_n "(cached) " >&6
48041 else
48042
48043
48044 ac_ext=cpp
48045 ac_cpp='$CXXCPP $CPPFLAGS'
48046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48049
48050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48051 /* end confdefs.h. */
48052 #include <math.h>
48053 #ifdef HAVE_IEEEFP_H
48054 #include <ieeefp.h>
48055 #endif
48056
48057 int
48058 main ()
48059 {
48060 _fabsf(0);
48061 ;
48062 return 0;
48063 }
48064 _ACEOF
48065 if ac_fn_cxx_try_compile "$LINENO"; then :
48066 glibcxx_cv_func__fabsf_use=yes
48067 else
48068 glibcxx_cv_func__fabsf_use=no
48069 fi
48070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48071 ac_ext=c
48072 ac_cpp='$CPP $CPPFLAGS'
48073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48076
48077
48078 fi
48079
48080 fi
48081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48082 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48083
48084 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48085 for ac_func in _fabsf
48086 do :
48087 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48088 if test "x$ac_cv_func__fabsf" = x""yes; then :
48089 cat >>confdefs.h <<_ACEOF
48090 #define HAVE__FABSF 1
48091 _ACEOF
48092
48093 fi
48094 done
48095
48096 fi
48097 fi
48098
48099
48100
48101
48102
48103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48104 $as_echo_n "checking for fmodf declaration... " >&6; }
48105 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48106 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48107 $as_echo_n "(cached) " >&6
48108 else
48109
48110
48111 ac_ext=cpp
48112 ac_cpp='$CXXCPP $CPPFLAGS'
48113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48116
48117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48118 /* end confdefs.h. */
48119 #include <math.h>
48120 int
48121 main ()
48122 {
48123 fmodf(0, 0);
48124 ;
48125 return 0;
48126 }
48127 _ACEOF
48128 if ac_fn_cxx_try_compile "$LINENO"; then :
48129 glibcxx_cv_func_fmodf_use=yes
48130 else
48131 glibcxx_cv_func_fmodf_use=no
48132 fi
48133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48134 ac_ext=c
48135 ac_cpp='$CPP $CPPFLAGS'
48136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48139
48140
48141 fi
48142
48143 fi
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48145 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48146
48147 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48148 for ac_func in fmodf
48149 do :
48150 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48151 if test "x$ac_cv_func_fmodf" = x""yes; then :
48152 cat >>confdefs.h <<_ACEOF
48153 #define HAVE_FMODF 1
48154 _ACEOF
48155
48156 fi
48157 done
48158
48159 else
48160
48161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48162 $as_echo_n "checking for _fmodf declaration... " >&6; }
48163 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48164 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48165 $as_echo_n "(cached) " >&6
48166 else
48167
48168
48169 ac_ext=cpp
48170 ac_cpp='$CXXCPP $CPPFLAGS'
48171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48174
48175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48176 /* end confdefs.h. */
48177 #include <math.h>
48178 int
48179 main ()
48180 {
48181 _fmodf(0, 0);
48182 ;
48183 return 0;
48184 }
48185 _ACEOF
48186 if ac_fn_cxx_try_compile "$LINENO"; then :
48187 glibcxx_cv_func__fmodf_use=yes
48188 else
48189 glibcxx_cv_func__fmodf_use=no
48190 fi
48191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48192 ac_ext=c
48193 ac_cpp='$CPP $CPPFLAGS'
48194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48197
48198
48199 fi
48200
48201 fi
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48203 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48204
48205 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48206 for ac_func in _fmodf
48207 do :
48208 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48209 if test "x$ac_cv_func__fmodf" = x""yes; then :
48210 cat >>confdefs.h <<_ACEOF
48211 #define HAVE__FMODF 1
48212 _ACEOF
48213
48214 fi
48215 done
48216
48217 fi
48218 fi
48219
48220
48221
48222
48223
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48225 $as_echo_n "checking for frexpf declaration... " >&6; }
48226 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48227 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48228 $as_echo_n "(cached) " >&6
48229 else
48230
48231
48232 ac_ext=cpp
48233 ac_cpp='$CXXCPP $CPPFLAGS'
48234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48237
48238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48239 /* end confdefs.h. */
48240 #include <math.h>
48241 int
48242 main ()
48243 {
48244 frexpf(0, 0);
48245 ;
48246 return 0;
48247 }
48248 _ACEOF
48249 if ac_fn_cxx_try_compile "$LINENO"; then :
48250 glibcxx_cv_func_frexpf_use=yes
48251 else
48252 glibcxx_cv_func_frexpf_use=no
48253 fi
48254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48255 ac_ext=c
48256 ac_cpp='$CPP $CPPFLAGS'
48257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48260
48261
48262 fi
48263
48264 fi
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48266 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48267
48268 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48269 for ac_func in frexpf
48270 do :
48271 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48272 if test "x$ac_cv_func_frexpf" = x""yes; then :
48273 cat >>confdefs.h <<_ACEOF
48274 #define HAVE_FREXPF 1
48275 _ACEOF
48276
48277 fi
48278 done
48279
48280 else
48281
48282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48283 $as_echo_n "checking for _frexpf declaration... " >&6; }
48284 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48285 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48286 $as_echo_n "(cached) " >&6
48287 else
48288
48289
48290 ac_ext=cpp
48291 ac_cpp='$CXXCPP $CPPFLAGS'
48292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48295
48296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48297 /* end confdefs.h. */
48298 #include <math.h>
48299 int
48300 main ()
48301 {
48302 _frexpf(0, 0);
48303 ;
48304 return 0;
48305 }
48306 _ACEOF
48307 if ac_fn_cxx_try_compile "$LINENO"; then :
48308 glibcxx_cv_func__frexpf_use=yes
48309 else
48310 glibcxx_cv_func__frexpf_use=no
48311 fi
48312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48313 ac_ext=c
48314 ac_cpp='$CPP $CPPFLAGS'
48315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48318
48319
48320 fi
48321
48322 fi
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48324 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48325
48326 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48327 for ac_func in _frexpf
48328 do :
48329 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48330 if test "x$ac_cv_func__frexpf" = x""yes; then :
48331 cat >>confdefs.h <<_ACEOF
48332 #define HAVE__FREXPF 1
48333 _ACEOF
48334
48335 fi
48336 done
48337
48338 fi
48339 fi
48340
48341
48342
48343
48344
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48346 $as_echo_n "checking for hypotf declaration... " >&6; }
48347 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48348 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48349 $as_echo_n "(cached) " >&6
48350 else
48351
48352
48353 ac_ext=cpp
48354 ac_cpp='$CXXCPP $CPPFLAGS'
48355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48358
48359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48360 /* end confdefs.h. */
48361 #include <math.h>
48362 int
48363 main ()
48364 {
48365 hypotf(0, 0);
48366 ;
48367 return 0;
48368 }
48369 _ACEOF
48370 if ac_fn_cxx_try_compile "$LINENO"; then :
48371 glibcxx_cv_func_hypotf_use=yes
48372 else
48373 glibcxx_cv_func_hypotf_use=no
48374 fi
48375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48376 ac_ext=c
48377 ac_cpp='$CPP $CPPFLAGS'
48378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48381
48382
48383 fi
48384
48385 fi
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48387 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48388
48389 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48390 for ac_func in hypotf
48391 do :
48392 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48393 if test "x$ac_cv_func_hypotf" = x""yes; then :
48394 cat >>confdefs.h <<_ACEOF
48395 #define HAVE_HYPOTF 1
48396 _ACEOF
48397
48398 fi
48399 done
48400
48401 else
48402
48403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48404 $as_echo_n "checking for _hypotf declaration... " >&6; }
48405 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48406 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48407 $as_echo_n "(cached) " >&6
48408 else
48409
48410
48411 ac_ext=cpp
48412 ac_cpp='$CXXCPP $CPPFLAGS'
48413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48416
48417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48418 /* end confdefs.h. */
48419 #include <math.h>
48420 int
48421 main ()
48422 {
48423 _hypotf(0, 0);
48424 ;
48425 return 0;
48426 }
48427 _ACEOF
48428 if ac_fn_cxx_try_compile "$LINENO"; then :
48429 glibcxx_cv_func__hypotf_use=yes
48430 else
48431 glibcxx_cv_func__hypotf_use=no
48432 fi
48433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48434 ac_ext=c
48435 ac_cpp='$CPP $CPPFLAGS'
48436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48439
48440
48441 fi
48442
48443 fi
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48445 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48446
48447 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48448 for ac_func in _hypotf
48449 do :
48450 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48451 if test "x$ac_cv_func__hypotf" = x""yes; then :
48452 cat >>confdefs.h <<_ACEOF
48453 #define HAVE__HYPOTF 1
48454 _ACEOF
48455
48456 fi
48457 done
48458
48459 fi
48460 fi
48461
48462
48463
48464
48465
48466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48467 $as_echo_n "checking for ldexpf declaration... " >&6; }
48468 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48469 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48470 $as_echo_n "(cached) " >&6
48471 else
48472
48473
48474 ac_ext=cpp
48475 ac_cpp='$CXXCPP $CPPFLAGS'
48476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48479
48480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48481 /* end confdefs.h. */
48482 #include <math.h>
48483 int
48484 main ()
48485 {
48486 ldexpf(0, 0);
48487 ;
48488 return 0;
48489 }
48490 _ACEOF
48491 if ac_fn_cxx_try_compile "$LINENO"; then :
48492 glibcxx_cv_func_ldexpf_use=yes
48493 else
48494 glibcxx_cv_func_ldexpf_use=no
48495 fi
48496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48497 ac_ext=c
48498 ac_cpp='$CPP $CPPFLAGS'
48499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48502
48503
48504 fi
48505
48506 fi
48507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48508 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48509
48510 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48511 for ac_func in ldexpf
48512 do :
48513 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48514 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48515 cat >>confdefs.h <<_ACEOF
48516 #define HAVE_LDEXPF 1
48517 _ACEOF
48518
48519 fi
48520 done
48521
48522 else
48523
48524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48525 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48526 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48527 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48528 $as_echo_n "(cached) " >&6
48529 else
48530
48531
48532 ac_ext=cpp
48533 ac_cpp='$CXXCPP $CPPFLAGS'
48534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48537
48538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48539 /* end confdefs.h. */
48540 #include <math.h>
48541 int
48542 main ()
48543 {
48544 _ldexpf(0, 0);
48545 ;
48546 return 0;
48547 }
48548 _ACEOF
48549 if ac_fn_cxx_try_compile "$LINENO"; then :
48550 glibcxx_cv_func__ldexpf_use=yes
48551 else
48552 glibcxx_cv_func__ldexpf_use=no
48553 fi
48554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48555 ac_ext=c
48556 ac_cpp='$CPP $CPPFLAGS'
48557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48560
48561
48562 fi
48563
48564 fi
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48566 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48567
48568 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48569 for ac_func in _ldexpf
48570 do :
48571 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48572 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48573 cat >>confdefs.h <<_ACEOF
48574 #define HAVE__LDEXPF 1
48575 _ACEOF
48576
48577 fi
48578 done
48579
48580 fi
48581 fi
48582
48583
48584
48585
48586
48587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48588 $as_echo_n "checking for logf declaration... " >&6; }
48589 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48590 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48591 $as_echo_n "(cached) " >&6
48592 else
48593
48594
48595 ac_ext=cpp
48596 ac_cpp='$CXXCPP $CPPFLAGS'
48597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48600
48601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48602 /* end confdefs.h. */
48603 #include <math.h>
48604 #ifdef HAVE_IEEEFP_H
48605 #include <ieeefp.h>
48606 #endif
48607
48608 int
48609 main ()
48610 {
48611 logf(0);
48612 ;
48613 return 0;
48614 }
48615 _ACEOF
48616 if ac_fn_cxx_try_compile "$LINENO"; then :
48617 glibcxx_cv_func_logf_use=yes
48618 else
48619 glibcxx_cv_func_logf_use=no
48620 fi
48621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48622 ac_ext=c
48623 ac_cpp='$CPP $CPPFLAGS'
48624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48627
48628
48629 fi
48630
48631 fi
48632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48633 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48634
48635 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48636 for ac_func in logf
48637 do :
48638 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48639 if test "x$ac_cv_func_logf" = x""yes; then :
48640 cat >>confdefs.h <<_ACEOF
48641 #define HAVE_LOGF 1
48642 _ACEOF
48643
48644 fi
48645 done
48646
48647 else
48648
48649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48650 $as_echo_n "checking for _logf declaration... " >&6; }
48651 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48652 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48653 $as_echo_n "(cached) " >&6
48654 else
48655
48656
48657 ac_ext=cpp
48658 ac_cpp='$CXXCPP $CPPFLAGS'
48659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48662
48663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48664 /* end confdefs.h. */
48665 #include <math.h>
48666 #ifdef HAVE_IEEEFP_H
48667 #include <ieeefp.h>
48668 #endif
48669
48670 int
48671 main ()
48672 {
48673 _logf(0);
48674 ;
48675 return 0;
48676 }
48677 _ACEOF
48678 if ac_fn_cxx_try_compile "$LINENO"; then :
48679 glibcxx_cv_func__logf_use=yes
48680 else
48681 glibcxx_cv_func__logf_use=no
48682 fi
48683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48684 ac_ext=c
48685 ac_cpp='$CPP $CPPFLAGS'
48686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48689
48690
48691 fi
48692
48693 fi
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48695 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48696
48697 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48698 for ac_func in _logf
48699 do :
48700 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48701 if test "x$ac_cv_func__logf" = x""yes; then :
48702 cat >>confdefs.h <<_ACEOF
48703 #define HAVE__LOGF 1
48704 _ACEOF
48705
48706 fi
48707 done
48708
48709 fi
48710 fi
48711
48712
48713
48714
48715
48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48717 $as_echo_n "checking for log10f declaration... " >&6; }
48718 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48719 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48720 $as_echo_n "(cached) " >&6
48721 else
48722
48723
48724 ac_ext=cpp
48725 ac_cpp='$CXXCPP $CPPFLAGS'
48726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48729
48730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48731 /* end confdefs.h. */
48732 #include <math.h>
48733 #ifdef HAVE_IEEEFP_H
48734 #include <ieeefp.h>
48735 #endif
48736
48737 int
48738 main ()
48739 {
48740 log10f(0);
48741 ;
48742 return 0;
48743 }
48744 _ACEOF
48745 if ac_fn_cxx_try_compile "$LINENO"; then :
48746 glibcxx_cv_func_log10f_use=yes
48747 else
48748 glibcxx_cv_func_log10f_use=no
48749 fi
48750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48751 ac_ext=c
48752 ac_cpp='$CPP $CPPFLAGS'
48753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48756
48757
48758 fi
48759
48760 fi
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48762 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48763
48764 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48765 for ac_func in log10f
48766 do :
48767 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48768 if test "x$ac_cv_func_log10f" = x""yes; then :
48769 cat >>confdefs.h <<_ACEOF
48770 #define HAVE_LOG10F 1
48771 _ACEOF
48772
48773 fi
48774 done
48775
48776 else
48777
48778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48779 $as_echo_n "checking for _log10f declaration... " >&6; }
48780 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48781 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48782 $as_echo_n "(cached) " >&6
48783 else
48784
48785
48786 ac_ext=cpp
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48791
48792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48793 /* end confdefs.h. */
48794 #include <math.h>
48795 #ifdef HAVE_IEEEFP_H
48796 #include <ieeefp.h>
48797 #endif
48798
48799 int
48800 main ()
48801 {
48802 _log10f(0);
48803 ;
48804 return 0;
48805 }
48806 _ACEOF
48807 if ac_fn_cxx_try_compile "$LINENO"; then :
48808 glibcxx_cv_func__log10f_use=yes
48809 else
48810 glibcxx_cv_func__log10f_use=no
48811 fi
48812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48818
48819
48820 fi
48821
48822 fi
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48824 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48825
48826 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48827 for ac_func in _log10f
48828 do :
48829 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48830 if test "x$ac_cv_func__log10f" = x""yes; then :
48831 cat >>confdefs.h <<_ACEOF
48832 #define HAVE__LOG10F 1
48833 _ACEOF
48834
48835 fi
48836 done
48837
48838 fi
48839 fi
48840
48841
48842
48843
48844
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48846 $as_echo_n "checking for modff declaration... " >&6; }
48847 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48848 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48849 $as_echo_n "(cached) " >&6
48850 else
48851
48852
48853 ac_ext=cpp
48854 ac_cpp='$CXXCPP $CPPFLAGS'
48855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48858
48859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48860 /* end confdefs.h. */
48861 #include <math.h>
48862 int
48863 main ()
48864 {
48865 modff(0, 0);
48866 ;
48867 return 0;
48868 }
48869 _ACEOF
48870 if ac_fn_cxx_try_compile "$LINENO"; then :
48871 glibcxx_cv_func_modff_use=yes
48872 else
48873 glibcxx_cv_func_modff_use=no
48874 fi
48875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48876 ac_ext=c
48877 ac_cpp='$CPP $CPPFLAGS'
48878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48881
48882
48883 fi
48884
48885 fi
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48887 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48888
48889 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48890 for ac_func in modff
48891 do :
48892 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48893 if test "x$ac_cv_func_modff" = x""yes; then :
48894 cat >>confdefs.h <<_ACEOF
48895 #define HAVE_MODFF 1
48896 _ACEOF
48897
48898 fi
48899 done
48900
48901 else
48902
48903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48904 $as_echo_n "checking for _modff declaration... " >&6; }
48905 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48906 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48907 $as_echo_n "(cached) " >&6
48908 else
48909
48910
48911 ac_ext=cpp
48912 ac_cpp='$CXXCPP $CPPFLAGS'
48913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48916
48917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48918 /* end confdefs.h. */
48919 #include <math.h>
48920 int
48921 main ()
48922 {
48923 _modff(0, 0);
48924 ;
48925 return 0;
48926 }
48927 _ACEOF
48928 if ac_fn_cxx_try_compile "$LINENO"; then :
48929 glibcxx_cv_func__modff_use=yes
48930 else
48931 glibcxx_cv_func__modff_use=no
48932 fi
48933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48934 ac_ext=c
48935 ac_cpp='$CPP $CPPFLAGS'
48936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48939
48940
48941 fi
48942
48943 fi
48944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48945 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48946
48947 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48948 for ac_func in _modff
48949 do :
48950 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48951 if test "x$ac_cv_func__modff" = x""yes; then :
48952 cat >>confdefs.h <<_ACEOF
48953 #define HAVE__MODFF 1
48954 _ACEOF
48955
48956 fi
48957 done
48958
48959 fi
48960 fi
48961
48962
48963
48964
48965
48966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48967 $as_echo_n "checking for modf declaration... " >&6; }
48968 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48969 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48970 $as_echo_n "(cached) " >&6
48971 else
48972
48973
48974 ac_ext=cpp
48975 ac_cpp='$CXXCPP $CPPFLAGS'
48976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979
48980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48981 /* end confdefs.h. */
48982 #include <math.h>
48983 int
48984 main ()
48985 {
48986 modf(0, 0);
48987 ;
48988 return 0;
48989 }
48990 _ACEOF
48991 if ac_fn_cxx_try_compile "$LINENO"; then :
48992 glibcxx_cv_func_modf_use=yes
48993 else
48994 glibcxx_cv_func_modf_use=no
48995 fi
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997 ac_ext=c
48998 ac_cpp='$CPP $CPPFLAGS'
48999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49002
49003
49004 fi
49005
49006 fi
49007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49008 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49009
49010 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49011 for ac_func in modf
49012 do :
49013 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49014 if test "x$ac_cv_func_modf" = x""yes; then :
49015 cat >>confdefs.h <<_ACEOF
49016 #define HAVE_MODF 1
49017 _ACEOF
49018
49019 fi
49020 done
49021
49022 else
49023
49024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49025 $as_echo_n "checking for _modf declaration... " >&6; }
49026 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49027 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49028 $as_echo_n "(cached) " >&6
49029 else
49030
49031
49032 ac_ext=cpp
49033 ac_cpp='$CXXCPP $CPPFLAGS'
49034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49037
49038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49039 /* end confdefs.h. */
49040 #include <math.h>
49041 int
49042 main ()
49043 {
49044 _modf(0, 0);
49045 ;
49046 return 0;
49047 }
49048 _ACEOF
49049 if ac_fn_cxx_try_compile "$LINENO"; then :
49050 glibcxx_cv_func__modf_use=yes
49051 else
49052 glibcxx_cv_func__modf_use=no
49053 fi
49054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49055 ac_ext=c
49056 ac_cpp='$CPP $CPPFLAGS'
49057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49060
49061
49062 fi
49063
49064 fi
49065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49066 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49067
49068 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49069 for ac_func in _modf
49070 do :
49071 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49072 if test "x$ac_cv_func__modf" = x""yes; then :
49073 cat >>confdefs.h <<_ACEOF
49074 #define HAVE__MODF 1
49075 _ACEOF
49076
49077 fi
49078 done
49079
49080 fi
49081 fi
49082
49083
49084
49085
49086
49087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49088 $as_echo_n "checking for powf declaration... " >&6; }
49089 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49090 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49091 $as_echo_n "(cached) " >&6
49092 else
49093
49094
49095 ac_ext=cpp
49096 ac_cpp='$CXXCPP $CPPFLAGS'
49097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49100
49101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49102 /* end confdefs.h. */
49103 #include <math.h>
49104 int
49105 main ()
49106 {
49107 powf(0, 0);
49108 ;
49109 return 0;
49110 }
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func_powf_use=yes
49114 else
49115 glibcxx_cv_func_powf_use=no
49116 fi
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124
49125 fi
49126
49127 fi
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49129 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49130
49131 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49132 for ac_func in powf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49135 if test "x$ac_cv_func_powf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE_POWF 1
49138 _ACEOF
49139
49140 fi
49141 done
49142
49143 else
49144
49145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49146 $as_echo_n "checking for _powf declaration... " >&6; }
49147 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49148 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49149 $as_echo_n "(cached) " >&6
49150 else
49151
49152
49153 ac_ext=cpp
49154 ac_cpp='$CXXCPP $CPPFLAGS'
49155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49158
49159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49160 /* end confdefs.h. */
49161 #include <math.h>
49162 int
49163 main ()
49164 {
49165 _powf(0, 0);
49166 ;
49167 return 0;
49168 }
49169 _ACEOF
49170 if ac_fn_cxx_try_compile "$LINENO"; then :
49171 glibcxx_cv_func__powf_use=yes
49172 else
49173 glibcxx_cv_func__powf_use=no
49174 fi
49175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49176 ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49181
49182
49183 fi
49184
49185 fi
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49187 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49188
49189 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49190 for ac_func in _powf
49191 do :
49192 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49193 if test "x$ac_cv_func__powf" = x""yes; then :
49194 cat >>confdefs.h <<_ACEOF
49195 #define HAVE__POWF 1
49196 _ACEOF
49197
49198 fi
49199 done
49200
49201 fi
49202 fi
49203
49204
49205
49206
49207
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49209 $as_echo_n "checking for sqrtf declaration... " >&6; }
49210 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49211 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49214
49215
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49225 #ifdef HAVE_IEEEFP_H
49226 #include <ieeefp.h>
49227 #endif
49228
49229 int
49230 main ()
49231 {
49232 sqrtf(0);
49233 ;
49234 return 0;
49235 }
49236 _ACEOF
49237 if ac_fn_cxx_try_compile "$LINENO"; then :
49238 glibcxx_cv_func_sqrtf_use=yes
49239 else
49240 glibcxx_cv_func_sqrtf_use=no
49241 fi
49242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49243 ac_ext=c
49244 ac_cpp='$CPP $CPPFLAGS'
49245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248
49249
49250 fi
49251
49252 fi
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49254 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49255
49256 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49257 for ac_func in sqrtf
49258 do :
49259 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49260 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49261 cat >>confdefs.h <<_ACEOF
49262 #define HAVE_SQRTF 1
49263 _ACEOF
49264
49265 fi
49266 done
49267
49268 else
49269
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49271 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49272 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49273 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49275 else
49276
49277
49278 ac_ext=cpp
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49283
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49286 #include <math.h>
49287 #ifdef HAVE_IEEEFP_H
49288 #include <ieeefp.h>
49289 #endif
49290
49291 int
49292 main ()
49293 {
49294 _sqrtf(0);
49295 ;
49296 return 0;
49297 }
49298 _ACEOF
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__sqrtf_use=yes
49301 else
49302 glibcxx_cv_func__sqrtf_use=no
49303 fi
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310
49311
49312 fi
49313
49314 fi
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49316 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49317
49318 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49319 for ac_func in _sqrtf
49320 do :
49321 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49322 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49323 cat >>confdefs.h <<_ACEOF
49324 #define HAVE__SQRTF 1
49325 _ACEOF
49326
49327 fi
49328 done
49329
49330 fi
49331 fi
49332
49333
49334
49335
49336
49337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49338 $as_echo_n "checking for sincosf declaration... " >&6; }
49339 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49340 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49341 $as_echo_n "(cached) " >&6
49342 else
49343
49344
49345 ac_ext=cpp
49346 ac_cpp='$CXXCPP $CPPFLAGS'
49347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49350
49351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49352 /* end confdefs.h. */
49353 #include <math.h>
49354 int
49355 main ()
49356 {
49357 sincosf(0, 0, 0);
49358 ;
49359 return 0;
49360 }
49361 _ACEOF
49362 if ac_fn_cxx_try_compile "$LINENO"; then :
49363 glibcxx_cv_func_sincosf_use=yes
49364 else
49365 glibcxx_cv_func_sincosf_use=no
49366 fi
49367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49368 ac_ext=c
49369 ac_cpp='$CPP $CPPFLAGS'
49370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49373
49374
49375 fi
49376
49377 fi
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49379 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49380
49381 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49382 for ac_func in sincosf
49383 do :
49384 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49385 if test "x$ac_cv_func_sincosf" = x""yes; then :
49386 cat >>confdefs.h <<_ACEOF
49387 #define HAVE_SINCOSF 1
49388 _ACEOF
49389
49390 fi
49391 done
49392
49393 else
49394
49395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49396 $as_echo_n "checking for _sincosf declaration... " >&6; }
49397 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49398 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49399 $as_echo_n "(cached) " >&6
49400 else
49401
49402
49403 ac_ext=cpp
49404 ac_cpp='$CXXCPP $CPPFLAGS'
49405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49408
49409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49410 /* end confdefs.h. */
49411 #include <math.h>
49412 int
49413 main ()
49414 {
49415 _sincosf(0, 0, 0);
49416 ;
49417 return 0;
49418 }
49419 _ACEOF
49420 if ac_fn_cxx_try_compile "$LINENO"; then :
49421 glibcxx_cv_func__sincosf_use=yes
49422 else
49423 glibcxx_cv_func__sincosf_use=no
49424 fi
49425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49426 ac_ext=c
49427 ac_cpp='$CPP $CPPFLAGS'
49428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49431
49432
49433 fi
49434
49435 fi
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49437 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49438
49439 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49440 for ac_func in _sincosf
49441 do :
49442 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49443 if test "x$ac_cv_func__sincosf" = x""yes; then :
49444 cat >>confdefs.h <<_ACEOF
49445 #define HAVE__SINCOSF 1
49446 _ACEOF
49447
49448 fi
49449 done
49450
49451 fi
49452 fi
49453
49454
49455
49456
49457
49458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49459 $as_echo_n "checking for finitef declaration... " >&6; }
49460 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49461 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49462 $as_echo_n "(cached) " >&6
49463 else
49464
49465
49466 ac_ext=cpp
49467 ac_cpp='$CXXCPP $CPPFLAGS'
49468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49471
49472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49473 /* end confdefs.h. */
49474 #include <math.h>
49475 #ifdef HAVE_IEEEFP_H
49476 #include <ieeefp.h>
49477 #endif
49478
49479 int
49480 main ()
49481 {
49482 finitef(0);
49483 ;
49484 return 0;
49485 }
49486 _ACEOF
49487 if ac_fn_cxx_try_compile "$LINENO"; then :
49488 glibcxx_cv_func_finitef_use=yes
49489 else
49490 glibcxx_cv_func_finitef_use=no
49491 fi
49492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49493 ac_ext=c
49494 ac_cpp='$CPP $CPPFLAGS'
49495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49498
49499
49500 fi
49501
49502 fi
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49504 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49505
49506 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49507 for ac_func in finitef
49508 do :
49509 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49510 if test "x$ac_cv_func_finitef" = x""yes; then :
49511 cat >>confdefs.h <<_ACEOF
49512 #define HAVE_FINITEF 1
49513 _ACEOF
49514
49515 fi
49516 done
49517
49518 else
49519
49520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49521 $as_echo_n "checking for _finitef declaration... " >&6; }
49522 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49523 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49524 $as_echo_n "(cached) " >&6
49525 else
49526
49527
49528 ac_ext=cpp
49529 ac_cpp='$CXXCPP $CPPFLAGS'
49530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49533
49534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49535 /* end confdefs.h. */
49536 #include <math.h>
49537 #ifdef HAVE_IEEEFP_H
49538 #include <ieeefp.h>
49539 #endif
49540
49541 int
49542 main ()
49543 {
49544 _finitef(0);
49545 ;
49546 return 0;
49547 }
49548 _ACEOF
49549 if ac_fn_cxx_try_compile "$LINENO"; then :
49550 glibcxx_cv_func__finitef_use=yes
49551 else
49552 glibcxx_cv_func__finitef_use=no
49553 fi
49554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49555 ac_ext=c
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49560
49561
49562 fi
49563
49564 fi
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49566 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49567
49568 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49569 for ac_func in _finitef
49570 do :
49571 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49572 if test "x$ac_cv_func__finitef" = x""yes; then :
49573 cat >>confdefs.h <<_ACEOF
49574 #define HAVE__FINITEF 1
49575 _ACEOF
49576
49577 fi
49578 done
49579
49580 fi
49581 fi
49582
49583
49584
49585
49586
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49588 $as_echo_n "checking for long double trig functions... " >&6; }
49589 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49590 $as_echo_n "(cached) " >&6
49591 else
49592
49593
49594 ac_ext=cpp
49595 ac_cpp='$CXXCPP $CPPFLAGS'
49596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49599
49600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49601 /* end confdefs.h. */
49602 #include <math.h>
49603 int
49604 main ()
49605 {
49606 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49607 ;
49608 return 0;
49609 }
49610 _ACEOF
49611 if ac_fn_cxx_try_compile "$LINENO"; then :
49612 glibcxx_cv_func_long_double_trig_use=yes
49613 else
49614 glibcxx_cv_func_long_double_trig_use=no
49615 fi
49616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49617 ac_ext=c
49618 ac_cpp='$CPP $CPPFLAGS'
49619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49622
49623 fi
49624
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49626 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49627 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49628 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49629 do :
49630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49632 eval as_val=\$$as_ac_var
49633 if test "x$as_val" = x""yes; then :
49634 cat >>confdefs.h <<_ACEOF
49635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49636 _ACEOF
49637
49638 fi
49639 done
49640
49641 else
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49643 $as_echo_n "checking for _long double trig functions... " >&6; }
49644 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49645 $as_echo_n "(cached) " >&6
49646 else
49647
49648
49649 ac_ext=cpp
49650 ac_cpp='$CXXCPP $CPPFLAGS'
49651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49654
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 #include <math.h>
49658 int
49659 main ()
49660 {
49661 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49662 ;
49663 return 0;
49664 }
49665 _ACEOF
49666 if ac_fn_cxx_try_compile "$LINENO"; then :
49667 glibcxx_cv_func__long_double_trig_use=yes
49668 else
49669 glibcxx_cv_func__long_double_trig_use=no
49670 fi
49671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49672 ac_ext=c
49673 ac_cpp='$CPP $CPPFLAGS'
49674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49677
49678 fi
49679
49680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49681 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49682 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49683 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49684 do :
49685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49687 eval as_val=\$$as_ac_var
49688 if test "x$as_val" = x""yes; then :
49689 cat >>confdefs.h <<_ACEOF
49690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49691 _ACEOF
49692
49693 fi
49694 done
49695
49696 fi
49697 fi
49698
49699
49700
49701
49702
49703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49704 $as_echo_n "checking for long double round functions... " >&6; }
49705 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49706 $as_echo_n "(cached) " >&6
49707 else
49708
49709
49710 ac_ext=cpp
49711 ac_cpp='$CXXCPP $CPPFLAGS'
49712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49715
49716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49717 /* end confdefs.h. */
49718 #include <math.h>
49719 int
49720 main ()
49721 {
49722 ceill (0); floorl (0);
49723 ;
49724 return 0;
49725 }
49726 _ACEOF
49727 if ac_fn_cxx_try_compile "$LINENO"; then :
49728 glibcxx_cv_func_long_double_round_use=yes
49729 else
49730 glibcxx_cv_func_long_double_round_use=no
49731 fi
49732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49733 ac_ext=c
49734 ac_cpp='$CPP $CPPFLAGS'
49735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49738
49739 fi
49740
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49742 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49743 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49744 for ac_func in ceill floorl
49745 do :
49746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49748 eval as_val=\$$as_ac_var
49749 if test "x$as_val" = x""yes; then :
49750 cat >>confdefs.h <<_ACEOF
49751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49752 _ACEOF
49753
49754 fi
49755 done
49756
49757 else
49758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49759 $as_echo_n "checking for _long double round functions... " >&6; }
49760 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49761 $as_echo_n "(cached) " >&6
49762 else
49763
49764
49765 ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770
49771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49772 /* end confdefs.h. */
49773 #include <math.h>
49774 int
49775 main ()
49776 {
49777 _ceill (0); _floorl (0);
49778 ;
49779 return 0;
49780 }
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func__long_double_round_use=yes
49784 else
49785 glibcxx_cv_func__long_double_round_use=no
49786 fi
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793
49794 fi
49795
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49797 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49798 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49799 for ac_func in _ceill _floorl
49800 do :
49801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49803 eval as_val=\$$as_ac_var
49804 if test "x$as_val" = x""yes; then :
49805 cat >>confdefs.h <<_ACEOF
49806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49807 _ACEOF
49808
49809 fi
49810 done
49811
49812 fi
49813 fi
49814
49815
49816
49817
49818
49819
49820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49821 $as_echo_n "checking for isnanl declaration... " >&6; }
49822 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49823 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49826
49827
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49833
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49837 #ifdef HAVE_IEEEFP_H
49838 #include <ieeefp.h>
49839 #endif
49840
49841 int
49842 main ()
49843 {
49844 isnanl(0);
49845 ;
49846 return 0;
49847 }
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850 glibcxx_cv_func_isnanl_use=yes
49851 else
49852 glibcxx_cv_func_isnanl_use=no
49853 fi
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860
49861
49862 fi
49863
49864 fi
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49866 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49867
49868 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49869 for ac_func in isnanl
49870 do :
49871 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49872 if test "x$ac_cv_func_isnanl" = x""yes; then :
49873 cat >>confdefs.h <<_ACEOF
49874 #define HAVE_ISNANL 1
49875 _ACEOF
49876
49877 fi
49878 done
49879
49880 else
49881
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49883 $as_echo_n "checking for _isnanl declaration... " >&6; }
49884 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49885 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49888
49889
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49895
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 #ifdef HAVE_IEEEFP_H
49900 #include <ieeefp.h>
49901 #endif
49902
49903 int
49904 main ()
49905 {
49906 _isnanl(0);
49907 ;
49908 return 0;
49909 }
49910 _ACEOF
49911 if ac_fn_cxx_try_compile "$LINENO"; then :
49912 glibcxx_cv_func__isnanl_use=yes
49913 else
49914 glibcxx_cv_func__isnanl_use=no
49915 fi
49916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49917 ac_ext=c
49918 ac_cpp='$CPP $CPPFLAGS'
49919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49922
49923
49924 fi
49925
49926 fi
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49928 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49929
49930 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49931 for ac_func in _isnanl
49932 do :
49933 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49934 if test "x$ac_cv_func__isnanl" = x""yes; then :
49935 cat >>confdefs.h <<_ACEOF
49936 #define HAVE__ISNANL 1
49937 _ACEOF
49938
49939 fi
49940 done
49941
49942 fi
49943 fi
49944
49945
49946
49947
49948
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49950 $as_echo_n "checking for isinfl declaration... " >&6; }
49951 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49952 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49955
49956
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49966 #ifdef HAVE_IEEEFP_H
49967 #include <ieeefp.h>
49968 #endif
49969
49970 int
49971 main ()
49972 {
49973 isinfl(0);
49974 ;
49975 return 0;
49976 }
49977 _ACEOF
49978 if ac_fn_cxx_try_compile "$LINENO"; then :
49979 glibcxx_cv_func_isinfl_use=yes
49980 else
49981 glibcxx_cv_func_isinfl_use=no
49982 fi
49983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49984 ac_ext=c
49985 ac_cpp='$CPP $CPPFLAGS'
49986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49989
49990
49991 fi
49992
49993 fi
49994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49995 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49996
49997 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49998 for ac_func in isinfl
49999 do :
50000 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50001 if test "x$ac_cv_func_isinfl" = x""yes; then :
50002 cat >>confdefs.h <<_ACEOF
50003 #define HAVE_ISINFL 1
50004 _ACEOF
50005
50006 fi
50007 done
50008
50009 else
50010
50011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50012 $as_echo_n "checking for _isinfl declaration... " >&6; }
50013 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50014 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50015 $as_echo_n "(cached) " >&6
50016 else
50017
50018
50019 ac_ext=cpp
50020 ac_cpp='$CXXCPP $CPPFLAGS'
50021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50024
50025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50026 /* end confdefs.h. */
50027 #include <math.h>
50028 #ifdef HAVE_IEEEFP_H
50029 #include <ieeefp.h>
50030 #endif
50031
50032 int
50033 main ()
50034 {
50035 _isinfl(0);
50036 ;
50037 return 0;
50038 }
50039 _ACEOF
50040 if ac_fn_cxx_try_compile "$LINENO"; then :
50041 glibcxx_cv_func__isinfl_use=yes
50042 else
50043 glibcxx_cv_func__isinfl_use=no
50044 fi
50045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50046 ac_ext=c
50047 ac_cpp='$CPP $CPPFLAGS'
50048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50051
50052
50053 fi
50054
50055 fi
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50057 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50058
50059 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50060 for ac_func in _isinfl
50061 do :
50062 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50063 if test "x$ac_cv_func__isinfl" = x""yes; then :
50064 cat >>confdefs.h <<_ACEOF
50065 #define HAVE__ISINFL 1
50066 _ACEOF
50067
50068 fi
50069 done
50070
50071 fi
50072 fi
50073
50074
50075
50076
50077
50078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50079 $as_echo_n "checking for atan2l declaration... " >&6; }
50080 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50081 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50082 $as_echo_n "(cached) " >&6
50083 else
50084
50085
50086 ac_ext=cpp
50087 ac_cpp='$CXXCPP $CPPFLAGS'
50088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50091
50092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50093 /* end confdefs.h. */
50094 #include <math.h>
50095 int
50096 main ()
50097 {
50098 atan2l(0, 0);
50099 ;
50100 return 0;
50101 }
50102 _ACEOF
50103 if ac_fn_cxx_try_compile "$LINENO"; then :
50104 glibcxx_cv_func_atan2l_use=yes
50105 else
50106 glibcxx_cv_func_atan2l_use=no
50107 fi
50108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50109 ac_ext=c
50110 ac_cpp='$CPP $CPPFLAGS'
50111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50114
50115
50116 fi
50117
50118 fi
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50120 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50121
50122 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50123 for ac_func in atan2l
50124 do :
50125 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50126 if test "x$ac_cv_func_atan2l" = x""yes; then :
50127 cat >>confdefs.h <<_ACEOF
50128 #define HAVE_ATAN2L 1
50129 _ACEOF
50130
50131 fi
50132 done
50133
50134 else
50135
50136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50137 $as_echo_n "checking for _atan2l declaration... " >&6; }
50138 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50139 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50140 $as_echo_n "(cached) " >&6
50141 else
50142
50143
50144 ac_ext=cpp
50145 ac_cpp='$CXXCPP $CPPFLAGS'
50146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50149
50150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50151 /* end confdefs.h. */
50152 #include <math.h>
50153 int
50154 main ()
50155 {
50156 _atan2l(0, 0);
50157 ;
50158 return 0;
50159 }
50160 _ACEOF
50161 if ac_fn_cxx_try_compile "$LINENO"; then :
50162 glibcxx_cv_func__atan2l_use=yes
50163 else
50164 glibcxx_cv_func__atan2l_use=no
50165 fi
50166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50167 ac_ext=c
50168 ac_cpp='$CPP $CPPFLAGS'
50169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50172
50173
50174 fi
50175
50176 fi
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50178 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50179
50180 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50181 for ac_func in _atan2l
50182 do :
50183 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50184 if test "x$ac_cv_func__atan2l" = x""yes; then :
50185 cat >>confdefs.h <<_ACEOF
50186 #define HAVE__ATAN2L 1
50187 _ACEOF
50188
50189 fi
50190 done
50191
50192 fi
50193 fi
50194
50195
50196
50197
50198
50199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50200 $as_echo_n "checking for expl declaration... " >&6; }
50201 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50202 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50203 $as_echo_n "(cached) " >&6
50204 else
50205
50206
50207 ac_ext=cpp
50208 ac_cpp='$CXXCPP $CPPFLAGS'
50209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50212
50213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50214 /* end confdefs.h. */
50215 #include <math.h>
50216 #ifdef HAVE_IEEEFP_H
50217 #include <ieeefp.h>
50218 #endif
50219
50220 int
50221 main ()
50222 {
50223 expl(0);
50224 ;
50225 return 0;
50226 }
50227 _ACEOF
50228 if ac_fn_cxx_try_compile "$LINENO"; then :
50229 glibcxx_cv_func_expl_use=yes
50230 else
50231 glibcxx_cv_func_expl_use=no
50232 fi
50233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50234 ac_ext=c
50235 ac_cpp='$CPP $CPPFLAGS'
50236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50239
50240
50241 fi
50242
50243 fi
50244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50245 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50246
50247 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50248 for ac_func in expl
50249 do :
50250 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50251 if test "x$ac_cv_func_expl" = x""yes; then :
50252 cat >>confdefs.h <<_ACEOF
50253 #define HAVE_EXPL 1
50254 _ACEOF
50255
50256 fi
50257 done
50258
50259 else
50260
50261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50262 $as_echo_n "checking for _expl declaration... " >&6; }
50263 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50264 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50265 $as_echo_n "(cached) " >&6
50266 else
50267
50268
50269 ac_ext=cpp
50270 ac_cpp='$CXXCPP $CPPFLAGS'
50271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50274
50275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50276 /* end confdefs.h. */
50277 #include <math.h>
50278 #ifdef HAVE_IEEEFP_H
50279 #include <ieeefp.h>
50280 #endif
50281
50282 int
50283 main ()
50284 {
50285 _expl(0);
50286 ;
50287 return 0;
50288 }
50289 _ACEOF
50290 if ac_fn_cxx_try_compile "$LINENO"; then :
50291 glibcxx_cv_func__expl_use=yes
50292 else
50293 glibcxx_cv_func__expl_use=no
50294 fi
50295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50296 ac_ext=c
50297 ac_cpp='$CPP $CPPFLAGS'
50298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50301
50302
50303 fi
50304
50305 fi
50306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50307 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50308
50309 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50310 for ac_func in _expl
50311 do :
50312 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50313 if test "x$ac_cv_func__expl" = x""yes; then :
50314 cat >>confdefs.h <<_ACEOF
50315 #define HAVE__EXPL 1
50316 _ACEOF
50317
50318 fi
50319 done
50320
50321 fi
50322 fi
50323
50324
50325
50326
50327
50328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50329 $as_echo_n "checking for fabsl declaration... " >&6; }
50330 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50331 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50332 $as_echo_n "(cached) " >&6
50333 else
50334
50335
50336 ac_ext=cpp
50337 ac_cpp='$CXXCPP $CPPFLAGS'
50338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50341
50342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50343 /* end confdefs.h. */
50344 #include <math.h>
50345 #ifdef HAVE_IEEEFP_H
50346 #include <ieeefp.h>
50347 #endif
50348
50349 int
50350 main ()
50351 {
50352 fabsl(0);
50353 ;
50354 return 0;
50355 }
50356 _ACEOF
50357 if ac_fn_cxx_try_compile "$LINENO"; then :
50358 glibcxx_cv_func_fabsl_use=yes
50359 else
50360 glibcxx_cv_func_fabsl_use=no
50361 fi
50362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50363 ac_ext=c
50364 ac_cpp='$CPP $CPPFLAGS'
50365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50368
50369
50370 fi
50371
50372 fi
50373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50374 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50375
50376 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50377 for ac_func in fabsl
50378 do :
50379 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50380 if test "x$ac_cv_func_fabsl" = x""yes; then :
50381 cat >>confdefs.h <<_ACEOF
50382 #define HAVE_FABSL 1
50383 _ACEOF
50384
50385 fi
50386 done
50387
50388 else
50389
50390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50391 $as_echo_n "checking for _fabsl declaration... " >&6; }
50392 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50393 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50394 $as_echo_n "(cached) " >&6
50395 else
50396
50397
50398 ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50403
50404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h. */
50406 #include <math.h>
50407 #ifdef HAVE_IEEEFP_H
50408 #include <ieeefp.h>
50409 #endif
50410
50411 int
50412 main ()
50413 {
50414 _fabsl(0);
50415 ;
50416 return 0;
50417 }
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func__fabsl_use=yes
50421 else
50422 glibcxx_cv_func__fabsl_use=no
50423 fi
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430
50431
50432 fi
50433
50434 fi
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50436 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50437
50438 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50439 for ac_func in _fabsl
50440 do :
50441 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50442 if test "x$ac_cv_func__fabsl" = x""yes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE__FABSL 1
50445 _ACEOF
50446
50447 fi
50448 done
50449
50450 fi
50451 fi
50452
50453
50454
50455
50456
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50458 $as_echo_n "checking for fmodl declaration... " >&6; }
50459 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50460 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50461 $as_echo_n "(cached) " >&6
50462 else
50463
50464
50465 ac_ext=cpp
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50470
50471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50472 /* end confdefs.h. */
50473 #include <math.h>
50474 int
50475 main ()
50476 {
50477 fmodl(0, 0);
50478 ;
50479 return 0;
50480 }
50481 _ACEOF
50482 if ac_fn_cxx_try_compile "$LINENO"; then :
50483 glibcxx_cv_func_fmodl_use=yes
50484 else
50485 glibcxx_cv_func_fmodl_use=no
50486 fi
50487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50488 ac_ext=c
50489 ac_cpp='$CPP $CPPFLAGS'
50490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50493
50494
50495 fi
50496
50497 fi
50498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50499 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50500
50501 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50502 for ac_func in fmodl
50503 do :
50504 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50505 if test "x$ac_cv_func_fmodl" = x""yes; then :
50506 cat >>confdefs.h <<_ACEOF
50507 #define HAVE_FMODL 1
50508 _ACEOF
50509
50510 fi
50511 done
50512
50513 else
50514
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50516 $as_echo_n "checking for _fmodl declaration... " >&6; }
50517 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50518 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50519 $as_echo_n "(cached) " >&6
50520 else
50521
50522
50523 ac_ext=cpp
50524 ac_cpp='$CXXCPP $CPPFLAGS'
50525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50528
50529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50530 /* end confdefs.h. */
50531 #include <math.h>
50532 int
50533 main ()
50534 {
50535 _fmodl(0, 0);
50536 ;
50537 return 0;
50538 }
50539 _ACEOF
50540 if ac_fn_cxx_try_compile "$LINENO"; then :
50541 glibcxx_cv_func__fmodl_use=yes
50542 else
50543 glibcxx_cv_func__fmodl_use=no
50544 fi
50545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50546 ac_ext=c
50547 ac_cpp='$CPP $CPPFLAGS'
50548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50551
50552
50553 fi
50554
50555 fi
50556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50557 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50558
50559 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50560 for ac_func in _fmodl
50561 do :
50562 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50563 if test "x$ac_cv_func__fmodl" = x""yes; then :
50564 cat >>confdefs.h <<_ACEOF
50565 #define HAVE__FMODL 1
50566 _ACEOF
50567
50568 fi
50569 done
50570
50571 fi
50572 fi
50573
50574
50575
50576
50577
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50579 $as_echo_n "checking for frexpl declaration... " >&6; }
50580 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50581 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50582 $as_echo_n "(cached) " >&6
50583 else
50584
50585
50586 ac_ext=cpp
50587 ac_cpp='$CXXCPP $CPPFLAGS'
50588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50591
50592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50593 /* end confdefs.h. */
50594 #include <math.h>
50595 int
50596 main ()
50597 {
50598 frexpl(0, 0);
50599 ;
50600 return 0;
50601 }
50602 _ACEOF
50603 if ac_fn_cxx_try_compile "$LINENO"; then :
50604 glibcxx_cv_func_frexpl_use=yes
50605 else
50606 glibcxx_cv_func_frexpl_use=no
50607 fi
50608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50609 ac_ext=c
50610 ac_cpp='$CPP $CPPFLAGS'
50611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50614
50615
50616 fi
50617
50618 fi
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50620 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50621
50622 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50623 for ac_func in frexpl
50624 do :
50625 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50626 if test "x$ac_cv_func_frexpl" = x""yes; then :
50627 cat >>confdefs.h <<_ACEOF
50628 #define HAVE_FREXPL 1
50629 _ACEOF
50630
50631 fi
50632 done
50633
50634 else
50635
50636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50637 $as_echo_n "checking for _frexpl declaration... " >&6; }
50638 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50639 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50640 $as_echo_n "(cached) " >&6
50641 else
50642
50643
50644 ac_ext=cpp
50645 ac_cpp='$CXXCPP $CPPFLAGS'
50646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50649
50650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50651 /* end confdefs.h. */
50652 #include <math.h>
50653 int
50654 main ()
50655 {
50656 _frexpl(0, 0);
50657 ;
50658 return 0;
50659 }
50660 _ACEOF
50661 if ac_fn_cxx_try_compile "$LINENO"; then :
50662 glibcxx_cv_func__frexpl_use=yes
50663 else
50664 glibcxx_cv_func__frexpl_use=no
50665 fi
50666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50667 ac_ext=c
50668 ac_cpp='$CPP $CPPFLAGS'
50669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50672
50673
50674 fi
50675
50676 fi
50677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50678 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50679
50680 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50681 for ac_func in _frexpl
50682 do :
50683 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50684 if test "x$ac_cv_func__frexpl" = x""yes; then :
50685 cat >>confdefs.h <<_ACEOF
50686 #define HAVE__FREXPL 1
50687 _ACEOF
50688
50689 fi
50690 done
50691
50692 fi
50693 fi
50694
50695
50696
50697
50698
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50700 $as_echo_n "checking for hypotl declaration... " >&6; }
50701 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50702 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50703 $as_echo_n "(cached) " >&6
50704 else
50705
50706
50707 ac_ext=cpp
50708 ac_cpp='$CXXCPP $CPPFLAGS'
50709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50712
50713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50714 /* end confdefs.h. */
50715 #include <math.h>
50716 int
50717 main ()
50718 {
50719 hypotl(0, 0);
50720 ;
50721 return 0;
50722 }
50723 _ACEOF
50724 if ac_fn_cxx_try_compile "$LINENO"; then :
50725 glibcxx_cv_func_hypotl_use=yes
50726 else
50727 glibcxx_cv_func_hypotl_use=no
50728 fi
50729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50730 ac_ext=c
50731 ac_cpp='$CPP $CPPFLAGS'
50732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50735
50736
50737 fi
50738
50739 fi
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50741 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50742
50743 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50744 for ac_func in hypotl
50745 do :
50746 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50747 if test "x$ac_cv_func_hypotl" = x""yes; then :
50748 cat >>confdefs.h <<_ACEOF
50749 #define HAVE_HYPOTL 1
50750 _ACEOF
50751
50752 fi
50753 done
50754
50755 else
50756
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50758 $as_echo_n "checking for _hypotl declaration... " >&6; }
50759 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50760 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50761 $as_echo_n "(cached) " >&6
50762 else
50763
50764
50765 ac_ext=cpp
50766 ac_cpp='$CXXCPP $CPPFLAGS'
50767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50770
50771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50772 /* end confdefs.h. */
50773 #include <math.h>
50774 int
50775 main ()
50776 {
50777 _hypotl(0, 0);
50778 ;
50779 return 0;
50780 }
50781 _ACEOF
50782 if ac_fn_cxx_try_compile "$LINENO"; then :
50783 glibcxx_cv_func__hypotl_use=yes
50784 else
50785 glibcxx_cv_func__hypotl_use=no
50786 fi
50787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50788 ac_ext=c
50789 ac_cpp='$CPP $CPPFLAGS'
50790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50793
50794
50795 fi
50796
50797 fi
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50799 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50800
50801 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50802 for ac_func in _hypotl
50803 do :
50804 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50805 if test "x$ac_cv_func__hypotl" = x""yes; then :
50806 cat >>confdefs.h <<_ACEOF
50807 #define HAVE__HYPOTL 1
50808 _ACEOF
50809
50810 fi
50811 done
50812
50813 fi
50814 fi
50815
50816
50817
50818
50819
50820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50821 $as_echo_n "checking for ldexpl declaration... " >&6; }
50822 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50823 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50824 $as_echo_n "(cached) " >&6
50825 else
50826
50827
50828 ac_ext=cpp
50829 ac_cpp='$CXXCPP $CPPFLAGS'
50830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50833
50834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50835 /* end confdefs.h. */
50836 #include <math.h>
50837 int
50838 main ()
50839 {
50840 ldexpl(0, 0);
50841 ;
50842 return 0;
50843 }
50844 _ACEOF
50845 if ac_fn_cxx_try_compile "$LINENO"; then :
50846 glibcxx_cv_func_ldexpl_use=yes
50847 else
50848 glibcxx_cv_func_ldexpl_use=no
50849 fi
50850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50851 ac_ext=c
50852 ac_cpp='$CPP $CPPFLAGS'
50853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50856
50857
50858 fi
50859
50860 fi
50861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50862 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50863
50864 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50865 for ac_func in ldexpl
50866 do :
50867 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50868 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50869 cat >>confdefs.h <<_ACEOF
50870 #define HAVE_LDEXPL 1
50871 _ACEOF
50872
50873 fi
50874 done
50875
50876 else
50877
50878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50879 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50880 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50881 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50882 $as_echo_n "(cached) " >&6
50883 else
50884
50885
50886 ac_ext=cpp
50887 ac_cpp='$CXXCPP $CPPFLAGS'
50888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50891
50892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50893 /* end confdefs.h. */
50894 #include <math.h>
50895 int
50896 main ()
50897 {
50898 _ldexpl(0, 0);
50899 ;
50900 return 0;
50901 }
50902 _ACEOF
50903 if ac_fn_cxx_try_compile "$LINENO"; then :
50904 glibcxx_cv_func__ldexpl_use=yes
50905 else
50906 glibcxx_cv_func__ldexpl_use=no
50907 fi
50908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50909 ac_ext=c
50910 ac_cpp='$CPP $CPPFLAGS'
50911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50914
50915
50916 fi
50917
50918 fi
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50920 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50921
50922 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50923 for ac_func in _ldexpl
50924 do :
50925 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50926 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50927 cat >>confdefs.h <<_ACEOF
50928 #define HAVE__LDEXPL 1
50929 _ACEOF
50930
50931 fi
50932 done
50933
50934 fi
50935 fi
50936
50937
50938
50939
50940
50941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50942 $as_echo_n "checking for logl declaration... " >&6; }
50943 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50944 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50945 $as_echo_n "(cached) " >&6
50946 else
50947
50948
50949 ac_ext=cpp
50950 ac_cpp='$CXXCPP $CPPFLAGS'
50951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50954
50955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50956 /* end confdefs.h. */
50957 #include <math.h>
50958 #ifdef HAVE_IEEEFP_H
50959 #include <ieeefp.h>
50960 #endif
50961
50962 int
50963 main ()
50964 {
50965 logl(0);
50966 ;
50967 return 0;
50968 }
50969 _ACEOF
50970 if ac_fn_cxx_try_compile "$LINENO"; then :
50971 glibcxx_cv_func_logl_use=yes
50972 else
50973 glibcxx_cv_func_logl_use=no
50974 fi
50975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50976 ac_ext=c
50977 ac_cpp='$CPP $CPPFLAGS'
50978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50981
50982
50983 fi
50984
50985 fi
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50987 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50988
50989 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50990 for ac_func in logl
50991 do :
50992 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50993 if test "x$ac_cv_func_logl" = x""yes; then :
50994 cat >>confdefs.h <<_ACEOF
50995 #define HAVE_LOGL 1
50996 _ACEOF
50997
50998 fi
50999 done
51000
51001 else
51002
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51004 $as_echo_n "checking for _logl declaration... " >&6; }
51005 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51006 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51007 $as_echo_n "(cached) " >&6
51008 else
51009
51010
51011 ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51016
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51019 #include <math.h>
51020 #ifdef HAVE_IEEEFP_H
51021 #include <ieeefp.h>
51022 #endif
51023
51024 int
51025 main ()
51026 {
51027 _logl(0);
51028 ;
51029 return 0;
51030 }
51031 _ACEOF
51032 if ac_fn_cxx_try_compile "$LINENO"; then :
51033 glibcxx_cv_func__logl_use=yes
51034 else
51035 glibcxx_cv_func__logl_use=no
51036 fi
51037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51038 ac_ext=c
51039 ac_cpp='$CPP $CPPFLAGS'
51040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51043
51044
51045 fi
51046
51047 fi
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51049 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51050
51051 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51052 for ac_func in _logl
51053 do :
51054 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51055 if test "x$ac_cv_func__logl" = x""yes; then :
51056 cat >>confdefs.h <<_ACEOF
51057 #define HAVE__LOGL 1
51058 _ACEOF
51059
51060 fi
51061 done
51062
51063 fi
51064 fi
51065
51066
51067
51068
51069
51070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51071 $as_echo_n "checking for log10l declaration... " >&6; }
51072 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51073 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51076
51077
51078 ac_ext=cpp
51079 ac_cpp='$CXXCPP $CPPFLAGS'
51080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51083
51084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51085 /* end confdefs.h. */
51086 #include <math.h>
51087 #ifdef HAVE_IEEEFP_H
51088 #include <ieeefp.h>
51089 #endif
51090
51091 int
51092 main ()
51093 {
51094 log10l(0);
51095 ;
51096 return 0;
51097 }
51098 _ACEOF
51099 if ac_fn_cxx_try_compile "$LINENO"; then :
51100 glibcxx_cv_func_log10l_use=yes
51101 else
51102 glibcxx_cv_func_log10l_use=no
51103 fi
51104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51105 ac_ext=c
51106 ac_cpp='$CPP $CPPFLAGS'
51107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51110
51111
51112 fi
51113
51114 fi
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51116 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51117
51118 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51119 for ac_func in log10l
51120 do :
51121 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51122 if test "x$ac_cv_func_log10l" = x""yes; then :
51123 cat >>confdefs.h <<_ACEOF
51124 #define HAVE_LOG10L 1
51125 _ACEOF
51126
51127 fi
51128 done
51129
51130 else
51131
51132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51133 $as_echo_n "checking for _log10l declaration... " >&6; }
51134 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51135 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51136 $as_echo_n "(cached) " >&6
51137 else
51138
51139
51140 ac_ext=cpp
51141 ac_cpp='$CXXCPP $CPPFLAGS'
51142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51145
51146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51147 /* end confdefs.h. */
51148 #include <math.h>
51149 #ifdef HAVE_IEEEFP_H
51150 #include <ieeefp.h>
51151 #endif
51152
51153 int
51154 main ()
51155 {
51156 _log10l(0);
51157 ;
51158 return 0;
51159 }
51160 _ACEOF
51161 if ac_fn_cxx_try_compile "$LINENO"; then :
51162 glibcxx_cv_func__log10l_use=yes
51163 else
51164 glibcxx_cv_func__log10l_use=no
51165 fi
51166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51167 ac_ext=c
51168 ac_cpp='$CPP $CPPFLAGS'
51169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51172
51173
51174 fi
51175
51176 fi
51177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51178 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51179
51180 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51181 for ac_func in _log10l
51182 do :
51183 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51184 if test "x$ac_cv_func__log10l" = x""yes; then :
51185 cat >>confdefs.h <<_ACEOF
51186 #define HAVE__LOG10L 1
51187 _ACEOF
51188
51189 fi
51190 done
51191
51192 fi
51193 fi
51194
51195
51196
51197
51198
51199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51200 $as_echo_n "checking for modfl declaration... " >&6; }
51201 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51202 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51203 $as_echo_n "(cached) " >&6
51204 else
51205
51206
51207 ac_ext=cpp
51208 ac_cpp='$CXXCPP $CPPFLAGS'
51209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51212
51213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51214 /* end confdefs.h. */
51215 #include <math.h>
51216 int
51217 main ()
51218 {
51219 modfl(0, 0);
51220 ;
51221 return 0;
51222 }
51223 _ACEOF
51224 if ac_fn_cxx_try_compile "$LINENO"; then :
51225 glibcxx_cv_func_modfl_use=yes
51226 else
51227 glibcxx_cv_func_modfl_use=no
51228 fi
51229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51230 ac_ext=c
51231 ac_cpp='$CPP $CPPFLAGS'
51232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51235
51236
51237 fi
51238
51239 fi
51240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51241 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51242
51243 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51244 for ac_func in modfl
51245 do :
51246 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51247 if test "x$ac_cv_func_modfl" = x""yes; then :
51248 cat >>confdefs.h <<_ACEOF
51249 #define HAVE_MODFL 1
51250 _ACEOF
51251
51252 fi
51253 done
51254
51255 else
51256
51257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51258 $as_echo_n "checking for _modfl declaration... " >&6; }
51259 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51260 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51261 $as_echo_n "(cached) " >&6
51262 else
51263
51264
51265 ac_ext=cpp
51266 ac_cpp='$CXXCPP $CPPFLAGS'
51267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51270
51271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51272 /* end confdefs.h. */
51273 #include <math.h>
51274 int
51275 main ()
51276 {
51277 _modfl(0, 0);
51278 ;
51279 return 0;
51280 }
51281 _ACEOF
51282 if ac_fn_cxx_try_compile "$LINENO"; then :
51283 glibcxx_cv_func__modfl_use=yes
51284 else
51285 glibcxx_cv_func__modfl_use=no
51286 fi
51287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51288 ac_ext=c
51289 ac_cpp='$CPP $CPPFLAGS'
51290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51293
51294
51295 fi
51296
51297 fi
51298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51299 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51300
51301 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51302 for ac_func in _modfl
51303 do :
51304 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51305 if test "x$ac_cv_func__modfl" = x""yes; then :
51306 cat >>confdefs.h <<_ACEOF
51307 #define HAVE__MODFL 1
51308 _ACEOF
51309
51310 fi
51311 done
51312
51313 fi
51314 fi
51315
51316
51317
51318
51319
51320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51321 $as_echo_n "checking for powl declaration... " >&6; }
51322 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51323 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51324 $as_echo_n "(cached) " >&6
51325 else
51326
51327
51328 ac_ext=cpp
51329 ac_cpp='$CXXCPP $CPPFLAGS'
51330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51333
51334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51335 /* end confdefs.h. */
51336 #include <math.h>
51337 int
51338 main ()
51339 {
51340 powl(0, 0);
51341 ;
51342 return 0;
51343 }
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346 glibcxx_cv_func_powl_use=yes
51347 else
51348 glibcxx_cv_func_powl_use=no
51349 fi
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356
51357
51358 fi
51359
51360 fi
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51362 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51363
51364 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51365 for ac_func in powl
51366 do :
51367 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51368 if test "x$ac_cv_func_powl" = x""yes; then :
51369 cat >>confdefs.h <<_ACEOF
51370 #define HAVE_POWL 1
51371 _ACEOF
51372
51373 fi
51374 done
51375
51376 else
51377
51378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51379 $as_echo_n "checking for _powl declaration... " >&6; }
51380 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51381 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51382 $as_echo_n "(cached) " >&6
51383 else
51384
51385
51386 ac_ext=cpp
51387 ac_cpp='$CXXCPP $CPPFLAGS'
51388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51391
51392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51393 /* end confdefs.h. */
51394 #include <math.h>
51395 int
51396 main ()
51397 {
51398 _powl(0, 0);
51399 ;
51400 return 0;
51401 }
51402 _ACEOF
51403 if ac_fn_cxx_try_compile "$LINENO"; then :
51404 glibcxx_cv_func__powl_use=yes
51405 else
51406 glibcxx_cv_func__powl_use=no
51407 fi
51408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51409 ac_ext=c
51410 ac_cpp='$CPP $CPPFLAGS'
51411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51414
51415
51416 fi
51417
51418 fi
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51420 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51421
51422 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51423 for ac_func in _powl
51424 do :
51425 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51426 if test "x$ac_cv_func__powl" = x""yes; then :
51427 cat >>confdefs.h <<_ACEOF
51428 #define HAVE__POWL 1
51429 _ACEOF
51430
51431 fi
51432 done
51433
51434 fi
51435 fi
51436
51437
51438
51439
51440
51441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51442 $as_echo_n "checking for sqrtl declaration... " >&6; }
51443 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51444 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51445 $as_echo_n "(cached) " >&6
51446 else
51447
51448
51449 ac_ext=cpp
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51454
51455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51456 /* end confdefs.h. */
51457 #include <math.h>
51458 #ifdef HAVE_IEEEFP_H
51459 #include <ieeefp.h>
51460 #endif
51461
51462 int
51463 main ()
51464 {
51465 sqrtl(0);
51466 ;
51467 return 0;
51468 }
51469 _ACEOF
51470 if ac_fn_cxx_try_compile "$LINENO"; then :
51471 glibcxx_cv_func_sqrtl_use=yes
51472 else
51473 glibcxx_cv_func_sqrtl_use=no
51474 fi
51475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51476 ac_ext=c
51477 ac_cpp='$CPP $CPPFLAGS'
51478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481
51482
51483 fi
51484
51485 fi
51486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51487 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51488
51489 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51490 for ac_func in sqrtl
51491 do :
51492 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51493 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51494 cat >>confdefs.h <<_ACEOF
51495 #define HAVE_SQRTL 1
51496 _ACEOF
51497
51498 fi
51499 done
51500
51501 else
51502
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51504 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51505 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51506 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51507 $as_echo_n "(cached) " >&6
51508 else
51509
51510
51511 ac_ext=cpp
51512 ac_cpp='$CXXCPP $CPPFLAGS'
51513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51516
51517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51518 /* end confdefs.h. */
51519 #include <math.h>
51520 #ifdef HAVE_IEEEFP_H
51521 #include <ieeefp.h>
51522 #endif
51523
51524 int
51525 main ()
51526 {
51527 _sqrtl(0);
51528 ;
51529 return 0;
51530 }
51531 _ACEOF
51532 if ac_fn_cxx_try_compile "$LINENO"; then :
51533 glibcxx_cv_func__sqrtl_use=yes
51534 else
51535 glibcxx_cv_func__sqrtl_use=no
51536 fi
51537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51538 ac_ext=c
51539 ac_cpp='$CPP $CPPFLAGS'
51540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51543
51544
51545 fi
51546
51547 fi
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51549 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51550
51551 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51552 for ac_func in _sqrtl
51553 do :
51554 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51555 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51556 cat >>confdefs.h <<_ACEOF
51557 #define HAVE__SQRTL 1
51558 _ACEOF
51559
51560 fi
51561 done
51562
51563 fi
51564 fi
51565
51566
51567
51568
51569
51570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51571 $as_echo_n "checking for sincosl declaration... " >&6; }
51572 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51573 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51574 $as_echo_n "(cached) " >&6
51575 else
51576
51577
51578 ac_ext=cpp
51579 ac_cpp='$CXXCPP $CPPFLAGS'
51580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51583
51584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51585 /* end confdefs.h. */
51586 #include <math.h>
51587 int
51588 main ()
51589 {
51590 sincosl(0, 0, 0);
51591 ;
51592 return 0;
51593 }
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func_sincosl_use=yes
51597 else
51598 glibcxx_cv_func_sincosl_use=no
51599 fi
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51606
51607
51608 fi
51609
51610 fi
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51612 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51613
51614 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51615 for ac_func in sincosl
51616 do :
51617 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51618 if test "x$ac_cv_func_sincosl" = x""yes; then :
51619 cat >>confdefs.h <<_ACEOF
51620 #define HAVE_SINCOSL 1
51621 _ACEOF
51622
51623 fi
51624 done
51625
51626 else
51627
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51629 $as_echo_n "checking for _sincosl declaration... " >&6; }
51630 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51631 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51632 $as_echo_n "(cached) " >&6
51633 else
51634
51635
51636 ac_ext=cpp
51637 ac_cpp='$CXXCPP $CPPFLAGS'
51638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51641
51642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51643 /* end confdefs.h. */
51644 #include <math.h>
51645 int
51646 main ()
51647 {
51648 _sincosl(0, 0, 0);
51649 ;
51650 return 0;
51651 }
51652 _ACEOF
51653 if ac_fn_cxx_try_compile "$LINENO"; then :
51654 glibcxx_cv_func__sincosl_use=yes
51655 else
51656 glibcxx_cv_func__sincosl_use=no
51657 fi
51658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51659 ac_ext=c
51660 ac_cpp='$CPP $CPPFLAGS'
51661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51664
51665
51666 fi
51667
51668 fi
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51670 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51671
51672 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51673 for ac_func in _sincosl
51674 do :
51675 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51676 if test "x$ac_cv_func__sincosl" = x""yes; then :
51677 cat >>confdefs.h <<_ACEOF
51678 #define HAVE__SINCOSL 1
51679 _ACEOF
51680
51681 fi
51682 done
51683
51684 fi
51685 fi
51686
51687
51688
51689
51690
51691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51692 $as_echo_n "checking for finitel declaration... " >&6; }
51693 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51694 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51695 $as_echo_n "(cached) " >&6
51696 else
51697
51698
51699 ac_ext=cpp
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51704
51705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51706 /* end confdefs.h. */
51707 #include <math.h>
51708 #ifdef HAVE_IEEEFP_H
51709 #include <ieeefp.h>
51710 #endif
51711
51712 int
51713 main ()
51714 {
51715 finitel(0);
51716 ;
51717 return 0;
51718 }
51719 _ACEOF
51720 if ac_fn_cxx_try_compile "$LINENO"; then :
51721 glibcxx_cv_func_finitel_use=yes
51722 else
51723 glibcxx_cv_func_finitel_use=no
51724 fi
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726 ac_ext=c
51727 ac_cpp='$CPP $CPPFLAGS'
51728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51731
51732
51733 fi
51734
51735 fi
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51737 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51738
51739 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51740 for ac_func in finitel
51741 do :
51742 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51743 if test "x$ac_cv_func_finitel" = x""yes; then :
51744 cat >>confdefs.h <<_ACEOF
51745 #define HAVE_FINITEL 1
51746 _ACEOF
51747
51748 fi
51749 done
51750
51751 else
51752
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51754 $as_echo_n "checking for _finitel declaration... " >&6; }
51755 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51756 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51757 $as_echo_n "(cached) " >&6
51758 else
51759
51760
51761 ac_ext=cpp
51762 ac_cpp='$CXXCPP $CPPFLAGS'
51763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51766
51767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51768 /* end confdefs.h. */
51769 #include <math.h>
51770 #ifdef HAVE_IEEEFP_H
51771 #include <ieeefp.h>
51772 #endif
51773
51774 int
51775 main ()
51776 {
51777 _finitel(0);
51778 ;
51779 return 0;
51780 }
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func__finitel_use=yes
51784 else
51785 glibcxx_cv_func__finitel_use=no
51786 fi
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51793
51794
51795 fi
51796
51797 fi
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51799 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51800
51801 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51802 for ac_func in _finitel
51803 do :
51804 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51805 if test "x$ac_cv_func__finitel" = x""yes; then :
51806 cat >>confdefs.h <<_ACEOF
51807 #define HAVE__FINITEL 1
51808 _ACEOF
51809
51810 fi
51811 done
51812
51813 fi
51814 fi
51815
51816
51817
51818
51819 LIBS="$ac_save_LIBS"
51820 CXXFLAGS="$ac_save_CXXFLAGS"
51821
51822
51823 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51824 ac_save_CXXFLAGS="$CXXFLAGS"
51825 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51826
51827
51828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51829 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51830 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51831 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51832 $as_echo_n "(cached) " >&6
51833 else
51834
51835
51836 ac_ext=cpp
51837 ac_cpp='$CXXCPP $CPPFLAGS'
51838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841
51842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51843 /* end confdefs.h. */
51844 #include <stdlib.h>
51845 int
51846 main ()
51847 {
51848 at_quick_exit(0);
51849 ;
51850 return 0;
51851 }
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854 glibcxx_cv_func_at_quick_exit_use=yes
51855 else
51856 glibcxx_cv_func_at_quick_exit_use=no
51857 fi
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859 ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51864
51865
51866 fi
51867
51868 fi
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51870 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51871 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51872 for ac_func in at_quick_exit
51873 do :
51874 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51875 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_AT_QUICK_EXIT 1
51878 _ACEOF
51879
51880 fi
51881 done
51882
51883 fi
51884
51885
51886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51887 $as_echo_n "checking for quick_exit declaration... " >&6; }
51888 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51889 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51890 $as_echo_n "(cached) " >&6
51891 else
51892
51893
51894 ac_ext=cpp
51895 ac_cpp='$CXXCPP $CPPFLAGS'
51896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51899
51900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51901 /* end confdefs.h. */
51902 #include <stdlib.h>
51903 int
51904 main ()
51905 {
51906 quick_exit(0);
51907 ;
51908 return 0;
51909 }
51910 _ACEOF
51911 if ac_fn_cxx_try_compile "$LINENO"; then :
51912 glibcxx_cv_func_quick_exit_use=yes
51913 else
51914 glibcxx_cv_func_quick_exit_use=no
51915 fi
51916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51917 ac_ext=c
51918 ac_cpp='$CPP $CPPFLAGS'
51919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51922
51923
51924 fi
51925
51926 fi
51927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51928 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51929 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51930 for ac_func in quick_exit
51931 do :
51932 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51933 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE_QUICK_EXIT 1
51936 _ACEOF
51937
51938 fi
51939 done
51940
51941 fi
51942
51943
51944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51945 $as_echo_n "checking for strtold declaration... " >&6; }
51946 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51947 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51948 $as_echo_n "(cached) " >&6
51949 else
51950
51951
51952 ac_ext=cpp
51953 ac_cpp='$CXXCPP $CPPFLAGS'
51954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51957
51958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51959 /* end confdefs.h. */
51960 #include <stdlib.h>
51961 int
51962 main ()
51963 {
51964 strtold(0, 0);
51965 ;
51966 return 0;
51967 }
51968 _ACEOF
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970 glibcxx_cv_func_strtold_use=yes
51971 else
51972 glibcxx_cv_func_strtold_use=no
51973 fi
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51975 ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51980
51981
51982 fi
51983
51984 fi
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51986 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51987 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51988 for ac_func in strtold
51989 do :
51990 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51991 if test "x$ac_cv_func_strtold" = x""yes; then :
51992 cat >>confdefs.h <<_ACEOF
51993 #define HAVE_STRTOLD 1
51994 _ACEOF
51995
51996 fi
51997 done
51998
51999 fi
52000
52001
52002
52003
52004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52005 $as_echo_n "checking for strtof declaration... " >&6; }
52006 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52007 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52008 $as_echo_n "(cached) " >&6
52009 else
52010
52011
52012 ac_ext=cpp
52013 ac_cpp='$CXXCPP $CPPFLAGS'
52014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52017
52018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52019 /* end confdefs.h. */
52020 #include <stdlib.h>
52021 int
52022 main ()
52023 {
52024 strtof(0, 0);
52025 ;
52026 return 0;
52027 }
52028 _ACEOF
52029 if ac_fn_cxx_try_compile "$LINENO"; then :
52030 glibcxx_cv_func_strtof_use=yes
52031 else
52032 glibcxx_cv_func_strtof_use=no
52033 fi
52034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52035 ac_ext=c
52036 ac_cpp='$CPP $CPPFLAGS'
52037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52040
52041
52042 fi
52043
52044 fi
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52046 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52047 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52048 for ac_func in strtof
52049 do :
52050 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52051 if test "x$ac_cv_func_strtof" = x""yes; then :
52052 cat >>confdefs.h <<_ACEOF
52053 #define HAVE_STRTOF 1
52054 _ACEOF
52055
52056 fi
52057 done
52058
52059 fi
52060
52061
52062
52063
52064 CXXFLAGS="$ac_save_CXXFLAGS"
52065
52066 ;;
52067
52068 *djgpp)
52069 # GLIBCXX_CHECK_MATH_SUPPORT
52070 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52071
52072 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52073
52074 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52075
52076 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52077
52078 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52079
52080 ;;
52081
52082 *-freebsd*)
52083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52084
52085
52086 # If we're not using GNU ld, then there's no point in even trying these
52087 # tests. Check for that first. We should have already tested for gld
52088 # by now (in libtool), but require it now just to be safe...
52089 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52090 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52091
52092
52093
52094 # The name set by libtool depends on the version of libtool. Shame on us
52095 # for depending on an impl detail, but c'est la vie. Older versions used
52096 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52097 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52098 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52099 # set (hence we're using an older libtool), then set it.
52100 if test x${with_gnu_ld+set} != xset; then
52101 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52102 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52103 with_gnu_ld=no
52104 else
52105 with_gnu_ld=$ac_cv_prog_gnu_ld
52106 fi
52107 fi
52108
52109 # Start by getting the version number. I think the libtool test already
52110 # does some of this, but throws away the result.
52111 glibcxx_ld_is_gold=no
52112 if test x"$with_gnu_ld" = x"yes"; then
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52114 $as_echo_n "checking for ld version... " >&6; }
52115
52116 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52117 glibcxx_ld_is_gold=yes
52118 fi
52119 ldver=`$LD --version 2>/dev/null |
52120 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'`
52121
52122 glibcxx_gnu_ld_version=`echo $ldver | \
52123 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52125 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52126 fi
52127
52128 # Set --gc-sections.
52129 glibcxx_have_gc_sections=no
52130 if test "$glibcxx_ld_is_gold" = "yes"; then
52131 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52132 glibcxx_have_gc_sections=yes
52133 fi
52134 else
52135 glibcxx_gcsections_min_ld=21602
52136 if test x"$with_gnu_ld" = x"yes" &&
52137 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52138 glibcxx_have_gc_sections=yes
52139 fi
52140 fi
52141 if test "$glibcxx_have_gc_sections" = "yes"; then
52142 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52143 # NB: This flag only works reliably after 2.16.1. Configure tests
52144 # for this are difficult, so hard wire a value that should work.
52145
52146 ac_test_CFLAGS="${CFLAGS+set}"
52147 ac_save_CFLAGS="$CFLAGS"
52148 CFLAGS='-Wl,--gc-sections'
52149
52150 # Check for -Wl,--gc-sections
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52152 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52153 if test x$gcc_no_link = xyes; then
52154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52155 fi
52156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52157 /* end confdefs.h. */
52158 int one(void) { return 1; }
52159 int two(void) { return 2; }
52160
52161 int
52162 main ()
52163 {
52164 two();
52165 ;
52166 return 0;
52167 }
52168 _ACEOF
52169 if ac_fn_c_try_link "$LINENO"; then :
52170 ac_gcsections=yes
52171 else
52172 ac_gcsections=no
52173 fi
52174 rm -f core conftest.err conftest.$ac_objext \
52175 conftest$ac_exeext conftest.$ac_ext
52176 if test "$ac_gcsections" = "yes"; then
52177 rm -f conftest.c
52178 touch conftest.c
52179 if $CC -c conftest.c; then
52180 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52181 grep "Warning: gc-sections option ignored" > /dev/null; then
52182 ac_gcsections=no
52183 fi
52184 fi
52185 rm -f conftest.c conftest.o conftest
52186 fi
52187 if test "$ac_gcsections" = "yes"; then
52188 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52189 fi
52190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52191 $as_echo "$ac_gcsections" >&6; }
52192
52193 if test "$ac_test_CFLAGS" = set; then
52194 CFLAGS="$ac_save_CFLAGS"
52195 else
52196 # this is the suspicious part
52197 CFLAGS=''
52198 fi
52199 fi
52200
52201 # Set -z,relro.
52202 # Note this is only for shared objects.
52203 ac_ld_relro=no
52204 if test x"$with_gnu_ld" = x"yes"; then
52205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52206 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52207 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52208 if test -n "$cxx_z_relo"; then
52209 OPT_LDFLAGS="-Wl,-z,relro"
52210 ac_ld_relro=yes
52211 fi
52212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52213 $as_echo "$ac_ld_relro" >&6; }
52214 fi
52215
52216 # Set linker optimization flags.
52217 if test x"$with_gnu_ld" = x"yes"; then
52218 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52219 fi
52220
52221
52222
52223
52224 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52225
52226 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52227
52228 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52229
52230 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52231
52232 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52233
52234 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52235
52236 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52237
52238 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52239
52240 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52241
52242
52243 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52244
52245 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52246
52247 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52248
52249 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52250
52251 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52252
52253 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52254
52255 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52256
52257 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52258
52259 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52260
52261 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52262
52263 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52264
52265 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52266
52267 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52268
52269 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52270
52271 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52272
52273 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52274
52275 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52276
52277 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52278
52279 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52280
52281 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52282
52283 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52284
52285 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52286
52287 if test x"long_double_math_on_this_cpu" = x"yes"; then
52288 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52289
52290 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52291
52292 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52293
52294 fi
52295 ;;
52296 *-hpux*)
52297 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52298
52299
52300 # If we're not using GNU ld, then there's no point in even trying these
52301 # tests. Check for that first. We should have already tested for gld
52302 # by now (in libtool), but require it now just to be safe...
52303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52305
52306
52307
52308 # The name set by libtool depends on the version of libtool. Shame on us
52309 # for depending on an impl detail, but c'est la vie. Older versions used
52310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52313 # set (hence we're using an older libtool), then set it.
52314 if test x${with_gnu_ld+set} != xset; then
52315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52317 with_gnu_ld=no
52318 else
52319 with_gnu_ld=$ac_cv_prog_gnu_ld
52320 fi
52321 fi
52322
52323 # Start by getting the version number. I think the libtool test already
52324 # does some of this, but throws away the result.
52325 glibcxx_ld_is_gold=no
52326 if test x"$with_gnu_ld" = x"yes"; then
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52328 $as_echo_n "checking for ld version... " >&6; }
52329
52330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52331 glibcxx_ld_is_gold=yes
52332 fi
52333 ldver=`$LD --version 2>/dev/null |
52334 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'`
52335
52336 glibcxx_gnu_ld_version=`echo $ldver | \
52337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52340 fi
52341
52342 # Set --gc-sections.
52343 glibcxx_have_gc_sections=no
52344 if test "$glibcxx_ld_is_gold" = "yes"; then
52345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52346 glibcxx_have_gc_sections=yes
52347 fi
52348 else
52349 glibcxx_gcsections_min_ld=21602
52350 if test x"$with_gnu_ld" = x"yes" &&
52351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52352 glibcxx_have_gc_sections=yes
52353 fi
52354 fi
52355 if test "$glibcxx_have_gc_sections" = "yes"; then
52356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52357 # NB: This flag only works reliably after 2.16.1. Configure tests
52358 # for this are difficult, so hard wire a value that should work.
52359
52360 ac_test_CFLAGS="${CFLAGS+set}"
52361 ac_save_CFLAGS="$CFLAGS"
52362 CFLAGS='-Wl,--gc-sections'
52363
52364 # Check for -Wl,--gc-sections
52365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52367 if test x$gcc_no_link = xyes; then
52368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52369 fi
52370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52371 /* end confdefs.h. */
52372 int one(void) { return 1; }
52373 int two(void) { return 2; }
52374
52375 int
52376 main ()
52377 {
52378 two();
52379 ;
52380 return 0;
52381 }
52382 _ACEOF
52383 if ac_fn_c_try_link "$LINENO"; then :
52384 ac_gcsections=yes
52385 else
52386 ac_gcsections=no
52387 fi
52388 rm -f core conftest.err conftest.$ac_objext \
52389 conftest$ac_exeext conftest.$ac_ext
52390 if test "$ac_gcsections" = "yes"; then
52391 rm -f conftest.c
52392 touch conftest.c
52393 if $CC -c conftest.c; then
52394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52395 grep "Warning: gc-sections option ignored" > /dev/null; then
52396 ac_gcsections=no
52397 fi
52398 fi
52399 rm -f conftest.c conftest.o conftest
52400 fi
52401 if test "$ac_gcsections" = "yes"; then
52402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52403 fi
52404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52405 $as_echo "$ac_gcsections" >&6; }
52406
52407 if test "$ac_test_CFLAGS" = set; then
52408 CFLAGS="$ac_save_CFLAGS"
52409 else
52410 # this is the suspicious part
52411 CFLAGS=''
52412 fi
52413 fi
52414
52415 # Set -z,relro.
52416 # Note this is only for shared objects.
52417 ac_ld_relro=no
52418 if test x"$with_gnu_ld" = x"yes"; then
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52422 if test -n "$cxx_z_relo"; then
52423 OPT_LDFLAGS="-Wl,-z,relro"
52424 ac_ld_relro=yes
52425 fi
52426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52427 $as_echo "$ac_ld_relro" >&6; }
52428 fi
52429
52430 # Set linker optimization flags.
52431 if test x"$with_gnu_ld" = x"yes"; then
52432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52433 fi
52434
52435
52436
52437
52438
52439 # GLIBCXX_CHECK_MATH_SUPPORT
52440 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52441
52442 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52443
52444 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52445
52446 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52447
52448 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52449
52450 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52451
52452 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52453
52454 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52455
52456 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52457
52458 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52459
52460 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52461
52462 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52463
52464 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52465
52466 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52467
52468 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52469
52470 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52471
52472 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52473
52474 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52475
52476 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52477
52478 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52479
52480 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52481
52482
52483 # GLIBCXX_CHECK_STDLIB_SUPPORT
52484 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52485
52486
52487
52488
52489 # Check whether --enable-tls was given.
52490 if test "${enable_tls+set}" = set; then :
52491 enableval=$enable_tls;
52492 case "$enableval" in
52493 yes|no) ;;
52494 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52495 esac
52496
52497 else
52498 enable_tls=yes
52499 fi
52500
52501
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52503 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52504 if test "${gcc_cv_have_tls+set}" = set; then :
52505 $as_echo_n "(cached) " >&6
52506 else
52507
52508 if test "$cross_compiling" = yes; then :
52509 if test x$gcc_no_link = xyes; then
52510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52511 fi
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 __thread int a; int b; int main() { return a = b; }
52515 _ACEOF
52516 if ac_fn_c_try_link "$LINENO"; then :
52517 chktls_save_LDFLAGS="$LDFLAGS"
52518 case $host in
52519 *-*-linux*)
52520 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52521 ;;
52522 esac
52523 chktls_save_CFLAGS="$CFLAGS"
52524 CFLAGS="-fPIC $CFLAGS"
52525 if test x$gcc_no_link = xyes; then
52526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52527 fi
52528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52529 /* end confdefs.h. */
52530 int f() { return 0; }
52531 _ACEOF
52532 if ac_fn_c_try_link "$LINENO"; then :
52533 if test x$gcc_no_link = xyes; then
52534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52535 fi
52536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52537 /* end confdefs.h. */
52538 __thread int a; int b; int f() { return a = b; }
52539 _ACEOF
52540 if ac_fn_c_try_link "$LINENO"; then :
52541 gcc_cv_have_tls=yes
52542 else
52543 gcc_cv_have_tls=no
52544 fi
52545 rm -f core conftest.err conftest.$ac_objext \
52546 conftest$ac_exeext conftest.$ac_ext
52547 else
52548 gcc_cv_have_tls=yes
52549 fi
52550 rm -f core conftest.err conftest.$ac_objext \
52551 conftest$ac_exeext conftest.$ac_ext
52552 CFLAGS="$chktls_save_CFLAGS"
52553 LDFLAGS="$chktls_save_LDFLAGS"
52554 else
52555 gcc_cv_have_tls=no
52556 fi
52557 rm -f core conftest.err conftest.$ac_objext \
52558 conftest$ac_exeext conftest.$ac_ext
52559
52560
52561 else
52562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52563 /* end confdefs.h. */
52564 __thread int a; int b; int main() { return a = b; }
52565 _ACEOF
52566 if ac_fn_c_try_run "$LINENO"; then :
52567 chktls_save_LDFLAGS="$LDFLAGS"
52568 LDFLAGS="-static $LDFLAGS"
52569 if test x$gcc_no_link = xyes; then
52570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52571 fi
52572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573 /* end confdefs.h. */
52574 int main() { return 0; }
52575 _ACEOF
52576 if ac_fn_c_try_link "$LINENO"; then :
52577 if test "$cross_compiling" = yes; then :
52578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52580 as_fn_error "cannot run test program while cross compiling
52581 See \`config.log' for more details." "$LINENO" 5; }
52582 else
52583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584 /* end confdefs.h. */
52585 __thread int a; int b; int main() { return a = b; }
52586 _ACEOF
52587 if ac_fn_c_try_run "$LINENO"; then :
52588 gcc_cv_have_tls=yes
52589 else
52590 gcc_cv_have_tls=no
52591 fi
52592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52593 conftest.$ac_objext conftest.beam conftest.$ac_ext
52594 fi
52595
52596 else
52597 gcc_cv_have_tls=yes
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext \
52600 conftest$ac_exeext conftest.$ac_ext
52601 LDFLAGS="$chktls_save_LDFLAGS"
52602 if test $gcc_cv_have_tls = yes; then
52603 chktls_save_CFLAGS="$CFLAGS"
52604 thread_CFLAGS=failed
52605 for flag in '' '-pthread' '-lpthread'; do
52606 CFLAGS="$flag $chktls_save_CFLAGS"
52607 if test x$gcc_no_link = xyes; then
52608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52609 fi
52610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52611 /* end confdefs.h. */
52612 #include <pthread.h>
52613 void *g(void *d) { return NULL; }
52614 int
52615 main ()
52616 {
52617 pthread_t t; pthread_create(&t,NULL,g,NULL);
52618 ;
52619 return 0;
52620 }
52621 _ACEOF
52622 if ac_fn_c_try_link "$LINENO"; then :
52623 thread_CFLAGS="$flag"
52624 fi
52625 rm -f core conftest.err conftest.$ac_objext \
52626 conftest$ac_exeext conftest.$ac_ext
52627 if test "X$thread_CFLAGS" != Xfailed; then
52628 break
52629 fi
52630 done
52631 CFLAGS="$chktls_save_CFLAGS"
52632 if test "X$thread_CFLAGS" != Xfailed; then
52633 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52634 if test "$cross_compiling" = yes; then :
52635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52637 as_fn_error "cannot run test program while cross compiling
52638 See \`config.log' for more details." "$LINENO" 5; }
52639 else
52640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52641 /* end confdefs.h. */
52642 #include <pthread.h>
52643 __thread int a;
52644 static int *volatile a_in_other_thread;
52645 static void *
52646 thread_func (void *arg)
52647 {
52648 a_in_other_thread = &a;
52649 return (void *)0;
52650 }
52651 int
52652 main ()
52653 {
52654 pthread_t thread;
52655 void *thread_retval;
52656 int *volatile a_in_main_thread;
52657 a_in_main_thread = &a;
52658 if (pthread_create (&thread, (pthread_attr_t *)0,
52659 thread_func, (void *)0))
52660 return 0;
52661 if (pthread_join (thread, &thread_retval))
52662 return 0;
52663 return (a_in_other_thread == a_in_main_thread);
52664 ;
52665 return 0;
52666 }
52667 _ACEOF
52668 if ac_fn_c_try_run "$LINENO"; then :
52669 gcc_cv_have_tls=yes
52670 else
52671 gcc_cv_have_tls=no
52672 fi
52673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52674 conftest.$ac_objext conftest.beam conftest.$ac_ext
52675 fi
52676
52677 CFLAGS="$chktls_save_CFLAGS"
52678 fi
52679 fi
52680 else
52681 gcc_cv_have_tls=no
52682 fi
52683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52684 conftest.$ac_objext conftest.beam conftest.$ac_ext
52685 fi
52686
52687 fi
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52689 $as_echo "$gcc_cv_have_tls" >&6; }
52690 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52691
52692 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52693
52694 fi
52695 case "$target" in
52696 *-hpux10*)
52697 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52698
52699 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52700
52701 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52702
52703 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52704
52705 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52706
52707 ;;
52708 esac
52709 ;;
52710 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52711
52712 # All these tests are for C++; save the language and the compiler flags.
52713 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52714 # found in GLIBCXX_CONFIGURE.
52715
52716 ac_ext=cpp
52717 ac_cpp='$CXXCPP $CPPFLAGS'
52718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52721
52722 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52723 ac_save_CXXFLAGS="$CXXFLAGS"
52724
52725 # Check for maintainer-mode bits.
52726 if test x"$USE_MAINTAINER_MODE" = xno; then
52727 WERROR=''
52728 else
52729 WERROR='-Werror'
52730 fi
52731
52732 # Check for -ffunction-sections -fdata-sections
52733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52734 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52735 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737 /* end confdefs.h. */
52738 int foo; void bar() { };
52739 int
52740 main ()
52741 {
52742
52743 ;
52744 return 0;
52745 }
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 ac_fdsections=yes
52749 else
52750 ac_fdsections=no
52751 fi
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 if test "$ac_test_CXXFLAGS" = set; then
52754 CXXFLAGS="$ac_save_CXXFLAGS"
52755 else
52756 # this is the suspicious part
52757 CXXFLAGS=''
52758 fi
52759 if test x"$ac_fdsections" = x"yes"; then
52760 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52761 fi
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52763 $as_echo "$ac_fdsections" >&6; }
52764
52765 ac_ext=c
52766 ac_cpp='$CPP $CPPFLAGS'
52767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52770
52771
52772
52773
52774
52775 # If we're not using GNU ld, then there's no point in even trying these
52776 # tests. Check for that first. We should have already tested for gld
52777 # by now (in libtool), but require it now just to be safe...
52778 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52779 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52780
52781
52782
52783 # The name set by libtool depends on the version of libtool. Shame on us
52784 # for depending on an impl detail, but c'est la vie. Older versions used
52785 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52786 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52787 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52788 # set (hence we're using an older libtool), then set it.
52789 if test x${with_gnu_ld+set} != xset; then
52790 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52791 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52792 with_gnu_ld=no
52793 else
52794 with_gnu_ld=$ac_cv_prog_gnu_ld
52795 fi
52796 fi
52797
52798 # Start by getting the version number. I think the libtool test already
52799 # does some of this, but throws away the result.
52800 glibcxx_ld_is_gold=no
52801 if test x"$with_gnu_ld" = x"yes"; then
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52803 $as_echo_n "checking for ld version... " >&6; }
52804
52805 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52806 glibcxx_ld_is_gold=yes
52807 fi
52808 ldver=`$LD --version 2>/dev/null |
52809 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'`
52810
52811 glibcxx_gnu_ld_version=`echo $ldver | \
52812 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52814 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52815 fi
52816
52817 # Set --gc-sections.
52818 glibcxx_have_gc_sections=no
52819 if test "$glibcxx_ld_is_gold" = "yes"; then
52820 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52821 glibcxx_have_gc_sections=yes
52822 fi
52823 else
52824 glibcxx_gcsections_min_ld=21602
52825 if test x"$with_gnu_ld" = x"yes" &&
52826 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52827 glibcxx_have_gc_sections=yes
52828 fi
52829 fi
52830 if test "$glibcxx_have_gc_sections" = "yes"; then
52831 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52832 # NB: This flag only works reliably after 2.16.1. Configure tests
52833 # for this are difficult, so hard wire a value that should work.
52834
52835 ac_test_CFLAGS="${CFLAGS+set}"
52836 ac_save_CFLAGS="$CFLAGS"
52837 CFLAGS='-Wl,--gc-sections'
52838
52839 # Check for -Wl,--gc-sections
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52841 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52842 if test x$gcc_no_link = xyes; then
52843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52844 fi
52845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52846 /* end confdefs.h. */
52847 int one(void) { return 1; }
52848 int two(void) { return 2; }
52849
52850 int
52851 main ()
52852 {
52853 two();
52854 ;
52855 return 0;
52856 }
52857 _ACEOF
52858 if ac_fn_c_try_link "$LINENO"; then :
52859 ac_gcsections=yes
52860 else
52861 ac_gcsections=no
52862 fi
52863 rm -f core conftest.err conftest.$ac_objext \
52864 conftest$ac_exeext conftest.$ac_ext
52865 if test "$ac_gcsections" = "yes"; then
52866 rm -f conftest.c
52867 touch conftest.c
52868 if $CC -c conftest.c; then
52869 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52870 grep "Warning: gc-sections option ignored" > /dev/null; then
52871 ac_gcsections=no
52872 fi
52873 fi
52874 rm -f conftest.c conftest.o conftest
52875 fi
52876 if test "$ac_gcsections" = "yes"; then
52877 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52878 fi
52879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52880 $as_echo "$ac_gcsections" >&6; }
52881
52882 if test "$ac_test_CFLAGS" = set; then
52883 CFLAGS="$ac_save_CFLAGS"
52884 else
52885 # this is the suspicious part
52886 CFLAGS=''
52887 fi
52888 fi
52889
52890 # Set -z,relro.
52891 # Note this is only for shared objects.
52892 ac_ld_relro=no
52893 if test x"$with_gnu_ld" = x"yes"; then
52894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52895 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52896 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52897 if test -n "$cxx_z_relo"; then
52898 OPT_LDFLAGS="-Wl,-z,relro"
52899 ac_ld_relro=yes
52900 fi
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52902 $as_echo "$ac_ld_relro" >&6; }
52903 fi
52904
52905 # Set linker optimization flags.
52906 if test x"$with_gnu_ld" = x"yes"; then
52907 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52908 fi
52909
52910
52911
52912
52913
52914 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52915 ac_save_CXXFLAGS="$CXXFLAGS"
52916 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52917
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52919 $as_echo_n "checking for sin in -lm... " >&6; }
52920 if test "${ac_cv_lib_m_sin+set}" = set; then :
52921 $as_echo_n "(cached) " >&6
52922 else
52923 ac_check_lib_save_LIBS=$LIBS
52924 LIBS="-lm $LIBS"
52925 if test x$gcc_no_link = xyes; then
52926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52927 fi
52928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52929 /* end confdefs.h. */
52930
52931 /* Override any GCC internal prototype to avoid an error.
52932 Use char because int might match the return type of a GCC
52933 builtin and then its argument prototype would still apply. */
52934 #ifdef __cplusplus
52935 extern "C"
52936 #endif
52937 char sin ();
52938 int
52939 main ()
52940 {
52941 return sin ();
52942 ;
52943 return 0;
52944 }
52945 _ACEOF
52946 if ac_fn_c_try_link "$LINENO"; then :
52947 ac_cv_lib_m_sin=yes
52948 else
52949 ac_cv_lib_m_sin=no
52950 fi
52951 rm -f core conftest.err conftest.$ac_objext \
52952 conftest$ac_exeext conftest.$ac_ext
52953 LIBS=$ac_check_lib_save_LIBS
52954 fi
52955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52956 $as_echo "$ac_cv_lib_m_sin" >&6; }
52957 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52958 libm="-lm"
52959 fi
52960
52961 ac_save_LIBS="$LIBS"
52962 LIBS="$LIBS $libm"
52963
52964
52965
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52967 $as_echo_n "checking for isinf declaration... " >&6; }
52968 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52969 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52970 $as_echo_n "(cached) " >&6
52971 else
52972
52973
52974 ac_ext=cpp
52975 ac_cpp='$CXXCPP $CPPFLAGS'
52976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52979
52980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52981 /* end confdefs.h. */
52982 #include <math.h>
52983 #ifdef HAVE_IEEEFP_H
52984 #include <ieeefp.h>
52985 #endif
52986
52987 int
52988 main ()
52989 {
52990 isinf(0);
52991 ;
52992 return 0;
52993 }
52994 _ACEOF
52995 if ac_fn_cxx_try_compile "$LINENO"; then :
52996 glibcxx_cv_func_isinf_use=yes
52997 else
52998 glibcxx_cv_func_isinf_use=no
52999 fi
53000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53001 ac_ext=c
53002 ac_cpp='$CPP $CPPFLAGS'
53003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53006
53007
53008 fi
53009
53010 fi
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53012 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53013
53014 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53015 for ac_func in isinf
53016 do :
53017 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53018 if test "x$ac_cv_func_isinf" = x""yes; then :
53019 cat >>confdefs.h <<_ACEOF
53020 #define HAVE_ISINF 1
53021 _ACEOF
53022
53023 fi
53024 done
53025
53026 else
53027
53028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53029 $as_echo_n "checking for _isinf declaration... " >&6; }
53030 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53031 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53032 $as_echo_n "(cached) " >&6
53033 else
53034
53035
53036 ac_ext=cpp
53037 ac_cpp='$CXXCPP $CPPFLAGS'
53038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53041
53042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53043 /* end confdefs.h. */
53044 #include <math.h>
53045 #ifdef HAVE_IEEEFP_H
53046 #include <ieeefp.h>
53047 #endif
53048
53049 int
53050 main ()
53051 {
53052 _isinf(0);
53053 ;
53054 return 0;
53055 }
53056 _ACEOF
53057 if ac_fn_cxx_try_compile "$LINENO"; then :
53058 glibcxx_cv_func__isinf_use=yes
53059 else
53060 glibcxx_cv_func__isinf_use=no
53061 fi
53062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53063 ac_ext=c
53064 ac_cpp='$CPP $CPPFLAGS'
53065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53068
53069
53070 fi
53071
53072 fi
53073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53074 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53075
53076 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53077 for ac_func in _isinf
53078 do :
53079 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53080 if test "x$ac_cv_func__isinf" = x""yes; then :
53081 cat >>confdefs.h <<_ACEOF
53082 #define HAVE__ISINF 1
53083 _ACEOF
53084
53085 fi
53086 done
53087
53088 fi
53089 fi
53090
53091
53092
53093
53094
53095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53096 $as_echo_n "checking for isnan declaration... " >&6; }
53097 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53098 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53099 $as_echo_n "(cached) " >&6
53100 else
53101
53102
53103 ac_ext=cpp
53104 ac_cpp='$CXXCPP $CPPFLAGS'
53105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53108
53109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53110 /* end confdefs.h. */
53111 #include <math.h>
53112 #ifdef HAVE_IEEEFP_H
53113 #include <ieeefp.h>
53114 #endif
53115
53116 int
53117 main ()
53118 {
53119 isnan(0);
53120 ;
53121 return 0;
53122 }
53123 _ACEOF
53124 if ac_fn_cxx_try_compile "$LINENO"; then :
53125 glibcxx_cv_func_isnan_use=yes
53126 else
53127 glibcxx_cv_func_isnan_use=no
53128 fi
53129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53135
53136
53137 fi
53138
53139 fi
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53141 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53142
53143 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53144 for ac_func in isnan
53145 do :
53146 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53147 if test "x$ac_cv_func_isnan" = x""yes; then :
53148 cat >>confdefs.h <<_ACEOF
53149 #define HAVE_ISNAN 1
53150 _ACEOF
53151
53152 fi
53153 done
53154
53155 else
53156
53157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53158 $as_echo_n "checking for _isnan declaration... " >&6; }
53159 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53160 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53161 $as_echo_n "(cached) " >&6
53162 else
53163
53164
53165 ac_ext=cpp
53166 ac_cpp='$CXXCPP $CPPFLAGS'
53167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53170
53171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53172 /* end confdefs.h. */
53173 #include <math.h>
53174 #ifdef HAVE_IEEEFP_H
53175 #include <ieeefp.h>
53176 #endif
53177
53178 int
53179 main ()
53180 {
53181 _isnan(0);
53182 ;
53183 return 0;
53184 }
53185 _ACEOF
53186 if ac_fn_cxx_try_compile "$LINENO"; then :
53187 glibcxx_cv_func__isnan_use=yes
53188 else
53189 glibcxx_cv_func__isnan_use=no
53190 fi
53191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53192 ac_ext=c
53193 ac_cpp='$CPP $CPPFLAGS'
53194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53197
53198
53199 fi
53200
53201 fi
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53203 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53204
53205 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53206 for ac_func in _isnan
53207 do :
53208 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53209 if test "x$ac_cv_func__isnan" = x""yes; then :
53210 cat >>confdefs.h <<_ACEOF
53211 #define HAVE__ISNAN 1
53212 _ACEOF
53213
53214 fi
53215 done
53216
53217 fi
53218 fi
53219
53220
53221
53222
53223
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53225 $as_echo_n "checking for finite declaration... " >&6; }
53226 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53227 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53228 $as_echo_n "(cached) " >&6
53229 else
53230
53231
53232 ac_ext=cpp
53233 ac_cpp='$CXXCPP $CPPFLAGS'
53234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53237
53238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53239 /* end confdefs.h. */
53240 #include <math.h>
53241 #ifdef HAVE_IEEEFP_H
53242 #include <ieeefp.h>
53243 #endif
53244
53245 int
53246 main ()
53247 {
53248 finite(0);
53249 ;
53250 return 0;
53251 }
53252 _ACEOF
53253 if ac_fn_cxx_try_compile "$LINENO"; then :
53254 glibcxx_cv_func_finite_use=yes
53255 else
53256 glibcxx_cv_func_finite_use=no
53257 fi
53258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53259 ac_ext=c
53260 ac_cpp='$CPP $CPPFLAGS'
53261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53264
53265
53266 fi
53267
53268 fi
53269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53270 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53271
53272 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53273 for ac_func in finite
53274 do :
53275 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53276 if test "x$ac_cv_func_finite" = x""yes; then :
53277 cat >>confdefs.h <<_ACEOF
53278 #define HAVE_FINITE 1
53279 _ACEOF
53280
53281 fi
53282 done
53283
53284 else
53285
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53287 $as_echo_n "checking for _finite declaration... " >&6; }
53288 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53289 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53290 $as_echo_n "(cached) " >&6
53291 else
53292
53293
53294 ac_ext=cpp
53295 ac_cpp='$CXXCPP $CPPFLAGS'
53296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53299
53300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53301 /* end confdefs.h. */
53302 #include <math.h>
53303 #ifdef HAVE_IEEEFP_H
53304 #include <ieeefp.h>
53305 #endif
53306
53307 int
53308 main ()
53309 {
53310 _finite(0);
53311 ;
53312 return 0;
53313 }
53314 _ACEOF
53315 if ac_fn_cxx_try_compile "$LINENO"; then :
53316 glibcxx_cv_func__finite_use=yes
53317 else
53318 glibcxx_cv_func__finite_use=no
53319 fi
53320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53321 ac_ext=c
53322 ac_cpp='$CPP $CPPFLAGS'
53323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53326
53327
53328 fi
53329
53330 fi
53331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53332 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53333
53334 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53335 for ac_func in _finite
53336 do :
53337 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53338 if test "x$ac_cv_func__finite" = x""yes; then :
53339 cat >>confdefs.h <<_ACEOF
53340 #define HAVE__FINITE 1
53341 _ACEOF
53342
53343 fi
53344 done
53345
53346 fi
53347 fi
53348
53349
53350
53351
53352
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53354 $as_echo_n "checking for sincos declaration... " >&6; }
53355 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53356 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53357 $as_echo_n "(cached) " >&6
53358 else
53359
53360
53361 ac_ext=cpp
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53366
53367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53368 /* end confdefs.h. */
53369 #include <math.h>
53370 int
53371 main ()
53372 {
53373 sincos(0, 0, 0);
53374 ;
53375 return 0;
53376 }
53377 _ACEOF
53378 if ac_fn_cxx_try_compile "$LINENO"; then :
53379 glibcxx_cv_func_sincos_use=yes
53380 else
53381 glibcxx_cv_func_sincos_use=no
53382 fi
53383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53384 ac_ext=c
53385 ac_cpp='$CPP $CPPFLAGS'
53386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53389
53390
53391 fi
53392
53393 fi
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53395 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53396
53397 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53398 for ac_func in sincos
53399 do :
53400 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53401 if test "x$ac_cv_func_sincos" = x""yes; then :
53402 cat >>confdefs.h <<_ACEOF
53403 #define HAVE_SINCOS 1
53404 _ACEOF
53405
53406 fi
53407 done
53408
53409 else
53410
53411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53412 $as_echo_n "checking for _sincos declaration... " >&6; }
53413 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53414 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53415 $as_echo_n "(cached) " >&6
53416 else
53417
53418
53419 ac_ext=cpp
53420 ac_cpp='$CXXCPP $CPPFLAGS'
53421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53424
53425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53426 /* end confdefs.h. */
53427 #include <math.h>
53428 int
53429 main ()
53430 {
53431 _sincos(0, 0, 0);
53432 ;
53433 return 0;
53434 }
53435 _ACEOF
53436 if ac_fn_cxx_try_compile "$LINENO"; then :
53437 glibcxx_cv_func__sincos_use=yes
53438 else
53439 glibcxx_cv_func__sincos_use=no
53440 fi
53441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53442 ac_ext=c
53443 ac_cpp='$CPP $CPPFLAGS'
53444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53447
53448
53449 fi
53450
53451 fi
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53453 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53454
53455 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53456 for ac_func in _sincos
53457 do :
53458 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53459 if test "x$ac_cv_func__sincos" = x""yes; then :
53460 cat >>confdefs.h <<_ACEOF
53461 #define HAVE__SINCOS 1
53462 _ACEOF
53463
53464 fi
53465 done
53466
53467 fi
53468 fi
53469
53470
53471
53472
53473
53474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53475 $as_echo_n "checking for fpclass declaration... " >&6; }
53476 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53477 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53478 $as_echo_n "(cached) " >&6
53479 else
53480
53481
53482 ac_ext=cpp
53483 ac_cpp='$CXXCPP $CPPFLAGS'
53484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53487
53488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53489 /* end confdefs.h. */
53490 #include <math.h>
53491 #ifdef HAVE_IEEEFP_H
53492 #include <ieeefp.h>
53493 #endif
53494
53495 int
53496 main ()
53497 {
53498 fpclass(0);
53499 ;
53500 return 0;
53501 }
53502 _ACEOF
53503 if ac_fn_cxx_try_compile "$LINENO"; then :
53504 glibcxx_cv_func_fpclass_use=yes
53505 else
53506 glibcxx_cv_func_fpclass_use=no
53507 fi
53508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53509 ac_ext=c
53510 ac_cpp='$CPP $CPPFLAGS'
53511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53514
53515
53516 fi
53517
53518 fi
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53520 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53521
53522 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53523 for ac_func in fpclass
53524 do :
53525 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53526 if test "x$ac_cv_func_fpclass" = x""yes; then :
53527 cat >>confdefs.h <<_ACEOF
53528 #define HAVE_FPCLASS 1
53529 _ACEOF
53530
53531 fi
53532 done
53533
53534 else
53535
53536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53537 $as_echo_n "checking for _fpclass declaration... " >&6; }
53538 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53539 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53540 $as_echo_n "(cached) " >&6
53541 else
53542
53543
53544 ac_ext=cpp
53545 ac_cpp='$CXXCPP $CPPFLAGS'
53546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53549
53550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53551 /* end confdefs.h. */
53552 #include <math.h>
53553 #ifdef HAVE_IEEEFP_H
53554 #include <ieeefp.h>
53555 #endif
53556
53557 int
53558 main ()
53559 {
53560 _fpclass(0);
53561 ;
53562 return 0;
53563 }
53564 _ACEOF
53565 if ac_fn_cxx_try_compile "$LINENO"; then :
53566 glibcxx_cv_func__fpclass_use=yes
53567 else
53568 glibcxx_cv_func__fpclass_use=no
53569 fi
53570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53571 ac_ext=c
53572 ac_cpp='$CPP $CPPFLAGS'
53573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53576
53577
53578 fi
53579
53580 fi
53581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53582 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53583
53584 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53585 for ac_func in _fpclass
53586 do :
53587 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53588 if test "x$ac_cv_func__fpclass" = x""yes; then :
53589 cat >>confdefs.h <<_ACEOF
53590 #define HAVE__FPCLASS 1
53591 _ACEOF
53592
53593 fi
53594 done
53595
53596 fi
53597 fi
53598
53599
53600
53601
53602
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53604 $as_echo_n "checking for qfpclass declaration... " >&6; }
53605 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53606 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53607 $as_echo_n "(cached) " >&6
53608 else
53609
53610
53611 ac_ext=cpp
53612 ac_cpp='$CXXCPP $CPPFLAGS'
53613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53616
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 #include <math.h>
53620 #ifdef HAVE_IEEEFP_H
53621 #include <ieeefp.h>
53622 #endif
53623
53624 int
53625 main ()
53626 {
53627 qfpclass(0);
53628 ;
53629 return 0;
53630 }
53631 _ACEOF
53632 if ac_fn_cxx_try_compile "$LINENO"; then :
53633 glibcxx_cv_func_qfpclass_use=yes
53634 else
53635 glibcxx_cv_func_qfpclass_use=no
53636 fi
53637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53638 ac_ext=c
53639 ac_cpp='$CPP $CPPFLAGS'
53640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53643
53644
53645 fi
53646
53647 fi
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53649 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53650
53651 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53652 for ac_func in qfpclass
53653 do :
53654 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53655 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53656 cat >>confdefs.h <<_ACEOF
53657 #define HAVE_QFPCLASS 1
53658 _ACEOF
53659
53660 fi
53661 done
53662
53663 else
53664
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53666 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53667 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53668 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53671
53672
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53682 #ifdef HAVE_IEEEFP_H
53683 #include <ieeefp.h>
53684 #endif
53685
53686 int
53687 main ()
53688 {
53689 _qfpclass(0);
53690 ;
53691 return 0;
53692 }
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func__qfpclass_use=yes
53696 else
53697 glibcxx_cv_func__qfpclass_use=no
53698 fi
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53705
53706
53707 fi
53708
53709 fi
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53711 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53712
53713 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53714 for ac_func in _qfpclass
53715 do :
53716 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53717 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE__QFPCLASS 1
53720 _ACEOF
53721
53722 fi
53723 done
53724
53725 fi
53726 fi
53727
53728
53729
53730
53731
53732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53733 $as_echo_n "checking for hypot declaration... " >&6; }
53734 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53735 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53736 $as_echo_n "(cached) " >&6
53737 else
53738
53739
53740 ac_ext=cpp
53741 ac_cpp='$CXXCPP $CPPFLAGS'
53742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53745
53746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53747 /* end confdefs.h. */
53748 #include <math.h>
53749 int
53750 main ()
53751 {
53752 hypot(0, 0);
53753 ;
53754 return 0;
53755 }
53756 _ACEOF
53757 if ac_fn_cxx_try_compile "$LINENO"; then :
53758 glibcxx_cv_func_hypot_use=yes
53759 else
53760 glibcxx_cv_func_hypot_use=no
53761 fi
53762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53763 ac_ext=c
53764 ac_cpp='$CPP $CPPFLAGS'
53765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53768
53769
53770 fi
53771
53772 fi
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53774 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53775
53776 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53777 for ac_func in hypot
53778 do :
53779 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53780 if test "x$ac_cv_func_hypot" = x""yes; then :
53781 cat >>confdefs.h <<_ACEOF
53782 #define HAVE_HYPOT 1
53783 _ACEOF
53784
53785 fi
53786 done
53787
53788 else
53789
53790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53791 $as_echo_n "checking for _hypot declaration... " >&6; }
53792 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53793 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53794 $as_echo_n "(cached) " >&6
53795 else
53796
53797
53798 ac_ext=cpp
53799 ac_cpp='$CXXCPP $CPPFLAGS'
53800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53803
53804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53805 /* end confdefs.h. */
53806 #include <math.h>
53807 int
53808 main ()
53809 {
53810 _hypot(0, 0);
53811 ;
53812 return 0;
53813 }
53814 _ACEOF
53815 if ac_fn_cxx_try_compile "$LINENO"; then :
53816 glibcxx_cv_func__hypot_use=yes
53817 else
53818 glibcxx_cv_func__hypot_use=no
53819 fi
53820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53821 ac_ext=c
53822 ac_cpp='$CPP $CPPFLAGS'
53823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53826
53827
53828 fi
53829
53830 fi
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53832 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53833
53834 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53835 for ac_func in _hypot
53836 do :
53837 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53838 if test "x$ac_cv_func__hypot" = x""yes; then :
53839 cat >>confdefs.h <<_ACEOF
53840 #define HAVE__HYPOT 1
53841 _ACEOF
53842
53843 fi
53844 done
53845
53846 fi
53847 fi
53848
53849
53850
53851
53852
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53854 $as_echo_n "checking for float trig functions... " >&6; }
53855 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53856 $as_echo_n "(cached) " >&6
53857 else
53858
53859
53860 ac_ext=cpp
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53865
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 #include <math.h>
53869 int
53870 main ()
53871 {
53872 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53873 ;
53874 return 0;
53875 }
53876 _ACEOF
53877 if ac_fn_cxx_try_compile "$LINENO"; then :
53878 glibcxx_cv_func_float_trig_use=yes
53879 else
53880 glibcxx_cv_func_float_trig_use=no
53881 fi
53882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53883 ac_ext=c
53884 ac_cpp='$CPP $CPPFLAGS'
53885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53888
53889 fi
53890
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53892 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53893 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53894 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53895 do :
53896 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53898 eval as_val=\$$as_ac_var
53899 if test "x$as_val" = x""yes; then :
53900 cat >>confdefs.h <<_ACEOF
53901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53902 _ACEOF
53903
53904 fi
53905 done
53906
53907 else
53908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53909 $as_echo_n "checking for _float trig functions... " >&6; }
53910 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53911 $as_echo_n "(cached) " >&6
53912 else
53913
53914
53915 ac_ext=cpp
53916 ac_cpp='$CXXCPP $CPPFLAGS'
53917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53920
53921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53922 /* end confdefs.h. */
53923 #include <math.h>
53924 int
53925 main ()
53926 {
53927 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53928 ;
53929 return 0;
53930 }
53931 _ACEOF
53932 if ac_fn_cxx_try_compile "$LINENO"; then :
53933 glibcxx_cv_func__float_trig_use=yes
53934 else
53935 glibcxx_cv_func__float_trig_use=no
53936 fi
53937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53938 ac_ext=c
53939 ac_cpp='$CPP $CPPFLAGS'
53940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53943
53944 fi
53945
53946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53947 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53948 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53949 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53950 do :
53951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53953 eval as_val=\$$as_ac_var
53954 if test "x$as_val" = x""yes; then :
53955 cat >>confdefs.h <<_ACEOF
53956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53957 _ACEOF
53958
53959 fi
53960 done
53961
53962 fi
53963 fi
53964
53965
53966
53967
53968
53969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53970 $as_echo_n "checking for float round functions... " >&6; }
53971 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53972 $as_echo_n "(cached) " >&6
53973 else
53974
53975
53976 ac_ext=cpp
53977 ac_cpp='$CXXCPP $CPPFLAGS'
53978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53981
53982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53983 /* end confdefs.h. */
53984 #include <math.h>
53985 int
53986 main ()
53987 {
53988 ceilf (0); floorf (0);
53989 ;
53990 return 0;
53991 }
53992 _ACEOF
53993 if ac_fn_cxx_try_compile "$LINENO"; then :
53994 glibcxx_cv_func_float_round_use=yes
53995 else
53996 glibcxx_cv_func_float_round_use=no
53997 fi
53998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53999 ac_ext=c
54000 ac_cpp='$CPP $CPPFLAGS'
54001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54004
54005 fi
54006
54007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54008 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54009 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54010 for ac_func in ceilf floorf
54011 do :
54012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54014 eval as_val=\$$as_ac_var
54015 if test "x$as_val" = x""yes; then :
54016 cat >>confdefs.h <<_ACEOF
54017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54018 _ACEOF
54019
54020 fi
54021 done
54022
54023 else
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54025 $as_echo_n "checking for _float round functions... " >&6; }
54026 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54027 $as_echo_n "(cached) " >&6
54028 else
54029
54030
54031 ac_ext=cpp
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54036
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54039 #include <math.h>
54040 int
54041 main ()
54042 {
54043 _ceilf (0); _floorf (0);
54044 ;
54045 return 0;
54046 }
54047 _ACEOF
54048 if ac_fn_cxx_try_compile "$LINENO"; then :
54049 glibcxx_cv_func__float_round_use=yes
54050 else
54051 glibcxx_cv_func__float_round_use=no
54052 fi
54053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54054 ac_ext=c
54055 ac_cpp='$CPP $CPPFLAGS'
54056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54059
54060 fi
54061
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54063 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54064 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54065 for ac_func in _ceilf _floorf
54066 do :
54067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54069 eval as_val=\$$as_ac_var
54070 if test "x$as_val" = x""yes; then :
54071 cat >>confdefs.h <<_ACEOF
54072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54073 _ACEOF
54074
54075 fi
54076 done
54077
54078 fi
54079 fi
54080
54081
54082
54083
54084
54085
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54087 $as_echo_n "checking for expf declaration... " >&6; }
54088 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54089 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54090 $as_echo_n "(cached) " >&6
54091 else
54092
54093
54094 ac_ext=cpp
54095 ac_cpp='$CXXCPP $CPPFLAGS'
54096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54099
54100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54101 /* end confdefs.h. */
54102 #include <math.h>
54103 #ifdef HAVE_IEEEFP_H
54104 #include <ieeefp.h>
54105 #endif
54106
54107 int
54108 main ()
54109 {
54110 expf(0);
54111 ;
54112 return 0;
54113 }
54114 _ACEOF
54115 if ac_fn_cxx_try_compile "$LINENO"; then :
54116 glibcxx_cv_func_expf_use=yes
54117 else
54118 glibcxx_cv_func_expf_use=no
54119 fi
54120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54121 ac_ext=c
54122 ac_cpp='$CPP $CPPFLAGS'
54123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54126
54127
54128 fi
54129
54130 fi
54131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54132 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54133
54134 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54135 for ac_func in expf
54136 do :
54137 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54138 if test "x$ac_cv_func_expf" = x""yes; then :
54139 cat >>confdefs.h <<_ACEOF
54140 #define HAVE_EXPF 1
54141 _ACEOF
54142
54143 fi
54144 done
54145
54146 else
54147
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54149 $as_echo_n "checking for _expf declaration... " >&6; }
54150 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54151 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54152 $as_echo_n "(cached) " >&6
54153 else
54154
54155
54156 ac_ext=cpp
54157 ac_cpp='$CXXCPP $CPPFLAGS'
54158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54161
54162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54163 /* end confdefs.h. */
54164 #include <math.h>
54165 #ifdef HAVE_IEEEFP_H
54166 #include <ieeefp.h>
54167 #endif
54168
54169 int
54170 main ()
54171 {
54172 _expf(0);
54173 ;
54174 return 0;
54175 }
54176 _ACEOF
54177 if ac_fn_cxx_try_compile "$LINENO"; then :
54178 glibcxx_cv_func__expf_use=yes
54179 else
54180 glibcxx_cv_func__expf_use=no
54181 fi
54182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54183 ac_ext=c
54184 ac_cpp='$CPP $CPPFLAGS'
54185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54188
54189
54190 fi
54191
54192 fi
54193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54194 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54195
54196 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54197 for ac_func in _expf
54198 do :
54199 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54200 if test "x$ac_cv_func__expf" = x""yes; then :
54201 cat >>confdefs.h <<_ACEOF
54202 #define HAVE__EXPF 1
54203 _ACEOF
54204
54205 fi
54206 done
54207
54208 fi
54209 fi
54210
54211
54212
54213
54214
54215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54216 $as_echo_n "checking for isnanf declaration... " >&6; }
54217 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54218 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54219 $as_echo_n "(cached) " >&6
54220 else
54221
54222
54223 ac_ext=cpp
54224 ac_cpp='$CXXCPP $CPPFLAGS'
54225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54228
54229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54230 /* end confdefs.h. */
54231 #include <math.h>
54232 #ifdef HAVE_IEEEFP_H
54233 #include <ieeefp.h>
54234 #endif
54235
54236 int
54237 main ()
54238 {
54239 isnanf(0);
54240 ;
54241 return 0;
54242 }
54243 _ACEOF
54244 if ac_fn_cxx_try_compile "$LINENO"; then :
54245 glibcxx_cv_func_isnanf_use=yes
54246 else
54247 glibcxx_cv_func_isnanf_use=no
54248 fi
54249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54250 ac_ext=c
54251 ac_cpp='$CPP $CPPFLAGS'
54252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54255
54256
54257 fi
54258
54259 fi
54260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54261 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54262
54263 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54264 for ac_func in isnanf
54265 do :
54266 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54267 if test "x$ac_cv_func_isnanf" = x""yes; then :
54268 cat >>confdefs.h <<_ACEOF
54269 #define HAVE_ISNANF 1
54270 _ACEOF
54271
54272 fi
54273 done
54274
54275 else
54276
54277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54278 $as_echo_n "checking for _isnanf declaration... " >&6; }
54279 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54280 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54281 $as_echo_n "(cached) " >&6
54282 else
54283
54284
54285 ac_ext=cpp
54286 ac_cpp='$CXXCPP $CPPFLAGS'
54287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54290
54291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54292 /* end confdefs.h. */
54293 #include <math.h>
54294 #ifdef HAVE_IEEEFP_H
54295 #include <ieeefp.h>
54296 #endif
54297
54298 int
54299 main ()
54300 {
54301 _isnanf(0);
54302 ;
54303 return 0;
54304 }
54305 _ACEOF
54306 if ac_fn_cxx_try_compile "$LINENO"; then :
54307 glibcxx_cv_func__isnanf_use=yes
54308 else
54309 glibcxx_cv_func__isnanf_use=no
54310 fi
54311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54312 ac_ext=c
54313 ac_cpp='$CPP $CPPFLAGS'
54314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54317
54318
54319 fi
54320
54321 fi
54322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54323 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54324
54325 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54326 for ac_func in _isnanf
54327 do :
54328 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54329 if test "x$ac_cv_func__isnanf" = x""yes; then :
54330 cat >>confdefs.h <<_ACEOF
54331 #define HAVE__ISNANF 1
54332 _ACEOF
54333
54334 fi
54335 done
54336
54337 fi
54338 fi
54339
54340
54341
54342
54343
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54345 $as_echo_n "checking for isinff declaration... " >&6; }
54346 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54347 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54348 $as_echo_n "(cached) " >&6
54349 else
54350
54351
54352 ac_ext=cpp
54353 ac_cpp='$CXXCPP $CPPFLAGS'
54354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54357
54358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54359 /* end confdefs.h. */
54360 #include <math.h>
54361 #ifdef HAVE_IEEEFP_H
54362 #include <ieeefp.h>
54363 #endif
54364
54365 int
54366 main ()
54367 {
54368 isinff(0);
54369 ;
54370 return 0;
54371 }
54372 _ACEOF
54373 if ac_fn_cxx_try_compile "$LINENO"; then :
54374 glibcxx_cv_func_isinff_use=yes
54375 else
54376 glibcxx_cv_func_isinff_use=no
54377 fi
54378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54379 ac_ext=c
54380 ac_cpp='$CPP $CPPFLAGS'
54381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54384
54385
54386 fi
54387
54388 fi
54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54390 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54391
54392 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54393 for ac_func in isinff
54394 do :
54395 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54396 if test "x$ac_cv_func_isinff" = x""yes; then :
54397 cat >>confdefs.h <<_ACEOF
54398 #define HAVE_ISINFF 1
54399 _ACEOF
54400
54401 fi
54402 done
54403
54404 else
54405
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54407 $as_echo_n "checking for _isinff declaration... " >&6; }
54408 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54409 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54410 $as_echo_n "(cached) " >&6
54411 else
54412
54413
54414 ac_ext=cpp
54415 ac_cpp='$CXXCPP $CPPFLAGS'
54416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54419
54420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54421 /* end confdefs.h. */
54422 #include <math.h>
54423 #ifdef HAVE_IEEEFP_H
54424 #include <ieeefp.h>
54425 #endif
54426
54427 int
54428 main ()
54429 {
54430 _isinff(0);
54431 ;
54432 return 0;
54433 }
54434 _ACEOF
54435 if ac_fn_cxx_try_compile "$LINENO"; then :
54436 glibcxx_cv_func__isinff_use=yes
54437 else
54438 glibcxx_cv_func__isinff_use=no
54439 fi
54440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54441 ac_ext=c
54442 ac_cpp='$CPP $CPPFLAGS'
54443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54446
54447
54448 fi
54449
54450 fi
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54452 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54453
54454 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54455 for ac_func in _isinff
54456 do :
54457 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54458 if test "x$ac_cv_func__isinff" = x""yes; then :
54459 cat >>confdefs.h <<_ACEOF
54460 #define HAVE__ISINFF 1
54461 _ACEOF
54462
54463 fi
54464 done
54465
54466 fi
54467 fi
54468
54469
54470
54471
54472
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54474 $as_echo_n "checking for atan2f declaration... " >&6; }
54475 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54476 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54477 $as_echo_n "(cached) " >&6
54478 else
54479
54480
54481 ac_ext=cpp
54482 ac_cpp='$CXXCPP $CPPFLAGS'
54483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54486
54487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54488 /* end confdefs.h. */
54489 #include <math.h>
54490 int
54491 main ()
54492 {
54493 atan2f(0, 0);
54494 ;
54495 return 0;
54496 }
54497 _ACEOF
54498 if ac_fn_cxx_try_compile "$LINENO"; then :
54499 glibcxx_cv_func_atan2f_use=yes
54500 else
54501 glibcxx_cv_func_atan2f_use=no
54502 fi
54503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54504 ac_ext=c
54505 ac_cpp='$CPP $CPPFLAGS'
54506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54509
54510
54511 fi
54512
54513 fi
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54515 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54516
54517 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54518 for ac_func in atan2f
54519 do :
54520 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54521 if test "x$ac_cv_func_atan2f" = x""yes; then :
54522 cat >>confdefs.h <<_ACEOF
54523 #define HAVE_ATAN2F 1
54524 _ACEOF
54525
54526 fi
54527 done
54528
54529 else
54530
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54532 $as_echo_n "checking for _atan2f declaration... " >&6; }
54533 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54534 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54535 $as_echo_n "(cached) " >&6
54536 else
54537
54538
54539 ac_ext=cpp
54540 ac_cpp='$CXXCPP $CPPFLAGS'
54541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54544
54545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54546 /* end confdefs.h. */
54547 #include <math.h>
54548 int
54549 main ()
54550 {
54551 _atan2f(0, 0);
54552 ;
54553 return 0;
54554 }
54555 _ACEOF
54556 if ac_fn_cxx_try_compile "$LINENO"; then :
54557 glibcxx_cv_func__atan2f_use=yes
54558 else
54559 glibcxx_cv_func__atan2f_use=no
54560 fi
54561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54562 ac_ext=c
54563 ac_cpp='$CPP $CPPFLAGS'
54564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54567
54568
54569 fi
54570
54571 fi
54572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54573 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54574
54575 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54576 for ac_func in _atan2f
54577 do :
54578 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54579 if test "x$ac_cv_func__atan2f" = x""yes; then :
54580 cat >>confdefs.h <<_ACEOF
54581 #define HAVE__ATAN2F 1
54582 _ACEOF
54583
54584 fi
54585 done
54586
54587 fi
54588 fi
54589
54590
54591
54592
54593
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54595 $as_echo_n "checking for fabsf declaration... " >&6; }
54596 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54597 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54598 $as_echo_n "(cached) " >&6
54599 else
54600
54601
54602 ac_ext=cpp
54603 ac_cpp='$CXXCPP $CPPFLAGS'
54604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54607
54608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54609 /* end confdefs.h. */
54610 #include <math.h>
54611 #ifdef HAVE_IEEEFP_H
54612 #include <ieeefp.h>
54613 #endif
54614
54615 int
54616 main ()
54617 {
54618 fabsf(0);
54619 ;
54620 return 0;
54621 }
54622 _ACEOF
54623 if ac_fn_cxx_try_compile "$LINENO"; then :
54624 glibcxx_cv_func_fabsf_use=yes
54625 else
54626 glibcxx_cv_func_fabsf_use=no
54627 fi
54628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54629 ac_ext=c
54630 ac_cpp='$CPP $CPPFLAGS'
54631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54634
54635
54636 fi
54637
54638 fi
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54640 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54641
54642 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54643 for ac_func in fabsf
54644 do :
54645 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54646 if test "x$ac_cv_func_fabsf" = x""yes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define HAVE_FABSF 1
54649 _ACEOF
54650
54651 fi
54652 done
54653
54654 else
54655
54656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54657 $as_echo_n "checking for _fabsf declaration... " >&6; }
54658 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54659 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54660 $as_echo_n "(cached) " >&6
54661 else
54662
54663
54664 ac_ext=cpp
54665 ac_cpp='$CXXCPP $CPPFLAGS'
54666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54669
54670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54671 /* end confdefs.h. */
54672 #include <math.h>
54673 #ifdef HAVE_IEEEFP_H
54674 #include <ieeefp.h>
54675 #endif
54676
54677 int
54678 main ()
54679 {
54680 _fabsf(0);
54681 ;
54682 return 0;
54683 }
54684 _ACEOF
54685 if ac_fn_cxx_try_compile "$LINENO"; then :
54686 glibcxx_cv_func__fabsf_use=yes
54687 else
54688 glibcxx_cv_func__fabsf_use=no
54689 fi
54690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54691 ac_ext=c
54692 ac_cpp='$CPP $CPPFLAGS'
54693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54696
54697
54698 fi
54699
54700 fi
54701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54702 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54703
54704 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54705 for ac_func in _fabsf
54706 do :
54707 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54708 if test "x$ac_cv_func__fabsf" = x""yes; then :
54709 cat >>confdefs.h <<_ACEOF
54710 #define HAVE__FABSF 1
54711 _ACEOF
54712
54713 fi
54714 done
54715
54716 fi
54717 fi
54718
54719
54720
54721
54722
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54724 $as_echo_n "checking for fmodf declaration... " >&6; }
54725 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54726 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54729
54730
54731 ac_ext=cpp
54732 ac_cpp='$CXXCPP $CPPFLAGS'
54733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54736
54737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54738 /* end confdefs.h. */
54739 #include <math.h>
54740 int
54741 main ()
54742 {
54743 fmodf(0, 0);
54744 ;
54745 return 0;
54746 }
54747 _ACEOF
54748 if ac_fn_cxx_try_compile "$LINENO"; then :
54749 glibcxx_cv_func_fmodf_use=yes
54750 else
54751 glibcxx_cv_func_fmodf_use=no
54752 fi
54753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759
54760
54761 fi
54762
54763 fi
54764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54765 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54766
54767 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54768 for ac_func in fmodf
54769 do :
54770 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54771 if test "x$ac_cv_func_fmodf" = x""yes; then :
54772 cat >>confdefs.h <<_ACEOF
54773 #define HAVE_FMODF 1
54774 _ACEOF
54775
54776 fi
54777 done
54778
54779 else
54780
54781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54782 $as_echo_n "checking for _fmodf declaration... " >&6; }
54783 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54784 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54785 $as_echo_n "(cached) " >&6
54786 else
54787
54788
54789 ac_ext=cpp
54790 ac_cpp='$CXXCPP $CPPFLAGS'
54791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54794
54795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796 /* end confdefs.h. */
54797 #include <math.h>
54798 int
54799 main ()
54800 {
54801 _fmodf(0, 0);
54802 ;
54803 return 0;
54804 }
54805 _ACEOF
54806 if ac_fn_cxx_try_compile "$LINENO"; then :
54807 glibcxx_cv_func__fmodf_use=yes
54808 else
54809 glibcxx_cv_func__fmodf_use=no
54810 fi
54811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54812 ac_ext=c
54813 ac_cpp='$CPP $CPPFLAGS'
54814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54817
54818
54819 fi
54820
54821 fi
54822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54823 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54824
54825 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54826 for ac_func in _fmodf
54827 do :
54828 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54829 if test "x$ac_cv_func__fmodf" = x""yes; then :
54830 cat >>confdefs.h <<_ACEOF
54831 #define HAVE__FMODF 1
54832 _ACEOF
54833
54834 fi
54835 done
54836
54837 fi
54838 fi
54839
54840
54841
54842
54843
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54845 $as_echo_n "checking for frexpf declaration... " >&6; }
54846 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54847 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54848 $as_echo_n "(cached) " >&6
54849 else
54850
54851
54852 ac_ext=cpp
54853 ac_cpp='$CXXCPP $CPPFLAGS'
54854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54857
54858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54859 /* end confdefs.h. */
54860 #include <math.h>
54861 int
54862 main ()
54863 {
54864 frexpf(0, 0);
54865 ;
54866 return 0;
54867 }
54868 _ACEOF
54869 if ac_fn_cxx_try_compile "$LINENO"; then :
54870 glibcxx_cv_func_frexpf_use=yes
54871 else
54872 glibcxx_cv_func_frexpf_use=no
54873 fi
54874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875 ac_ext=c
54876 ac_cpp='$CPP $CPPFLAGS'
54877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54880
54881
54882 fi
54883
54884 fi
54885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54886 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54887
54888 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54889 for ac_func in frexpf
54890 do :
54891 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54892 if test "x$ac_cv_func_frexpf" = x""yes; then :
54893 cat >>confdefs.h <<_ACEOF
54894 #define HAVE_FREXPF 1
54895 _ACEOF
54896
54897 fi
54898 done
54899
54900 else
54901
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54903 $as_echo_n "checking for _frexpf declaration... " >&6; }
54904 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54905 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54906 $as_echo_n "(cached) " >&6
54907 else
54908
54909
54910 ac_ext=cpp
54911 ac_cpp='$CXXCPP $CPPFLAGS'
54912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54915
54916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54917 /* end confdefs.h. */
54918 #include <math.h>
54919 int
54920 main ()
54921 {
54922 _frexpf(0, 0);
54923 ;
54924 return 0;
54925 }
54926 _ACEOF
54927 if ac_fn_cxx_try_compile "$LINENO"; then :
54928 glibcxx_cv_func__frexpf_use=yes
54929 else
54930 glibcxx_cv_func__frexpf_use=no
54931 fi
54932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54933 ac_ext=c
54934 ac_cpp='$CPP $CPPFLAGS'
54935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54938
54939
54940 fi
54941
54942 fi
54943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54944 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54945
54946 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54947 for ac_func in _frexpf
54948 do :
54949 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54950 if test "x$ac_cv_func__frexpf" = x""yes; then :
54951 cat >>confdefs.h <<_ACEOF
54952 #define HAVE__FREXPF 1
54953 _ACEOF
54954
54955 fi
54956 done
54957
54958 fi
54959 fi
54960
54961
54962
54963
54964
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54966 $as_echo_n "checking for hypotf declaration... " >&6; }
54967 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54968 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54969 $as_echo_n "(cached) " >&6
54970 else
54971
54972
54973 ac_ext=cpp
54974 ac_cpp='$CXXCPP $CPPFLAGS'
54975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54978
54979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54980 /* end confdefs.h. */
54981 #include <math.h>
54982 int
54983 main ()
54984 {
54985 hypotf(0, 0);
54986 ;
54987 return 0;
54988 }
54989 _ACEOF
54990 if ac_fn_cxx_try_compile "$LINENO"; then :
54991 glibcxx_cv_func_hypotf_use=yes
54992 else
54993 glibcxx_cv_func_hypotf_use=no
54994 fi
54995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54996 ac_ext=c
54997 ac_cpp='$CPP $CPPFLAGS'
54998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55001
55002
55003 fi
55004
55005 fi
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55007 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55008
55009 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55010 for ac_func in hypotf
55011 do :
55012 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55013 if test "x$ac_cv_func_hypotf" = x""yes; then :
55014 cat >>confdefs.h <<_ACEOF
55015 #define HAVE_HYPOTF 1
55016 _ACEOF
55017
55018 fi
55019 done
55020
55021 else
55022
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55024 $as_echo_n "checking for _hypotf declaration... " >&6; }
55025 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55026 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55027 $as_echo_n "(cached) " >&6
55028 else
55029
55030
55031 ac_ext=cpp
55032 ac_cpp='$CXXCPP $CPPFLAGS'
55033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55036
55037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55038 /* end confdefs.h. */
55039 #include <math.h>
55040 int
55041 main ()
55042 {
55043 _hypotf(0, 0);
55044 ;
55045 return 0;
55046 }
55047 _ACEOF
55048 if ac_fn_cxx_try_compile "$LINENO"; then :
55049 glibcxx_cv_func__hypotf_use=yes
55050 else
55051 glibcxx_cv_func__hypotf_use=no
55052 fi
55053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55054 ac_ext=c
55055 ac_cpp='$CPP $CPPFLAGS'
55056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55059
55060
55061 fi
55062
55063 fi
55064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55065 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55066
55067 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55068 for ac_func in _hypotf
55069 do :
55070 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55071 if test "x$ac_cv_func__hypotf" = x""yes; then :
55072 cat >>confdefs.h <<_ACEOF
55073 #define HAVE__HYPOTF 1
55074 _ACEOF
55075
55076 fi
55077 done
55078
55079 fi
55080 fi
55081
55082
55083
55084
55085
55086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55087 $as_echo_n "checking for ldexpf declaration... " >&6; }
55088 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55089 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55090 $as_echo_n "(cached) " >&6
55091 else
55092
55093
55094 ac_ext=cpp
55095 ac_cpp='$CXXCPP $CPPFLAGS'
55096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55099
55100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55101 /* end confdefs.h. */
55102 #include <math.h>
55103 int
55104 main ()
55105 {
55106 ldexpf(0, 0);
55107 ;
55108 return 0;
55109 }
55110 _ACEOF
55111 if ac_fn_cxx_try_compile "$LINENO"; then :
55112 glibcxx_cv_func_ldexpf_use=yes
55113 else
55114 glibcxx_cv_func_ldexpf_use=no
55115 fi
55116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55117 ac_ext=c
55118 ac_cpp='$CPP $CPPFLAGS'
55119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55122
55123
55124 fi
55125
55126 fi
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55128 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55129
55130 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55131 for ac_func in ldexpf
55132 do :
55133 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55134 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define HAVE_LDEXPF 1
55137 _ACEOF
55138
55139 fi
55140 done
55141
55142 else
55143
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55145 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55146 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55147 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55148 $as_echo_n "(cached) " >&6
55149 else
55150
55151
55152 ac_ext=cpp
55153 ac_cpp='$CXXCPP $CPPFLAGS'
55154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55157
55158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55159 /* end confdefs.h. */
55160 #include <math.h>
55161 int
55162 main ()
55163 {
55164 _ldexpf(0, 0);
55165 ;
55166 return 0;
55167 }
55168 _ACEOF
55169 if ac_fn_cxx_try_compile "$LINENO"; then :
55170 glibcxx_cv_func__ldexpf_use=yes
55171 else
55172 glibcxx_cv_func__ldexpf_use=no
55173 fi
55174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_ext=c
55176 ac_cpp='$CPP $CPPFLAGS'
55177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55180
55181
55182 fi
55183
55184 fi
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55186 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55187
55188 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55189 for ac_func in _ldexpf
55190 do :
55191 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55192 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define HAVE__LDEXPF 1
55195 _ACEOF
55196
55197 fi
55198 done
55199
55200 fi
55201 fi
55202
55203
55204
55205
55206
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55208 $as_echo_n "checking for logf declaration... " >&6; }
55209 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55210 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55211 $as_echo_n "(cached) " >&6
55212 else
55213
55214
55215 ac_ext=cpp
55216 ac_cpp='$CXXCPP $CPPFLAGS'
55217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55220
55221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222 /* end confdefs.h. */
55223 #include <math.h>
55224 #ifdef HAVE_IEEEFP_H
55225 #include <ieeefp.h>
55226 #endif
55227
55228 int
55229 main ()
55230 {
55231 logf(0);
55232 ;
55233 return 0;
55234 }
55235 _ACEOF
55236 if ac_fn_cxx_try_compile "$LINENO"; then :
55237 glibcxx_cv_func_logf_use=yes
55238 else
55239 glibcxx_cv_func_logf_use=no
55240 fi
55241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55247
55248
55249 fi
55250
55251 fi
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55253 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55254
55255 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55256 for ac_func in logf
55257 do :
55258 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55259 if test "x$ac_cv_func_logf" = x""yes; then :
55260 cat >>confdefs.h <<_ACEOF
55261 #define HAVE_LOGF 1
55262 _ACEOF
55263
55264 fi
55265 done
55266
55267 else
55268
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55270 $as_echo_n "checking for _logf declaration... " >&6; }
55271 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55272 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55273 $as_echo_n "(cached) " >&6
55274 else
55275
55276
55277 ac_ext=cpp
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55282
55283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55284 /* end confdefs.h. */
55285 #include <math.h>
55286 #ifdef HAVE_IEEEFP_H
55287 #include <ieeefp.h>
55288 #endif
55289
55290 int
55291 main ()
55292 {
55293 _logf(0);
55294 ;
55295 return 0;
55296 }
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func__logf_use=yes
55300 else
55301 glibcxx_cv_func__logf_use=no
55302 fi
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55309
55310
55311 fi
55312
55313 fi
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55315 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55316
55317 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55318 for ac_func in _logf
55319 do :
55320 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55321 if test "x$ac_cv_func__logf" = x""yes; then :
55322 cat >>confdefs.h <<_ACEOF
55323 #define HAVE__LOGF 1
55324 _ACEOF
55325
55326 fi
55327 done
55328
55329 fi
55330 fi
55331
55332
55333
55334
55335
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55337 $as_echo_n "checking for log10f declaration... " >&6; }
55338 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55339 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55342
55343
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55356
55357 int
55358 main ()
55359 {
55360 log10f(0);
55361 ;
55362 return 0;
55363 }
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func_log10f_use=yes
55367 else
55368 glibcxx_cv_func_log10f_use=no
55369 fi
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376
55377
55378 fi
55379
55380 fi
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55382 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55383
55384 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55385 for ac_func in log10f
55386 do :
55387 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55388 if test "x$ac_cv_func_log10f" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE_LOG10F 1
55391 _ACEOF
55392
55393 fi
55394 done
55395
55396 else
55397
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55399 $as_echo_n "checking for _log10f declaration... " >&6; }
55400 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55401 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55404
55405
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55411
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55418
55419 int
55420 main ()
55421 {
55422 _log10f(0);
55423 ;
55424 return 0;
55425 }
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func__log10f_use=yes
55429 else
55430 glibcxx_cv_func__log10f_use=no
55431 fi
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55438
55439
55440 fi
55441
55442 fi
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55444 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55445
55446 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55447 for ac_func in _log10f
55448 do :
55449 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55450 if test "x$ac_cv_func__log10f" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE__LOG10F 1
55453 _ACEOF
55454
55455 fi
55456 done
55457
55458 fi
55459 fi
55460
55461
55462
55463
55464
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55466 $as_echo_n "checking for modff declaration... " >&6; }
55467 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55468 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55471
55472
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 int
55483 main ()
55484 {
55485 modff(0, 0);
55486 ;
55487 return 0;
55488 }
55489 _ACEOF
55490 if ac_fn_cxx_try_compile "$LINENO"; then :
55491 glibcxx_cv_func_modff_use=yes
55492 else
55493 glibcxx_cv_func_modff_use=no
55494 fi
55495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55496 ac_ext=c
55497 ac_cpp='$CPP $CPPFLAGS'
55498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55501
55502
55503 fi
55504
55505 fi
55506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55507 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55508
55509 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55510 for ac_func in modff
55511 do :
55512 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55513 if test "x$ac_cv_func_modff" = x""yes; then :
55514 cat >>confdefs.h <<_ACEOF
55515 #define HAVE_MODFF 1
55516 _ACEOF
55517
55518 fi
55519 done
55520
55521 else
55522
55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55524 $as_echo_n "checking for _modff declaration... " >&6; }
55525 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55526 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55527 $as_echo_n "(cached) " >&6
55528 else
55529
55530
55531 ac_ext=cpp
55532 ac_cpp='$CXXCPP $CPPFLAGS'
55533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55536
55537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55538 /* end confdefs.h. */
55539 #include <math.h>
55540 int
55541 main ()
55542 {
55543 _modff(0, 0);
55544 ;
55545 return 0;
55546 }
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func__modff_use=yes
55550 else
55551 glibcxx_cv_func__modff_use=no
55552 fi
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559
55560
55561 fi
55562
55563 fi
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55565 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55566
55567 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55568 for ac_func in _modff
55569 do :
55570 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55571 if test "x$ac_cv_func__modff" = x""yes; then :
55572 cat >>confdefs.h <<_ACEOF
55573 #define HAVE__MODFF 1
55574 _ACEOF
55575
55576 fi
55577 done
55578
55579 fi
55580 fi
55581
55582
55583
55584
55585
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55587 $as_echo_n "checking for modf declaration... " >&6; }
55588 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55589 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55590 $as_echo_n "(cached) " >&6
55591 else
55592
55593
55594 ac_ext=cpp
55595 ac_cpp='$CXXCPP $CPPFLAGS'
55596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55599
55600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55601 /* end confdefs.h. */
55602 #include <math.h>
55603 int
55604 main ()
55605 {
55606 modf(0, 0);
55607 ;
55608 return 0;
55609 }
55610 _ACEOF
55611 if ac_fn_cxx_try_compile "$LINENO"; then :
55612 glibcxx_cv_func_modf_use=yes
55613 else
55614 glibcxx_cv_func_modf_use=no
55615 fi
55616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55617 ac_ext=c
55618 ac_cpp='$CPP $CPPFLAGS'
55619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55622
55623
55624 fi
55625
55626 fi
55627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55628 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55629
55630 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55631 for ac_func in modf
55632 do :
55633 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55634 if test "x$ac_cv_func_modf" = x""yes; then :
55635 cat >>confdefs.h <<_ACEOF
55636 #define HAVE_MODF 1
55637 _ACEOF
55638
55639 fi
55640 done
55641
55642 else
55643
55644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55645 $as_echo_n "checking for _modf declaration... " >&6; }
55646 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55647 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55648 $as_echo_n "(cached) " >&6
55649 else
55650
55651
55652 ac_ext=cpp
55653 ac_cpp='$CXXCPP $CPPFLAGS'
55654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55657
55658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55659 /* end confdefs.h. */
55660 #include <math.h>
55661 int
55662 main ()
55663 {
55664 _modf(0, 0);
55665 ;
55666 return 0;
55667 }
55668 _ACEOF
55669 if ac_fn_cxx_try_compile "$LINENO"; then :
55670 glibcxx_cv_func__modf_use=yes
55671 else
55672 glibcxx_cv_func__modf_use=no
55673 fi
55674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55675 ac_ext=c
55676 ac_cpp='$CPP $CPPFLAGS'
55677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680
55681
55682 fi
55683
55684 fi
55685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55686 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55687
55688 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55689 for ac_func in _modf
55690 do :
55691 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55692 if test "x$ac_cv_func__modf" = x""yes; then :
55693 cat >>confdefs.h <<_ACEOF
55694 #define HAVE__MODF 1
55695 _ACEOF
55696
55697 fi
55698 done
55699
55700 fi
55701 fi
55702
55703
55704
55705
55706
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55708 $as_echo_n "checking for powf declaration... " >&6; }
55709 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55710 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55711 $as_echo_n "(cached) " >&6
55712 else
55713
55714
55715 ac_ext=cpp
55716 ac_cpp='$CXXCPP $CPPFLAGS'
55717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55720
55721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55722 /* end confdefs.h. */
55723 #include <math.h>
55724 int
55725 main ()
55726 {
55727 powf(0, 0);
55728 ;
55729 return 0;
55730 }
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func_powf_use=yes
55734 else
55735 glibcxx_cv_func_powf_use=no
55736 fi
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55743
55744
55745 fi
55746
55747 fi
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55749 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55750
55751 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55752 for ac_func in powf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55755 if test "x$ac_cv_func_powf" = x""yes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE_POWF 1
55758 _ACEOF
55759
55760 fi
55761 done
55762
55763 else
55764
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55766 $as_echo_n "checking for _powf declaration... " >&6; }
55767 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55768 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55769 $as_echo_n "(cached) " >&6
55770 else
55771
55772
55773 ac_ext=cpp
55774 ac_cpp='$CXXCPP $CPPFLAGS'
55775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55778
55779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55780 /* end confdefs.h. */
55781 #include <math.h>
55782 int
55783 main ()
55784 {
55785 _powf(0, 0);
55786 ;
55787 return 0;
55788 }
55789 _ACEOF
55790 if ac_fn_cxx_try_compile "$LINENO"; then :
55791 glibcxx_cv_func__powf_use=yes
55792 else
55793 glibcxx_cv_func__powf_use=no
55794 fi
55795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55796 ac_ext=c
55797 ac_cpp='$CPP $CPPFLAGS'
55798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55801
55802
55803 fi
55804
55805 fi
55806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55807 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55808
55809 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55810 for ac_func in _powf
55811 do :
55812 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55813 if test "x$ac_cv_func__powf" = x""yes; then :
55814 cat >>confdefs.h <<_ACEOF
55815 #define HAVE__POWF 1
55816 _ACEOF
55817
55818 fi
55819 done
55820
55821 fi
55822 fi
55823
55824
55825
55826
55827
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55829 $as_echo_n "checking for sqrtf declaration... " >&6; }
55830 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55831 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55832 $as_echo_n "(cached) " >&6
55833 else
55834
55835
55836 ac_ext=cpp
55837 ac_cpp='$CXXCPP $CPPFLAGS'
55838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55841
55842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55843 /* end confdefs.h. */
55844 #include <math.h>
55845 #ifdef HAVE_IEEEFP_H
55846 #include <ieeefp.h>
55847 #endif
55848
55849 int
55850 main ()
55851 {
55852 sqrtf(0);
55853 ;
55854 return 0;
55855 }
55856 _ACEOF
55857 if ac_fn_cxx_try_compile "$LINENO"; then :
55858 glibcxx_cv_func_sqrtf_use=yes
55859 else
55860 glibcxx_cv_func_sqrtf_use=no
55861 fi
55862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55863 ac_ext=c
55864 ac_cpp='$CPP $CPPFLAGS'
55865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55868
55869
55870 fi
55871
55872 fi
55873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55874 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55875
55876 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55877 for ac_func in sqrtf
55878 do :
55879 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55880 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55881 cat >>confdefs.h <<_ACEOF
55882 #define HAVE_SQRTF 1
55883 _ACEOF
55884
55885 fi
55886 done
55887
55888 else
55889
55890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55891 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55892 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55893 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55894 $as_echo_n "(cached) " >&6
55895 else
55896
55897
55898 ac_ext=cpp
55899 ac_cpp='$CXXCPP $CPPFLAGS'
55900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55903
55904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55905 /* end confdefs.h. */
55906 #include <math.h>
55907 #ifdef HAVE_IEEEFP_H
55908 #include <ieeefp.h>
55909 #endif
55910
55911 int
55912 main ()
55913 {
55914 _sqrtf(0);
55915 ;
55916 return 0;
55917 }
55918 _ACEOF
55919 if ac_fn_cxx_try_compile "$LINENO"; then :
55920 glibcxx_cv_func__sqrtf_use=yes
55921 else
55922 glibcxx_cv_func__sqrtf_use=no
55923 fi
55924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55925 ac_ext=c
55926 ac_cpp='$CPP $CPPFLAGS'
55927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55930
55931
55932 fi
55933
55934 fi
55935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55936 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55937
55938 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55939 for ac_func in _sqrtf
55940 do :
55941 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55942 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55943 cat >>confdefs.h <<_ACEOF
55944 #define HAVE__SQRTF 1
55945 _ACEOF
55946
55947 fi
55948 done
55949
55950 fi
55951 fi
55952
55953
55954
55955
55956
55957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55958 $as_echo_n "checking for sincosf declaration... " >&6; }
55959 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55960 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55961 $as_echo_n "(cached) " >&6
55962 else
55963
55964
55965 ac_ext=cpp
55966 ac_cpp='$CXXCPP $CPPFLAGS'
55967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55970
55971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55972 /* end confdefs.h. */
55973 #include <math.h>
55974 int
55975 main ()
55976 {
55977 sincosf(0, 0, 0);
55978 ;
55979 return 0;
55980 }
55981 _ACEOF
55982 if ac_fn_cxx_try_compile "$LINENO"; then :
55983 glibcxx_cv_func_sincosf_use=yes
55984 else
55985 glibcxx_cv_func_sincosf_use=no
55986 fi
55987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988 ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55993
55994
55995 fi
55996
55997 fi
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55999 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56000
56001 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56002 for ac_func in sincosf
56003 do :
56004 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56005 if test "x$ac_cv_func_sincosf" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define HAVE_SINCOSF 1
56008 _ACEOF
56009
56010 fi
56011 done
56012
56013 else
56014
56015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56016 $as_echo_n "checking for _sincosf declaration... " >&6; }
56017 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56018 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56019 $as_echo_n "(cached) " >&6
56020 else
56021
56022
56023 ac_ext=cpp
56024 ac_cpp='$CXXCPP $CPPFLAGS'
56025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028
56029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56030 /* end confdefs.h. */
56031 #include <math.h>
56032 int
56033 main ()
56034 {
56035 _sincosf(0, 0, 0);
56036 ;
56037 return 0;
56038 }
56039 _ACEOF
56040 if ac_fn_cxx_try_compile "$LINENO"; then :
56041 glibcxx_cv_func__sincosf_use=yes
56042 else
56043 glibcxx_cv_func__sincosf_use=no
56044 fi
56045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_ext=c
56047 ac_cpp='$CPP $CPPFLAGS'
56048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56051
56052
56053 fi
56054
56055 fi
56056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56057 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56058
56059 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56060 for ac_func in _sincosf
56061 do :
56062 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56063 if test "x$ac_cv_func__sincosf" = x""yes; then :
56064 cat >>confdefs.h <<_ACEOF
56065 #define HAVE__SINCOSF 1
56066 _ACEOF
56067
56068 fi
56069 done
56070
56071 fi
56072 fi
56073
56074
56075
56076
56077
56078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56079 $as_echo_n "checking for finitef declaration... " >&6; }
56080 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56081 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56082 $as_echo_n "(cached) " >&6
56083 else
56084
56085
56086 ac_ext=cpp
56087 ac_cpp='$CXXCPP $CPPFLAGS'
56088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56091
56092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56093 /* end confdefs.h. */
56094 #include <math.h>
56095 #ifdef HAVE_IEEEFP_H
56096 #include <ieeefp.h>
56097 #endif
56098
56099 int
56100 main ()
56101 {
56102 finitef(0);
56103 ;
56104 return 0;
56105 }
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func_finitef_use=yes
56109 else
56110 glibcxx_cv_func_finitef_use=no
56111 fi
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120 fi
56121
56122 fi
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56124 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56125
56126 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56127 for ac_func in finitef
56128 do :
56129 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56130 if test "x$ac_cv_func_finitef" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE_FINITEF 1
56133 _ACEOF
56134
56135 fi
56136 done
56137
56138 else
56139
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56141 $as_echo_n "checking for _finitef declaration... " >&6; }
56142 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56143 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56144 $as_echo_n "(cached) " >&6
56145 else
56146
56147
56148 ac_ext=cpp
56149 ac_cpp='$CXXCPP $CPPFLAGS'
56150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56153
56154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155 /* end confdefs.h. */
56156 #include <math.h>
56157 #ifdef HAVE_IEEEFP_H
56158 #include <ieeefp.h>
56159 #endif
56160
56161 int
56162 main ()
56163 {
56164 _finitef(0);
56165 ;
56166 return 0;
56167 }
56168 _ACEOF
56169 if ac_fn_cxx_try_compile "$LINENO"; then :
56170 glibcxx_cv_func__finitef_use=yes
56171 else
56172 glibcxx_cv_func__finitef_use=no
56173 fi
56174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56175 ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56180
56181
56182 fi
56183
56184 fi
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56186 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56187
56188 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56189 for ac_func in _finitef
56190 do :
56191 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56192 if test "x$ac_cv_func__finitef" = x""yes; then :
56193 cat >>confdefs.h <<_ACEOF
56194 #define HAVE__FINITEF 1
56195 _ACEOF
56196
56197 fi
56198 done
56199
56200 fi
56201 fi
56202
56203
56204
56205
56206
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56208 $as_echo_n "checking for long double trig functions... " >&6; }
56209 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56210 $as_echo_n "(cached) " >&6
56211 else
56212
56213
56214 ac_ext=cpp
56215 ac_cpp='$CXXCPP $CPPFLAGS'
56216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56219
56220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56221 /* end confdefs.h. */
56222 #include <math.h>
56223 int
56224 main ()
56225 {
56226 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56227 ;
56228 return 0;
56229 }
56230 _ACEOF
56231 if ac_fn_cxx_try_compile "$LINENO"; then :
56232 glibcxx_cv_func_long_double_trig_use=yes
56233 else
56234 glibcxx_cv_func_long_double_trig_use=no
56235 fi
56236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56237 ac_ext=c
56238 ac_cpp='$CPP $CPPFLAGS'
56239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56242
56243 fi
56244
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56246 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56247 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56248 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56249 do :
56250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56252 eval as_val=\$$as_ac_var
56253 if test "x$as_val" = x""yes; then :
56254 cat >>confdefs.h <<_ACEOF
56255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56256 _ACEOF
56257
56258 fi
56259 done
56260
56261 else
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56263 $as_echo_n "checking for _long double trig functions... " >&6; }
56264 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56267
56268
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56274
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56278 int
56279 main ()
56280 {
56281 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56282 ;
56283 return 0;
56284 }
56285 _ACEOF
56286 if ac_fn_cxx_try_compile "$LINENO"; then :
56287 glibcxx_cv_func__long_double_trig_use=yes
56288 else
56289 glibcxx_cv_func__long_double_trig_use=no
56290 fi
56291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56292 ac_ext=c
56293 ac_cpp='$CPP $CPPFLAGS'
56294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56297
56298 fi
56299
56300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56301 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56302 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56303 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56304 do :
56305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56307 eval as_val=\$$as_ac_var
56308 if test "x$as_val" = x""yes; then :
56309 cat >>confdefs.h <<_ACEOF
56310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56311 _ACEOF
56312
56313 fi
56314 done
56315
56316 fi
56317 fi
56318
56319
56320
56321
56322
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56324 $as_echo_n "checking for long double round functions... " >&6; }
56325 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56326 $as_echo_n "(cached) " >&6
56327 else
56328
56329
56330 ac_ext=cpp
56331 ac_cpp='$CXXCPP $CPPFLAGS'
56332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335
56336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56337 /* end confdefs.h. */
56338 #include <math.h>
56339 int
56340 main ()
56341 {
56342 ceill (0); floorl (0);
56343 ;
56344 return 0;
56345 }
56346 _ACEOF
56347 if ac_fn_cxx_try_compile "$LINENO"; then :
56348 glibcxx_cv_func_long_double_round_use=yes
56349 else
56350 glibcxx_cv_func_long_double_round_use=no
56351 fi
56352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56353 ac_ext=c
56354 ac_cpp='$CPP $CPPFLAGS'
56355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56358
56359 fi
56360
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56362 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56363 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56364 for ac_func in ceill floorl
56365 do :
56366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56368 eval as_val=\$$as_ac_var
56369 if test "x$as_val" = x""yes; then :
56370 cat >>confdefs.h <<_ACEOF
56371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56372 _ACEOF
56373
56374 fi
56375 done
56376
56377 else
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56379 $as_echo_n "checking for _long double round functions... " >&6; }
56380 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56382 else
56383
56384
56385 ac_ext=cpp
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56390
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56393 #include <math.h>
56394 int
56395 main ()
56396 {
56397 _ceill (0); _floorl (0);
56398 ;
56399 return 0;
56400 }
56401 _ACEOF
56402 if ac_fn_cxx_try_compile "$LINENO"; then :
56403 glibcxx_cv_func__long_double_round_use=yes
56404 else
56405 glibcxx_cv_func__long_double_round_use=no
56406 fi
56407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56413
56414 fi
56415
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56417 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56418 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56419 for ac_func in _ceill _floorl
56420 do :
56421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56423 eval as_val=\$$as_ac_var
56424 if test "x$as_val" = x""yes; then :
56425 cat >>confdefs.h <<_ACEOF
56426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56427 _ACEOF
56428
56429 fi
56430 done
56431
56432 fi
56433 fi
56434
56435
56436
56437
56438
56439
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56441 $as_echo_n "checking for isnanl declaration... " >&6; }
56442 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56443 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56444 $as_echo_n "(cached) " >&6
56445 else
56446
56447
56448 ac_ext=cpp
56449 ac_cpp='$CXXCPP $CPPFLAGS'
56450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56453
56454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56455 /* end confdefs.h. */
56456 #include <math.h>
56457 #ifdef HAVE_IEEEFP_H
56458 #include <ieeefp.h>
56459 #endif
56460
56461 int
56462 main ()
56463 {
56464 isnanl(0);
56465 ;
56466 return 0;
56467 }
56468 _ACEOF
56469 if ac_fn_cxx_try_compile "$LINENO"; then :
56470 glibcxx_cv_func_isnanl_use=yes
56471 else
56472 glibcxx_cv_func_isnanl_use=no
56473 fi
56474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56475 ac_ext=c
56476 ac_cpp='$CPP $CPPFLAGS'
56477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56480
56481
56482 fi
56483
56484 fi
56485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56486 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56487
56488 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56489 for ac_func in isnanl
56490 do :
56491 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56492 if test "x$ac_cv_func_isnanl" = x""yes; then :
56493 cat >>confdefs.h <<_ACEOF
56494 #define HAVE_ISNANL 1
56495 _ACEOF
56496
56497 fi
56498 done
56499
56500 else
56501
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56503 $as_echo_n "checking for _isnanl declaration... " >&6; }
56504 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56505 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56506 $as_echo_n "(cached) " >&6
56507 else
56508
56509
56510 ac_ext=cpp
56511 ac_cpp='$CXXCPP $CPPFLAGS'
56512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56515
56516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56517 /* end confdefs.h. */
56518 #include <math.h>
56519 #ifdef HAVE_IEEEFP_H
56520 #include <ieeefp.h>
56521 #endif
56522
56523 int
56524 main ()
56525 {
56526 _isnanl(0);
56527 ;
56528 return 0;
56529 }
56530 _ACEOF
56531 if ac_fn_cxx_try_compile "$LINENO"; then :
56532 glibcxx_cv_func__isnanl_use=yes
56533 else
56534 glibcxx_cv_func__isnanl_use=no
56535 fi
56536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56537 ac_ext=c
56538 ac_cpp='$CPP $CPPFLAGS'
56539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56542
56543
56544 fi
56545
56546 fi
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56548 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56549
56550 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56551 for ac_func in _isnanl
56552 do :
56553 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56554 if test "x$ac_cv_func__isnanl" = x""yes; then :
56555 cat >>confdefs.h <<_ACEOF
56556 #define HAVE__ISNANL 1
56557 _ACEOF
56558
56559 fi
56560 done
56561
56562 fi
56563 fi
56564
56565
56566
56567
56568
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56570 $as_echo_n "checking for isinfl declaration... " >&6; }
56571 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56572 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56575
56576
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56582
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <math.h>
56586 #ifdef HAVE_IEEEFP_H
56587 #include <ieeefp.h>
56588 #endif
56589
56590 int
56591 main ()
56592 {
56593 isinfl(0);
56594 ;
56595 return 0;
56596 }
56597 _ACEOF
56598 if ac_fn_cxx_try_compile "$LINENO"; then :
56599 glibcxx_cv_func_isinfl_use=yes
56600 else
56601 glibcxx_cv_func_isinfl_use=no
56602 fi
56603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56604 ac_ext=c
56605 ac_cpp='$CPP $CPPFLAGS'
56606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56609
56610
56611 fi
56612
56613 fi
56614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56615 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56616
56617 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56618 for ac_func in isinfl
56619 do :
56620 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56621 if test "x$ac_cv_func_isinfl" = x""yes; then :
56622 cat >>confdefs.h <<_ACEOF
56623 #define HAVE_ISINFL 1
56624 _ACEOF
56625
56626 fi
56627 done
56628
56629 else
56630
56631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56632 $as_echo_n "checking for _isinfl declaration... " >&6; }
56633 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56634 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56635 $as_echo_n "(cached) " >&6
56636 else
56637
56638
56639 ac_ext=cpp
56640 ac_cpp='$CXXCPP $CPPFLAGS'
56641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56644
56645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56646 /* end confdefs.h. */
56647 #include <math.h>
56648 #ifdef HAVE_IEEEFP_H
56649 #include <ieeefp.h>
56650 #endif
56651
56652 int
56653 main ()
56654 {
56655 _isinfl(0);
56656 ;
56657 return 0;
56658 }
56659 _ACEOF
56660 if ac_fn_cxx_try_compile "$LINENO"; then :
56661 glibcxx_cv_func__isinfl_use=yes
56662 else
56663 glibcxx_cv_func__isinfl_use=no
56664 fi
56665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56666 ac_ext=c
56667 ac_cpp='$CPP $CPPFLAGS'
56668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56671
56672
56673 fi
56674
56675 fi
56676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56677 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56678
56679 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56680 for ac_func in _isinfl
56681 do :
56682 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56683 if test "x$ac_cv_func__isinfl" = x""yes; then :
56684 cat >>confdefs.h <<_ACEOF
56685 #define HAVE__ISINFL 1
56686 _ACEOF
56687
56688 fi
56689 done
56690
56691 fi
56692 fi
56693
56694
56695
56696
56697
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56699 $as_echo_n "checking for atan2l declaration... " >&6; }
56700 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56701 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56702 $as_echo_n "(cached) " >&6
56703 else
56704
56705
56706 ac_ext=cpp
56707 ac_cpp='$CXXCPP $CPPFLAGS'
56708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56711
56712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713 /* end confdefs.h. */
56714 #include <math.h>
56715 int
56716 main ()
56717 {
56718 atan2l(0, 0);
56719 ;
56720 return 0;
56721 }
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func_atan2l_use=yes
56725 else
56726 glibcxx_cv_func_atan2l_use=no
56727 fi
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56734
56735
56736 fi
56737
56738 fi
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56740 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56741
56742 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56743 for ac_func in atan2l
56744 do :
56745 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56746 if test "x$ac_cv_func_atan2l" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE_ATAN2L 1
56749 _ACEOF
56750
56751 fi
56752 done
56753
56754 else
56755
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56757 $as_echo_n "checking for _atan2l declaration... " >&6; }
56758 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56759 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56760 $as_echo_n "(cached) " >&6
56761 else
56762
56763
56764 ac_ext=cpp
56765 ac_cpp='$CXXCPP $CPPFLAGS'
56766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56769
56770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56771 /* end confdefs.h. */
56772 #include <math.h>
56773 int
56774 main ()
56775 {
56776 _atan2l(0, 0);
56777 ;
56778 return 0;
56779 }
56780 _ACEOF
56781 if ac_fn_cxx_try_compile "$LINENO"; then :
56782 glibcxx_cv_func__atan2l_use=yes
56783 else
56784 glibcxx_cv_func__atan2l_use=no
56785 fi
56786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56787 ac_ext=c
56788 ac_cpp='$CPP $CPPFLAGS'
56789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56792
56793
56794 fi
56795
56796 fi
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56798 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56799
56800 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56801 for ac_func in _atan2l
56802 do :
56803 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56804 if test "x$ac_cv_func__atan2l" = x""yes; then :
56805 cat >>confdefs.h <<_ACEOF
56806 #define HAVE__ATAN2L 1
56807 _ACEOF
56808
56809 fi
56810 done
56811
56812 fi
56813 fi
56814
56815
56816
56817
56818
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56820 $as_echo_n "checking for expl declaration... " >&6; }
56821 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56822 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56825
56826
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56832
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56836 #ifdef HAVE_IEEEFP_H
56837 #include <ieeefp.h>
56838 #endif
56839
56840 int
56841 main ()
56842 {
56843 expl(0);
56844 ;
56845 return 0;
56846 }
56847 _ACEOF
56848 if ac_fn_cxx_try_compile "$LINENO"; then :
56849 glibcxx_cv_func_expl_use=yes
56850 else
56851 glibcxx_cv_func_expl_use=no
56852 fi
56853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56854 ac_ext=c
56855 ac_cpp='$CPP $CPPFLAGS'
56856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56859
56860
56861 fi
56862
56863 fi
56864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56865 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56866
56867 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56868 for ac_func in expl
56869 do :
56870 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56871 if test "x$ac_cv_func_expl" = x""yes; then :
56872 cat >>confdefs.h <<_ACEOF
56873 #define HAVE_EXPL 1
56874 _ACEOF
56875
56876 fi
56877 done
56878
56879 else
56880
56881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56882 $as_echo_n "checking for _expl declaration... " >&6; }
56883 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56884 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56885 $as_echo_n "(cached) " >&6
56886 else
56887
56888
56889 ac_ext=cpp
56890 ac_cpp='$CXXCPP $CPPFLAGS'
56891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56894
56895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56896 /* end confdefs.h. */
56897 #include <math.h>
56898 #ifdef HAVE_IEEEFP_H
56899 #include <ieeefp.h>
56900 #endif
56901
56902 int
56903 main ()
56904 {
56905 _expl(0);
56906 ;
56907 return 0;
56908 }
56909 _ACEOF
56910 if ac_fn_cxx_try_compile "$LINENO"; then :
56911 glibcxx_cv_func__expl_use=yes
56912 else
56913 glibcxx_cv_func__expl_use=no
56914 fi
56915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56916 ac_ext=c
56917 ac_cpp='$CPP $CPPFLAGS'
56918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56921
56922
56923 fi
56924
56925 fi
56926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56927 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56928
56929 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56930 for ac_func in _expl
56931 do :
56932 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56933 if test "x$ac_cv_func__expl" = x""yes; then :
56934 cat >>confdefs.h <<_ACEOF
56935 #define HAVE__EXPL 1
56936 _ACEOF
56937
56938 fi
56939 done
56940
56941 fi
56942 fi
56943
56944
56945
56946
56947
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56949 $as_echo_n "checking for fabsl declaration... " >&6; }
56950 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56951 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56952 $as_echo_n "(cached) " >&6
56953 else
56954
56955
56956 ac_ext=cpp
56957 ac_cpp='$CXXCPP $CPPFLAGS'
56958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56961
56962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56963 /* end confdefs.h. */
56964 #include <math.h>
56965 #ifdef HAVE_IEEEFP_H
56966 #include <ieeefp.h>
56967 #endif
56968
56969 int
56970 main ()
56971 {
56972 fabsl(0);
56973 ;
56974 return 0;
56975 }
56976 _ACEOF
56977 if ac_fn_cxx_try_compile "$LINENO"; then :
56978 glibcxx_cv_func_fabsl_use=yes
56979 else
56980 glibcxx_cv_func_fabsl_use=no
56981 fi
56982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56983 ac_ext=c
56984 ac_cpp='$CPP $CPPFLAGS'
56985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56988
56989
56990 fi
56991
56992 fi
56993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56994 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56995
56996 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56997 for ac_func in fabsl
56998 do :
56999 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57000 if test "x$ac_cv_func_fabsl" = x""yes; then :
57001 cat >>confdefs.h <<_ACEOF
57002 #define HAVE_FABSL 1
57003 _ACEOF
57004
57005 fi
57006 done
57007
57008 else
57009
57010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57011 $as_echo_n "checking for _fabsl declaration... " >&6; }
57012 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57013 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57014 $as_echo_n "(cached) " >&6
57015 else
57016
57017
57018 ac_ext=cpp
57019 ac_cpp='$CXXCPP $CPPFLAGS'
57020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57023
57024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57025 /* end confdefs.h. */
57026 #include <math.h>
57027 #ifdef HAVE_IEEEFP_H
57028 #include <ieeefp.h>
57029 #endif
57030
57031 int
57032 main ()
57033 {
57034 _fabsl(0);
57035 ;
57036 return 0;
57037 }
57038 _ACEOF
57039 if ac_fn_cxx_try_compile "$LINENO"; then :
57040 glibcxx_cv_func__fabsl_use=yes
57041 else
57042 glibcxx_cv_func__fabsl_use=no
57043 fi
57044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57045 ac_ext=c
57046 ac_cpp='$CPP $CPPFLAGS'
57047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57050
57051
57052 fi
57053
57054 fi
57055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57056 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57057
57058 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57059 for ac_func in _fabsl
57060 do :
57061 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57062 if test "x$ac_cv_func__fabsl" = x""yes; then :
57063 cat >>confdefs.h <<_ACEOF
57064 #define HAVE__FABSL 1
57065 _ACEOF
57066
57067 fi
57068 done
57069
57070 fi
57071 fi
57072
57073
57074
57075
57076
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57078 $as_echo_n "checking for fmodl declaration... " >&6; }
57079 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57080 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57081 $as_echo_n "(cached) " >&6
57082 else
57083
57084
57085 ac_ext=cpp
57086 ac_cpp='$CXXCPP $CPPFLAGS'
57087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57090
57091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57092 /* end confdefs.h. */
57093 #include <math.h>
57094 int
57095 main ()
57096 {
57097 fmodl(0, 0);
57098 ;
57099 return 0;
57100 }
57101 _ACEOF
57102 if ac_fn_cxx_try_compile "$LINENO"; then :
57103 glibcxx_cv_func_fmodl_use=yes
57104 else
57105 glibcxx_cv_func_fmodl_use=no
57106 fi
57107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57108 ac_ext=c
57109 ac_cpp='$CPP $CPPFLAGS'
57110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57113
57114
57115 fi
57116
57117 fi
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57119 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57120
57121 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57122 for ac_func in fmodl
57123 do :
57124 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57125 if test "x$ac_cv_func_fmodl" = x""yes; then :
57126 cat >>confdefs.h <<_ACEOF
57127 #define HAVE_FMODL 1
57128 _ACEOF
57129
57130 fi
57131 done
57132
57133 else
57134
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57136 $as_echo_n "checking for _fmodl declaration... " >&6; }
57137 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57138 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57139 $as_echo_n "(cached) " >&6
57140 else
57141
57142
57143 ac_ext=cpp
57144 ac_cpp='$CXXCPP $CPPFLAGS'
57145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57148
57149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57150 /* end confdefs.h. */
57151 #include <math.h>
57152 int
57153 main ()
57154 {
57155 _fmodl(0, 0);
57156 ;
57157 return 0;
57158 }
57159 _ACEOF
57160 if ac_fn_cxx_try_compile "$LINENO"; then :
57161 glibcxx_cv_func__fmodl_use=yes
57162 else
57163 glibcxx_cv_func__fmodl_use=no
57164 fi
57165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57166 ac_ext=c
57167 ac_cpp='$CPP $CPPFLAGS'
57168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57171
57172
57173 fi
57174
57175 fi
57176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57177 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57178
57179 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57180 for ac_func in _fmodl
57181 do :
57182 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57183 if test "x$ac_cv_func__fmodl" = x""yes; then :
57184 cat >>confdefs.h <<_ACEOF
57185 #define HAVE__FMODL 1
57186 _ACEOF
57187
57188 fi
57189 done
57190
57191 fi
57192 fi
57193
57194
57195
57196
57197
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57199 $as_echo_n "checking for frexpl declaration... " >&6; }
57200 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57201 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57202 $as_echo_n "(cached) " >&6
57203 else
57204
57205
57206 ac_ext=cpp
57207 ac_cpp='$CXXCPP $CPPFLAGS'
57208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57211
57212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57213 /* end confdefs.h. */
57214 #include <math.h>
57215 int
57216 main ()
57217 {
57218 frexpl(0, 0);
57219 ;
57220 return 0;
57221 }
57222 _ACEOF
57223 if ac_fn_cxx_try_compile "$LINENO"; then :
57224 glibcxx_cv_func_frexpl_use=yes
57225 else
57226 glibcxx_cv_func_frexpl_use=no
57227 fi
57228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229 ac_ext=c
57230 ac_cpp='$CPP $CPPFLAGS'
57231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57234
57235
57236 fi
57237
57238 fi
57239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57240 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57241
57242 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57243 for ac_func in frexpl
57244 do :
57245 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57246 if test "x$ac_cv_func_frexpl" = x""yes; then :
57247 cat >>confdefs.h <<_ACEOF
57248 #define HAVE_FREXPL 1
57249 _ACEOF
57250
57251 fi
57252 done
57253
57254 else
57255
57256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57257 $as_echo_n "checking for _frexpl declaration... " >&6; }
57258 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57259 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57260 $as_echo_n "(cached) " >&6
57261 else
57262
57263
57264 ac_ext=cpp
57265 ac_cpp='$CXXCPP $CPPFLAGS'
57266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57269
57270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57271 /* end confdefs.h. */
57272 #include <math.h>
57273 int
57274 main ()
57275 {
57276 _frexpl(0, 0);
57277 ;
57278 return 0;
57279 }
57280 _ACEOF
57281 if ac_fn_cxx_try_compile "$LINENO"; then :
57282 glibcxx_cv_func__frexpl_use=yes
57283 else
57284 glibcxx_cv_func__frexpl_use=no
57285 fi
57286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57287 ac_ext=c
57288 ac_cpp='$CPP $CPPFLAGS'
57289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57292
57293
57294 fi
57295
57296 fi
57297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57298 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57299
57300 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57301 for ac_func in _frexpl
57302 do :
57303 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57304 if test "x$ac_cv_func__frexpl" = x""yes; then :
57305 cat >>confdefs.h <<_ACEOF
57306 #define HAVE__FREXPL 1
57307 _ACEOF
57308
57309 fi
57310 done
57311
57312 fi
57313 fi
57314
57315
57316
57317
57318
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57320 $as_echo_n "checking for hypotl declaration... " >&6; }
57321 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57322 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57323 $as_echo_n "(cached) " >&6
57324 else
57325
57326
57327 ac_ext=cpp
57328 ac_cpp='$CXXCPP $CPPFLAGS'
57329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57332
57333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334 /* end confdefs.h. */
57335 #include <math.h>
57336 int
57337 main ()
57338 {
57339 hypotl(0, 0);
57340 ;
57341 return 0;
57342 }
57343 _ACEOF
57344 if ac_fn_cxx_try_compile "$LINENO"; then :
57345 glibcxx_cv_func_hypotl_use=yes
57346 else
57347 glibcxx_cv_func_hypotl_use=no
57348 fi
57349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57350 ac_ext=c
57351 ac_cpp='$CPP $CPPFLAGS'
57352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57355
57356
57357 fi
57358
57359 fi
57360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57361 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57362
57363 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57364 for ac_func in hypotl
57365 do :
57366 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57367 if test "x$ac_cv_func_hypotl" = x""yes; then :
57368 cat >>confdefs.h <<_ACEOF
57369 #define HAVE_HYPOTL 1
57370 _ACEOF
57371
57372 fi
57373 done
57374
57375 else
57376
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57378 $as_echo_n "checking for _hypotl declaration... " >&6; }
57379 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57380 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57381 $as_echo_n "(cached) " >&6
57382 else
57383
57384
57385 ac_ext=cpp
57386 ac_cpp='$CXXCPP $CPPFLAGS'
57387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57390
57391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57392 /* end confdefs.h. */
57393 #include <math.h>
57394 int
57395 main ()
57396 {
57397 _hypotl(0, 0);
57398 ;
57399 return 0;
57400 }
57401 _ACEOF
57402 if ac_fn_cxx_try_compile "$LINENO"; then :
57403 glibcxx_cv_func__hypotl_use=yes
57404 else
57405 glibcxx_cv_func__hypotl_use=no
57406 fi
57407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57408 ac_ext=c
57409 ac_cpp='$CPP $CPPFLAGS'
57410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57413
57414
57415 fi
57416
57417 fi
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57419 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57420
57421 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57422 for ac_func in _hypotl
57423 do :
57424 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57425 if test "x$ac_cv_func__hypotl" = x""yes; then :
57426 cat >>confdefs.h <<_ACEOF
57427 #define HAVE__HYPOTL 1
57428 _ACEOF
57429
57430 fi
57431 done
57432
57433 fi
57434 fi
57435
57436
57437
57438
57439
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57441 $as_echo_n "checking for ldexpl declaration... " >&6; }
57442 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57443 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57444 $as_echo_n "(cached) " >&6
57445 else
57446
57447
57448 ac_ext=cpp
57449 ac_cpp='$CXXCPP $CPPFLAGS'
57450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57453
57454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57455 /* end confdefs.h. */
57456 #include <math.h>
57457 int
57458 main ()
57459 {
57460 ldexpl(0, 0);
57461 ;
57462 return 0;
57463 }
57464 _ACEOF
57465 if ac_fn_cxx_try_compile "$LINENO"; then :
57466 glibcxx_cv_func_ldexpl_use=yes
57467 else
57468 glibcxx_cv_func_ldexpl_use=no
57469 fi
57470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57476
57477
57478 fi
57479
57480 fi
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57482 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57483
57484 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57485 for ac_func in ldexpl
57486 do :
57487 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57488 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define HAVE_LDEXPL 1
57491 _ACEOF
57492
57493 fi
57494 done
57495
57496 else
57497
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57499 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57500 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57501 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57502 $as_echo_n "(cached) " >&6
57503 else
57504
57505
57506 ac_ext=cpp
57507 ac_cpp='$CXXCPP $CPPFLAGS'
57508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57511
57512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57513 /* end confdefs.h. */
57514 #include <math.h>
57515 int
57516 main ()
57517 {
57518 _ldexpl(0, 0);
57519 ;
57520 return 0;
57521 }
57522 _ACEOF
57523 if ac_fn_cxx_try_compile "$LINENO"; then :
57524 glibcxx_cv_func__ldexpl_use=yes
57525 else
57526 glibcxx_cv_func__ldexpl_use=no
57527 fi
57528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57529 ac_ext=c
57530 ac_cpp='$CPP $CPPFLAGS'
57531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57534
57535
57536 fi
57537
57538 fi
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57540 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57541
57542 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57543 for ac_func in _ldexpl
57544 do :
57545 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57546 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57547 cat >>confdefs.h <<_ACEOF
57548 #define HAVE__LDEXPL 1
57549 _ACEOF
57550
57551 fi
57552 done
57553
57554 fi
57555 fi
57556
57557
57558
57559
57560
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57562 $as_echo_n "checking for logl declaration... " >&6; }
57563 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57564 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57567
57568
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57574
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57581
57582 int
57583 main ()
57584 {
57585 logl(0);
57586 ;
57587 return 0;
57588 }
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func_logl_use=yes
57592 else
57593 glibcxx_cv_func_logl_use=no
57594 fi
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57601
57602
57603 fi
57604
57605 fi
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57607 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57608
57609 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57610 for ac_func in logl
57611 do :
57612 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57613 if test "x$ac_cv_func_logl" = x""yes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE_LOGL 1
57616 _ACEOF
57617
57618 fi
57619 done
57620
57621 else
57622
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57624 $as_echo_n "checking for _logl declaration... " >&6; }
57625 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57626 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57627 $as_echo_n "(cached) " >&6
57628 else
57629
57630
57631 ac_ext=cpp
57632 ac_cpp='$CXXCPP $CPPFLAGS'
57633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57636
57637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57638 /* end confdefs.h. */
57639 #include <math.h>
57640 #ifdef HAVE_IEEEFP_H
57641 #include <ieeefp.h>
57642 #endif
57643
57644 int
57645 main ()
57646 {
57647 _logl(0);
57648 ;
57649 return 0;
57650 }
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func__logl_use=yes
57654 else
57655 glibcxx_cv_func__logl_use=no
57656 fi
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57663
57664
57665 fi
57666
57667 fi
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57669 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57670
57671 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57672 for ac_func in _logl
57673 do :
57674 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57675 if test "x$ac_cv_func__logl" = x""yes; then :
57676 cat >>confdefs.h <<_ACEOF
57677 #define HAVE__LOGL 1
57678 _ACEOF
57679
57680 fi
57681 done
57682
57683 fi
57684 fi
57685
57686
57687
57688
57689
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57691 $as_echo_n "checking for log10l declaration... " >&6; }
57692 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57693 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57696
57697
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57707 #ifdef HAVE_IEEEFP_H
57708 #include <ieeefp.h>
57709 #endif
57710
57711 int
57712 main ()
57713 {
57714 log10l(0);
57715 ;
57716 return 0;
57717 }
57718 _ACEOF
57719 if ac_fn_cxx_try_compile "$LINENO"; then :
57720 glibcxx_cv_func_log10l_use=yes
57721 else
57722 glibcxx_cv_func_log10l_use=no
57723 fi
57724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57725 ac_ext=c
57726 ac_cpp='$CPP $CPPFLAGS'
57727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57730
57731
57732 fi
57733
57734 fi
57735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57736 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57737
57738 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57739 for ac_func in log10l
57740 do :
57741 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57742 if test "x$ac_cv_func_log10l" = x""yes; then :
57743 cat >>confdefs.h <<_ACEOF
57744 #define HAVE_LOG10L 1
57745 _ACEOF
57746
57747 fi
57748 done
57749
57750 else
57751
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57753 $as_echo_n "checking for _log10l declaration... " >&6; }
57754 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57755 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57756 $as_echo_n "(cached) " >&6
57757 else
57758
57759
57760 ac_ext=cpp
57761 ac_cpp='$CXXCPP $CPPFLAGS'
57762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57765
57766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57767 /* end confdefs.h. */
57768 #include <math.h>
57769 #ifdef HAVE_IEEEFP_H
57770 #include <ieeefp.h>
57771 #endif
57772
57773 int
57774 main ()
57775 {
57776 _log10l(0);
57777 ;
57778 return 0;
57779 }
57780 _ACEOF
57781 if ac_fn_cxx_try_compile "$LINENO"; then :
57782 glibcxx_cv_func__log10l_use=yes
57783 else
57784 glibcxx_cv_func__log10l_use=no
57785 fi
57786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57787 ac_ext=c
57788 ac_cpp='$CPP $CPPFLAGS'
57789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57792
57793
57794 fi
57795
57796 fi
57797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57798 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57799
57800 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57801 for ac_func in _log10l
57802 do :
57803 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57804 if test "x$ac_cv_func__log10l" = x""yes; then :
57805 cat >>confdefs.h <<_ACEOF
57806 #define HAVE__LOG10L 1
57807 _ACEOF
57808
57809 fi
57810 done
57811
57812 fi
57813 fi
57814
57815
57816
57817
57818
57819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57820 $as_echo_n "checking for modfl declaration... " >&6; }
57821 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57822 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57823 $as_echo_n "(cached) " >&6
57824 else
57825
57826
57827 ac_ext=cpp
57828 ac_cpp='$CXXCPP $CPPFLAGS'
57829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832
57833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57834 /* end confdefs.h. */
57835 #include <math.h>
57836 int
57837 main ()
57838 {
57839 modfl(0, 0);
57840 ;
57841 return 0;
57842 }
57843 _ACEOF
57844 if ac_fn_cxx_try_compile "$LINENO"; then :
57845 glibcxx_cv_func_modfl_use=yes
57846 else
57847 glibcxx_cv_func_modfl_use=no
57848 fi
57849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57850 ac_ext=c
57851 ac_cpp='$CPP $CPPFLAGS'
57852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57855
57856
57857 fi
57858
57859 fi
57860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57861 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57862
57863 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57864 for ac_func in modfl
57865 do :
57866 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57867 if test "x$ac_cv_func_modfl" = x""yes; then :
57868 cat >>confdefs.h <<_ACEOF
57869 #define HAVE_MODFL 1
57870 _ACEOF
57871
57872 fi
57873 done
57874
57875 else
57876
57877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57878 $as_echo_n "checking for _modfl declaration... " >&6; }
57879 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57880 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57881 $as_echo_n "(cached) " >&6
57882 else
57883
57884
57885 ac_ext=cpp
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57890
57891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57892 /* end confdefs.h. */
57893 #include <math.h>
57894 int
57895 main ()
57896 {
57897 _modfl(0, 0);
57898 ;
57899 return 0;
57900 }
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func__modfl_use=yes
57904 else
57905 glibcxx_cv_func__modfl_use=no
57906 fi
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913
57914
57915 fi
57916
57917 fi
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57919 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57920
57921 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57922 for ac_func in _modfl
57923 do :
57924 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57925 if test "x$ac_cv_func__modfl" = x""yes; then :
57926 cat >>confdefs.h <<_ACEOF
57927 #define HAVE__MODFL 1
57928 _ACEOF
57929
57930 fi
57931 done
57932
57933 fi
57934 fi
57935
57936
57937
57938
57939
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57941 $as_echo_n "checking for powl declaration... " >&6; }
57942 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57943 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57946
57947
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57953
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57957 int
57958 main ()
57959 {
57960 powl(0, 0);
57961 ;
57962 return 0;
57963 }
57964 _ACEOF
57965 if ac_fn_cxx_try_compile "$LINENO"; then :
57966 glibcxx_cv_func_powl_use=yes
57967 else
57968 glibcxx_cv_func_powl_use=no
57969 fi
57970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57971 ac_ext=c
57972 ac_cpp='$CPP $CPPFLAGS'
57973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57976
57977
57978 fi
57979
57980 fi
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57982 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57983
57984 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57985 for ac_func in powl
57986 do :
57987 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57988 if test "x$ac_cv_func_powl" = x""yes; then :
57989 cat >>confdefs.h <<_ACEOF
57990 #define HAVE_POWL 1
57991 _ACEOF
57992
57993 fi
57994 done
57995
57996 else
57997
57998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57999 $as_echo_n "checking for _powl declaration... " >&6; }
58000 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58001 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58002 $as_echo_n "(cached) " >&6
58003 else
58004
58005
58006 ac_ext=cpp
58007 ac_cpp='$CXXCPP $CPPFLAGS'
58008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58011
58012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58013 /* end confdefs.h. */
58014 #include <math.h>
58015 int
58016 main ()
58017 {
58018 _powl(0, 0);
58019 ;
58020 return 0;
58021 }
58022 _ACEOF
58023 if ac_fn_cxx_try_compile "$LINENO"; then :
58024 glibcxx_cv_func__powl_use=yes
58025 else
58026 glibcxx_cv_func__powl_use=no
58027 fi
58028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58029 ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034
58035
58036 fi
58037
58038 fi
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58040 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58041
58042 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58043 for ac_func in _powl
58044 do :
58045 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58046 if test "x$ac_cv_func__powl" = x""yes; then :
58047 cat >>confdefs.h <<_ACEOF
58048 #define HAVE__POWL 1
58049 _ACEOF
58050
58051 fi
58052 done
58053
58054 fi
58055 fi
58056
58057
58058
58059
58060
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58062 $as_echo_n "checking for sqrtl declaration... " >&6; }
58063 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58064 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58067
58068
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58074
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 #ifdef HAVE_IEEEFP_H
58079 #include <ieeefp.h>
58080 #endif
58081
58082 int
58083 main ()
58084 {
58085 sqrtl(0);
58086 ;
58087 return 0;
58088 }
58089 _ACEOF
58090 if ac_fn_cxx_try_compile "$LINENO"; then :
58091 glibcxx_cv_func_sqrtl_use=yes
58092 else
58093 glibcxx_cv_func_sqrtl_use=no
58094 fi
58095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58096 ac_ext=c
58097 ac_cpp='$CPP $CPPFLAGS'
58098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58101
58102
58103 fi
58104
58105 fi
58106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58107 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58108
58109 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58110 for ac_func in sqrtl
58111 do :
58112 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58113 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58114 cat >>confdefs.h <<_ACEOF
58115 #define HAVE_SQRTL 1
58116 _ACEOF
58117
58118 fi
58119 done
58120
58121 else
58122
58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58124 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58125 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58126 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58127 $as_echo_n "(cached) " >&6
58128 else
58129
58130
58131 ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136
58137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h. */
58139 #include <math.h>
58140 #ifdef HAVE_IEEEFP_H
58141 #include <ieeefp.h>
58142 #endif
58143
58144 int
58145 main ()
58146 {
58147 _sqrtl(0);
58148 ;
58149 return 0;
58150 }
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153 glibcxx_cv_func__sqrtl_use=yes
58154 else
58155 glibcxx_cv_func__sqrtl_use=no
58156 fi
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158 ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163
58164
58165 fi
58166
58167 fi
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58169 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58170
58171 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58172 for ac_func in _sqrtl
58173 do :
58174 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58175 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58176 cat >>confdefs.h <<_ACEOF
58177 #define HAVE__SQRTL 1
58178 _ACEOF
58179
58180 fi
58181 done
58182
58183 fi
58184 fi
58185
58186
58187
58188
58189
58190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58191 $as_echo_n "checking for sincosl declaration... " >&6; }
58192 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58193 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58194 $as_echo_n "(cached) " >&6
58195 else
58196
58197
58198 ac_ext=cpp
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58203
58204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58205 /* end confdefs.h. */
58206 #include <math.h>
58207 int
58208 main ()
58209 {
58210 sincosl(0, 0, 0);
58211 ;
58212 return 0;
58213 }
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_sincosl_use=yes
58217 else
58218 glibcxx_cv_func_sincosl_use=no
58219 fi
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58226
58227
58228 fi
58229
58230 fi
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58232 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58233
58234 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58235 for ac_func in sincosl
58236 do :
58237 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58238 if test "x$ac_cv_func_sincosl" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_SINCOSL 1
58241 _ACEOF
58242
58243 fi
58244 done
58245
58246 else
58247
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58249 $as_echo_n "checking for _sincosl declaration... " >&6; }
58250 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58251 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58254
58255
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58261
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58265 int
58266 main ()
58267 {
58268 _sincosl(0, 0, 0);
58269 ;
58270 return 0;
58271 }
58272 _ACEOF
58273 if ac_fn_cxx_try_compile "$LINENO"; then :
58274 glibcxx_cv_func__sincosl_use=yes
58275 else
58276 glibcxx_cv_func__sincosl_use=no
58277 fi
58278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58279 ac_ext=c
58280 ac_cpp='$CPP $CPPFLAGS'
58281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284
58285
58286 fi
58287
58288 fi
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58290 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58291
58292 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58293 for ac_func in _sincosl
58294 do :
58295 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58296 if test "x$ac_cv_func__sincosl" = x""yes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE__SINCOSL 1
58299 _ACEOF
58300
58301 fi
58302 done
58303
58304 fi
58305 fi
58306
58307
58308
58309
58310
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58312 $as_echo_n "checking for finitel declaration... " >&6; }
58313 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58314 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58315 $as_echo_n "(cached) " >&6
58316 else
58317
58318
58319 ac_ext=cpp
58320 ac_cpp='$CXXCPP $CPPFLAGS'
58321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58324
58325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326 /* end confdefs.h. */
58327 #include <math.h>
58328 #ifdef HAVE_IEEEFP_H
58329 #include <ieeefp.h>
58330 #endif
58331
58332 int
58333 main ()
58334 {
58335 finitel(0);
58336 ;
58337 return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_finitel_use=yes
58342 else
58343 glibcxx_cv_func_finitel_use=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353 fi
58354
58355 fi
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58357 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58358
58359 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58360 for ac_func in finitel
58361 do :
58362 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58363 if test "x$ac_cv_func_finitel" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_FINITEL 1
58366 _ACEOF
58367
58368 fi
58369 done
58370
58371 else
58372
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58374 $as_echo_n "checking for _finitel declaration... " >&6; }
58375 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58376 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58379
58380
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58390 #ifdef HAVE_IEEEFP_H
58391 #include <ieeefp.h>
58392 #endif
58393
58394 int
58395 main ()
58396 {
58397 _finitel(0);
58398 ;
58399 return 0;
58400 }
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func__finitel_use=yes
58404 else
58405 glibcxx_cv_func__finitel_use=no
58406 fi
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413
58414
58415 fi
58416
58417 fi
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58419 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58420
58421 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58422 for ac_func in _finitel
58423 do :
58424 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58425 if test "x$ac_cv_func__finitel" = x""yes; then :
58426 cat >>confdefs.h <<_ACEOF
58427 #define HAVE__FINITEL 1
58428 _ACEOF
58429
58430 fi
58431 done
58432
58433 fi
58434 fi
58435
58436
58437
58438
58439 LIBS="$ac_save_LIBS"
58440 CXXFLAGS="$ac_save_CXXFLAGS"
58441
58442
58443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58444 ac_save_CXXFLAGS="$CXXFLAGS"
58445 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58446
58447
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58449 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58450 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58451 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58452 $as_echo_n "(cached) " >&6
58453 else
58454
58455
58456 ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58461
58462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h. */
58464 #include <stdlib.h>
58465 int
58466 main ()
58467 {
58468 at_quick_exit(0);
58469 ;
58470 return 0;
58471 }
58472 _ACEOF
58473 if ac_fn_cxx_try_compile "$LINENO"; then :
58474 glibcxx_cv_func_at_quick_exit_use=yes
58475 else
58476 glibcxx_cv_func_at_quick_exit_use=no
58477 fi
58478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58479 ac_ext=c
58480 ac_cpp='$CPP $CPPFLAGS'
58481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58484
58485
58486 fi
58487
58488 fi
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58490 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58491 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58492 for ac_func in at_quick_exit
58493 do :
58494 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58495 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58496 cat >>confdefs.h <<_ACEOF
58497 #define HAVE_AT_QUICK_EXIT 1
58498 _ACEOF
58499
58500 fi
58501 done
58502
58503 fi
58504
58505
58506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58507 $as_echo_n "checking for quick_exit declaration... " >&6; }
58508 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58509 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58510 $as_echo_n "(cached) " >&6
58511 else
58512
58513
58514 ac_ext=cpp
58515 ac_cpp='$CXXCPP $CPPFLAGS'
58516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58519
58520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58521 /* end confdefs.h. */
58522 #include <stdlib.h>
58523 int
58524 main ()
58525 {
58526 quick_exit(0);
58527 ;
58528 return 0;
58529 }
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532 glibcxx_cv_func_quick_exit_use=yes
58533 else
58534 glibcxx_cv_func_quick_exit_use=no
58535 fi
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537 ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58542
58543
58544 fi
58545
58546 fi
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58548 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58549 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58550 for ac_func in quick_exit
58551 do :
58552 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58553 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58554 cat >>confdefs.h <<_ACEOF
58555 #define HAVE_QUICK_EXIT 1
58556 _ACEOF
58557
58558 fi
58559 done
58560
58561 fi
58562
58563
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58565 $as_echo_n "checking for strtold declaration... " >&6; }
58566 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58567 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58568 $as_echo_n "(cached) " >&6
58569 else
58570
58571
58572 ac_ext=cpp
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58577
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 #include <stdlib.h>
58581 int
58582 main ()
58583 {
58584 strtold(0, 0);
58585 ;
58586 return 0;
58587 }
58588 _ACEOF
58589 if ac_fn_cxx_try_compile "$LINENO"; then :
58590 glibcxx_cv_func_strtold_use=yes
58591 else
58592 glibcxx_cv_func_strtold_use=no
58593 fi
58594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58595 ac_ext=c
58596 ac_cpp='$CPP $CPPFLAGS'
58597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58600
58601
58602 fi
58603
58604 fi
58605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58606 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58607 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58608 for ac_func in strtold
58609 do :
58610 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58611 if test "x$ac_cv_func_strtold" = x""yes; then :
58612 cat >>confdefs.h <<_ACEOF
58613 #define HAVE_STRTOLD 1
58614 _ACEOF
58615
58616 fi
58617 done
58618
58619 fi
58620
58621
58622
58623
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58625 $as_echo_n "checking for strtof declaration... " >&6; }
58626 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58627 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58628 $as_echo_n "(cached) " >&6
58629 else
58630
58631
58632 ac_ext=cpp
58633 ac_cpp='$CXXCPP $CPPFLAGS'
58634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58637
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 #include <stdlib.h>
58641 int
58642 main ()
58643 {
58644 strtof(0, 0);
58645 ;
58646 return 0;
58647 }
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func_strtof_use=yes
58651 else
58652 glibcxx_cv_func_strtof_use=no
58653 fi
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58660
58661
58662 fi
58663
58664 fi
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58666 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58667 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58668 for ac_func in strtof
58669 do :
58670 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58671 if test "x$ac_cv_func_strtof" = x""yes; then :
58672 cat >>confdefs.h <<_ACEOF
58673 #define HAVE_STRTOF 1
58674 _ACEOF
58675
58676 fi
58677 done
58678
58679 fi
58680
58681
58682
58683
58684 CXXFLAGS="$ac_save_CXXFLAGS"
58685
58686 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58687
58688
58689
58690 # Check whether --enable-tls was given.
58691 if test "${enable_tls+set}" = set; then :
58692 enableval=$enable_tls;
58693 case "$enableval" in
58694 yes|no) ;;
58695 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58696 esac
58697
58698 else
58699 enable_tls=yes
58700 fi
58701
58702
58703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58704 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58705 if test "${gcc_cv_have_tls+set}" = set; then :
58706 $as_echo_n "(cached) " >&6
58707 else
58708
58709 if test "$cross_compiling" = yes; then :
58710 if test x$gcc_no_link = xyes; then
58711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58712 fi
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 __thread int a; int b; int main() { return a = b; }
58716 _ACEOF
58717 if ac_fn_c_try_link "$LINENO"; then :
58718 chktls_save_LDFLAGS="$LDFLAGS"
58719 case $host in
58720 *-*-linux*)
58721 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58722 ;;
58723 esac
58724 chktls_save_CFLAGS="$CFLAGS"
58725 CFLAGS="-fPIC $CFLAGS"
58726 if test x$gcc_no_link = xyes; then
58727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58728 fi
58729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58730 /* end confdefs.h. */
58731 int f() { return 0; }
58732 _ACEOF
58733 if ac_fn_c_try_link "$LINENO"; then :
58734 if test x$gcc_no_link = xyes; then
58735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58736 fi
58737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58738 /* end confdefs.h. */
58739 __thread int a; int b; int f() { return a = b; }
58740 _ACEOF
58741 if ac_fn_c_try_link "$LINENO"; then :
58742 gcc_cv_have_tls=yes
58743 else
58744 gcc_cv_have_tls=no
58745 fi
58746 rm -f core conftest.err conftest.$ac_objext \
58747 conftest$ac_exeext conftest.$ac_ext
58748 else
58749 gcc_cv_have_tls=yes
58750 fi
58751 rm -f core conftest.err conftest.$ac_objext \
58752 conftest$ac_exeext conftest.$ac_ext
58753 CFLAGS="$chktls_save_CFLAGS"
58754 LDFLAGS="$chktls_save_LDFLAGS"
58755 else
58756 gcc_cv_have_tls=no
58757 fi
58758 rm -f core conftest.err conftest.$ac_objext \
58759 conftest$ac_exeext conftest.$ac_ext
58760
58761
58762 else
58763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764 /* end confdefs.h. */
58765 __thread int a; int b; int main() { return a = b; }
58766 _ACEOF
58767 if ac_fn_c_try_run "$LINENO"; then :
58768 chktls_save_LDFLAGS="$LDFLAGS"
58769 LDFLAGS="-static $LDFLAGS"
58770 if test x$gcc_no_link = xyes; then
58771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58772 fi
58773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58774 /* end confdefs.h. */
58775 int main() { return 0; }
58776 _ACEOF
58777 if ac_fn_c_try_link "$LINENO"; then :
58778 if test "$cross_compiling" = yes; then :
58779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58781 as_fn_error "cannot run test program while cross compiling
58782 See \`config.log' for more details." "$LINENO" 5; }
58783 else
58784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58785 /* end confdefs.h. */
58786 __thread int a; int b; int main() { return a = b; }
58787 _ACEOF
58788 if ac_fn_c_try_run "$LINENO"; then :
58789 gcc_cv_have_tls=yes
58790 else
58791 gcc_cv_have_tls=no
58792 fi
58793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58794 conftest.$ac_objext conftest.beam conftest.$ac_ext
58795 fi
58796
58797 else
58798 gcc_cv_have_tls=yes
58799 fi
58800 rm -f core conftest.err conftest.$ac_objext \
58801 conftest$ac_exeext conftest.$ac_ext
58802 LDFLAGS="$chktls_save_LDFLAGS"
58803 if test $gcc_cv_have_tls = yes; then
58804 chktls_save_CFLAGS="$CFLAGS"
58805 thread_CFLAGS=failed
58806 for flag in '' '-pthread' '-lpthread'; do
58807 CFLAGS="$flag $chktls_save_CFLAGS"
58808 if test x$gcc_no_link = xyes; then
58809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58810 fi
58811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58812 /* end confdefs.h. */
58813 #include <pthread.h>
58814 void *g(void *d) { return NULL; }
58815 int
58816 main ()
58817 {
58818 pthread_t t; pthread_create(&t,NULL,g,NULL);
58819 ;
58820 return 0;
58821 }
58822 _ACEOF
58823 if ac_fn_c_try_link "$LINENO"; then :
58824 thread_CFLAGS="$flag"
58825 fi
58826 rm -f core conftest.err conftest.$ac_objext \
58827 conftest$ac_exeext conftest.$ac_ext
58828 if test "X$thread_CFLAGS" != Xfailed; then
58829 break
58830 fi
58831 done
58832 CFLAGS="$chktls_save_CFLAGS"
58833 if test "X$thread_CFLAGS" != Xfailed; then
58834 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58835 if test "$cross_compiling" = yes; then :
58836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58838 as_fn_error "cannot run test program while cross compiling
58839 See \`config.log' for more details." "$LINENO" 5; }
58840 else
58841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58842 /* end confdefs.h. */
58843 #include <pthread.h>
58844 __thread int a;
58845 static int *volatile a_in_other_thread;
58846 static void *
58847 thread_func (void *arg)
58848 {
58849 a_in_other_thread = &a;
58850 return (void *)0;
58851 }
58852 int
58853 main ()
58854 {
58855 pthread_t thread;
58856 void *thread_retval;
58857 int *volatile a_in_main_thread;
58858 a_in_main_thread = &a;
58859 if (pthread_create (&thread, (pthread_attr_t *)0,
58860 thread_func, (void *)0))
58861 return 0;
58862 if (pthread_join (thread, &thread_retval))
58863 return 0;
58864 return (a_in_other_thread == a_in_main_thread);
58865 ;
58866 return 0;
58867 }
58868 _ACEOF
58869 if ac_fn_c_try_run "$LINENO"; then :
58870 gcc_cv_have_tls=yes
58871 else
58872 gcc_cv_have_tls=no
58873 fi
58874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58875 conftest.$ac_objext conftest.beam conftest.$ac_ext
58876 fi
58877
58878 CFLAGS="$chktls_save_CFLAGS"
58879 fi
58880 fi
58881 else
58882 gcc_cv_have_tls=no
58883 fi
58884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58885 conftest.$ac_objext conftest.beam conftest.$ac_ext
58886 fi
58887
58888 fi
58889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58890 $as_echo "$gcc_cv_have_tls" >&6; }
58891 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58892
58893 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58894
58895 fi
58896
58897
58898
58899
58900
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58902 $as_echo_n "checking for iconv... " >&6; }
58903 if test "${am_cv_func_iconv+set}" = set; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58906
58907 am_cv_func_iconv="no, consider installing GNU libiconv"
58908 am_cv_lib_iconv=no
58909 am_save_CPPFLAGS="$CPPFLAGS"
58910 CPPFLAGS="$CPPFLAGS $INCICONV"
58911 if test x$gcc_no_link = xyes; then
58912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58913 fi
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <stdlib.h>
58917 #include <iconv.h>
58918 int
58919 main ()
58920 {
58921 iconv_t cd = iconv_open("","");
58922 iconv(cd,NULL,NULL,NULL,NULL);
58923 iconv_close(cd);
58924 ;
58925 return 0;
58926 }
58927 _ACEOF
58928 if ac_fn_c_try_link "$LINENO"; then :
58929 am_cv_func_iconv=yes
58930 fi
58931 rm -f core conftest.err conftest.$ac_objext \
58932 conftest$ac_exeext conftest.$ac_ext
58933 CPPFLAGS="$am_save_CPPFLAGS"
58934
58935 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
58936 for _libs in .libs _libs; do
58937 am_save_CPPFLAGS="$CPPFLAGS"
58938 am_save_LIBS="$LIBS"
58939 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
58940 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
58941 if test x$gcc_no_link = xyes; then
58942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58943 fi
58944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58945 /* end confdefs.h. */
58946 #include <stdlib.h>
58947 #include <iconv.h>
58948 int
58949 main ()
58950 {
58951 iconv_t cd = iconv_open("","");
58952 iconv(cd,NULL,NULL,NULL,NULL);
58953 iconv_close(cd);
58954 ;
58955 return 0;
58956 }
58957 _ACEOF
58958 if ac_fn_c_try_link "$LINENO"; then :
58959 INCICONV="-I../libiconv/include"
58960 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
58961 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
58962 am_cv_lib_iconv=yes
58963 am_cv_func_iconv=yes
58964 fi
58965 rm -f core conftest.err conftest.$ac_objext \
58966 conftest$ac_exeext conftest.$ac_ext
58967 CPPFLAGS="$am_save_CPPFLAGS"
58968 LIBS="$am_save_LIBS"
58969 if test "$am_cv_func_iconv" = "yes"; then
58970 break
58971 fi
58972 done
58973 fi
58974
58975 if test "$am_cv_func_iconv" != yes; then
58976 am_save_CPPFLAGS="$CPPFLAGS"
58977 am_save_LIBS="$LIBS"
58978 CPPFLAGS="$LIBS $INCICONV"
58979 LIBS="$LIBS $LIBICONV"
58980 if test x$gcc_no_link = xyes; then
58981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58982 fi
58983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58984 /* end confdefs.h. */
58985 #include <stdlib.h>
58986 #include <iconv.h>
58987 int
58988 main ()
58989 {
58990 iconv_t cd = iconv_open("","");
58991 iconv(cd,NULL,NULL,NULL,NULL);
58992 iconv_close(cd);
58993 ;
58994 return 0;
58995 }
58996 _ACEOF
58997 if ac_fn_c_try_link "$LINENO"; then :
58998 am_cv_lib_iconv=yes
58999 am_cv_func_iconv=yes
59000 fi
59001 rm -f core conftest.err conftest.$ac_objext \
59002 conftest$ac_exeext conftest.$ac_ext
59003 CPPFLAGS="$am_save_CPPFLAGS"
59004 LIBS="$am_save_LIBS"
59005 fi
59006
59007 fi
59008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59009 $as_echo "$am_cv_func_iconv" >&6; }
59010 if test "$am_cv_func_iconv" = yes; then
59011
59012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59013
59014 fi
59015 if test "$am_cv_lib_iconv" = yes; then
59016
59017 for element in $INCICONV; do
59018 haveit=
59019 for x in $CPPFLAGS; do
59020
59021 acl_save_prefix="$prefix"
59022 prefix="$acl_final_prefix"
59023 acl_save_exec_prefix="$exec_prefix"
59024 exec_prefix="$acl_final_exec_prefix"
59025 eval x=\"$x\"
59026 exec_prefix="$acl_save_exec_prefix"
59027 prefix="$acl_save_prefix"
59028
59029 if test "X$x" = "X$element"; then
59030 haveit=yes
59031 break
59032 fi
59033 done
59034 if test -z "$haveit"; then
59035 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59036 fi
59037 done
59038
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59040 $as_echo_n "checking how to link with libiconv... " >&6; }
59041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59042 $as_echo "$LIBICONV" >&6; }
59043 else
59044 LIBICONV=
59045 LTLIBICONV=
59046 fi
59047
59048
59049
59050 if test "$am_cv_func_iconv" = yes; then
59051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59052 $as_echo_n "checking for iconv declaration... " >&6; }
59053 if test "${am_cv_proto_iconv+set}" = set; then :
59054 $as_echo_n "(cached) " >&6
59055 else
59056
59057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59058 /* end confdefs.h. */
59059
59060 #include <stdlib.h>
59061 #include <iconv.h>
59062 extern
59063 #ifdef __cplusplus
59064 "C"
59065 #endif
59066 #if defined(__STDC__) || defined(__cplusplus)
59067 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59068 #else
59069 size_t iconv();
59070 #endif
59071
59072 int
59073 main ()
59074 {
59075
59076 ;
59077 return 0;
59078 }
59079 _ACEOF
59080 if ac_fn_c_try_compile "$LINENO"; then :
59081 am_cv_proto_iconv_arg1=""
59082 else
59083 am_cv_proto_iconv_arg1="const"
59084 fi
59085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59086 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);"
59087 fi
59088
59089 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59091 }$am_cv_proto_iconv" >&5
59092 $as_echo "${ac_t:-
59093 }$am_cv_proto_iconv" >&6; }
59094
59095 cat >>confdefs.h <<_ACEOF
59096 #define ICONV_CONST $am_cv_proto_iconv_arg1
59097 _ACEOF
59098
59099 fi
59100
59101 ;;
59102 *-mingw32*)
59103
59104 # If we're not using GNU ld, then there's no point in even trying these
59105 # tests. Check for that first. We should have already tested for gld
59106 # by now (in libtool), but require it now just to be safe...
59107 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59108 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59109
59110
59111
59112 # The name set by libtool depends on the version of libtool. Shame on us
59113 # for depending on an impl detail, but c'est la vie. Older versions used
59114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59117 # set (hence we're using an older libtool), then set it.
59118 if test x${with_gnu_ld+set} != xset; then
59119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59120 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59121 with_gnu_ld=no
59122 else
59123 with_gnu_ld=$ac_cv_prog_gnu_ld
59124 fi
59125 fi
59126
59127 # Start by getting the version number. I think the libtool test already
59128 # does some of this, but throws away the result.
59129 glibcxx_ld_is_gold=no
59130 if test x"$with_gnu_ld" = x"yes"; then
59131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59132 $as_echo_n "checking for ld version... " >&6; }
59133
59134 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59135 glibcxx_ld_is_gold=yes
59136 fi
59137 ldver=`$LD --version 2>/dev/null |
59138 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'`
59139
59140 glibcxx_gnu_ld_version=`echo $ldver | \
59141 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59143 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59144 fi
59145
59146 # Set --gc-sections.
59147 glibcxx_have_gc_sections=no
59148 if test "$glibcxx_ld_is_gold" = "yes"; then
59149 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59150 glibcxx_have_gc_sections=yes
59151 fi
59152 else
59153 glibcxx_gcsections_min_ld=21602
59154 if test x"$with_gnu_ld" = x"yes" &&
59155 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59156 glibcxx_have_gc_sections=yes
59157 fi
59158 fi
59159 if test "$glibcxx_have_gc_sections" = "yes"; then
59160 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59161 # NB: This flag only works reliably after 2.16.1. Configure tests
59162 # for this are difficult, so hard wire a value that should work.
59163
59164 ac_test_CFLAGS="${CFLAGS+set}"
59165 ac_save_CFLAGS="$CFLAGS"
59166 CFLAGS='-Wl,--gc-sections'
59167
59168 # Check for -Wl,--gc-sections
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59170 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59171 if test x$gcc_no_link = xyes; then
59172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59173 fi
59174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59175 /* end confdefs.h. */
59176 int one(void) { return 1; }
59177 int two(void) { return 2; }
59178
59179 int
59180 main ()
59181 {
59182 two();
59183 ;
59184 return 0;
59185 }
59186 _ACEOF
59187 if ac_fn_c_try_link "$LINENO"; then :
59188 ac_gcsections=yes
59189 else
59190 ac_gcsections=no
59191 fi
59192 rm -f core conftest.err conftest.$ac_objext \
59193 conftest$ac_exeext conftest.$ac_ext
59194 if test "$ac_gcsections" = "yes"; then
59195 rm -f conftest.c
59196 touch conftest.c
59197 if $CC -c conftest.c; then
59198 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59199 grep "Warning: gc-sections option ignored" > /dev/null; then
59200 ac_gcsections=no
59201 fi
59202 fi
59203 rm -f conftest.c conftest.o conftest
59204 fi
59205 if test "$ac_gcsections" = "yes"; then
59206 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59207 fi
59208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59209 $as_echo "$ac_gcsections" >&6; }
59210
59211 if test "$ac_test_CFLAGS" = set; then
59212 CFLAGS="$ac_save_CFLAGS"
59213 else
59214 # this is the suspicious part
59215 CFLAGS=''
59216 fi
59217 fi
59218
59219 # Set -z,relro.
59220 # Note this is only for shared objects.
59221 ac_ld_relro=no
59222 if test x"$with_gnu_ld" = x"yes"; then
59223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59226 if test -n "$cxx_z_relo"; then
59227 OPT_LDFLAGS="-Wl,-z,relro"
59228 ac_ld_relro=yes
59229 fi
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59231 $as_echo "$ac_ld_relro" >&6; }
59232 fi
59233
59234 # Set linker optimization flags.
59235 if test x"$with_gnu_ld" = x"yes"; then
59236 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59237 fi
59238
59239
59240
59241
59242
59243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59244 ac_save_CXXFLAGS="$CXXFLAGS"
59245 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59246
59247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59248 $as_echo_n "checking for sin in -lm... " >&6; }
59249 if test "${ac_cv_lib_m_sin+set}" = set; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59252 ac_check_lib_save_LIBS=$LIBS
59253 LIBS="-lm $LIBS"
59254 if test x$gcc_no_link = xyes; then
59255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59256 fi
59257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h. */
59259
59260 /* Override any GCC internal prototype to avoid an error.
59261 Use char because int might match the return type of a GCC
59262 builtin and then its argument prototype would still apply. */
59263 #ifdef __cplusplus
59264 extern "C"
59265 #endif
59266 char sin ();
59267 int
59268 main ()
59269 {
59270 return sin ();
59271 ;
59272 return 0;
59273 }
59274 _ACEOF
59275 if ac_fn_c_try_link "$LINENO"; then :
59276 ac_cv_lib_m_sin=yes
59277 else
59278 ac_cv_lib_m_sin=no
59279 fi
59280 rm -f core conftest.err conftest.$ac_objext \
59281 conftest$ac_exeext conftest.$ac_ext
59282 LIBS=$ac_check_lib_save_LIBS
59283 fi
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59285 $as_echo "$ac_cv_lib_m_sin" >&6; }
59286 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59287 libm="-lm"
59288 fi
59289
59290 ac_save_LIBS="$LIBS"
59291 LIBS="$LIBS $libm"
59292
59293
59294
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59296 $as_echo_n "checking for isinf declaration... " >&6; }
59297 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59298 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59299 $as_echo_n "(cached) " >&6
59300 else
59301
59302
59303 ac_ext=cpp
59304 ac_cpp='$CXXCPP $CPPFLAGS'
59305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308
59309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59310 /* end confdefs.h. */
59311 #include <math.h>
59312 #ifdef HAVE_IEEEFP_H
59313 #include <ieeefp.h>
59314 #endif
59315
59316 int
59317 main ()
59318 {
59319 isinf(0);
59320 ;
59321 return 0;
59322 }
59323 _ACEOF
59324 if ac_fn_cxx_try_compile "$LINENO"; then :
59325 glibcxx_cv_func_isinf_use=yes
59326 else
59327 glibcxx_cv_func_isinf_use=no
59328 fi
59329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59330 ac_ext=c
59331 ac_cpp='$CPP $CPPFLAGS'
59332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335
59336
59337 fi
59338
59339 fi
59340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59341 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59342
59343 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59344 for ac_func in isinf
59345 do :
59346 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59347 if test "x$ac_cv_func_isinf" = x""yes; then :
59348 cat >>confdefs.h <<_ACEOF
59349 #define HAVE_ISINF 1
59350 _ACEOF
59351
59352 fi
59353 done
59354
59355 else
59356
59357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59358 $as_echo_n "checking for _isinf declaration... " >&6; }
59359 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59360 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59361 $as_echo_n "(cached) " >&6
59362 else
59363
59364
59365 ac_ext=cpp
59366 ac_cpp='$CXXCPP $CPPFLAGS'
59367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370
59371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59372 /* end confdefs.h. */
59373 #include <math.h>
59374 #ifdef HAVE_IEEEFP_H
59375 #include <ieeefp.h>
59376 #endif
59377
59378 int
59379 main ()
59380 {
59381 _isinf(0);
59382 ;
59383 return 0;
59384 }
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387 glibcxx_cv_func__isinf_use=yes
59388 else
59389 glibcxx_cv_func__isinf_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__isinf_use" >&5
59403 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59404
59405 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59406 for ac_func in _isinf
59407 do :
59408 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59409 if test "x$ac_cv_func__isinf" = x""yes; then :
59410 cat >>confdefs.h <<_ACEOF
59411 #define HAVE__ISINF 1
59412 _ACEOF
59413
59414 fi
59415 done
59416
59417 fi
59418 fi
59419
59420
59421
59422
59423
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59425 $as_echo_n "checking for isnan declaration... " >&6; }
59426 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59427 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59428 $as_echo_n "(cached) " >&6
59429 else
59430
59431
59432 ac_ext=cpp
59433 ac_cpp='$CXXCPP $CPPFLAGS'
59434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59437
59438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439 /* end confdefs.h. */
59440 #include <math.h>
59441 #ifdef HAVE_IEEEFP_H
59442 #include <ieeefp.h>
59443 #endif
59444
59445 int
59446 main ()
59447 {
59448 isnan(0);
59449 ;
59450 return 0;
59451 }
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_isnan_use=yes
59455 else
59456 glibcxx_cv_func_isnan_use=no
59457 fi
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464
59465
59466 fi
59467
59468 fi
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59470 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59471
59472 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59473 for ac_func in isnan
59474 do :
59475 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59476 if test "x$ac_cv_func_isnan" = x""yes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_ISNAN 1
59479 _ACEOF
59480
59481 fi
59482 done
59483
59484 else
59485
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59487 $as_echo_n "checking for _isnan declaration... " >&6; }
59488 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59489 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59492
59493
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59503 #ifdef HAVE_IEEEFP_H
59504 #include <ieeefp.h>
59505 #endif
59506
59507 int
59508 main ()
59509 {
59510 _isnan(0);
59511 ;
59512 return 0;
59513 }
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__isnan_use=yes
59517 else
59518 glibcxx_cv_func__isnan_use=no
59519 fi
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526
59527
59528 fi
59529
59530 fi
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59532 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59533
59534 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59535 for ac_func in _isnan
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59538 if test "x$ac_cv_func__isnan" = x""yes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__ISNAN 1
59541 _ACEOF
59542
59543 fi
59544 done
59545
59546 fi
59547 fi
59548
59549
59550
59551
59552
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59554 $as_echo_n "checking for finite declaration... " >&6; }
59555 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59556 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59559
59560
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 #ifdef HAVE_IEEEFP_H
59571 #include <ieeefp.h>
59572 #endif
59573
59574 int
59575 main ()
59576 {
59577 finite(0);
59578 ;
59579 return 0;
59580 }
59581 _ACEOF
59582 if ac_fn_cxx_try_compile "$LINENO"; then :
59583 glibcxx_cv_func_finite_use=yes
59584 else
59585 glibcxx_cv_func_finite_use=no
59586 fi
59587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59588 ac_ext=c
59589 ac_cpp='$CPP $CPPFLAGS'
59590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59593
59594
59595 fi
59596
59597 fi
59598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59599 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59600
59601 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59602 for ac_func in finite
59603 do :
59604 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59605 if test "x$ac_cv_func_finite" = x""yes; then :
59606 cat >>confdefs.h <<_ACEOF
59607 #define HAVE_FINITE 1
59608 _ACEOF
59609
59610 fi
59611 done
59612
59613 else
59614
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59616 $as_echo_n "checking for _finite declaration... " >&6; }
59617 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59618 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59621
59622
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59628
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59635
59636 int
59637 main ()
59638 {
59639 _finite(0);
59640 ;
59641 return 0;
59642 }
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func__finite_use=yes
59646 else
59647 glibcxx_cv_func__finite_use=no
59648 fi
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59655
59656
59657 fi
59658
59659 fi
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59661 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59662
59663 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59664 for ac_func in _finite
59665 do :
59666 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59667 if test "x$ac_cv_func__finite" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE__FINITE 1
59670 _ACEOF
59671
59672 fi
59673 done
59674
59675 fi
59676 fi
59677
59678
59679
59680
59681
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59683 $as_echo_n "checking for sincos declaration... " >&6; }
59684 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59685 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59686 $as_echo_n "(cached) " >&6
59687 else
59688
59689
59690 ac_ext=cpp
59691 ac_cpp='$CXXCPP $CPPFLAGS'
59692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59695
59696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59697 /* end confdefs.h. */
59698 #include <math.h>
59699 int
59700 main ()
59701 {
59702 sincos(0, 0, 0);
59703 ;
59704 return 0;
59705 }
59706 _ACEOF
59707 if ac_fn_cxx_try_compile "$LINENO"; then :
59708 glibcxx_cv_func_sincos_use=yes
59709 else
59710 glibcxx_cv_func_sincos_use=no
59711 fi
59712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59713 ac_ext=c
59714 ac_cpp='$CPP $CPPFLAGS'
59715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59718
59719
59720 fi
59721
59722 fi
59723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59724 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59725
59726 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59727 for ac_func in sincos
59728 do :
59729 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59730 if test "x$ac_cv_func_sincos" = x""yes; then :
59731 cat >>confdefs.h <<_ACEOF
59732 #define HAVE_SINCOS 1
59733 _ACEOF
59734
59735 fi
59736 done
59737
59738 else
59739
59740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59741 $as_echo_n "checking for _sincos declaration... " >&6; }
59742 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59743 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59744 $as_echo_n "(cached) " >&6
59745 else
59746
59747
59748 ac_ext=cpp
59749 ac_cpp='$CXXCPP $CPPFLAGS'
59750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59753
59754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59755 /* end confdefs.h. */
59756 #include <math.h>
59757 int
59758 main ()
59759 {
59760 _sincos(0, 0, 0);
59761 ;
59762 return 0;
59763 }
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func__sincos_use=yes
59767 else
59768 glibcxx_cv_func__sincos_use=no
59769 fi
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776
59777
59778 fi
59779
59780 fi
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59782 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59783
59784 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59785 for ac_func in _sincos
59786 do :
59787 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59788 if test "x$ac_cv_func__sincos" = x""yes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE__SINCOS 1
59791 _ACEOF
59792
59793 fi
59794 done
59795
59796 fi
59797 fi
59798
59799
59800
59801
59802
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59804 $as_echo_n "checking for fpclass declaration... " >&6; }
59805 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59806 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59807 $as_echo_n "(cached) " >&6
59808 else
59809
59810
59811 ac_ext=cpp
59812 ac_cpp='$CXXCPP $CPPFLAGS'
59813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 #include <math.h>
59820 #ifdef HAVE_IEEEFP_H
59821 #include <ieeefp.h>
59822 #endif
59823
59824 int
59825 main ()
59826 {
59827 fpclass(0);
59828 ;
59829 return 0;
59830 }
59831 _ACEOF
59832 if ac_fn_cxx_try_compile "$LINENO"; then :
59833 glibcxx_cv_func_fpclass_use=yes
59834 else
59835 glibcxx_cv_func_fpclass_use=no
59836 fi
59837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59838 ac_ext=c
59839 ac_cpp='$CPP $CPPFLAGS'
59840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59843
59844
59845 fi
59846
59847 fi
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59849 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59850
59851 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59852 for ac_func in fpclass
59853 do :
59854 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59855 if test "x$ac_cv_func_fpclass" = x""yes; then :
59856 cat >>confdefs.h <<_ACEOF
59857 #define HAVE_FPCLASS 1
59858 _ACEOF
59859
59860 fi
59861 done
59862
59863 else
59864
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59866 $as_echo_n "checking for _fpclass declaration... " >&6; }
59867 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59868 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59869 $as_echo_n "(cached) " >&6
59870 else
59871
59872
59873 ac_ext=cpp
59874 ac_cpp='$CXXCPP $CPPFLAGS'
59875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59878
59879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59880 /* end confdefs.h. */
59881 #include <math.h>
59882 #ifdef HAVE_IEEEFP_H
59883 #include <ieeefp.h>
59884 #endif
59885
59886 int
59887 main ()
59888 {
59889 _fpclass(0);
59890 ;
59891 return 0;
59892 }
59893 _ACEOF
59894 if ac_fn_cxx_try_compile "$LINENO"; then :
59895 glibcxx_cv_func__fpclass_use=yes
59896 else
59897 glibcxx_cv_func__fpclass_use=no
59898 fi
59899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59900 ac_ext=c
59901 ac_cpp='$CPP $CPPFLAGS'
59902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59905
59906
59907 fi
59908
59909 fi
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59911 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59912
59913 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59914 for ac_func in _fpclass
59915 do :
59916 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59917 if test "x$ac_cv_func__fpclass" = x""yes; then :
59918 cat >>confdefs.h <<_ACEOF
59919 #define HAVE__FPCLASS 1
59920 _ACEOF
59921
59922 fi
59923 done
59924
59925 fi
59926 fi
59927
59928
59929
59930
59931
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59933 $as_echo_n "checking for qfpclass declaration... " >&6; }
59934 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59935 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59936 $as_echo_n "(cached) " >&6
59937 else
59938
59939
59940 ac_ext=cpp
59941 ac_cpp='$CXXCPP $CPPFLAGS'
59942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59945
59946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59947 /* end confdefs.h. */
59948 #include <math.h>
59949 #ifdef HAVE_IEEEFP_H
59950 #include <ieeefp.h>
59951 #endif
59952
59953 int
59954 main ()
59955 {
59956 qfpclass(0);
59957 ;
59958 return 0;
59959 }
59960 _ACEOF
59961 if ac_fn_cxx_try_compile "$LINENO"; then :
59962 glibcxx_cv_func_qfpclass_use=yes
59963 else
59964 glibcxx_cv_func_qfpclass_use=no
59965 fi
59966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59967 ac_ext=c
59968 ac_cpp='$CPP $CPPFLAGS'
59969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59972
59973
59974 fi
59975
59976 fi
59977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59978 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59979
59980 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59981 for ac_func in qfpclass
59982 do :
59983 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59984 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59985 cat >>confdefs.h <<_ACEOF
59986 #define HAVE_QFPCLASS 1
59987 _ACEOF
59988
59989 fi
59990 done
59991
59992 else
59993
59994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59995 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59996 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59997 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59998 $as_echo_n "(cached) " >&6
59999 else
60000
60001
60002 ac_ext=cpp
60003 ac_cpp='$CXXCPP $CPPFLAGS'
60004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60007
60008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60009 /* end confdefs.h. */
60010 #include <math.h>
60011 #ifdef HAVE_IEEEFP_H
60012 #include <ieeefp.h>
60013 #endif
60014
60015 int
60016 main ()
60017 {
60018 _qfpclass(0);
60019 ;
60020 return 0;
60021 }
60022 _ACEOF
60023 if ac_fn_cxx_try_compile "$LINENO"; then :
60024 glibcxx_cv_func__qfpclass_use=yes
60025 else
60026 glibcxx_cv_func__qfpclass_use=no
60027 fi
60028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60029 ac_ext=c
60030 ac_cpp='$CPP $CPPFLAGS'
60031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60034
60035
60036 fi
60037
60038 fi
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60040 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60041
60042 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60043 for ac_func in _qfpclass
60044 do :
60045 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60046 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60047 cat >>confdefs.h <<_ACEOF
60048 #define HAVE__QFPCLASS 1
60049 _ACEOF
60050
60051 fi
60052 done
60053
60054 fi
60055 fi
60056
60057
60058
60059
60060
60061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60062 $as_echo_n "checking for hypot declaration... " >&6; }
60063 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60064 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60065 $as_echo_n "(cached) " >&6
60066 else
60067
60068
60069 ac_ext=cpp
60070 ac_cpp='$CXXCPP $CPPFLAGS'
60071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60074
60075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60076 /* end confdefs.h. */
60077 #include <math.h>
60078 int
60079 main ()
60080 {
60081 hypot(0, 0);
60082 ;
60083 return 0;
60084 }
60085 _ACEOF
60086 if ac_fn_cxx_try_compile "$LINENO"; then :
60087 glibcxx_cv_func_hypot_use=yes
60088 else
60089 glibcxx_cv_func_hypot_use=no
60090 fi
60091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60092 ac_ext=c
60093 ac_cpp='$CPP $CPPFLAGS'
60094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60097
60098
60099 fi
60100
60101 fi
60102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60103 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60104
60105 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60106 for ac_func in hypot
60107 do :
60108 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60109 if test "x$ac_cv_func_hypot" = x""yes; then :
60110 cat >>confdefs.h <<_ACEOF
60111 #define HAVE_HYPOT 1
60112 _ACEOF
60113
60114 fi
60115 done
60116
60117 else
60118
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60120 $as_echo_n "checking for _hypot declaration... " >&6; }
60121 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60122 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60125
60126
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60132
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <math.h>
60136 int
60137 main ()
60138 {
60139 _hypot(0, 0);
60140 ;
60141 return 0;
60142 }
60143 _ACEOF
60144 if ac_fn_cxx_try_compile "$LINENO"; then :
60145 glibcxx_cv_func__hypot_use=yes
60146 else
60147 glibcxx_cv_func__hypot_use=no
60148 fi
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 ac_ext=c
60151 ac_cpp='$CPP $CPPFLAGS'
60152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60155
60156
60157 fi
60158
60159 fi
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60161 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60162
60163 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60164 for ac_func in _hypot
60165 do :
60166 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60167 if test "x$ac_cv_func__hypot" = x""yes; then :
60168 cat >>confdefs.h <<_ACEOF
60169 #define HAVE__HYPOT 1
60170 _ACEOF
60171
60172 fi
60173 done
60174
60175 fi
60176 fi
60177
60178
60179
60180
60181
60182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60183 $as_echo_n "checking for float trig functions... " >&6; }
60184 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60185 $as_echo_n "(cached) " >&6
60186 else
60187
60188
60189 ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60194
60195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h. */
60197 #include <math.h>
60198 int
60199 main ()
60200 {
60201 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60202 ;
60203 return 0;
60204 }
60205 _ACEOF
60206 if ac_fn_cxx_try_compile "$LINENO"; then :
60207 glibcxx_cv_func_float_trig_use=yes
60208 else
60209 glibcxx_cv_func_float_trig_use=no
60210 fi
60211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60212 ac_ext=c
60213 ac_cpp='$CPP $CPPFLAGS'
60214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60217
60218 fi
60219
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60221 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60222 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60223 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60224 do :
60225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60227 eval as_val=\$$as_ac_var
60228 if test "x$as_val" = x""yes; then :
60229 cat >>confdefs.h <<_ACEOF
60230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60231 _ACEOF
60232
60233 fi
60234 done
60235
60236 else
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60238 $as_echo_n "checking for _float trig functions... " >&6; }
60239 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60240 $as_echo_n "(cached) " >&6
60241 else
60242
60243
60244 ac_ext=cpp
60245 ac_cpp='$CXXCPP $CPPFLAGS'
60246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60249
60250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60251 /* end confdefs.h. */
60252 #include <math.h>
60253 int
60254 main ()
60255 {
60256 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60257 ;
60258 return 0;
60259 }
60260 _ACEOF
60261 if ac_fn_cxx_try_compile "$LINENO"; then :
60262 glibcxx_cv_func__float_trig_use=yes
60263 else
60264 glibcxx_cv_func__float_trig_use=no
60265 fi
60266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60267 ac_ext=c
60268 ac_cpp='$CPP $CPPFLAGS'
60269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60272
60273 fi
60274
60275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60276 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60277 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60278 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60279 do :
60280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60282 eval as_val=\$$as_ac_var
60283 if test "x$as_val" = x""yes; then :
60284 cat >>confdefs.h <<_ACEOF
60285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60286 _ACEOF
60287
60288 fi
60289 done
60290
60291 fi
60292 fi
60293
60294
60295
60296
60297
60298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60299 $as_echo_n "checking for float round functions... " >&6; }
60300 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60301 $as_echo_n "(cached) " >&6
60302 else
60303
60304
60305 ac_ext=cpp
60306 ac_cpp='$CXXCPP $CPPFLAGS'
60307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60310
60311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60312 /* end confdefs.h. */
60313 #include <math.h>
60314 int
60315 main ()
60316 {
60317 ceilf (0); floorf (0);
60318 ;
60319 return 0;
60320 }
60321 _ACEOF
60322 if ac_fn_cxx_try_compile "$LINENO"; then :
60323 glibcxx_cv_func_float_round_use=yes
60324 else
60325 glibcxx_cv_func_float_round_use=no
60326 fi
60327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60328 ac_ext=c
60329 ac_cpp='$CPP $CPPFLAGS'
60330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60333
60334 fi
60335
60336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60337 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60338 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60339 for ac_func in ceilf floorf
60340 do :
60341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60343 eval as_val=\$$as_ac_var
60344 if test "x$as_val" = x""yes; then :
60345 cat >>confdefs.h <<_ACEOF
60346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60347 _ACEOF
60348
60349 fi
60350 done
60351
60352 else
60353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60354 $as_echo_n "checking for _float round functions... " >&6; }
60355 if test "${glibcxx_cv_func__float_round_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 int
60370 main ()
60371 {
60372 _ceilf (0); _floorf (0);
60373 ;
60374 return 0;
60375 }
60376 _ACEOF
60377 if ac_fn_cxx_try_compile "$LINENO"; then :
60378 glibcxx_cv_func__float_round_use=yes
60379 else
60380 glibcxx_cv_func__float_round_use=no
60381 fi
60382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60383 ac_ext=c
60384 ac_cpp='$CPP $CPPFLAGS'
60385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60388
60389 fi
60390
60391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60392 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60393 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60394 for ac_func in _ceilf _floorf
60395 do :
60396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60398 eval as_val=\$$as_ac_var
60399 if test "x$as_val" = x""yes; then :
60400 cat >>confdefs.h <<_ACEOF
60401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60402 _ACEOF
60403
60404 fi
60405 done
60406
60407 fi
60408 fi
60409
60410
60411
60412
60413
60414
60415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60416 $as_echo_n "checking for expf declaration... " >&6; }
60417 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60418 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60419 $as_echo_n "(cached) " >&6
60420 else
60421
60422
60423 ac_ext=cpp
60424 ac_cpp='$CXXCPP $CPPFLAGS'
60425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60428
60429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60430 /* end confdefs.h. */
60431 #include <math.h>
60432 #ifdef HAVE_IEEEFP_H
60433 #include <ieeefp.h>
60434 #endif
60435
60436 int
60437 main ()
60438 {
60439 expf(0);
60440 ;
60441 return 0;
60442 }
60443 _ACEOF
60444 if ac_fn_cxx_try_compile "$LINENO"; then :
60445 glibcxx_cv_func_expf_use=yes
60446 else
60447 glibcxx_cv_func_expf_use=no
60448 fi
60449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60450 ac_ext=c
60451 ac_cpp='$CPP $CPPFLAGS'
60452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60455
60456
60457 fi
60458
60459 fi
60460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60461 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60462
60463 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60464 for ac_func in expf
60465 do :
60466 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60467 if test "x$ac_cv_func_expf" = x""yes; then :
60468 cat >>confdefs.h <<_ACEOF
60469 #define HAVE_EXPF 1
60470 _ACEOF
60471
60472 fi
60473 done
60474
60475 else
60476
60477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60478 $as_echo_n "checking for _expf declaration... " >&6; }
60479 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60480 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60481 $as_echo_n "(cached) " >&6
60482 else
60483
60484
60485 ac_ext=cpp
60486 ac_cpp='$CXXCPP $CPPFLAGS'
60487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60490
60491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60492 /* end confdefs.h. */
60493 #include <math.h>
60494 #ifdef HAVE_IEEEFP_H
60495 #include <ieeefp.h>
60496 #endif
60497
60498 int
60499 main ()
60500 {
60501 _expf(0);
60502 ;
60503 return 0;
60504 }
60505 _ACEOF
60506 if ac_fn_cxx_try_compile "$LINENO"; then :
60507 glibcxx_cv_func__expf_use=yes
60508 else
60509 glibcxx_cv_func__expf_use=no
60510 fi
60511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60512 ac_ext=c
60513 ac_cpp='$CPP $CPPFLAGS'
60514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60517
60518
60519 fi
60520
60521 fi
60522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60523 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60524
60525 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60526 for ac_func in _expf
60527 do :
60528 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60529 if test "x$ac_cv_func__expf" = x""yes; then :
60530 cat >>confdefs.h <<_ACEOF
60531 #define HAVE__EXPF 1
60532 _ACEOF
60533
60534 fi
60535 done
60536
60537 fi
60538 fi
60539
60540
60541
60542
60543
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60545 $as_echo_n "checking for isnanf declaration... " >&6; }
60546 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60547 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60548 $as_echo_n "(cached) " >&6
60549 else
60550
60551
60552 ac_ext=cpp
60553 ac_cpp='$CXXCPP $CPPFLAGS'
60554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60557
60558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60559 /* end confdefs.h. */
60560 #include <math.h>
60561 #ifdef HAVE_IEEEFP_H
60562 #include <ieeefp.h>
60563 #endif
60564
60565 int
60566 main ()
60567 {
60568 isnanf(0);
60569 ;
60570 return 0;
60571 }
60572 _ACEOF
60573 if ac_fn_cxx_try_compile "$LINENO"; then :
60574 glibcxx_cv_func_isnanf_use=yes
60575 else
60576 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
60590 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60591
60592 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60593 for ac_func in isnanf
60594 do :
60595 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60596 if test "x$ac_cv_func_isnanf" = x""yes; then :
60597 cat >>confdefs.h <<_ACEOF
60598 #define HAVE_ISNANF 1
60599 _ACEOF
60600
60601 fi
60602 done
60603
60604 else
60605
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60607 $as_echo_n "checking for _isnanf declaration... " >&6; }
60608 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60609 if test "${glibcxx_cv_func__isnanf_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 #ifdef HAVE_IEEEFP_H
60624 #include <ieeefp.h>
60625 #endif
60626
60627 int
60628 main ()
60629 {
60630 _isnanf(0);
60631 ;
60632 return 0;
60633 }
60634 _ACEOF
60635 if ac_fn_cxx_try_compile "$LINENO"; then :
60636 glibcxx_cv_func__isnanf_use=yes
60637 else
60638 glibcxx_cv_func__isnanf_use=no
60639 fi
60640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60641 ac_ext=c
60642 ac_cpp='$CPP $CPPFLAGS'
60643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60646
60647
60648 fi
60649
60650 fi
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60652 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60653
60654 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60655 for ac_func in _isnanf
60656 do :
60657 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60658 if test "x$ac_cv_func__isnanf" = x""yes; then :
60659 cat >>confdefs.h <<_ACEOF
60660 #define HAVE__ISNANF 1
60661 _ACEOF
60662
60663 fi
60664 done
60665
60666 fi
60667 fi
60668
60669
60670
60671
60672
60673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60674 $as_echo_n "checking for isinff declaration... " >&6; }
60675 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60676 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60677 $as_echo_n "(cached) " >&6
60678 else
60679
60680
60681 ac_ext=cpp
60682 ac_cpp='$CXXCPP $CPPFLAGS'
60683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60686
60687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688 /* end confdefs.h. */
60689 #include <math.h>
60690 #ifdef HAVE_IEEEFP_H
60691 #include <ieeefp.h>
60692 #endif
60693
60694 int
60695 main ()
60696 {
60697 isinff(0);
60698 ;
60699 return 0;
60700 }
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_isinff_use=yes
60704 else
60705 glibcxx_cv_func_isinff_use=no
60706 fi
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713
60714
60715 fi
60716
60717 fi
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60719 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60720
60721 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60722 for ac_func in isinff
60723 do :
60724 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60725 if test "x$ac_cv_func_isinff" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_ISINFF 1
60728 _ACEOF
60729
60730 fi
60731 done
60732
60733 else
60734
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60736 $as_echo_n "checking for _isinff declaration... " >&6; }
60737 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60738 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60741
60742
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60748
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 #ifdef HAVE_IEEEFP_H
60753 #include <ieeefp.h>
60754 #endif
60755
60756 int
60757 main ()
60758 {
60759 _isinff(0);
60760 ;
60761 return 0;
60762 }
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func__isinff_use=yes
60766 else
60767 glibcxx_cv_func__isinff_use=no
60768 fi
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775
60776
60777 fi
60778
60779 fi
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60781 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60782
60783 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60784 for ac_func in _isinff
60785 do :
60786 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60787 if test "x$ac_cv_func__isinff" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE__ISINFF 1
60790 _ACEOF
60791
60792 fi
60793 done
60794
60795 fi
60796 fi
60797
60798
60799
60800
60801
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60803 $as_echo_n "checking for atan2f declaration... " >&6; }
60804 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60805 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60819 int
60820 main ()
60821 {
60822 atan2f(0, 0);
60823 ;
60824 return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_atan2f_use=yes
60829 else
60830 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
60844 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60845
60846 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60847 for ac_func in atan2f
60848 do :
60849 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60850 if test "x$ac_cv_func_atan2f" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_ATAN2F 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858 else
60859
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60861 $as_echo_n "checking for _atan2f declaration... " >&6; }
60862 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60863 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60866
60867
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 int
60878 main ()
60879 {
60880 _atan2f(0, 0);
60881 ;
60882 return 0;
60883 }
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func__atan2f_use=yes
60887 else
60888 glibcxx_cv_func__atan2f_use=no
60889 fi
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896
60897
60898 fi
60899
60900 fi
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60902 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60903
60904 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60905 for ac_func in _atan2f
60906 do :
60907 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60908 if test "x$ac_cv_func__atan2f" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE__ATAN2F 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916 fi
60917 fi
60918
60919
60920
60921
60922
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60924 $as_echo_n "checking for fabsf declaration... " >&6; }
60925 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60926 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60929
60930
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60940 #ifdef HAVE_IEEEFP_H
60941 #include <ieeefp.h>
60942 #endif
60943
60944 int
60945 main ()
60946 {
60947 fabsf(0);
60948 ;
60949 return 0;
60950 }
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func_fabsf_use=yes
60954 else
60955 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
60969 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60970
60971 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60972 for ac_func in fabsf
60973 do :
60974 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60975 if test "x$ac_cv_func_fabsf" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE_FABSF 1
60978 _ACEOF
60979
60980 fi
60981 done
60982
60983 else
60984
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60986 $as_echo_n "checking for _fabsf declaration... " >&6; }
60987 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60988 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
61003 #include <ieeefp.h>
61004 #endif
61005
61006 int
61007 main ()
61008 {
61009 _fabsf(0);
61010 ;
61011 return 0;
61012 }
61013 _ACEOF
61014 if ac_fn_cxx_try_compile "$LINENO"; then :
61015 glibcxx_cv_func__fabsf_use=yes
61016 else
61017 glibcxx_cv_func__fabsf_use=no
61018 fi
61019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61020 ac_ext=c
61021 ac_cpp='$CPP $CPPFLAGS'
61022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61025
61026
61027 fi
61028
61029 fi
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61031 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61032
61033 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61034 for ac_func in _fabsf
61035 do :
61036 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61037 if test "x$ac_cv_func__fabsf" = x""yes; then :
61038 cat >>confdefs.h <<_ACEOF
61039 #define HAVE__FABSF 1
61040 _ACEOF
61041
61042 fi
61043 done
61044
61045 fi
61046 fi
61047
61048
61049
61050
61051
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61053 $as_echo_n "checking for fmodf declaration... " >&6; }
61054 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61055 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61058
61059
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61065
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61069 int
61070 main ()
61071 {
61072 fmodf(0, 0);
61073 ;
61074 return 0;
61075 }
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func_fmodf_use=yes
61079 else
61080 glibcxx_cv_func_fmodf_use=no
61081 fi
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088
61089
61090 fi
61091
61092 fi
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61094 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61095
61096 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61097 for ac_func in fmodf
61098 do :
61099 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61100 if test "x$ac_cv_func_fmodf" = x""yes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE_FMODF 1
61103 _ACEOF
61104
61105 fi
61106 done
61107
61108 else
61109
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61111 $as_echo_n "checking for _fmodf declaration... " >&6; }
61112 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61113 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61114 $as_echo_n "(cached) " >&6
61115 else
61116
61117
61118 ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61123
61124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h. */
61126 #include <math.h>
61127 int
61128 main ()
61129 {
61130 _fmodf(0, 0);
61131 ;
61132 return 0;
61133 }
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func__fmodf_use=yes
61137 else
61138 glibcxx_cv_func__fmodf_use=no
61139 fi
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146
61147
61148 fi
61149
61150 fi
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61152 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61153
61154 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61155 for ac_func in _fmodf
61156 do :
61157 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61158 if test "x$ac_cv_func__fmodf" = x""yes; then :
61159 cat >>confdefs.h <<_ACEOF
61160 #define HAVE__FMODF 1
61161 _ACEOF
61162
61163 fi
61164 done
61165
61166 fi
61167 fi
61168
61169
61170
61171
61172
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61174 $as_echo_n "checking for frexpf declaration... " >&6; }
61175 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61176 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61179
61180
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61186
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61190 int
61191 main ()
61192 {
61193 frexpf(0, 0);
61194 ;
61195 return 0;
61196 }
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func_frexpf_use=yes
61200 else
61201 glibcxx_cv_func_frexpf_use=no
61202 fi
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61209
61210
61211 fi
61212
61213 fi
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61215 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61216
61217 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61218 for ac_func in frexpf
61219 do :
61220 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61221 if test "x$ac_cv_func_frexpf" = x""yes; then :
61222 cat >>confdefs.h <<_ACEOF
61223 #define HAVE_FREXPF 1
61224 _ACEOF
61225
61226 fi
61227 done
61228
61229 else
61230
61231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61232 $as_echo_n "checking for _frexpf declaration... " >&6; }
61233 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61234 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61235 $as_echo_n "(cached) " >&6
61236 else
61237
61238
61239 ac_ext=cpp
61240 ac_cpp='$CXXCPP $CPPFLAGS'
61241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61244
61245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61246 /* end confdefs.h. */
61247 #include <math.h>
61248 int
61249 main ()
61250 {
61251 _frexpf(0, 0);
61252 ;
61253 return 0;
61254 }
61255 _ACEOF
61256 if ac_fn_cxx_try_compile "$LINENO"; then :
61257 glibcxx_cv_func__frexpf_use=yes
61258 else
61259 glibcxx_cv_func__frexpf_use=no
61260 fi
61261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61262 ac_ext=c
61263 ac_cpp='$CPP $CPPFLAGS'
61264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61267
61268
61269 fi
61270
61271 fi
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61273 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61274
61275 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61276 for ac_func in _frexpf
61277 do :
61278 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61279 if test "x$ac_cv_func__frexpf" = x""yes; then :
61280 cat >>confdefs.h <<_ACEOF
61281 #define HAVE__FREXPF 1
61282 _ACEOF
61283
61284 fi
61285 done
61286
61287 fi
61288 fi
61289
61290
61291
61292
61293
61294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61295 $as_echo_n "checking for hypotf declaration... " >&6; }
61296 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61297 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61298 $as_echo_n "(cached) " >&6
61299 else
61300
61301
61302 ac_ext=cpp
61303 ac_cpp='$CXXCPP $CPPFLAGS'
61304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61307
61308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61309 /* end confdefs.h. */
61310 #include <math.h>
61311 int
61312 main ()
61313 {
61314 hypotf(0, 0);
61315 ;
61316 return 0;
61317 }
61318 _ACEOF
61319 if ac_fn_cxx_try_compile "$LINENO"; then :
61320 glibcxx_cv_func_hypotf_use=yes
61321 else
61322 glibcxx_cv_func_hypotf_use=no
61323 fi
61324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61325 ac_ext=c
61326 ac_cpp='$CPP $CPPFLAGS'
61327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61330
61331
61332 fi
61333
61334 fi
61335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61336 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61337
61338 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61339 for ac_func in hypotf
61340 do :
61341 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61342 if test "x$ac_cv_func_hypotf" = x""yes; then :
61343 cat >>confdefs.h <<_ACEOF
61344 #define HAVE_HYPOTF 1
61345 _ACEOF
61346
61347 fi
61348 done
61349
61350 else
61351
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61353 $as_echo_n "checking for _hypotf declaration... " >&6; }
61354 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61355 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61358
61359
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61365
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61369 int
61370 main ()
61371 {
61372 _hypotf(0, 0);
61373 ;
61374 return 0;
61375 }
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__hypotf_use=yes
61379 else
61380 glibcxx_cv_func__hypotf_use=no
61381 fi
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61388
61389
61390 fi
61391
61392 fi
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61394 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61395
61396 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61397 for ac_func in _hypotf
61398 do :
61399 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61400 if test "x$ac_cv_func__hypotf" = x""yes; then :
61401 cat >>confdefs.h <<_ACEOF
61402 #define HAVE__HYPOTF 1
61403 _ACEOF
61404
61405 fi
61406 done
61407
61408 fi
61409 fi
61410
61411
61412
61413
61414
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61416 $as_echo_n "checking for ldexpf declaration... " >&6; }
61417 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61418 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61419 $as_echo_n "(cached) " >&6
61420 else
61421
61422
61423 ac_ext=cpp
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61428
61429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61430 /* end confdefs.h. */
61431 #include <math.h>
61432 int
61433 main ()
61434 {
61435 ldexpf(0, 0);
61436 ;
61437 return 0;
61438 }
61439 _ACEOF
61440 if ac_fn_cxx_try_compile "$LINENO"; then :
61441 glibcxx_cv_func_ldexpf_use=yes
61442 else
61443 glibcxx_cv_func_ldexpf_use=no
61444 fi
61445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61446 ac_ext=c
61447 ac_cpp='$CPP $CPPFLAGS'
61448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61451
61452
61453 fi
61454
61455 fi
61456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61457 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61458
61459 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61460 for ac_func in ldexpf
61461 do :
61462 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61463 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61464 cat >>confdefs.h <<_ACEOF
61465 #define HAVE_LDEXPF 1
61466 _ACEOF
61467
61468 fi
61469 done
61470
61471 else
61472
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61474 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61475 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61476 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61477 $as_echo_n "(cached) " >&6
61478 else
61479
61480
61481 ac_ext=cpp
61482 ac_cpp='$CXXCPP $CPPFLAGS'
61483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61486
61487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61488 /* end confdefs.h. */
61489 #include <math.h>
61490 int
61491 main ()
61492 {
61493 _ldexpf(0, 0);
61494 ;
61495 return 0;
61496 }
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func__ldexpf_use=yes
61500 else
61501 glibcxx_cv_func__ldexpf_use=no
61502 fi
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61509
61510
61511 fi
61512
61513 fi
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61515 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61516
61517 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61518 for ac_func in _ldexpf
61519 do :
61520 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61521 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE__LDEXPF 1
61524 _ACEOF
61525
61526 fi
61527 done
61528
61529 fi
61530 fi
61531
61532
61533
61534
61535
61536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61537 $as_echo_n "checking for logf declaration... " >&6; }
61538 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61539 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61540 $as_echo_n "(cached) " >&6
61541 else
61542
61543
61544 ac_ext=cpp
61545 ac_cpp='$CXXCPP $CPPFLAGS'
61546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61549
61550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61551 /* end confdefs.h. */
61552 #include <math.h>
61553 #ifdef HAVE_IEEEFP_H
61554 #include <ieeefp.h>
61555 #endif
61556
61557 int
61558 main ()
61559 {
61560 logf(0);
61561 ;
61562 return 0;
61563 }
61564 _ACEOF
61565 if ac_fn_cxx_try_compile "$LINENO"; then :
61566 glibcxx_cv_func_logf_use=yes
61567 else
61568 glibcxx_cv_func_logf_use=no
61569 fi
61570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61571 ac_ext=c
61572 ac_cpp='$CPP $CPPFLAGS'
61573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576
61577
61578 fi
61579
61580 fi
61581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61582 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61583
61584 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61585 for ac_func in logf
61586 do :
61587 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61588 if test "x$ac_cv_func_logf" = x""yes; then :
61589 cat >>confdefs.h <<_ACEOF
61590 #define HAVE_LOGF 1
61591 _ACEOF
61592
61593 fi
61594 done
61595
61596 else
61597
61598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61599 $as_echo_n "checking for _logf declaration... " >&6; }
61600 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61601 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61602 $as_echo_n "(cached) " >&6
61603 else
61604
61605
61606 ac_ext=cpp
61607 ac_cpp='$CXXCPP $CPPFLAGS'
61608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61611
61612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61613 /* end confdefs.h. */
61614 #include <math.h>
61615 #ifdef HAVE_IEEEFP_H
61616 #include <ieeefp.h>
61617 #endif
61618
61619 int
61620 main ()
61621 {
61622 _logf(0);
61623 ;
61624 return 0;
61625 }
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func__logf_use=yes
61629 else
61630 glibcxx_cv_func__logf_use=no
61631 fi
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61638
61639
61640 fi
61641
61642 fi
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61644 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61645
61646 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61647 for ac_func in _logf
61648 do :
61649 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61650 if test "x$ac_cv_func__logf" = x""yes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE__LOGF 1
61653 _ACEOF
61654
61655 fi
61656 done
61657
61658 fi
61659 fi
61660
61661
61662
61663
61664
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61666 $as_echo_n "checking for log10f declaration... " >&6; }
61667 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61668 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61671
61672
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61678
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61682 #ifdef HAVE_IEEEFP_H
61683 #include <ieeefp.h>
61684 #endif
61685
61686 int
61687 main ()
61688 {
61689 log10f(0);
61690 ;
61691 return 0;
61692 }
61693 _ACEOF
61694 if ac_fn_cxx_try_compile "$LINENO"; then :
61695 glibcxx_cv_func_log10f_use=yes
61696 else
61697 glibcxx_cv_func_log10f_use=no
61698 fi
61699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61705
61706
61707 fi
61708
61709 fi
61710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61711 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61712
61713 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61714 for ac_func in log10f
61715 do :
61716 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61717 if test "x$ac_cv_func_log10f" = x""yes; then :
61718 cat >>confdefs.h <<_ACEOF
61719 #define HAVE_LOG10F 1
61720 _ACEOF
61721
61722 fi
61723 done
61724
61725 else
61726
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61728 $as_echo_n "checking for _log10f declaration... " >&6; }
61729 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61730 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61731 $as_echo_n "(cached) " >&6
61732 else
61733
61734
61735 ac_ext=cpp
61736 ac_cpp='$CXXCPP $CPPFLAGS'
61737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61740
61741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61742 /* end confdefs.h. */
61743 #include <math.h>
61744 #ifdef HAVE_IEEEFP_H
61745 #include <ieeefp.h>
61746 #endif
61747
61748 int
61749 main ()
61750 {
61751 _log10f(0);
61752 ;
61753 return 0;
61754 }
61755 _ACEOF
61756 if ac_fn_cxx_try_compile "$LINENO"; then :
61757 glibcxx_cv_func__log10f_use=yes
61758 else
61759 glibcxx_cv_func__log10f_use=no
61760 fi
61761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61762 ac_ext=c
61763 ac_cpp='$CPP $CPPFLAGS'
61764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61767
61768
61769 fi
61770
61771 fi
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61773 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61774
61775 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61776 for ac_func in _log10f
61777 do :
61778 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61779 if test "x$ac_cv_func__log10f" = x""yes; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define HAVE__LOG10F 1
61782 _ACEOF
61783
61784 fi
61785 done
61786
61787 fi
61788 fi
61789
61790
61791
61792
61793
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61795 $as_echo_n "checking for modff declaration... " >&6; }
61796 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61797 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61798 $as_echo_n "(cached) " >&6
61799 else
61800
61801
61802 ac_ext=cpp
61803 ac_cpp='$CXXCPP $CPPFLAGS'
61804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61807
61808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61809 /* end confdefs.h. */
61810 #include <math.h>
61811 int
61812 main ()
61813 {
61814 modff(0, 0);
61815 ;
61816 return 0;
61817 }
61818 _ACEOF
61819 if ac_fn_cxx_try_compile "$LINENO"; then :
61820 glibcxx_cv_func_modff_use=yes
61821 else
61822 glibcxx_cv_func_modff_use=no
61823 fi
61824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61825 ac_ext=c
61826 ac_cpp='$CPP $CPPFLAGS'
61827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61830
61831
61832 fi
61833
61834 fi
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61836 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61837
61838 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61839 for ac_func in modff
61840 do :
61841 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61842 if test "x$ac_cv_func_modff" = x""yes; then :
61843 cat >>confdefs.h <<_ACEOF
61844 #define HAVE_MODFF 1
61845 _ACEOF
61846
61847 fi
61848 done
61849
61850 else
61851
61852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61853 $as_echo_n "checking for _modff declaration... " >&6; }
61854 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61855 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61856 $as_echo_n "(cached) " >&6
61857 else
61858
61859
61860 ac_ext=cpp
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61865
61866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61867 /* end confdefs.h. */
61868 #include <math.h>
61869 int
61870 main ()
61871 {
61872 _modff(0, 0);
61873 ;
61874 return 0;
61875 }
61876 _ACEOF
61877 if ac_fn_cxx_try_compile "$LINENO"; then :
61878 glibcxx_cv_func__modff_use=yes
61879 else
61880 glibcxx_cv_func__modff_use=no
61881 fi
61882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61883 ac_ext=c
61884 ac_cpp='$CPP $CPPFLAGS'
61885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61888
61889
61890 fi
61891
61892 fi
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61894 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61895
61896 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61897 for ac_func in _modff
61898 do :
61899 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61900 if test "x$ac_cv_func__modff" = x""yes; then :
61901 cat >>confdefs.h <<_ACEOF
61902 #define HAVE__MODFF 1
61903 _ACEOF
61904
61905 fi
61906 done
61907
61908 fi
61909 fi
61910
61911
61912
61913
61914
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61916 $as_echo_n "checking for modf declaration... " >&6; }
61917 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61918 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61919 $as_echo_n "(cached) " >&6
61920 else
61921
61922
61923 ac_ext=cpp
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61928
61929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61930 /* end confdefs.h. */
61931 #include <math.h>
61932 int
61933 main ()
61934 {
61935 modf(0, 0);
61936 ;
61937 return 0;
61938 }
61939 _ACEOF
61940 if ac_fn_cxx_try_compile "$LINENO"; then :
61941 glibcxx_cv_func_modf_use=yes
61942 else
61943 glibcxx_cv_func_modf_use=no
61944 fi
61945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61946 ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61951
61952
61953 fi
61954
61955 fi
61956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61957 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61958
61959 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61960 for ac_func in modf
61961 do :
61962 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61963 if test "x$ac_cv_func_modf" = x""yes; then :
61964 cat >>confdefs.h <<_ACEOF
61965 #define HAVE_MODF 1
61966 _ACEOF
61967
61968 fi
61969 done
61970
61971 else
61972
61973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61974 $as_echo_n "checking for _modf declaration... " >&6; }
61975 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61976 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61977 $as_echo_n "(cached) " >&6
61978 else
61979
61980
61981 ac_ext=cpp
61982 ac_cpp='$CXXCPP $CPPFLAGS'
61983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61986
61987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61988 /* end confdefs.h. */
61989 #include <math.h>
61990 int
61991 main ()
61992 {
61993 _modf(0, 0);
61994 ;
61995 return 0;
61996 }
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func__modf_use=yes
62000 else
62001 glibcxx_cv_func__modf_use=no
62002 fi
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62009
62010
62011 fi
62012
62013 fi
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62015 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62016
62017 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62018 for ac_func in _modf
62019 do :
62020 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62021 if test "x$ac_cv_func__modf" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE__MODF 1
62024 _ACEOF
62025
62026 fi
62027 done
62028
62029 fi
62030 fi
62031
62032
62033
62034
62035
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62037 $as_echo_n "checking for powf declaration... " >&6; }
62038 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62039 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62040 $as_echo_n "(cached) " >&6
62041 else
62042
62043
62044 ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049
62050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h. */
62052 #include <math.h>
62053 int
62054 main ()
62055 {
62056 powf(0, 0);
62057 ;
62058 return 0;
62059 }
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func_powf_use=yes
62063 else
62064 glibcxx_cv_func_powf_use=no
62065 fi
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62072
62073
62074 fi
62075
62076 fi
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62078 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62079
62080 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62081 for ac_func in powf
62082 do :
62083 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62084 if test "x$ac_cv_func_powf" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE_POWF 1
62087 _ACEOF
62088
62089 fi
62090 done
62091
62092 else
62093
62094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62095 $as_echo_n "checking for _powf declaration... " >&6; }
62096 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62097 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62098 $as_echo_n "(cached) " >&6
62099 else
62100
62101
62102 ac_ext=cpp
62103 ac_cpp='$CXXCPP $CPPFLAGS'
62104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62107
62108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62109 /* end confdefs.h. */
62110 #include <math.h>
62111 int
62112 main ()
62113 {
62114 _powf(0, 0);
62115 ;
62116 return 0;
62117 }
62118 _ACEOF
62119 if ac_fn_cxx_try_compile "$LINENO"; then :
62120 glibcxx_cv_func__powf_use=yes
62121 else
62122 glibcxx_cv_func__powf_use=no
62123 fi
62124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62125 ac_ext=c
62126 ac_cpp='$CPP $CPPFLAGS'
62127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62130
62131
62132 fi
62133
62134 fi
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62136 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62137
62138 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62139 for ac_func in _powf
62140 do :
62141 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62142 if test "x$ac_cv_func__powf" = x""yes; then :
62143 cat >>confdefs.h <<_ACEOF
62144 #define HAVE__POWF 1
62145 _ACEOF
62146
62147 fi
62148 done
62149
62150 fi
62151 fi
62152
62153
62154
62155
62156
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62158 $as_echo_n "checking for sqrtf declaration... " >&6; }
62159 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62160 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62161 $as_echo_n "(cached) " >&6
62162 else
62163
62164
62165 ac_ext=cpp
62166 ac_cpp='$CXXCPP $CPPFLAGS'
62167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62170
62171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62172 /* end confdefs.h. */
62173 #include <math.h>
62174 #ifdef HAVE_IEEEFP_H
62175 #include <ieeefp.h>
62176 #endif
62177
62178 int
62179 main ()
62180 {
62181 sqrtf(0);
62182 ;
62183 return 0;
62184 }
62185 _ACEOF
62186 if ac_fn_cxx_try_compile "$LINENO"; then :
62187 glibcxx_cv_func_sqrtf_use=yes
62188 else
62189 glibcxx_cv_func_sqrtf_use=no
62190 fi
62191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62192 ac_ext=c
62193 ac_cpp='$CPP $CPPFLAGS'
62194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62197
62198
62199 fi
62200
62201 fi
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62203 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62204
62205 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62206 for ac_func in sqrtf
62207 do :
62208 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62209 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62210 cat >>confdefs.h <<_ACEOF
62211 #define HAVE_SQRTF 1
62212 _ACEOF
62213
62214 fi
62215 done
62216
62217 else
62218
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62220 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62221 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62222 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62225
62226
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62232
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62236 #ifdef HAVE_IEEEFP_H
62237 #include <ieeefp.h>
62238 #endif
62239
62240 int
62241 main ()
62242 {
62243 _sqrtf(0);
62244 ;
62245 return 0;
62246 }
62247 _ACEOF
62248 if ac_fn_cxx_try_compile "$LINENO"; then :
62249 glibcxx_cv_func__sqrtf_use=yes
62250 else
62251 glibcxx_cv_func__sqrtf_use=no
62252 fi
62253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62254 ac_ext=c
62255 ac_cpp='$CPP $CPPFLAGS'
62256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62259
62260
62261 fi
62262
62263 fi
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62265 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62266
62267 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62268 for ac_func in _sqrtf
62269 do :
62270 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62271 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62272 cat >>confdefs.h <<_ACEOF
62273 #define HAVE__SQRTF 1
62274 _ACEOF
62275
62276 fi
62277 done
62278
62279 fi
62280 fi
62281
62282
62283
62284
62285
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62287 $as_echo_n "checking for sincosf declaration... " >&6; }
62288 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62289 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62290 $as_echo_n "(cached) " >&6
62291 else
62292
62293
62294 ac_ext=cpp
62295 ac_cpp='$CXXCPP $CPPFLAGS'
62296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62299
62300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62301 /* end confdefs.h. */
62302 #include <math.h>
62303 int
62304 main ()
62305 {
62306 sincosf(0, 0, 0);
62307 ;
62308 return 0;
62309 }
62310 _ACEOF
62311 if ac_fn_cxx_try_compile "$LINENO"; then :
62312 glibcxx_cv_func_sincosf_use=yes
62313 else
62314 glibcxx_cv_func_sincosf_use=no
62315 fi
62316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62317 ac_ext=c
62318 ac_cpp='$CPP $CPPFLAGS'
62319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62322
62323
62324 fi
62325
62326 fi
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62328 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62329
62330 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62331 for ac_func in sincosf
62332 do :
62333 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62334 if test "x$ac_cv_func_sincosf" = x""yes; then :
62335 cat >>confdefs.h <<_ACEOF
62336 #define HAVE_SINCOSF 1
62337 _ACEOF
62338
62339 fi
62340 done
62341
62342 else
62343
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62345 $as_echo_n "checking for _sincosf declaration... " >&6; }
62346 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62347 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62348 $as_echo_n "(cached) " >&6
62349 else
62350
62351
62352 ac_ext=cpp
62353 ac_cpp='$CXXCPP $CPPFLAGS'
62354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62357
62358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62359 /* end confdefs.h. */
62360 #include <math.h>
62361 int
62362 main ()
62363 {
62364 _sincosf(0, 0, 0);
62365 ;
62366 return 0;
62367 }
62368 _ACEOF
62369 if ac_fn_cxx_try_compile "$LINENO"; then :
62370 glibcxx_cv_func__sincosf_use=yes
62371 else
62372 glibcxx_cv_func__sincosf_use=no
62373 fi
62374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62375 ac_ext=c
62376 ac_cpp='$CPP $CPPFLAGS'
62377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62380
62381
62382 fi
62383
62384 fi
62385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62386 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62387
62388 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62389 for ac_func in _sincosf
62390 do :
62391 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62392 if test "x$ac_cv_func__sincosf" = x""yes; then :
62393 cat >>confdefs.h <<_ACEOF
62394 #define HAVE__SINCOSF 1
62395 _ACEOF
62396
62397 fi
62398 done
62399
62400 fi
62401 fi
62402
62403
62404
62405
62406
62407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62408 $as_echo_n "checking for finitef declaration... " >&6; }
62409 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62410 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62411 $as_echo_n "(cached) " >&6
62412 else
62413
62414
62415 ac_ext=cpp
62416 ac_cpp='$CXXCPP $CPPFLAGS'
62417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62420
62421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62422 /* end confdefs.h. */
62423 #include <math.h>
62424 #ifdef HAVE_IEEEFP_H
62425 #include <ieeefp.h>
62426 #endif
62427
62428 int
62429 main ()
62430 {
62431 finitef(0);
62432 ;
62433 return 0;
62434 }
62435 _ACEOF
62436 if ac_fn_cxx_try_compile "$LINENO"; then :
62437 glibcxx_cv_func_finitef_use=yes
62438 else
62439 glibcxx_cv_func_finitef_use=no
62440 fi
62441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62442 ac_ext=c
62443 ac_cpp='$CPP $CPPFLAGS'
62444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62447
62448
62449 fi
62450
62451 fi
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62453 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62454
62455 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62456 for ac_func in finitef
62457 do :
62458 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62459 if test "x$ac_cv_func_finitef" = x""yes; then :
62460 cat >>confdefs.h <<_ACEOF
62461 #define HAVE_FINITEF 1
62462 _ACEOF
62463
62464 fi
62465 done
62466
62467 else
62468
62469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62470 $as_echo_n "checking for _finitef declaration... " >&6; }
62471 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62472 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62473 $as_echo_n "(cached) " >&6
62474 else
62475
62476
62477 ac_ext=cpp
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62482
62483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62484 /* end confdefs.h. */
62485 #include <math.h>
62486 #ifdef HAVE_IEEEFP_H
62487 #include <ieeefp.h>
62488 #endif
62489
62490 int
62491 main ()
62492 {
62493 _finitef(0);
62494 ;
62495 return 0;
62496 }
62497 _ACEOF
62498 if ac_fn_cxx_try_compile "$LINENO"; then :
62499 glibcxx_cv_func__finitef_use=yes
62500 else
62501 glibcxx_cv_func__finitef_use=no
62502 fi
62503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62504 ac_ext=c
62505 ac_cpp='$CPP $CPPFLAGS'
62506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62509
62510
62511 fi
62512
62513 fi
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62515 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62516
62517 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62518 for ac_func in _finitef
62519 do :
62520 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62521 if test "x$ac_cv_func__finitef" = x""yes; then :
62522 cat >>confdefs.h <<_ACEOF
62523 #define HAVE__FINITEF 1
62524 _ACEOF
62525
62526 fi
62527 done
62528
62529 fi
62530 fi
62531
62532
62533
62534
62535
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62537 $as_echo_n "checking for long double trig functions... " >&6; }
62538 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62541
62542
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62548
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62552 int
62553 main ()
62554 {
62555 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62556 ;
62557 return 0;
62558 }
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561 glibcxx_cv_func_long_double_trig_use=yes
62562 else
62563 glibcxx_cv_func_long_double_trig_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 fi
62573
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62575 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62576 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62577 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62578 do :
62579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62581 eval as_val=\$$as_ac_var
62582 if test "x$as_val" = x""yes; then :
62583 cat >>confdefs.h <<_ACEOF
62584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62585 _ACEOF
62586
62587 fi
62588 done
62589
62590 else
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62592 $as_echo_n "checking for _long double trig functions... " >&6; }
62593 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62594 $as_echo_n "(cached) " >&6
62595 else
62596
62597
62598 ac_ext=cpp
62599 ac_cpp='$CXXCPP $CPPFLAGS'
62600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62603
62604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62605 /* end confdefs.h. */
62606 #include <math.h>
62607 int
62608 main ()
62609 {
62610 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62611 ;
62612 return 0;
62613 }
62614 _ACEOF
62615 if ac_fn_cxx_try_compile "$LINENO"; then :
62616 glibcxx_cv_func__long_double_trig_use=yes
62617 else
62618 glibcxx_cv_func__long_double_trig_use=no
62619 fi
62620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62621 ac_ext=c
62622 ac_cpp='$CPP $CPPFLAGS'
62623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62626
62627 fi
62628
62629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62630 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62631 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62632 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62633 do :
62634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62636 eval as_val=\$$as_ac_var
62637 if test "x$as_val" = x""yes; then :
62638 cat >>confdefs.h <<_ACEOF
62639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62640 _ACEOF
62641
62642 fi
62643 done
62644
62645 fi
62646 fi
62647
62648
62649
62650
62651
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62653 $as_echo_n "checking for long double round functions... " >&6; }
62654 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62655 $as_echo_n "(cached) " >&6
62656 else
62657
62658
62659 ac_ext=cpp
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62664
62665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62666 /* end confdefs.h. */
62667 #include <math.h>
62668 int
62669 main ()
62670 {
62671 ceill (0); floorl (0);
62672 ;
62673 return 0;
62674 }
62675 _ACEOF
62676 if ac_fn_cxx_try_compile "$LINENO"; then :
62677 glibcxx_cv_func_long_double_round_use=yes
62678 else
62679 glibcxx_cv_func_long_double_round_use=no
62680 fi
62681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62682 ac_ext=c
62683 ac_cpp='$CPP $CPPFLAGS'
62684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62687
62688 fi
62689
62690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62691 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62692 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62693 for ac_func in ceill floorl
62694 do :
62695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62697 eval as_val=\$$as_ac_var
62698 if test "x$as_val" = x""yes; then :
62699 cat >>confdefs.h <<_ACEOF
62700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62701 _ACEOF
62702
62703 fi
62704 done
62705
62706 else
62707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62708 $as_echo_n "checking for _long double round functions... " >&6; }
62709 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62710 $as_echo_n "(cached) " >&6
62711 else
62712
62713
62714 ac_ext=cpp
62715 ac_cpp='$CXXCPP $CPPFLAGS'
62716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62719
62720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62721 /* end confdefs.h. */
62722 #include <math.h>
62723 int
62724 main ()
62725 {
62726 _ceill (0); _floorl (0);
62727 ;
62728 return 0;
62729 }
62730 _ACEOF
62731 if ac_fn_cxx_try_compile "$LINENO"; then :
62732 glibcxx_cv_func__long_double_round_use=yes
62733 else
62734 glibcxx_cv_func__long_double_round_use=no
62735 fi
62736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62737 ac_ext=c
62738 ac_cpp='$CPP $CPPFLAGS'
62739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62742
62743 fi
62744
62745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62746 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62747 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62748 for ac_func in _ceill _floorl
62749 do :
62750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62752 eval as_val=\$$as_ac_var
62753 if test "x$as_val" = x""yes; then :
62754 cat >>confdefs.h <<_ACEOF
62755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62756 _ACEOF
62757
62758 fi
62759 done
62760
62761 fi
62762 fi
62763
62764
62765
62766
62767
62768
62769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62770 $as_echo_n "checking for isnanl declaration... " >&6; }
62771 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62772 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62773 $as_echo_n "(cached) " >&6
62774 else
62775
62776
62777 ac_ext=cpp
62778 ac_cpp='$CXXCPP $CPPFLAGS'
62779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62782
62783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62784 /* end confdefs.h. */
62785 #include <math.h>
62786 #ifdef HAVE_IEEEFP_H
62787 #include <ieeefp.h>
62788 #endif
62789
62790 int
62791 main ()
62792 {
62793 isnanl(0);
62794 ;
62795 return 0;
62796 }
62797 _ACEOF
62798 if ac_fn_cxx_try_compile "$LINENO"; then :
62799 glibcxx_cv_func_isnanl_use=yes
62800 else
62801 glibcxx_cv_func_isnanl_use=no
62802 fi
62803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62804 ac_ext=c
62805 ac_cpp='$CPP $CPPFLAGS'
62806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62809
62810
62811 fi
62812
62813 fi
62814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62815 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62816
62817 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62818 for ac_func in isnanl
62819 do :
62820 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62821 if test "x$ac_cv_func_isnanl" = x""yes; then :
62822 cat >>confdefs.h <<_ACEOF
62823 #define HAVE_ISNANL 1
62824 _ACEOF
62825
62826 fi
62827 done
62828
62829 else
62830
62831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62832 $as_echo_n "checking for _isnanl declaration... " >&6; }
62833 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62834 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62835 $as_echo_n "(cached) " >&6
62836 else
62837
62838
62839 ac_ext=cpp
62840 ac_cpp='$CXXCPP $CPPFLAGS'
62841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62844
62845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62846 /* end confdefs.h. */
62847 #include <math.h>
62848 #ifdef HAVE_IEEEFP_H
62849 #include <ieeefp.h>
62850 #endif
62851
62852 int
62853 main ()
62854 {
62855 _isnanl(0);
62856 ;
62857 return 0;
62858 }
62859 _ACEOF
62860 if ac_fn_cxx_try_compile "$LINENO"; then :
62861 glibcxx_cv_func__isnanl_use=yes
62862 else
62863 glibcxx_cv_func__isnanl_use=no
62864 fi
62865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62866 ac_ext=c
62867 ac_cpp='$CPP $CPPFLAGS'
62868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62871
62872
62873 fi
62874
62875 fi
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62877 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62878
62879 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62880 for ac_func in _isnanl
62881 do :
62882 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62883 if test "x$ac_cv_func__isnanl" = x""yes; then :
62884 cat >>confdefs.h <<_ACEOF
62885 #define HAVE__ISNANL 1
62886 _ACEOF
62887
62888 fi
62889 done
62890
62891 fi
62892 fi
62893
62894
62895
62896
62897
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62899 $as_echo_n "checking for isinfl declaration... " >&6; }
62900 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62901 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62904
62905
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62911
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 #ifdef HAVE_IEEEFP_H
62916 #include <ieeefp.h>
62917 #endif
62918
62919 int
62920 main ()
62921 {
62922 isinfl(0);
62923 ;
62924 return 0;
62925 }
62926 _ACEOF
62927 if ac_fn_cxx_try_compile "$LINENO"; then :
62928 glibcxx_cv_func_isinfl_use=yes
62929 else
62930 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
62944 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62945
62946 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62947 for ac_func in isinfl
62948 do :
62949 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62950 if test "x$ac_cv_func_isinfl" = x""yes; then :
62951 cat >>confdefs.h <<_ACEOF
62952 #define HAVE_ISINFL 1
62953 _ACEOF
62954
62955 fi
62956 done
62957
62958 else
62959
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62961 $as_echo_n "checking for _isinfl declaration... " >&6; }
62962 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62963 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62964 $as_echo_n "(cached) " >&6
62965 else
62966
62967
62968 ac_ext=cpp
62969 ac_cpp='$CXXCPP $CPPFLAGS'
62970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973
62974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62975 /* end confdefs.h. */
62976 #include <math.h>
62977 #ifdef HAVE_IEEEFP_H
62978 #include <ieeefp.h>
62979 #endif
62980
62981 int
62982 main ()
62983 {
62984 _isinfl(0);
62985 ;
62986 return 0;
62987 }
62988 _ACEOF
62989 if ac_fn_cxx_try_compile "$LINENO"; then :
62990 glibcxx_cv_func__isinfl_use=yes
62991 else
62992 glibcxx_cv_func__isinfl_use=no
62993 fi
62994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62995 ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63000
63001
63002 fi
63003
63004 fi
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63006 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63007
63008 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63009 for ac_func in _isinfl
63010 do :
63011 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63012 if test "x$ac_cv_func__isinfl" = x""yes; then :
63013 cat >>confdefs.h <<_ACEOF
63014 #define HAVE__ISINFL 1
63015 _ACEOF
63016
63017 fi
63018 done
63019
63020 fi
63021 fi
63022
63023
63024
63025
63026
63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63028 $as_echo_n "checking for atan2l declaration... " >&6; }
63029 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63030 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63031 $as_echo_n "(cached) " >&6
63032 else
63033
63034
63035 ac_ext=cpp
63036 ac_cpp='$CXXCPP $CPPFLAGS'
63037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63040
63041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63042 /* end confdefs.h. */
63043 #include <math.h>
63044 int
63045 main ()
63046 {
63047 atan2l(0, 0);
63048 ;
63049 return 0;
63050 }
63051 _ACEOF
63052 if ac_fn_cxx_try_compile "$LINENO"; then :
63053 glibcxx_cv_func_atan2l_use=yes
63054 else
63055 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
63069 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63070
63071 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63072 for ac_func in atan2l
63073 do :
63074 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63075 if test "x$ac_cv_func_atan2l" = x""yes; then :
63076 cat >>confdefs.h <<_ACEOF
63077 #define HAVE_ATAN2L 1
63078 _ACEOF
63079
63080 fi
63081 done
63082
63083 else
63084
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63086 $as_echo_n "checking for _atan2l declaration... " >&6; }
63087 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63088 if test "${glibcxx_cv_func__atan2l_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 int
63103 main ()
63104 {
63105 _atan2l(0, 0);
63106 ;
63107 return 0;
63108 }
63109 _ACEOF
63110 if ac_fn_cxx_try_compile "$LINENO"; then :
63111 glibcxx_cv_func__atan2l_use=yes
63112 else
63113 glibcxx_cv_func__atan2l_use=no
63114 fi
63115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63116 ac_ext=c
63117 ac_cpp='$CPP $CPPFLAGS'
63118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63121
63122
63123 fi
63124
63125 fi
63126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63127 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63128
63129 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63130 for ac_func in _atan2l
63131 do :
63132 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63133 if test "x$ac_cv_func__atan2l" = x""yes; then :
63134 cat >>confdefs.h <<_ACEOF
63135 #define HAVE__ATAN2L 1
63136 _ACEOF
63137
63138 fi
63139 done
63140
63141 fi
63142 fi
63143
63144
63145
63146
63147
63148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63149 $as_echo_n "checking for expl declaration... " >&6; }
63150 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63151 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63152 $as_echo_n "(cached) " >&6
63153 else
63154
63155
63156 ac_ext=cpp
63157 ac_cpp='$CXXCPP $CPPFLAGS'
63158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63161
63162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63163 /* end confdefs.h. */
63164 #include <math.h>
63165 #ifdef HAVE_IEEEFP_H
63166 #include <ieeefp.h>
63167 #endif
63168
63169 int
63170 main ()
63171 {
63172 expl(0);
63173 ;
63174 return 0;
63175 }
63176 _ACEOF
63177 if ac_fn_cxx_try_compile "$LINENO"; then :
63178 glibcxx_cv_func_expl_use=yes
63179 else
63180 glibcxx_cv_func_expl_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_expl_use" >&5
63194 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63195
63196 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63197 for ac_func in expl
63198 do :
63199 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63200 if test "x$ac_cv_func_expl" = x""yes; then :
63201 cat >>confdefs.h <<_ACEOF
63202 #define HAVE_EXPL 1
63203 _ACEOF
63204
63205 fi
63206 done
63207
63208 else
63209
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63211 $as_echo_n "checking for _expl declaration... " >&6; }
63212 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63213 if test "${glibcxx_cv_func__expl_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 #ifdef HAVE_IEEEFP_H
63228 #include <ieeefp.h>
63229 #endif
63230
63231 int
63232 main ()
63233 {
63234 _expl(0);
63235 ;
63236 return 0;
63237 }
63238 _ACEOF
63239 if ac_fn_cxx_try_compile "$LINENO"; then :
63240 glibcxx_cv_func__expl_use=yes
63241 else
63242 glibcxx_cv_func__expl_use=no
63243 fi
63244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63245 ac_ext=c
63246 ac_cpp='$CPP $CPPFLAGS'
63247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63250
63251
63252 fi
63253
63254 fi
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63256 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63257
63258 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63259 for ac_func in _expl
63260 do :
63261 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63262 if test "x$ac_cv_func__expl" = x""yes; then :
63263 cat >>confdefs.h <<_ACEOF
63264 #define HAVE__EXPL 1
63265 _ACEOF
63266
63267 fi
63268 done
63269
63270 fi
63271 fi
63272
63273
63274
63275
63276
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63278 $as_echo_n "checking for fabsl declaration... " >&6; }
63279 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63280 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63281 $as_echo_n "(cached) " >&6
63282 else
63283
63284
63285 ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63290
63291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h. */
63293 #include <math.h>
63294 #ifdef HAVE_IEEEFP_H
63295 #include <ieeefp.h>
63296 #endif
63297
63298 int
63299 main ()
63300 {
63301 fabsl(0);
63302 ;
63303 return 0;
63304 }
63305 _ACEOF
63306 if ac_fn_cxx_try_compile "$LINENO"; then :
63307 glibcxx_cv_func_fabsl_use=yes
63308 else
63309 glibcxx_cv_func_fabsl_use=no
63310 fi
63311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63317
63318
63319 fi
63320
63321 fi
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63323 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63324
63325 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63326 for ac_func in fabsl
63327 do :
63328 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63329 if test "x$ac_cv_func_fabsl" = x""yes; then :
63330 cat >>confdefs.h <<_ACEOF
63331 #define HAVE_FABSL 1
63332 _ACEOF
63333
63334 fi
63335 done
63336
63337 else
63338
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63340 $as_echo_n "checking for _fabsl declaration... " >&6; }
63341 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63342 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63345
63346
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63352
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63356 #ifdef HAVE_IEEEFP_H
63357 #include <ieeefp.h>
63358 #endif
63359
63360 int
63361 main ()
63362 {
63363 _fabsl(0);
63364 ;
63365 return 0;
63366 }
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func__fabsl_use=yes
63370 else
63371 glibcxx_cv_func__fabsl_use=no
63372 fi
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379
63380
63381 fi
63382
63383 fi
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63385 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63386
63387 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63388 for ac_func in _fabsl
63389 do :
63390 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63391 if test "x$ac_cv_func__fabsl" = x""yes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE__FABSL 1
63394 _ACEOF
63395
63396 fi
63397 done
63398
63399 fi
63400 fi
63401
63402
63403
63404
63405
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63407 $as_echo_n "checking for fmodl declaration... " >&6; }
63408 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63409 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63412
63413
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63419
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63423 int
63424 main ()
63425 {
63426 fmodl(0, 0);
63427 ;
63428 return 0;
63429 }
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_fmodl_use=yes
63433 else
63434 glibcxx_cv_func_fmodl_use=no
63435 fi
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63442
63443
63444 fi
63445
63446 fi
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63448 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63449
63450 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63451 for ac_func in fmodl
63452 do :
63453 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63454 if test "x$ac_cv_func_fmodl" = x""yes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE_FMODL 1
63457 _ACEOF
63458
63459 fi
63460 done
63461
63462 else
63463
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63465 $as_echo_n "checking for _fmodl declaration... " >&6; }
63466 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63467 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63470
63471
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63477
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63481 int
63482 main ()
63483 {
63484 _fmodl(0, 0);
63485 ;
63486 return 0;
63487 }
63488 _ACEOF
63489 if ac_fn_cxx_try_compile "$LINENO"; then :
63490 glibcxx_cv_func__fmodl_use=yes
63491 else
63492 glibcxx_cv_func__fmodl_use=no
63493 fi
63494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63495 ac_ext=c
63496 ac_cpp='$CPP $CPPFLAGS'
63497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63500
63501
63502 fi
63503
63504 fi
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63506 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63507
63508 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63509 for ac_func in _fmodl
63510 do :
63511 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63512 if test "x$ac_cv_func__fmodl" = x""yes; then :
63513 cat >>confdefs.h <<_ACEOF
63514 #define HAVE__FMODL 1
63515 _ACEOF
63516
63517 fi
63518 done
63519
63520 fi
63521 fi
63522
63523
63524
63525
63526
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63528 $as_echo_n "checking for frexpl declaration... " >&6; }
63529 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63530 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63531 $as_echo_n "(cached) " >&6
63532 else
63533
63534
63535 ac_ext=cpp
63536 ac_cpp='$CXXCPP $CPPFLAGS'
63537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63540
63541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63542 /* end confdefs.h. */
63543 #include <math.h>
63544 int
63545 main ()
63546 {
63547 frexpl(0, 0);
63548 ;
63549 return 0;
63550 }
63551 _ACEOF
63552 if ac_fn_cxx_try_compile "$LINENO"; then :
63553 glibcxx_cv_func_frexpl_use=yes
63554 else
63555 glibcxx_cv_func_frexpl_use=no
63556 fi
63557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63558 ac_ext=c
63559 ac_cpp='$CPP $CPPFLAGS'
63560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63563
63564
63565 fi
63566
63567 fi
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63569 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63570
63571 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63572 for ac_func in frexpl
63573 do :
63574 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63575 if test "x$ac_cv_func_frexpl" = x""yes; then :
63576 cat >>confdefs.h <<_ACEOF
63577 #define HAVE_FREXPL 1
63578 _ACEOF
63579
63580 fi
63581 done
63582
63583 else
63584
63585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63586 $as_echo_n "checking for _frexpl declaration... " >&6; }
63587 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63588 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63589 $as_echo_n "(cached) " >&6
63590 else
63591
63592
63593 ac_ext=cpp
63594 ac_cpp='$CXXCPP $CPPFLAGS'
63595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63598
63599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63600 /* end confdefs.h. */
63601 #include <math.h>
63602 int
63603 main ()
63604 {
63605 _frexpl(0, 0);
63606 ;
63607 return 0;
63608 }
63609 _ACEOF
63610 if ac_fn_cxx_try_compile "$LINENO"; then :
63611 glibcxx_cv_func__frexpl_use=yes
63612 else
63613 glibcxx_cv_func__frexpl_use=no
63614 fi
63615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63616 ac_ext=c
63617 ac_cpp='$CPP $CPPFLAGS'
63618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63621
63622
63623 fi
63624
63625 fi
63626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63627 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63628
63629 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63630 for ac_func in _frexpl
63631 do :
63632 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63633 if test "x$ac_cv_func__frexpl" = x""yes; then :
63634 cat >>confdefs.h <<_ACEOF
63635 #define HAVE__FREXPL 1
63636 _ACEOF
63637
63638 fi
63639 done
63640
63641 fi
63642 fi
63643
63644
63645
63646
63647
63648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63649 $as_echo_n "checking for hypotl declaration... " >&6; }
63650 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63651 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63652 $as_echo_n "(cached) " >&6
63653 else
63654
63655
63656 ac_ext=cpp
63657 ac_cpp='$CXXCPP $CPPFLAGS'
63658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63661
63662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63663 /* end confdefs.h. */
63664 #include <math.h>
63665 int
63666 main ()
63667 {
63668 hypotl(0, 0);
63669 ;
63670 return 0;
63671 }
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674 glibcxx_cv_func_hypotl_use=yes
63675 else
63676 glibcxx_cv_func_hypotl_use=no
63677 fi
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679 ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63684
63685
63686 fi
63687
63688 fi
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63690 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63691
63692 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63693 for ac_func in hypotl
63694 do :
63695 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63696 if test "x$ac_cv_func_hypotl" = x""yes; then :
63697 cat >>confdefs.h <<_ACEOF
63698 #define HAVE_HYPOTL 1
63699 _ACEOF
63700
63701 fi
63702 done
63703
63704 else
63705
63706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63707 $as_echo_n "checking for _hypotl declaration... " >&6; }
63708 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63709 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63710 $as_echo_n "(cached) " >&6
63711 else
63712
63713
63714 ac_ext=cpp
63715 ac_cpp='$CXXCPP $CPPFLAGS'
63716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63719
63720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63721 /* end confdefs.h. */
63722 #include <math.h>
63723 int
63724 main ()
63725 {
63726 _hypotl(0, 0);
63727 ;
63728 return 0;
63729 }
63730 _ACEOF
63731 if ac_fn_cxx_try_compile "$LINENO"; then :
63732 glibcxx_cv_func__hypotl_use=yes
63733 else
63734 glibcxx_cv_func__hypotl_use=no
63735 fi
63736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63737 ac_ext=c
63738 ac_cpp='$CPP $CPPFLAGS'
63739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63742
63743
63744 fi
63745
63746 fi
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63748 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63749
63750 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63751 for ac_func in _hypotl
63752 do :
63753 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63754 if test "x$ac_cv_func__hypotl" = x""yes; then :
63755 cat >>confdefs.h <<_ACEOF
63756 #define HAVE__HYPOTL 1
63757 _ACEOF
63758
63759 fi
63760 done
63761
63762 fi
63763 fi
63764
63765
63766
63767
63768
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63770 $as_echo_n "checking for ldexpl declaration... " >&6; }
63771 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63772 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63775
63776
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63782
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63786 int
63787 main ()
63788 {
63789 ldexpl(0, 0);
63790 ;
63791 return 0;
63792 }
63793 _ACEOF
63794 if ac_fn_cxx_try_compile "$LINENO"; then :
63795 glibcxx_cv_func_ldexpl_use=yes
63796 else
63797 glibcxx_cv_func_ldexpl_use=no
63798 fi
63799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63800 ac_ext=c
63801 ac_cpp='$CPP $CPPFLAGS'
63802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63805
63806
63807 fi
63808
63809 fi
63810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63811 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63812
63813 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63814 for ac_func in ldexpl
63815 do :
63816 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63817 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63818 cat >>confdefs.h <<_ACEOF
63819 #define HAVE_LDEXPL 1
63820 _ACEOF
63821
63822 fi
63823 done
63824
63825 else
63826
63827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63828 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63829 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63830 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63831 $as_echo_n "(cached) " >&6
63832 else
63833
63834
63835 ac_ext=cpp
63836 ac_cpp='$CXXCPP $CPPFLAGS'
63837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63840
63841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63842 /* end confdefs.h. */
63843 #include <math.h>
63844 int
63845 main ()
63846 {
63847 _ldexpl(0, 0);
63848 ;
63849 return 0;
63850 }
63851 _ACEOF
63852 if ac_fn_cxx_try_compile "$LINENO"; then :
63853 glibcxx_cv_func__ldexpl_use=yes
63854 else
63855 glibcxx_cv_func__ldexpl_use=no
63856 fi
63857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63858 ac_ext=c
63859 ac_cpp='$CPP $CPPFLAGS'
63860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63863
63864
63865 fi
63866
63867 fi
63868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63869 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63870
63871 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63872 for ac_func in _ldexpl
63873 do :
63874 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63875 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63876 cat >>confdefs.h <<_ACEOF
63877 #define HAVE__LDEXPL 1
63878 _ACEOF
63879
63880 fi
63881 done
63882
63883 fi
63884 fi
63885
63886
63887
63888
63889
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63891 $as_echo_n "checking for logl declaration... " >&6; }
63892 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63893 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63894 $as_echo_n "(cached) " >&6
63895 else
63896
63897
63898 ac_ext=cpp
63899 ac_cpp='$CXXCPP $CPPFLAGS'
63900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63903
63904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63905 /* end confdefs.h. */
63906 #include <math.h>
63907 #ifdef HAVE_IEEEFP_H
63908 #include <ieeefp.h>
63909 #endif
63910
63911 int
63912 main ()
63913 {
63914 logl(0);
63915 ;
63916 return 0;
63917 }
63918 _ACEOF
63919 if ac_fn_cxx_try_compile "$LINENO"; then :
63920 glibcxx_cv_func_logl_use=yes
63921 else
63922 glibcxx_cv_func_logl_use=no
63923 fi
63924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63925 ac_ext=c
63926 ac_cpp='$CPP $CPPFLAGS'
63927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63930
63931
63932 fi
63933
63934 fi
63935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63936 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63937
63938 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63939 for ac_func in logl
63940 do :
63941 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63942 if test "x$ac_cv_func_logl" = x""yes; then :
63943 cat >>confdefs.h <<_ACEOF
63944 #define HAVE_LOGL 1
63945 _ACEOF
63946
63947 fi
63948 done
63949
63950 else
63951
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63953 $as_echo_n "checking for _logl declaration... " >&6; }
63954 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63955 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63956 $as_echo_n "(cached) " >&6
63957 else
63958
63959
63960 ac_ext=cpp
63961 ac_cpp='$CXXCPP $CPPFLAGS'
63962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63965
63966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63967 /* end confdefs.h. */
63968 #include <math.h>
63969 #ifdef HAVE_IEEEFP_H
63970 #include <ieeefp.h>
63971 #endif
63972
63973 int
63974 main ()
63975 {
63976 _logl(0);
63977 ;
63978 return 0;
63979 }
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__logl_use=yes
63983 else
63984 glibcxx_cv_func__logl_use=no
63985 fi
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63992
63993
63994 fi
63995
63996 fi
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63998 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63999
64000 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64001 for ac_func in _logl
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64004 if test "x$ac_cv_func__logl" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__LOGL 1
64007 _ACEOF
64008
64009 fi
64010 done
64011
64012 fi
64013 fi
64014
64015
64016
64017
64018
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64020 $as_echo_n "checking for log10l declaration... " >&6; }
64021 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64022 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64025
64026
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64032
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 #ifdef HAVE_IEEEFP_H
64037 #include <ieeefp.h>
64038 #endif
64039
64040 int
64041 main ()
64042 {
64043 log10l(0);
64044 ;
64045 return 0;
64046 }
64047 _ACEOF
64048 if ac_fn_cxx_try_compile "$LINENO"; then :
64049 glibcxx_cv_func_log10l_use=yes
64050 else
64051 glibcxx_cv_func_log10l_use=no
64052 fi
64053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64054 ac_ext=c
64055 ac_cpp='$CPP $CPPFLAGS'
64056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64059
64060
64061 fi
64062
64063 fi
64064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64065 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64066
64067 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64068 for ac_func in log10l
64069 do :
64070 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64071 if test "x$ac_cv_func_log10l" = x""yes; then :
64072 cat >>confdefs.h <<_ACEOF
64073 #define HAVE_LOG10L 1
64074 _ACEOF
64075
64076 fi
64077 done
64078
64079 else
64080
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64082 $as_echo_n "checking for _log10l declaration... " >&6; }
64083 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64084 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64087
64088
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64094
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64098 #ifdef HAVE_IEEEFP_H
64099 #include <ieeefp.h>
64100 #endif
64101
64102 int
64103 main ()
64104 {
64105 _log10l(0);
64106 ;
64107 return 0;
64108 }
64109 _ACEOF
64110 if ac_fn_cxx_try_compile "$LINENO"; then :
64111 glibcxx_cv_func__log10l_use=yes
64112 else
64113 glibcxx_cv_func__log10l_use=no
64114 fi
64115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64121
64122
64123 fi
64124
64125 fi
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64127 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64128
64129 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64130 for ac_func in _log10l
64131 do :
64132 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64133 if test "x$ac_cv_func__log10l" = x""yes; then :
64134 cat >>confdefs.h <<_ACEOF
64135 #define HAVE__LOG10L 1
64136 _ACEOF
64137
64138 fi
64139 done
64140
64141 fi
64142 fi
64143
64144
64145
64146
64147
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64149 $as_echo_n "checking for modfl declaration... " >&6; }
64150 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64151 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64152 $as_echo_n "(cached) " >&6
64153 else
64154
64155
64156 ac_ext=cpp
64157 ac_cpp='$CXXCPP $CPPFLAGS'
64158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64161
64162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64163 /* end confdefs.h. */
64164 #include <math.h>
64165 int
64166 main ()
64167 {
64168 modfl(0, 0);
64169 ;
64170 return 0;
64171 }
64172 _ACEOF
64173 if ac_fn_cxx_try_compile "$LINENO"; then :
64174 glibcxx_cv_func_modfl_use=yes
64175 else
64176 glibcxx_cv_func_modfl_use=no
64177 fi
64178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64179 ac_ext=c
64180 ac_cpp='$CPP $CPPFLAGS'
64181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64184
64185
64186 fi
64187
64188 fi
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64190 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64191
64192 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64193 for ac_func in modfl
64194 do :
64195 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64196 if test "x$ac_cv_func_modfl" = x""yes; then :
64197 cat >>confdefs.h <<_ACEOF
64198 #define HAVE_MODFL 1
64199 _ACEOF
64200
64201 fi
64202 done
64203
64204 else
64205
64206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64207 $as_echo_n "checking for _modfl declaration... " >&6; }
64208 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64209 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64210 $as_echo_n "(cached) " >&6
64211 else
64212
64213
64214 ac_ext=cpp
64215 ac_cpp='$CXXCPP $CPPFLAGS'
64216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64219
64220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64221 /* end confdefs.h. */
64222 #include <math.h>
64223 int
64224 main ()
64225 {
64226 _modfl(0, 0);
64227 ;
64228 return 0;
64229 }
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func__modfl_use=yes
64233 else
64234 glibcxx_cv_func__modfl_use=no
64235 fi
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64242
64243
64244 fi
64245
64246 fi
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64248 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64249
64250 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64251 for ac_func in _modfl
64252 do :
64253 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64254 if test "x$ac_cv_func__modfl" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE__MODFL 1
64257 _ACEOF
64258
64259 fi
64260 done
64261
64262 fi
64263 fi
64264
64265
64266
64267
64268
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64270 $as_echo_n "checking for powl declaration... " >&6; }
64271 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64272 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64275
64276
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64282
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64286 int
64287 main ()
64288 {
64289 powl(0, 0);
64290 ;
64291 return 0;
64292 }
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_powl_use=yes
64296 else
64297 glibcxx_cv_func_powl_use=no
64298 fi
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64305
64306
64307 fi
64308
64309 fi
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64311 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64312
64313 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64314 for ac_func in powl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64317 if test "x$ac_cv_func_powl" = x""yes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_POWL 1
64320 _ACEOF
64321
64322 fi
64323 done
64324
64325 else
64326
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64328 $as_echo_n "checking for _powl declaration... " >&6; }
64329 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64330 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64333
64334
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64340
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64344 int
64345 main ()
64346 {
64347 _powl(0, 0);
64348 ;
64349 return 0;
64350 }
64351 _ACEOF
64352 if ac_fn_cxx_try_compile "$LINENO"; then :
64353 glibcxx_cv_func__powl_use=yes
64354 else
64355 glibcxx_cv_func__powl_use=no
64356 fi
64357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64358 ac_ext=c
64359 ac_cpp='$CPP $CPPFLAGS'
64360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64363
64364
64365 fi
64366
64367 fi
64368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64369 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64370
64371 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64372 for ac_func in _powl
64373 do :
64374 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64375 if test "x$ac_cv_func__powl" = x""yes; then :
64376 cat >>confdefs.h <<_ACEOF
64377 #define HAVE__POWL 1
64378 _ACEOF
64379
64380 fi
64381 done
64382
64383 fi
64384 fi
64385
64386
64387
64388
64389
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64391 $as_echo_n "checking for sqrtl declaration... " >&6; }
64392 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64393 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64396
64397
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64403
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64407 #ifdef HAVE_IEEEFP_H
64408 #include <ieeefp.h>
64409 #endif
64410
64411 int
64412 main ()
64413 {
64414 sqrtl(0);
64415 ;
64416 return 0;
64417 }
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_sqrtl_use=yes
64421 else
64422 glibcxx_cv_func_sqrtl_use=no
64423 fi
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64430
64431
64432 fi
64433
64434 fi
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64436 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64437
64438 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64439 for ac_func in sqrtl
64440 do :
64441 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64442 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_SQRTL 1
64445 _ACEOF
64446
64447 fi
64448 done
64449
64450 else
64451
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64453 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64454 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64455 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64458
64459
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64472
64473 int
64474 main ()
64475 {
64476 _sqrtl(0);
64477 ;
64478 return 0;
64479 }
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func__sqrtl_use=yes
64483 else
64484 glibcxx_cv_func__sqrtl_use=no
64485 fi
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492
64493
64494 fi
64495
64496 fi
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64498 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64499
64500 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64501 for ac_func in _sqrtl
64502 do :
64503 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64504 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE__SQRTL 1
64507 _ACEOF
64508
64509 fi
64510 done
64511
64512 fi
64513 fi
64514
64515
64516
64517
64518
64519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64520 $as_echo_n "checking for sincosl declaration... " >&6; }
64521 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64522 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64523 $as_echo_n "(cached) " >&6
64524 else
64525
64526
64527 ac_ext=cpp
64528 ac_cpp='$CXXCPP $CPPFLAGS'
64529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64532
64533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64534 /* end confdefs.h. */
64535 #include <math.h>
64536 int
64537 main ()
64538 {
64539 sincosl(0, 0, 0);
64540 ;
64541 return 0;
64542 }
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func_sincosl_use=yes
64546 else
64547 glibcxx_cv_func_sincosl_use=no
64548 fi
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64555
64556
64557 fi
64558
64559 fi
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64561 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64562
64563 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64564 for ac_func in sincosl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64567 if test "x$ac_cv_func_sincosl" = x""yes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE_SINCOSL 1
64570 _ACEOF
64571
64572 fi
64573 done
64574
64575 else
64576
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64578 $as_echo_n "checking for _sincosl declaration... " >&6; }
64579 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64580 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64581 $as_echo_n "(cached) " >&6
64582 else
64583
64584
64585 ac_ext=cpp
64586 ac_cpp='$CXXCPP $CPPFLAGS'
64587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64590
64591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64592 /* end confdefs.h. */
64593 #include <math.h>
64594 int
64595 main ()
64596 {
64597 _sincosl(0, 0, 0);
64598 ;
64599 return 0;
64600 }
64601 _ACEOF
64602 if ac_fn_cxx_try_compile "$LINENO"; then :
64603 glibcxx_cv_func__sincosl_use=yes
64604 else
64605 glibcxx_cv_func__sincosl_use=no
64606 fi
64607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64608 ac_ext=c
64609 ac_cpp='$CPP $CPPFLAGS'
64610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64613
64614
64615 fi
64616
64617 fi
64618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64619 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64620
64621 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64622 for ac_func in _sincosl
64623 do :
64624 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64625 if test "x$ac_cv_func__sincosl" = x""yes; then :
64626 cat >>confdefs.h <<_ACEOF
64627 #define HAVE__SINCOSL 1
64628 _ACEOF
64629
64630 fi
64631 done
64632
64633 fi
64634 fi
64635
64636
64637
64638
64639
64640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64641 $as_echo_n "checking for finitel declaration... " >&6; }
64642 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64643 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64644 $as_echo_n "(cached) " >&6
64645 else
64646
64647
64648 ac_ext=cpp
64649 ac_cpp='$CXXCPP $CPPFLAGS'
64650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64653
64654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64655 /* end confdefs.h. */
64656 #include <math.h>
64657 #ifdef HAVE_IEEEFP_H
64658 #include <ieeefp.h>
64659 #endif
64660
64661 int
64662 main ()
64663 {
64664 finitel(0);
64665 ;
64666 return 0;
64667 }
64668 _ACEOF
64669 if ac_fn_cxx_try_compile "$LINENO"; then :
64670 glibcxx_cv_func_finitel_use=yes
64671 else
64672 glibcxx_cv_func_finitel_use=no
64673 fi
64674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64675 ac_ext=c
64676 ac_cpp='$CPP $CPPFLAGS'
64677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64680
64681
64682 fi
64683
64684 fi
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64686 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64687
64688 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64689 for ac_func in finitel
64690 do :
64691 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64692 if test "x$ac_cv_func_finitel" = x""yes; then :
64693 cat >>confdefs.h <<_ACEOF
64694 #define HAVE_FINITEL 1
64695 _ACEOF
64696
64697 fi
64698 done
64699
64700 else
64701
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64703 $as_echo_n "checking for _finitel declaration... " >&6; }
64704 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64705 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64706 $as_echo_n "(cached) " >&6
64707 else
64708
64709
64710 ac_ext=cpp
64711 ac_cpp='$CXXCPP $CPPFLAGS'
64712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64715
64716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64717 /* end confdefs.h. */
64718 #include <math.h>
64719 #ifdef HAVE_IEEEFP_H
64720 #include <ieeefp.h>
64721 #endif
64722
64723 int
64724 main ()
64725 {
64726 _finitel(0);
64727 ;
64728 return 0;
64729 }
64730 _ACEOF
64731 if ac_fn_cxx_try_compile "$LINENO"; then :
64732 glibcxx_cv_func__finitel_use=yes
64733 else
64734 glibcxx_cv_func__finitel_use=no
64735 fi
64736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64737 ac_ext=c
64738 ac_cpp='$CPP $CPPFLAGS'
64739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64742
64743
64744 fi
64745
64746 fi
64747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64748 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64749
64750 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64751 for ac_func in _finitel
64752 do :
64753 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64754 if test "x$ac_cv_func__finitel" = x""yes; then :
64755 cat >>confdefs.h <<_ACEOF
64756 #define HAVE__FINITEL 1
64757 _ACEOF
64758
64759 fi
64760 done
64761
64762 fi
64763 fi
64764
64765
64766
64767
64768 LIBS="$ac_save_LIBS"
64769 CXXFLAGS="$ac_save_CXXFLAGS"
64770
64771
64772 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64773 ac_save_CXXFLAGS="$CXXFLAGS"
64774 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64775
64776
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64778 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64779 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64780 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64783
64784
64785 ac_ext=cpp
64786 ac_cpp='$CXXCPP $CPPFLAGS'
64787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64790
64791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64792 /* end confdefs.h. */
64793 #include <stdlib.h>
64794 int
64795 main ()
64796 {
64797 at_quick_exit(0);
64798 ;
64799 return 0;
64800 }
64801 _ACEOF
64802 if ac_fn_cxx_try_compile "$LINENO"; then :
64803 glibcxx_cv_func_at_quick_exit_use=yes
64804 else
64805 glibcxx_cv_func_at_quick_exit_use=no
64806 fi
64807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64808 ac_ext=c
64809 ac_cpp='$CPP $CPPFLAGS'
64810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64813
64814
64815 fi
64816
64817 fi
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64819 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64820 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64821 for ac_func in at_quick_exit
64822 do :
64823 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64824 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64825 cat >>confdefs.h <<_ACEOF
64826 #define HAVE_AT_QUICK_EXIT 1
64827 _ACEOF
64828
64829 fi
64830 done
64831
64832 fi
64833
64834
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64836 $as_echo_n "checking for quick_exit declaration... " >&6; }
64837 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64838 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64839 $as_echo_n "(cached) " >&6
64840 else
64841
64842
64843 ac_ext=cpp
64844 ac_cpp='$CXXCPP $CPPFLAGS'
64845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64848
64849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64850 /* end confdefs.h. */
64851 #include <stdlib.h>
64852 int
64853 main ()
64854 {
64855 quick_exit(0);
64856 ;
64857 return 0;
64858 }
64859 _ACEOF
64860 if ac_fn_cxx_try_compile "$LINENO"; then :
64861 glibcxx_cv_func_quick_exit_use=yes
64862 else
64863 glibcxx_cv_func_quick_exit_use=no
64864 fi
64865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64866 ac_ext=c
64867 ac_cpp='$CPP $CPPFLAGS'
64868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64871
64872
64873 fi
64874
64875 fi
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64877 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64878 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64879 for ac_func in quick_exit
64880 do :
64881 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64882 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64883 cat >>confdefs.h <<_ACEOF
64884 #define HAVE_QUICK_EXIT 1
64885 _ACEOF
64886
64887 fi
64888 done
64889
64890 fi
64891
64892
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64894 $as_echo_n "checking for strtold declaration... " >&6; }
64895 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64896 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64897 $as_echo_n "(cached) " >&6
64898 else
64899
64900
64901 ac_ext=cpp
64902 ac_cpp='$CXXCPP $CPPFLAGS'
64903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64906
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 #include <stdlib.h>
64910 int
64911 main ()
64912 {
64913 strtold(0, 0);
64914 ;
64915 return 0;
64916 }
64917 _ACEOF
64918 if ac_fn_cxx_try_compile "$LINENO"; then :
64919 glibcxx_cv_func_strtold_use=yes
64920 else
64921 glibcxx_cv_func_strtold_use=no
64922 fi
64923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64924 ac_ext=c
64925 ac_cpp='$CPP $CPPFLAGS'
64926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64929
64930
64931 fi
64932
64933 fi
64934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64935 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64936 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64937 for ac_func in strtold
64938 do :
64939 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64940 if test "x$ac_cv_func_strtold" = x""yes; then :
64941 cat >>confdefs.h <<_ACEOF
64942 #define HAVE_STRTOLD 1
64943 _ACEOF
64944
64945 fi
64946 done
64947
64948 fi
64949
64950
64951
64952
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64954 $as_echo_n "checking for strtof declaration... " >&6; }
64955 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64956 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64957 $as_echo_n "(cached) " >&6
64958 else
64959
64960
64961 ac_ext=cpp
64962 ac_cpp='$CXXCPP $CPPFLAGS'
64963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64966
64967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64968 /* end confdefs.h. */
64969 #include <stdlib.h>
64970 int
64971 main ()
64972 {
64973 strtof(0, 0);
64974 ;
64975 return 0;
64976 }
64977 _ACEOF
64978 if ac_fn_cxx_try_compile "$LINENO"; then :
64979 glibcxx_cv_func_strtof_use=yes
64980 else
64981 glibcxx_cv_func_strtof_use=no
64982 fi
64983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64984 ac_ext=c
64985 ac_cpp='$CPP $CPPFLAGS'
64986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64989
64990
64991 fi
64992
64993 fi
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64995 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64996 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64997 for ac_func in strtof
64998 do :
64999 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65000 if test "x$ac_cv_func_strtof" = x""yes; then :
65001 cat >>confdefs.h <<_ACEOF
65002 #define HAVE_STRTOF 1
65003 _ACEOF
65004
65005 fi
65006 done
65007
65008 fi
65009
65010
65011
65012
65013 CXXFLAGS="$ac_save_CXXFLAGS"
65014
65015 ;;
65016 *-netbsd*)
65017 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65018
65019
65020 # If we're not using GNU ld, then there's no point in even trying these
65021 # tests. Check for that first. We should have already tested for gld
65022 # by now (in libtool), but require it now just to be safe...
65023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65025
65026
65027
65028 # The name set by libtool depends on the version of libtool. Shame on us
65029 # for depending on an impl detail, but c'est la vie. Older versions used
65030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65033 # set (hence we're using an older libtool), then set it.
65034 if test x${with_gnu_ld+set} != xset; then
65035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65037 with_gnu_ld=no
65038 else
65039 with_gnu_ld=$ac_cv_prog_gnu_ld
65040 fi
65041 fi
65042
65043 # Start by getting the version number. I think the libtool test already
65044 # does some of this, but throws away the result.
65045 glibcxx_ld_is_gold=no
65046 if test x"$with_gnu_ld" = x"yes"; then
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65048 $as_echo_n "checking for ld version... " >&6; }
65049
65050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65051 glibcxx_ld_is_gold=yes
65052 fi
65053 ldver=`$LD --version 2>/dev/null |
65054 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'`
65055
65056 glibcxx_gnu_ld_version=`echo $ldver | \
65057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65059 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65060 fi
65061
65062 # Set --gc-sections.
65063 glibcxx_have_gc_sections=no
65064 if test "$glibcxx_ld_is_gold" = "yes"; then
65065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65066 glibcxx_have_gc_sections=yes
65067 fi
65068 else
65069 glibcxx_gcsections_min_ld=21602
65070 if test x"$with_gnu_ld" = x"yes" &&
65071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65072 glibcxx_have_gc_sections=yes
65073 fi
65074 fi
65075 if test "$glibcxx_have_gc_sections" = "yes"; then
65076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65077 # NB: This flag only works reliably after 2.16.1. Configure tests
65078 # for this are difficult, so hard wire a value that should work.
65079
65080 ac_test_CFLAGS="${CFLAGS+set}"
65081 ac_save_CFLAGS="$CFLAGS"
65082 CFLAGS='-Wl,--gc-sections'
65083
65084 # Check for -Wl,--gc-sections
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65086 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65087 if test x$gcc_no_link = xyes; then
65088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65089 fi
65090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65091 /* end confdefs.h. */
65092 int one(void) { return 1; }
65093 int two(void) { return 2; }
65094
65095 int
65096 main ()
65097 {
65098 two();
65099 ;
65100 return 0;
65101 }
65102 _ACEOF
65103 if ac_fn_c_try_link "$LINENO"; then :
65104 ac_gcsections=yes
65105 else
65106 ac_gcsections=no
65107 fi
65108 rm -f core conftest.err conftest.$ac_objext \
65109 conftest$ac_exeext conftest.$ac_ext
65110 if test "$ac_gcsections" = "yes"; then
65111 rm -f conftest.c
65112 touch conftest.c
65113 if $CC -c conftest.c; then
65114 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65115 grep "Warning: gc-sections option ignored" > /dev/null; then
65116 ac_gcsections=no
65117 fi
65118 fi
65119 rm -f conftest.c conftest.o conftest
65120 fi
65121 if test "$ac_gcsections" = "yes"; then
65122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65123 fi
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65125 $as_echo "$ac_gcsections" >&6; }
65126
65127 if test "$ac_test_CFLAGS" = set; then
65128 CFLAGS="$ac_save_CFLAGS"
65129 else
65130 # this is the suspicious part
65131 CFLAGS=''
65132 fi
65133 fi
65134
65135 # Set -z,relro.
65136 # Note this is only for shared objects.
65137 ac_ld_relro=no
65138 if test x"$with_gnu_ld" = x"yes"; then
65139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65140 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65141 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65142 if test -n "$cxx_z_relo"; then
65143 OPT_LDFLAGS="-Wl,-z,relro"
65144 ac_ld_relro=yes
65145 fi
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65147 $as_echo "$ac_ld_relro" >&6; }
65148 fi
65149
65150 # Set linker optimization flags.
65151 if test x"$with_gnu_ld" = x"yes"; then
65152 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65153 fi
65154
65155
65156
65157
65158 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65159
65160 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65161
65162 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65163
65164 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65165
65166 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65167
65168 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65169
65170 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65171
65172 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65173
65174 if test x"long_double_math_on_this_cpu" = x"yes"; then
65175 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65176
65177 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65178
65179 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65180
65181 fi
65182 ;;
65183 *-qnx6.1* | *-qnx6.2*)
65184 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65185
65186
65187 # If we're not using GNU ld, then there's no point in even trying these
65188 # tests. Check for that first. We should have already tested for gld
65189 # by now (in libtool), but require it now just to be safe...
65190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65192
65193
65194
65195 # The name set by libtool depends on the version of libtool. Shame on us
65196 # for depending on an impl detail, but c'est la vie. Older versions used
65197 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65198 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65199 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65200 # set (hence we're using an older libtool), then set it.
65201 if test x${with_gnu_ld+set} != xset; then
65202 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65203 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65204 with_gnu_ld=no
65205 else
65206 with_gnu_ld=$ac_cv_prog_gnu_ld
65207 fi
65208 fi
65209
65210 # Start by getting the version number. I think the libtool test already
65211 # does some of this, but throws away the result.
65212 glibcxx_ld_is_gold=no
65213 if test x"$with_gnu_ld" = x"yes"; then
65214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65215 $as_echo_n "checking for ld version... " >&6; }
65216
65217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65218 glibcxx_ld_is_gold=yes
65219 fi
65220 ldver=`$LD --version 2>/dev/null |
65221 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'`
65222
65223 glibcxx_gnu_ld_version=`echo $ldver | \
65224 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65227 fi
65228
65229 # Set --gc-sections.
65230 glibcxx_have_gc_sections=no
65231 if test "$glibcxx_ld_is_gold" = "yes"; then
65232 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65233 glibcxx_have_gc_sections=yes
65234 fi
65235 else
65236 glibcxx_gcsections_min_ld=21602
65237 if test x"$with_gnu_ld" = x"yes" &&
65238 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65239 glibcxx_have_gc_sections=yes
65240 fi
65241 fi
65242 if test "$glibcxx_have_gc_sections" = "yes"; then
65243 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65244 # NB: This flag only works reliably after 2.16.1. Configure tests
65245 # for this are difficult, so hard wire a value that should work.
65246
65247 ac_test_CFLAGS="${CFLAGS+set}"
65248 ac_save_CFLAGS="$CFLAGS"
65249 CFLAGS='-Wl,--gc-sections'
65250
65251 # Check for -Wl,--gc-sections
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65254 if test x$gcc_no_link = xyes; then
65255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65256 fi
65257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65258 /* end confdefs.h. */
65259 int one(void) { return 1; }
65260 int two(void) { return 2; }
65261
65262 int
65263 main ()
65264 {
65265 two();
65266 ;
65267 return 0;
65268 }
65269 _ACEOF
65270 if ac_fn_c_try_link "$LINENO"; then :
65271 ac_gcsections=yes
65272 else
65273 ac_gcsections=no
65274 fi
65275 rm -f core conftest.err conftest.$ac_objext \
65276 conftest$ac_exeext conftest.$ac_ext
65277 if test "$ac_gcsections" = "yes"; then
65278 rm -f conftest.c
65279 touch conftest.c
65280 if $CC -c conftest.c; then
65281 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65282 grep "Warning: gc-sections option ignored" > /dev/null; then
65283 ac_gcsections=no
65284 fi
65285 fi
65286 rm -f conftest.c conftest.o conftest
65287 fi
65288 if test "$ac_gcsections" = "yes"; then
65289 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65290 fi
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65292 $as_echo "$ac_gcsections" >&6; }
65293
65294 if test "$ac_test_CFLAGS" = set; then
65295 CFLAGS="$ac_save_CFLAGS"
65296 else
65297 # this is the suspicious part
65298 CFLAGS=''
65299 fi
65300 fi
65301
65302 # Set -z,relro.
65303 # Note this is only for shared objects.
65304 ac_ld_relro=no
65305 if test x"$with_gnu_ld" = x"yes"; then
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65308 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65309 if test -n "$cxx_z_relo"; then
65310 OPT_LDFLAGS="-Wl,-z,relro"
65311 ac_ld_relro=yes
65312 fi
65313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65314 $as_echo "$ac_ld_relro" >&6; }
65315 fi
65316
65317 # Set linker optimization flags.
65318 if test x"$with_gnu_ld" = x"yes"; then
65319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65320 fi
65321
65322
65323
65324
65325 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65326
65327 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65328
65329 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65330
65331 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65332
65333 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65334
65335 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65336
65337 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65338
65339 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65340
65341 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65342
65343 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65344
65345 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65346
65347 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65348
65349 ;;
65350 *-rtems*)
65351
65352 # All these tests are for C++; save the language and the compiler flags.
65353 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65354 # found in GLIBCXX_CONFIGURE.
65355
65356 ac_ext=cpp
65357 ac_cpp='$CXXCPP $CPPFLAGS'
65358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65361
65362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65363 ac_save_CXXFLAGS="$CXXFLAGS"
65364
65365 # Check for maintainer-mode bits.
65366 if test x"$USE_MAINTAINER_MODE" = xno; then
65367 WERROR=''
65368 else
65369 WERROR='-Werror'
65370 fi
65371
65372 # Check for -ffunction-sections -fdata-sections
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65374 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65375 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65377 /* end confdefs.h. */
65378 int foo; void bar() { };
65379 int
65380 main ()
65381 {
65382
65383 ;
65384 return 0;
65385 }
65386 _ACEOF
65387 if ac_fn_cxx_try_compile "$LINENO"; then :
65388 ac_fdsections=yes
65389 else
65390 ac_fdsections=no
65391 fi
65392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65393 if test "$ac_test_CXXFLAGS" = set; then
65394 CXXFLAGS="$ac_save_CXXFLAGS"
65395 else
65396 # this is the suspicious part
65397 CXXFLAGS=''
65398 fi
65399 if test x"$ac_fdsections" = x"yes"; then
65400 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65401 fi
65402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65403 $as_echo "$ac_fdsections" >&6; }
65404
65405 ac_ext=c
65406 ac_cpp='$CPP $CPPFLAGS'
65407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65410
65411
65412
65413
65414
65415 # If we're not using GNU ld, then there's no point in even trying these
65416 # tests. Check for that first. We should have already tested for gld
65417 # by now (in libtool), but require it now just to be safe...
65418 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65419 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65420
65421
65422
65423 # The name set by libtool depends on the version of libtool. Shame on us
65424 # for depending on an impl detail, but c'est la vie. Older versions used
65425 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65426 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65427 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65428 # set (hence we're using an older libtool), then set it.
65429 if test x${with_gnu_ld+set} != xset; then
65430 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65431 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65432 with_gnu_ld=no
65433 else
65434 with_gnu_ld=$ac_cv_prog_gnu_ld
65435 fi
65436 fi
65437
65438 # Start by getting the version number. I think the libtool test already
65439 # does some of this, but throws away the result.
65440 glibcxx_ld_is_gold=no
65441 if test x"$with_gnu_ld" = x"yes"; then
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65443 $as_echo_n "checking for ld version... " >&6; }
65444
65445 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65446 glibcxx_ld_is_gold=yes
65447 fi
65448 ldver=`$LD --version 2>/dev/null |
65449 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'`
65450
65451 glibcxx_gnu_ld_version=`echo $ldver | \
65452 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65454 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65455 fi
65456
65457 # Set --gc-sections.
65458 glibcxx_have_gc_sections=no
65459 if test "$glibcxx_ld_is_gold" = "yes"; then
65460 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65461 glibcxx_have_gc_sections=yes
65462 fi
65463 else
65464 glibcxx_gcsections_min_ld=21602
65465 if test x"$with_gnu_ld" = x"yes" &&
65466 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65467 glibcxx_have_gc_sections=yes
65468 fi
65469 fi
65470 if test "$glibcxx_have_gc_sections" = "yes"; then
65471 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65472 # NB: This flag only works reliably after 2.16.1. Configure tests
65473 # for this are difficult, so hard wire a value that should work.
65474
65475 ac_test_CFLAGS="${CFLAGS+set}"
65476 ac_save_CFLAGS="$CFLAGS"
65477 CFLAGS='-Wl,--gc-sections'
65478
65479 # Check for -Wl,--gc-sections
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65481 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65482 if test x$gcc_no_link = xyes; then
65483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65484 fi
65485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486 /* end confdefs.h. */
65487 int one(void) { return 1; }
65488 int two(void) { return 2; }
65489
65490 int
65491 main ()
65492 {
65493 two();
65494 ;
65495 return 0;
65496 }
65497 _ACEOF
65498 if ac_fn_c_try_link "$LINENO"; then :
65499 ac_gcsections=yes
65500 else
65501 ac_gcsections=no
65502 fi
65503 rm -f core conftest.err conftest.$ac_objext \
65504 conftest$ac_exeext conftest.$ac_ext
65505 if test "$ac_gcsections" = "yes"; then
65506 rm -f conftest.c
65507 touch conftest.c
65508 if $CC -c conftest.c; then
65509 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65510 grep "Warning: gc-sections option ignored" > /dev/null; then
65511 ac_gcsections=no
65512 fi
65513 fi
65514 rm -f conftest.c conftest.o conftest
65515 fi
65516 if test "$ac_gcsections" = "yes"; then
65517 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65518 fi
65519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65520 $as_echo "$ac_gcsections" >&6; }
65521
65522 if test "$ac_test_CFLAGS" = set; then
65523 CFLAGS="$ac_save_CFLAGS"
65524 else
65525 # this is the suspicious part
65526 CFLAGS=''
65527 fi
65528 fi
65529
65530 # Set -z,relro.
65531 # Note this is only for shared objects.
65532 ac_ld_relro=no
65533 if test x"$with_gnu_ld" = x"yes"; then
65534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65535 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65536 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65537 if test -n "$cxx_z_relo"; then
65538 OPT_LDFLAGS="-Wl,-z,relro"
65539 ac_ld_relro=yes
65540 fi
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65542 $as_echo "$ac_ld_relro" >&6; }
65543 fi
65544
65545 # Set linker optimization flags.
65546 if test x"$with_gnu_ld" = x"yes"; then
65547 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65548 fi
65549
65550
65551
65552
65553
65554 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65555 ac_save_CXXFLAGS="$CXXFLAGS"
65556 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65557
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65559 $as_echo_n "checking for sin in -lm... " >&6; }
65560 if test "${ac_cv_lib_m_sin+set}" = set; then :
65561 $as_echo_n "(cached) " >&6
65562 else
65563 ac_check_lib_save_LIBS=$LIBS
65564 LIBS="-lm $LIBS"
65565 if test x$gcc_no_link = xyes; then
65566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65567 fi
65568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65569 /* end confdefs.h. */
65570
65571 /* Override any GCC internal prototype to avoid an error.
65572 Use char because int might match the return type of a GCC
65573 builtin and then its argument prototype would still apply. */
65574 #ifdef __cplusplus
65575 extern "C"
65576 #endif
65577 char sin ();
65578 int
65579 main ()
65580 {
65581 return sin ();
65582 ;
65583 return 0;
65584 }
65585 _ACEOF
65586 if ac_fn_c_try_link "$LINENO"; then :
65587 ac_cv_lib_m_sin=yes
65588 else
65589 ac_cv_lib_m_sin=no
65590 fi
65591 rm -f core conftest.err conftest.$ac_objext \
65592 conftest$ac_exeext conftest.$ac_ext
65593 LIBS=$ac_check_lib_save_LIBS
65594 fi
65595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65596 $as_echo "$ac_cv_lib_m_sin" >&6; }
65597 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65598 libm="-lm"
65599 fi
65600
65601 ac_save_LIBS="$LIBS"
65602 LIBS="$LIBS $libm"
65603
65604
65605
65606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65607 $as_echo_n "checking for isinf declaration... " >&6; }
65608 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65609 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65610 $as_echo_n "(cached) " >&6
65611 else
65612
65613
65614 ac_ext=cpp
65615 ac_cpp='$CXXCPP $CPPFLAGS'
65616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65619
65620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65621 /* end confdefs.h. */
65622 #include <math.h>
65623 #ifdef HAVE_IEEEFP_H
65624 #include <ieeefp.h>
65625 #endif
65626
65627 int
65628 main ()
65629 {
65630 isinf(0);
65631 ;
65632 return 0;
65633 }
65634 _ACEOF
65635 if ac_fn_cxx_try_compile "$LINENO"; then :
65636 glibcxx_cv_func_isinf_use=yes
65637 else
65638 glibcxx_cv_func_isinf_use=no
65639 fi
65640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65641 ac_ext=c
65642 ac_cpp='$CPP $CPPFLAGS'
65643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65646
65647
65648 fi
65649
65650 fi
65651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65652 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65653
65654 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65655 for ac_func in isinf
65656 do :
65657 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65658 if test "x$ac_cv_func_isinf" = x""yes; then :
65659 cat >>confdefs.h <<_ACEOF
65660 #define HAVE_ISINF 1
65661 _ACEOF
65662
65663 fi
65664 done
65665
65666 else
65667
65668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65669 $as_echo_n "checking for _isinf declaration... " >&6; }
65670 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65671 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65672 $as_echo_n "(cached) " >&6
65673 else
65674
65675
65676 ac_ext=cpp
65677 ac_cpp='$CXXCPP $CPPFLAGS'
65678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65681
65682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65683 /* end confdefs.h. */
65684 #include <math.h>
65685 #ifdef HAVE_IEEEFP_H
65686 #include <ieeefp.h>
65687 #endif
65688
65689 int
65690 main ()
65691 {
65692 _isinf(0);
65693 ;
65694 return 0;
65695 }
65696 _ACEOF
65697 if ac_fn_cxx_try_compile "$LINENO"; then :
65698 glibcxx_cv_func__isinf_use=yes
65699 else
65700 glibcxx_cv_func__isinf_use=no
65701 fi
65702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65703 ac_ext=c
65704 ac_cpp='$CPP $CPPFLAGS'
65705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65708
65709
65710 fi
65711
65712 fi
65713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65714 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65715
65716 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65717 for ac_func in _isinf
65718 do :
65719 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65720 if test "x$ac_cv_func__isinf" = x""yes; then :
65721 cat >>confdefs.h <<_ACEOF
65722 #define HAVE__ISINF 1
65723 _ACEOF
65724
65725 fi
65726 done
65727
65728 fi
65729 fi
65730
65731
65732
65733
65734
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65736 $as_echo_n "checking for isnan declaration... " >&6; }
65737 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65738 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65739 $as_echo_n "(cached) " >&6
65740 else
65741
65742
65743 ac_ext=cpp
65744 ac_cpp='$CXXCPP $CPPFLAGS'
65745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65748
65749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65750 /* end confdefs.h. */
65751 #include <math.h>
65752 #ifdef HAVE_IEEEFP_H
65753 #include <ieeefp.h>
65754 #endif
65755
65756 int
65757 main ()
65758 {
65759 isnan(0);
65760 ;
65761 return 0;
65762 }
65763 _ACEOF
65764 if ac_fn_cxx_try_compile "$LINENO"; then :
65765 glibcxx_cv_func_isnan_use=yes
65766 else
65767 glibcxx_cv_func_isnan_use=no
65768 fi
65769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65770 ac_ext=c
65771 ac_cpp='$CPP $CPPFLAGS'
65772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65775
65776
65777 fi
65778
65779 fi
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65781 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65782
65783 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65784 for ac_func in isnan
65785 do :
65786 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65787 if test "x$ac_cv_func_isnan" = x""yes; then :
65788 cat >>confdefs.h <<_ACEOF
65789 #define HAVE_ISNAN 1
65790 _ACEOF
65791
65792 fi
65793 done
65794
65795 else
65796
65797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65798 $as_echo_n "checking for _isnan declaration... " >&6; }
65799 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65800 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65801 $as_echo_n "(cached) " >&6
65802 else
65803
65804
65805 ac_ext=cpp
65806 ac_cpp='$CXXCPP $CPPFLAGS'
65807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65810
65811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65812 /* end confdefs.h. */
65813 #include <math.h>
65814 #ifdef HAVE_IEEEFP_H
65815 #include <ieeefp.h>
65816 #endif
65817
65818 int
65819 main ()
65820 {
65821 _isnan(0);
65822 ;
65823 return 0;
65824 }
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func__isnan_use=yes
65828 else
65829 glibcxx_cv_func__isnan_use=no
65830 fi
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65837
65838
65839 fi
65840
65841 fi
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65843 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65844
65845 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65846 for ac_func in _isnan
65847 do :
65848 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65849 if test "x$ac_cv_func__isnan" = x""yes; then :
65850 cat >>confdefs.h <<_ACEOF
65851 #define HAVE__ISNAN 1
65852 _ACEOF
65853
65854 fi
65855 done
65856
65857 fi
65858 fi
65859
65860
65861
65862
65863
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65865 $as_echo_n "checking for finite declaration... " >&6; }
65866 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65867 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65868 $as_echo_n "(cached) " >&6
65869 else
65870
65871
65872 ac_ext=cpp
65873 ac_cpp='$CXXCPP $CPPFLAGS'
65874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877
65878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65879 /* end confdefs.h. */
65880 #include <math.h>
65881 #ifdef HAVE_IEEEFP_H
65882 #include <ieeefp.h>
65883 #endif
65884
65885 int
65886 main ()
65887 {
65888 finite(0);
65889 ;
65890 return 0;
65891 }
65892 _ACEOF
65893 if ac_fn_cxx_try_compile "$LINENO"; then :
65894 glibcxx_cv_func_finite_use=yes
65895 else
65896 glibcxx_cv_func_finite_use=no
65897 fi
65898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65899 ac_ext=c
65900 ac_cpp='$CPP $CPPFLAGS'
65901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65904
65905
65906 fi
65907
65908 fi
65909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65910 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65911
65912 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65913 for ac_func in finite
65914 do :
65915 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65916 if test "x$ac_cv_func_finite" = x""yes; then :
65917 cat >>confdefs.h <<_ACEOF
65918 #define HAVE_FINITE 1
65919 _ACEOF
65920
65921 fi
65922 done
65923
65924 else
65925
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65927 $as_echo_n "checking for _finite declaration... " >&6; }
65928 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65929 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65931 else
65932
65933
65934 ac_ext=cpp
65935 ac_cpp='$CXXCPP $CPPFLAGS'
65936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65939
65940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65941 /* end confdefs.h. */
65942 #include <math.h>
65943 #ifdef HAVE_IEEEFP_H
65944 #include <ieeefp.h>
65945 #endif
65946
65947 int
65948 main ()
65949 {
65950 _finite(0);
65951 ;
65952 return 0;
65953 }
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func__finite_use=yes
65957 else
65958 glibcxx_cv_func__finite_use=no
65959 fi
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961 ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65966
65967
65968 fi
65969
65970 fi
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65972 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65973
65974 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65975 for ac_func in _finite
65976 do :
65977 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65978 if test "x$ac_cv_func__finite" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE__FINITE 1
65981 _ACEOF
65982
65983 fi
65984 done
65985
65986 fi
65987 fi
65988
65989
65990
65991
65992
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65994 $as_echo_n "checking for sincos declaration... " >&6; }
65995 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65996 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
65999
66000
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66006
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <math.h>
66010 int
66011 main ()
66012 {
66013 sincos(0, 0, 0);
66014 ;
66015 return 0;
66016 }
66017 _ACEOF
66018 if ac_fn_cxx_try_compile "$LINENO"; then :
66019 glibcxx_cv_func_sincos_use=yes
66020 else
66021 glibcxx_cv_func_sincos_use=no
66022 fi
66023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66024 ac_ext=c
66025 ac_cpp='$CPP $CPPFLAGS'
66026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66029
66030
66031 fi
66032
66033 fi
66034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66035 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66036
66037 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66038 for ac_func in sincos
66039 do :
66040 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66041 if test "x$ac_cv_func_sincos" = x""yes; then :
66042 cat >>confdefs.h <<_ACEOF
66043 #define HAVE_SINCOS 1
66044 _ACEOF
66045
66046 fi
66047 done
66048
66049 else
66050
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66052 $as_echo_n "checking for _sincos declaration... " >&6; }
66053 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66054 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66055 $as_echo_n "(cached) " >&6
66056 else
66057
66058
66059 ac_ext=cpp
66060 ac_cpp='$CXXCPP $CPPFLAGS'
66061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66064
66065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66066 /* end confdefs.h. */
66067 #include <math.h>
66068 int
66069 main ()
66070 {
66071 _sincos(0, 0, 0);
66072 ;
66073 return 0;
66074 }
66075 _ACEOF
66076 if ac_fn_cxx_try_compile "$LINENO"; then :
66077 glibcxx_cv_func__sincos_use=yes
66078 else
66079 glibcxx_cv_func__sincos_use=no
66080 fi
66081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66082 ac_ext=c
66083 ac_cpp='$CPP $CPPFLAGS'
66084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66087
66088
66089 fi
66090
66091 fi
66092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66093 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66094
66095 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66096 for ac_func in _sincos
66097 do :
66098 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66099 if test "x$ac_cv_func__sincos" = x""yes; then :
66100 cat >>confdefs.h <<_ACEOF
66101 #define HAVE__SINCOS 1
66102 _ACEOF
66103
66104 fi
66105 done
66106
66107 fi
66108 fi
66109
66110
66111
66112
66113
66114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66115 $as_echo_n "checking for fpclass declaration... " >&6; }
66116 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66117 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66118 $as_echo_n "(cached) " >&6
66119 else
66120
66121
66122 ac_ext=cpp
66123 ac_cpp='$CXXCPP $CPPFLAGS'
66124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66127
66128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66129 /* end confdefs.h. */
66130 #include <math.h>
66131 #ifdef HAVE_IEEEFP_H
66132 #include <ieeefp.h>
66133 #endif
66134
66135 int
66136 main ()
66137 {
66138 fpclass(0);
66139 ;
66140 return 0;
66141 }
66142 _ACEOF
66143 if ac_fn_cxx_try_compile "$LINENO"; then :
66144 glibcxx_cv_func_fpclass_use=yes
66145 else
66146 glibcxx_cv_func_fpclass_use=no
66147 fi
66148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66149 ac_ext=c
66150 ac_cpp='$CPP $CPPFLAGS'
66151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66154
66155
66156 fi
66157
66158 fi
66159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66160 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66161
66162 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66163 for ac_func in fpclass
66164 do :
66165 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66166 if test "x$ac_cv_func_fpclass" = x""yes; then :
66167 cat >>confdefs.h <<_ACEOF
66168 #define HAVE_FPCLASS 1
66169 _ACEOF
66170
66171 fi
66172 done
66173
66174 else
66175
66176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66177 $as_echo_n "checking for _fpclass declaration... " >&6; }
66178 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66179 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66180 $as_echo_n "(cached) " >&6
66181 else
66182
66183
66184 ac_ext=cpp
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66189
66190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66191 /* end confdefs.h. */
66192 #include <math.h>
66193 #ifdef HAVE_IEEEFP_H
66194 #include <ieeefp.h>
66195 #endif
66196
66197 int
66198 main ()
66199 {
66200 _fpclass(0);
66201 ;
66202 return 0;
66203 }
66204 _ACEOF
66205 if ac_fn_cxx_try_compile "$LINENO"; then :
66206 glibcxx_cv_func__fpclass_use=yes
66207 else
66208 glibcxx_cv_func__fpclass_use=no
66209 fi
66210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66211 ac_ext=c
66212 ac_cpp='$CPP $CPPFLAGS'
66213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66216
66217
66218 fi
66219
66220 fi
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66222 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66223
66224 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66225 for ac_func in _fpclass
66226 do :
66227 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66228 if test "x$ac_cv_func__fpclass" = x""yes; then :
66229 cat >>confdefs.h <<_ACEOF
66230 #define HAVE__FPCLASS 1
66231 _ACEOF
66232
66233 fi
66234 done
66235
66236 fi
66237 fi
66238
66239
66240
66241
66242
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66244 $as_echo_n "checking for qfpclass declaration... " >&6; }
66245 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66246 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66247 $as_echo_n "(cached) " >&6
66248 else
66249
66250
66251 ac_ext=cpp
66252 ac_cpp='$CXXCPP $CPPFLAGS'
66253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66256
66257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66258 /* end confdefs.h. */
66259 #include <math.h>
66260 #ifdef HAVE_IEEEFP_H
66261 #include <ieeefp.h>
66262 #endif
66263
66264 int
66265 main ()
66266 {
66267 qfpclass(0);
66268 ;
66269 return 0;
66270 }
66271 _ACEOF
66272 if ac_fn_cxx_try_compile "$LINENO"; then :
66273 glibcxx_cv_func_qfpclass_use=yes
66274 else
66275 glibcxx_cv_func_qfpclass_use=no
66276 fi
66277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66278 ac_ext=c
66279 ac_cpp='$CPP $CPPFLAGS'
66280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66283
66284
66285 fi
66286
66287 fi
66288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66289 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66290
66291 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66292 for ac_func in qfpclass
66293 do :
66294 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66295 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66296 cat >>confdefs.h <<_ACEOF
66297 #define HAVE_QFPCLASS 1
66298 _ACEOF
66299
66300 fi
66301 done
66302
66303 else
66304
66305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66306 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66307 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66308 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66309 $as_echo_n "(cached) " >&6
66310 else
66311
66312
66313 ac_ext=cpp
66314 ac_cpp='$CXXCPP $CPPFLAGS'
66315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66318
66319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66320 /* end confdefs.h. */
66321 #include <math.h>
66322 #ifdef HAVE_IEEEFP_H
66323 #include <ieeefp.h>
66324 #endif
66325
66326 int
66327 main ()
66328 {
66329 _qfpclass(0);
66330 ;
66331 return 0;
66332 }
66333 _ACEOF
66334 if ac_fn_cxx_try_compile "$LINENO"; then :
66335 glibcxx_cv_func__qfpclass_use=yes
66336 else
66337 glibcxx_cv_func__qfpclass_use=no
66338 fi
66339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66340 ac_ext=c
66341 ac_cpp='$CPP $CPPFLAGS'
66342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66345
66346
66347 fi
66348
66349 fi
66350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66351 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66352
66353 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66354 for ac_func in _qfpclass
66355 do :
66356 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66357 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66358 cat >>confdefs.h <<_ACEOF
66359 #define HAVE__QFPCLASS 1
66360 _ACEOF
66361
66362 fi
66363 done
66364
66365 fi
66366 fi
66367
66368
66369
66370
66371
66372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66373 $as_echo_n "checking for hypot declaration... " >&6; }
66374 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66375 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66376 $as_echo_n "(cached) " >&6
66377 else
66378
66379
66380 ac_ext=cpp
66381 ac_cpp='$CXXCPP $CPPFLAGS'
66382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66385
66386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66387 /* end confdefs.h. */
66388 #include <math.h>
66389 int
66390 main ()
66391 {
66392 hypot(0, 0);
66393 ;
66394 return 0;
66395 }
66396 _ACEOF
66397 if ac_fn_cxx_try_compile "$LINENO"; then :
66398 glibcxx_cv_func_hypot_use=yes
66399 else
66400 glibcxx_cv_func_hypot_use=no
66401 fi
66402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66403 ac_ext=c
66404 ac_cpp='$CPP $CPPFLAGS'
66405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66408
66409
66410 fi
66411
66412 fi
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66414 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66415
66416 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66417 for ac_func in hypot
66418 do :
66419 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66420 if test "x$ac_cv_func_hypot" = x""yes; then :
66421 cat >>confdefs.h <<_ACEOF
66422 #define HAVE_HYPOT 1
66423 _ACEOF
66424
66425 fi
66426 done
66427
66428 else
66429
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66431 $as_echo_n "checking for _hypot declaration... " >&6; }
66432 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66433 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66434 $as_echo_n "(cached) " >&6
66435 else
66436
66437
66438 ac_ext=cpp
66439 ac_cpp='$CXXCPP $CPPFLAGS'
66440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66443
66444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66445 /* end confdefs.h. */
66446 #include <math.h>
66447 int
66448 main ()
66449 {
66450 _hypot(0, 0);
66451 ;
66452 return 0;
66453 }
66454 _ACEOF
66455 if ac_fn_cxx_try_compile "$LINENO"; then :
66456 glibcxx_cv_func__hypot_use=yes
66457 else
66458 glibcxx_cv_func__hypot_use=no
66459 fi
66460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66461 ac_ext=c
66462 ac_cpp='$CPP $CPPFLAGS'
66463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66466
66467
66468 fi
66469
66470 fi
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66472 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66473
66474 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66475 for ac_func in _hypot
66476 do :
66477 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66478 if test "x$ac_cv_func__hypot" = x""yes; then :
66479 cat >>confdefs.h <<_ACEOF
66480 #define HAVE__HYPOT 1
66481 _ACEOF
66482
66483 fi
66484 done
66485
66486 fi
66487 fi
66488
66489
66490
66491
66492
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66494 $as_echo_n "checking for float trig functions... " >&6; }
66495 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66496 $as_echo_n "(cached) " >&6
66497 else
66498
66499
66500 ac_ext=cpp
66501 ac_cpp='$CXXCPP $CPPFLAGS'
66502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66505
66506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66507 /* end confdefs.h. */
66508 #include <math.h>
66509 int
66510 main ()
66511 {
66512 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66513 ;
66514 return 0;
66515 }
66516 _ACEOF
66517 if ac_fn_cxx_try_compile "$LINENO"; then :
66518 glibcxx_cv_func_float_trig_use=yes
66519 else
66520 glibcxx_cv_func_float_trig_use=no
66521 fi
66522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66523 ac_ext=c
66524 ac_cpp='$CPP $CPPFLAGS'
66525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66528
66529 fi
66530
66531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66532 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66533 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66534 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66535 do :
66536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66538 eval as_val=\$$as_ac_var
66539 if test "x$as_val" = x""yes; then :
66540 cat >>confdefs.h <<_ACEOF
66541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66542 _ACEOF
66543
66544 fi
66545 done
66546
66547 else
66548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66549 $as_echo_n "checking for _float trig functions... " >&6; }
66550 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66551 $as_echo_n "(cached) " >&6
66552 else
66553
66554
66555 ac_ext=cpp
66556 ac_cpp='$CXXCPP $CPPFLAGS'
66557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66560
66561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66562 /* end confdefs.h. */
66563 #include <math.h>
66564 int
66565 main ()
66566 {
66567 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66568 ;
66569 return 0;
66570 }
66571 _ACEOF
66572 if ac_fn_cxx_try_compile "$LINENO"; then :
66573 glibcxx_cv_func__float_trig_use=yes
66574 else
66575 glibcxx_cv_func__float_trig_use=no
66576 fi
66577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66578 ac_ext=c
66579 ac_cpp='$CPP $CPPFLAGS'
66580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66583
66584 fi
66585
66586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66587 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66588 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66589 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66590 do :
66591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66593 eval as_val=\$$as_ac_var
66594 if test "x$as_val" = x""yes; then :
66595 cat >>confdefs.h <<_ACEOF
66596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66597 _ACEOF
66598
66599 fi
66600 done
66601
66602 fi
66603 fi
66604
66605
66606
66607
66608
66609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66610 $as_echo_n "checking for float round functions... " >&6; }
66611 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66612 $as_echo_n "(cached) " >&6
66613 else
66614
66615
66616 ac_ext=cpp
66617 ac_cpp='$CXXCPP $CPPFLAGS'
66618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66621
66622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66623 /* end confdefs.h. */
66624 #include <math.h>
66625 int
66626 main ()
66627 {
66628 ceilf (0); floorf (0);
66629 ;
66630 return 0;
66631 }
66632 _ACEOF
66633 if ac_fn_cxx_try_compile "$LINENO"; then :
66634 glibcxx_cv_func_float_round_use=yes
66635 else
66636 glibcxx_cv_func_float_round_use=no
66637 fi
66638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66639 ac_ext=c
66640 ac_cpp='$CPP $CPPFLAGS'
66641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644
66645 fi
66646
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66648 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66650 for ac_func in ceilf floorf
66651 do :
66652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66654 eval as_val=\$$as_ac_var
66655 if test "x$as_val" = x""yes; then :
66656 cat >>confdefs.h <<_ACEOF
66657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66658 _ACEOF
66659
66660 fi
66661 done
66662
66663 else
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66665 $as_echo_n "checking for _float round functions... " >&6; }
66666 if test "${glibcxx_cv_func__float_round_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 int
66681 main ()
66682 {
66683 _ceilf (0); _floorf (0);
66684 ;
66685 return 0;
66686 }
66687 _ACEOF
66688 if ac_fn_cxx_try_compile "$LINENO"; then :
66689 glibcxx_cv_func__float_round_use=yes
66690 else
66691 glibcxx_cv_func__float_round_use=no
66692 fi
66693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66694 ac_ext=c
66695 ac_cpp='$CPP $CPPFLAGS'
66696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66699
66700 fi
66701
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66703 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66704 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66705 for ac_func in _ceilf _floorf
66706 do :
66707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66709 eval as_val=\$$as_ac_var
66710 if test "x$as_val" = x""yes; then :
66711 cat >>confdefs.h <<_ACEOF
66712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66713 _ACEOF
66714
66715 fi
66716 done
66717
66718 fi
66719 fi
66720
66721
66722
66723
66724
66725
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66727 $as_echo_n "checking for expf declaration... " >&6; }
66728 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66729 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66730 $as_echo_n "(cached) " >&6
66731 else
66732
66733
66734 ac_ext=cpp
66735 ac_cpp='$CXXCPP $CPPFLAGS'
66736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66739
66740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66741 /* end confdefs.h. */
66742 #include <math.h>
66743 #ifdef HAVE_IEEEFP_H
66744 #include <ieeefp.h>
66745 #endif
66746
66747 int
66748 main ()
66749 {
66750 expf(0);
66751 ;
66752 return 0;
66753 }
66754 _ACEOF
66755 if ac_fn_cxx_try_compile "$LINENO"; then :
66756 glibcxx_cv_func_expf_use=yes
66757 else
66758 glibcxx_cv_func_expf_use=no
66759 fi
66760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66761 ac_ext=c
66762 ac_cpp='$CPP $CPPFLAGS'
66763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66766
66767
66768 fi
66769
66770 fi
66771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66772 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66773
66774 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66775 for ac_func in expf
66776 do :
66777 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66778 if test "x$ac_cv_func_expf" = x""yes; then :
66779 cat >>confdefs.h <<_ACEOF
66780 #define HAVE_EXPF 1
66781 _ACEOF
66782
66783 fi
66784 done
66785
66786 else
66787
66788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66789 $as_echo_n "checking for _expf declaration... " >&6; }
66790 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66791 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66792 $as_echo_n "(cached) " >&6
66793 else
66794
66795
66796 ac_ext=cpp
66797 ac_cpp='$CXXCPP $CPPFLAGS'
66798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66801
66802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66803 /* end confdefs.h. */
66804 #include <math.h>
66805 #ifdef HAVE_IEEEFP_H
66806 #include <ieeefp.h>
66807 #endif
66808
66809 int
66810 main ()
66811 {
66812 _expf(0);
66813 ;
66814 return 0;
66815 }
66816 _ACEOF
66817 if ac_fn_cxx_try_compile "$LINENO"; then :
66818 glibcxx_cv_func__expf_use=yes
66819 else
66820 glibcxx_cv_func__expf_use=no
66821 fi
66822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66823 ac_ext=c
66824 ac_cpp='$CPP $CPPFLAGS'
66825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66828
66829
66830 fi
66831
66832 fi
66833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66834 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66835
66836 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66837 for ac_func in _expf
66838 do :
66839 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66840 if test "x$ac_cv_func__expf" = x""yes; then :
66841 cat >>confdefs.h <<_ACEOF
66842 #define HAVE__EXPF 1
66843 _ACEOF
66844
66845 fi
66846 done
66847
66848 fi
66849 fi
66850
66851
66852
66853
66854
66855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66856 $as_echo_n "checking for isnanf declaration... " >&6; }
66857 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66858 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66859 $as_echo_n "(cached) " >&6
66860 else
66861
66862
66863 ac_ext=cpp
66864 ac_cpp='$CXXCPP $CPPFLAGS'
66865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66868
66869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66870 /* end confdefs.h. */
66871 #include <math.h>
66872 #ifdef HAVE_IEEEFP_H
66873 #include <ieeefp.h>
66874 #endif
66875
66876 int
66877 main ()
66878 {
66879 isnanf(0);
66880 ;
66881 return 0;
66882 }
66883 _ACEOF
66884 if ac_fn_cxx_try_compile "$LINENO"; then :
66885 glibcxx_cv_func_isnanf_use=yes
66886 else
66887 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
66901 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66902
66903 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66904 for ac_func in isnanf
66905 do :
66906 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66907 if test "x$ac_cv_func_isnanf" = x""yes; then :
66908 cat >>confdefs.h <<_ACEOF
66909 #define HAVE_ISNANF 1
66910 _ACEOF
66911
66912 fi
66913 done
66914
66915 else
66916
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66918 $as_echo_n "checking for _isnanf declaration... " >&6; }
66919 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66920 if test "${glibcxx_cv_func__isnanf_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 #ifdef HAVE_IEEEFP_H
66935 #include <ieeefp.h>
66936 #endif
66937
66938 int
66939 main ()
66940 {
66941 _isnanf(0);
66942 ;
66943 return 0;
66944 }
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func__isnanf_use=yes
66948 else
66949 glibcxx_cv_func__isnanf_use=no
66950 fi
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957
66958
66959 fi
66960
66961 fi
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66963 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66964
66965 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66966 for ac_func in _isnanf
66967 do :
66968 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66969 if test "x$ac_cv_func__isnanf" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE__ISNANF 1
66972 _ACEOF
66973
66974 fi
66975 done
66976
66977 fi
66978 fi
66979
66980
66981
66982
66983
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66985 $as_echo_n "checking for isinff declaration... " >&6; }
66986 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66987 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66990
66991
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66997
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67004
67005 int
67006 main ()
67007 {
67008 isinff(0);
67009 ;
67010 return 0;
67011 }
67012 _ACEOF
67013 if ac_fn_cxx_try_compile "$LINENO"; then :
67014 glibcxx_cv_func_isinff_use=yes
67015 else
67016 glibcxx_cv_func_isinff_use=no
67017 fi
67018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67019 ac_ext=c
67020 ac_cpp='$CPP $CPPFLAGS'
67021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67024
67025
67026 fi
67027
67028 fi
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67030 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67031
67032 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67033 for ac_func in isinff
67034 do :
67035 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67036 if test "x$ac_cv_func_isinff" = x""yes; then :
67037 cat >>confdefs.h <<_ACEOF
67038 #define HAVE_ISINFF 1
67039 _ACEOF
67040
67041 fi
67042 done
67043
67044 else
67045
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67047 $as_echo_n "checking for _isinff declaration... " >&6; }
67048 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67049 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67050 $as_echo_n "(cached) " >&6
67051 else
67052
67053
67054 ac_ext=cpp
67055 ac_cpp='$CXXCPP $CPPFLAGS'
67056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67059
67060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67061 /* end confdefs.h. */
67062 #include <math.h>
67063 #ifdef HAVE_IEEEFP_H
67064 #include <ieeefp.h>
67065 #endif
67066
67067 int
67068 main ()
67069 {
67070 _isinff(0);
67071 ;
67072 return 0;
67073 }
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func__isinff_use=yes
67077 else
67078 glibcxx_cv_func__isinff_use=no
67079 fi
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67086
67087
67088 fi
67089
67090 fi
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67092 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67093
67094 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67095 for ac_func in _isinff
67096 do :
67097 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67098 if test "x$ac_cv_func__isinff" = x""yes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE__ISINFF 1
67101 _ACEOF
67102
67103 fi
67104 done
67105
67106 fi
67107 fi
67108
67109
67110
67111
67112
67113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67114 $as_echo_n "checking for atan2f declaration... " >&6; }
67115 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67116 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67117 $as_echo_n "(cached) " >&6
67118 else
67119
67120
67121 ac_ext=cpp
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67126
67127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67128 /* end confdefs.h. */
67129 #include <math.h>
67130 int
67131 main ()
67132 {
67133 atan2f(0, 0);
67134 ;
67135 return 0;
67136 }
67137 _ACEOF
67138 if ac_fn_cxx_try_compile "$LINENO"; then :
67139 glibcxx_cv_func_atan2f_use=yes
67140 else
67141 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
67155 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67156
67157 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67158 for ac_func in atan2f
67159 do :
67160 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67161 if test "x$ac_cv_func_atan2f" = x""yes; then :
67162 cat >>confdefs.h <<_ACEOF
67163 #define HAVE_ATAN2F 1
67164 _ACEOF
67165
67166 fi
67167 done
67168
67169 else
67170
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67172 $as_echo_n "checking for _atan2f declaration... " >&6; }
67173 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67174 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67175 $as_echo_n "(cached) " >&6
67176 else
67177
67178
67179 ac_ext=cpp
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184
67185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67186 /* end confdefs.h. */
67187 #include <math.h>
67188 int
67189 main ()
67190 {
67191 _atan2f(0, 0);
67192 ;
67193 return 0;
67194 }
67195 _ACEOF
67196 if ac_fn_cxx_try_compile "$LINENO"; then :
67197 glibcxx_cv_func__atan2f_use=yes
67198 else
67199 glibcxx_cv_func__atan2f_use=no
67200 fi
67201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67207
67208
67209 fi
67210
67211 fi
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67213 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67214
67215 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67216 for ac_func in _atan2f
67217 do :
67218 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67219 if test "x$ac_cv_func__atan2f" = x""yes; then :
67220 cat >>confdefs.h <<_ACEOF
67221 #define HAVE__ATAN2F 1
67222 _ACEOF
67223
67224 fi
67225 done
67226
67227 fi
67228 fi
67229
67230
67231
67232
67233
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67235 $as_echo_n "checking for fabsf declaration... " >&6; }
67236 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67237 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67238 $as_echo_n "(cached) " >&6
67239 else
67240
67241
67242 ac_ext=cpp
67243 ac_cpp='$CXXCPP $CPPFLAGS'
67244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67247
67248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67249 /* end confdefs.h. */
67250 #include <math.h>
67251 #ifdef HAVE_IEEEFP_H
67252 #include <ieeefp.h>
67253 #endif
67254
67255 int
67256 main ()
67257 {
67258 fabsf(0);
67259 ;
67260 return 0;
67261 }
67262 _ACEOF
67263 if ac_fn_cxx_try_compile "$LINENO"; then :
67264 glibcxx_cv_func_fabsf_use=yes
67265 else
67266 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
67280 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67281
67282 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67283 for ac_func in fabsf
67284 do :
67285 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67286 if test "x$ac_cv_func_fabsf" = x""yes; then :
67287 cat >>confdefs.h <<_ACEOF
67288 #define HAVE_FABSF 1
67289 _ACEOF
67290
67291 fi
67292 done
67293
67294 else
67295
67296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67297 $as_echo_n "checking for _fabsf declaration... " >&6; }
67298 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67299 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
67314 #include <ieeefp.h>
67315 #endif
67316
67317 int
67318 main ()
67319 {
67320 _fabsf(0);
67321 ;
67322 return 0;
67323 }
67324 _ACEOF
67325 if ac_fn_cxx_try_compile "$LINENO"; then :
67326 glibcxx_cv_func__fabsf_use=yes
67327 else
67328 glibcxx_cv_func__fabsf_use=no
67329 fi
67330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67331 ac_ext=c
67332 ac_cpp='$CPP $CPPFLAGS'
67333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67336
67337
67338 fi
67339
67340 fi
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67342 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67343
67344 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67345 for ac_func in _fabsf
67346 do :
67347 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67348 if test "x$ac_cv_func__fabsf" = x""yes; then :
67349 cat >>confdefs.h <<_ACEOF
67350 #define HAVE__FABSF 1
67351 _ACEOF
67352
67353 fi
67354 done
67355
67356 fi
67357 fi
67358
67359
67360
67361
67362
67363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67364 $as_echo_n "checking for fmodf declaration... " >&6; }
67365 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67366 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67367 $as_echo_n "(cached) " >&6
67368 else
67369
67370
67371 ac_ext=cpp
67372 ac_cpp='$CXXCPP $CPPFLAGS'
67373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67376
67377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67378 /* end confdefs.h. */
67379 #include <math.h>
67380 int
67381 main ()
67382 {
67383 fmodf(0, 0);
67384 ;
67385 return 0;
67386 }
67387 _ACEOF
67388 if ac_fn_cxx_try_compile "$LINENO"; then :
67389 glibcxx_cv_func_fmodf_use=yes
67390 else
67391 glibcxx_cv_func_fmodf_use=no
67392 fi
67393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67394 ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67399
67400
67401 fi
67402
67403 fi
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67405 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67406
67407 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67408 for ac_func in fmodf
67409 do :
67410 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67411 if test "x$ac_cv_func_fmodf" = x""yes; then :
67412 cat >>confdefs.h <<_ACEOF
67413 #define HAVE_FMODF 1
67414 _ACEOF
67415
67416 fi
67417 done
67418
67419 else
67420
67421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67422 $as_echo_n "checking for _fmodf declaration... " >&6; }
67423 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67424 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67425 $as_echo_n "(cached) " >&6
67426 else
67427
67428
67429 ac_ext=cpp
67430 ac_cpp='$CXXCPP $CPPFLAGS'
67431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67434
67435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67436 /* end confdefs.h. */
67437 #include <math.h>
67438 int
67439 main ()
67440 {
67441 _fmodf(0, 0);
67442 ;
67443 return 0;
67444 }
67445 _ACEOF
67446 if ac_fn_cxx_try_compile "$LINENO"; then :
67447 glibcxx_cv_func__fmodf_use=yes
67448 else
67449 glibcxx_cv_func__fmodf_use=no
67450 fi
67451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67452 ac_ext=c
67453 ac_cpp='$CPP $CPPFLAGS'
67454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67457
67458
67459 fi
67460
67461 fi
67462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67463 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67464
67465 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67466 for ac_func in _fmodf
67467 do :
67468 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67469 if test "x$ac_cv_func__fmodf" = x""yes; then :
67470 cat >>confdefs.h <<_ACEOF
67471 #define HAVE__FMODF 1
67472 _ACEOF
67473
67474 fi
67475 done
67476
67477 fi
67478 fi
67479
67480
67481
67482
67483
67484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67485 $as_echo_n "checking for frexpf declaration... " >&6; }
67486 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67487 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67488 $as_echo_n "(cached) " >&6
67489 else
67490
67491
67492 ac_ext=cpp
67493 ac_cpp='$CXXCPP $CPPFLAGS'
67494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67497
67498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67499 /* end confdefs.h. */
67500 #include <math.h>
67501 int
67502 main ()
67503 {
67504 frexpf(0, 0);
67505 ;
67506 return 0;
67507 }
67508 _ACEOF
67509 if ac_fn_cxx_try_compile "$LINENO"; then :
67510 glibcxx_cv_func_frexpf_use=yes
67511 else
67512 glibcxx_cv_func_frexpf_use=no
67513 fi
67514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67515 ac_ext=c
67516 ac_cpp='$CPP $CPPFLAGS'
67517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67520
67521
67522 fi
67523
67524 fi
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67526 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67527
67528 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67529 for ac_func in frexpf
67530 do :
67531 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67532 if test "x$ac_cv_func_frexpf" = x""yes; then :
67533 cat >>confdefs.h <<_ACEOF
67534 #define HAVE_FREXPF 1
67535 _ACEOF
67536
67537 fi
67538 done
67539
67540 else
67541
67542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67543 $as_echo_n "checking for _frexpf declaration... " >&6; }
67544 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67545 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67546 $as_echo_n "(cached) " >&6
67547 else
67548
67549
67550 ac_ext=cpp
67551 ac_cpp='$CXXCPP $CPPFLAGS'
67552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67555
67556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67557 /* end confdefs.h. */
67558 #include <math.h>
67559 int
67560 main ()
67561 {
67562 _frexpf(0, 0);
67563 ;
67564 return 0;
67565 }
67566 _ACEOF
67567 if ac_fn_cxx_try_compile "$LINENO"; then :
67568 glibcxx_cv_func__frexpf_use=yes
67569 else
67570 glibcxx_cv_func__frexpf_use=no
67571 fi
67572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67573 ac_ext=c
67574 ac_cpp='$CPP $CPPFLAGS'
67575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67578
67579
67580 fi
67581
67582 fi
67583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67584 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67585
67586 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67587 for ac_func in _frexpf
67588 do :
67589 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67590 if test "x$ac_cv_func__frexpf" = x""yes; then :
67591 cat >>confdefs.h <<_ACEOF
67592 #define HAVE__FREXPF 1
67593 _ACEOF
67594
67595 fi
67596 done
67597
67598 fi
67599 fi
67600
67601
67602
67603
67604
67605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67606 $as_echo_n "checking for hypotf declaration... " >&6; }
67607 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67608 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67609 $as_echo_n "(cached) " >&6
67610 else
67611
67612
67613 ac_ext=cpp
67614 ac_cpp='$CXXCPP $CPPFLAGS'
67615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67618
67619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67620 /* end confdefs.h. */
67621 #include <math.h>
67622 int
67623 main ()
67624 {
67625 hypotf(0, 0);
67626 ;
67627 return 0;
67628 }
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_hypotf_use=yes
67632 else
67633 glibcxx_cv_func_hypotf_use=no
67634 fi
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67641
67642
67643 fi
67644
67645 fi
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67647 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67648
67649 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67650 for ac_func in hypotf
67651 do :
67652 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67653 if test "x$ac_cv_func_hypotf" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define HAVE_HYPOTF 1
67656 _ACEOF
67657
67658 fi
67659 done
67660
67661 else
67662
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67664 $as_echo_n "checking for _hypotf declaration... " >&6; }
67665 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67666 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67667 $as_echo_n "(cached) " >&6
67668 else
67669
67670
67671 ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67676
67677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h. */
67679 #include <math.h>
67680 int
67681 main ()
67682 {
67683 _hypotf(0, 0);
67684 ;
67685 return 0;
67686 }
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__hypotf_use=yes
67690 else
67691 glibcxx_cv_func__hypotf_use=no
67692 fi
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699
67700
67701 fi
67702
67703 fi
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67705 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67706
67707 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67708 for ac_func in _hypotf
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67711 if test "x$ac_cv_func__hypotf" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__HYPOTF 1
67714 _ACEOF
67715
67716 fi
67717 done
67718
67719 fi
67720 fi
67721
67722
67723
67724
67725
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67727 $as_echo_n "checking for ldexpf declaration... " >&6; }
67728 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67729 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67730 $as_echo_n "(cached) " >&6
67731 else
67732
67733
67734 ac_ext=cpp
67735 ac_cpp='$CXXCPP $CPPFLAGS'
67736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67739
67740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741 /* end confdefs.h. */
67742 #include <math.h>
67743 int
67744 main ()
67745 {
67746 ldexpf(0, 0);
67747 ;
67748 return 0;
67749 }
67750 _ACEOF
67751 if ac_fn_cxx_try_compile "$LINENO"; then :
67752 glibcxx_cv_func_ldexpf_use=yes
67753 else
67754 glibcxx_cv_func_ldexpf_use=no
67755 fi
67756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67757 ac_ext=c
67758 ac_cpp='$CPP $CPPFLAGS'
67759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67762
67763
67764 fi
67765
67766 fi
67767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67768 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67769
67770 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67771 for ac_func in ldexpf
67772 do :
67773 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67774 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67775 cat >>confdefs.h <<_ACEOF
67776 #define HAVE_LDEXPF 1
67777 _ACEOF
67778
67779 fi
67780 done
67781
67782 else
67783
67784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67785 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67786 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67787 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67788 $as_echo_n "(cached) " >&6
67789 else
67790
67791
67792 ac_ext=cpp
67793 ac_cpp='$CXXCPP $CPPFLAGS'
67794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67797
67798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67799 /* end confdefs.h. */
67800 #include <math.h>
67801 int
67802 main ()
67803 {
67804 _ldexpf(0, 0);
67805 ;
67806 return 0;
67807 }
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func__ldexpf_use=yes
67811 else
67812 glibcxx_cv_func__ldexpf_use=no
67813 fi
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67820
67821
67822 fi
67823
67824 fi
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67826 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67827
67828 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67829 for ac_func in _ldexpf
67830 do :
67831 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67832 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE__LDEXPF 1
67835 _ACEOF
67836
67837 fi
67838 done
67839
67840 fi
67841 fi
67842
67843
67844
67845
67846
67847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67848 $as_echo_n "checking for logf declaration... " >&6; }
67849 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67850 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67851 $as_echo_n "(cached) " >&6
67852 else
67853
67854
67855 ac_ext=cpp
67856 ac_cpp='$CXXCPP $CPPFLAGS'
67857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67860
67861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67862 /* end confdefs.h. */
67863 #include <math.h>
67864 #ifdef HAVE_IEEEFP_H
67865 #include <ieeefp.h>
67866 #endif
67867
67868 int
67869 main ()
67870 {
67871 logf(0);
67872 ;
67873 return 0;
67874 }
67875 _ACEOF
67876 if ac_fn_cxx_try_compile "$LINENO"; then :
67877 glibcxx_cv_func_logf_use=yes
67878 else
67879 glibcxx_cv_func_logf_use=no
67880 fi
67881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67882 ac_ext=c
67883 ac_cpp='$CPP $CPPFLAGS'
67884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67887
67888
67889 fi
67890
67891 fi
67892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67893 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67894
67895 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67896 for ac_func in logf
67897 do :
67898 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67899 if test "x$ac_cv_func_logf" = x""yes; then :
67900 cat >>confdefs.h <<_ACEOF
67901 #define HAVE_LOGF 1
67902 _ACEOF
67903
67904 fi
67905 done
67906
67907 else
67908
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67910 $as_echo_n "checking for _logf declaration... " >&6; }
67911 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67912 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67913 $as_echo_n "(cached) " >&6
67914 else
67915
67916
67917 ac_ext=cpp
67918 ac_cpp='$CXXCPP $CPPFLAGS'
67919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67922
67923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67924 /* end confdefs.h. */
67925 #include <math.h>
67926 #ifdef HAVE_IEEEFP_H
67927 #include <ieeefp.h>
67928 #endif
67929
67930 int
67931 main ()
67932 {
67933 _logf(0);
67934 ;
67935 return 0;
67936 }
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func__logf_use=yes
67940 else
67941 glibcxx_cv_func__logf_use=no
67942 fi
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67949
67950
67951 fi
67952
67953 fi
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67955 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67956
67957 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67958 for ac_func in _logf
67959 do :
67960 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67961 if test "x$ac_cv_func__logf" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE__LOGF 1
67964 _ACEOF
67965
67966 fi
67967 done
67968
67969 fi
67970 fi
67971
67972
67973
67974
67975
67976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67977 $as_echo_n "checking for log10f declaration... " >&6; }
67978 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67979 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67980 $as_echo_n "(cached) " >&6
67981 else
67982
67983
67984 ac_ext=cpp
67985 ac_cpp='$CXXCPP $CPPFLAGS'
67986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67989
67990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67991 /* end confdefs.h. */
67992 #include <math.h>
67993 #ifdef HAVE_IEEEFP_H
67994 #include <ieeefp.h>
67995 #endif
67996
67997 int
67998 main ()
67999 {
68000 log10f(0);
68001 ;
68002 return 0;
68003 }
68004 _ACEOF
68005 if ac_fn_cxx_try_compile "$LINENO"; then :
68006 glibcxx_cv_func_log10f_use=yes
68007 else
68008 glibcxx_cv_func_log10f_use=no
68009 fi
68010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68011 ac_ext=c
68012 ac_cpp='$CPP $CPPFLAGS'
68013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68016
68017
68018 fi
68019
68020 fi
68021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68022 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68023
68024 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68025 for ac_func in log10f
68026 do :
68027 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68028 if test "x$ac_cv_func_log10f" = x""yes; then :
68029 cat >>confdefs.h <<_ACEOF
68030 #define HAVE_LOG10F 1
68031 _ACEOF
68032
68033 fi
68034 done
68035
68036 else
68037
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68039 $as_echo_n "checking for _log10f declaration... " >&6; }
68040 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68041 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68042 $as_echo_n "(cached) " >&6
68043 else
68044
68045
68046 ac_ext=cpp
68047 ac_cpp='$CXXCPP $CPPFLAGS'
68048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68051
68052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68053 /* end confdefs.h. */
68054 #include <math.h>
68055 #ifdef HAVE_IEEEFP_H
68056 #include <ieeefp.h>
68057 #endif
68058
68059 int
68060 main ()
68061 {
68062 _log10f(0);
68063 ;
68064 return 0;
68065 }
68066 _ACEOF
68067 if ac_fn_cxx_try_compile "$LINENO"; then :
68068 glibcxx_cv_func__log10f_use=yes
68069 else
68070 glibcxx_cv_func__log10f_use=no
68071 fi
68072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68073 ac_ext=c
68074 ac_cpp='$CPP $CPPFLAGS'
68075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68078
68079
68080 fi
68081
68082 fi
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68084 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68085
68086 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68087 for ac_func in _log10f
68088 do :
68089 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68090 if test "x$ac_cv_func__log10f" = x""yes; then :
68091 cat >>confdefs.h <<_ACEOF
68092 #define HAVE__LOG10F 1
68093 _ACEOF
68094
68095 fi
68096 done
68097
68098 fi
68099 fi
68100
68101
68102
68103
68104
68105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68106 $as_echo_n "checking for modff declaration... " >&6; }
68107 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68108 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68109 $as_echo_n "(cached) " >&6
68110 else
68111
68112
68113 ac_ext=cpp
68114 ac_cpp='$CXXCPP $CPPFLAGS'
68115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68118
68119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68120 /* end confdefs.h. */
68121 #include <math.h>
68122 int
68123 main ()
68124 {
68125 modff(0, 0);
68126 ;
68127 return 0;
68128 }
68129 _ACEOF
68130 if ac_fn_cxx_try_compile "$LINENO"; then :
68131 glibcxx_cv_func_modff_use=yes
68132 else
68133 glibcxx_cv_func_modff_use=no
68134 fi
68135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68136 ac_ext=c
68137 ac_cpp='$CPP $CPPFLAGS'
68138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68141
68142
68143 fi
68144
68145 fi
68146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68147 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68148
68149 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68150 for ac_func in modff
68151 do :
68152 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68153 if test "x$ac_cv_func_modff" = x""yes; then :
68154 cat >>confdefs.h <<_ACEOF
68155 #define HAVE_MODFF 1
68156 _ACEOF
68157
68158 fi
68159 done
68160
68161 else
68162
68163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68164 $as_echo_n "checking for _modff declaration... " >&6; }
68165 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68166 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68167 $as_echo_n "(cached) " >&6
68168 else
68169
68170
68171 ac_ext=cpp
68172 ac_cpp='$CXXCPP $CPPFLAGS'
68173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68176
68177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68178 /* end confdefs.h. */
68179 #include <math.h>
68180 int
68181 main ()
68182 {
68183 _modff(0, 0);
68184 ;
68185 return 0;
68186 }
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__modff_use=yes
68190 else
68191 glibcxx_cv_func__modff_use=no
68192 fi
68193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194 ac_ext=c
68195 ac_cpp='$CPP $CPPFLAGS'
68196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68199
68200
68201 fi
68202
68203 fi
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68205 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68206
68207 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68208 for ac_func in _modff
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68211 if test "x$ac_cv_func__modff" = x""yes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__MODFF 1
68214 _ACEOF
68215
68216 fi
68217 done
68218
68219 fi
68220 fi
68221
68222
68223
68224
68225
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68227 $as_echo_n "checking for modf declaration... " >&6; }
68228 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68229 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68232
68233
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68239
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68243 int
68244 main ()
68245 {
68246 modf(0, 0);
68247 ;
68248 return 0;
68249 }
68250 _ACEOF
68251 if ac_fn_cxx_try_compile "$LINENO"; then :
68252 glibcxx_cv_func_modf_use=yes
68253 else
68254 glibcxx_cv_func_modf_use=no
68255 fi
68256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68257 ac_ext=c
68258 ac_cpp='$CPP $CPPFLAGS'
68259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68262
68263
68264 fi
68265
68266 fi
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68268 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68269
68270 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68271 for ac_func in modf
68272 do :
68273 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68274 if test "x$ac_cv_func_modf" = x""yes; then :
68275 cat >>confdefs.h <<_ACEOF
68276 #define HAVE_MODF 1
68277 _ACEOF
68278
68279 fi
68280 done
68281
68282 else
68283
68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68285 $as_echo_n "checking for _modf declaration... " >&6; }
68286 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68287 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68288 $as_echo_n "(cached) " >&6
68289 else
68290
68291
68292 ac_ext=cpp
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68297
68298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68299 /* end confdefs.h. */
68300 #include <math.h>
68301 int
68302 main ()
68303 {
68304 _modf(0, 0);
68305 ;
68306 return 0;
68307 }
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__modf_use=yes
68311 else
68312 glibcxx_cv_func__modf_use=no
68313 fi
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68320
68321
68322 fi
68323
68324 fi
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68326 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68327
68328 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68329 for ac_func in _modf
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68332 if test "x$ac_cv_func__modf" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__MODF 1
68335 _ACEOF
68336
68337 fi
68338 done
68339
68340 fi
68341 fi
68342
68343
68344
68345
68346
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68348 $as_echo_n "checking for powf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68353
68354
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68360
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68364 int
68365 main ()
68366 {
68367 powf(0, 0);
68368 ;
68369 return 0;
68370 }
68371 _ACEOF
68372 if ac_fn_cxx_try_compile "$LINENO"; then :
68373 glibcxx_cv_func_powf_use=yes
68374 else
68375 glibcxx_cv_func_powf_use=no
68376 fi
68377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378 ac_ext=c
68379 ac_cpp='$CPP $CPPFLAGS'
68380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383
68384
68385 fi
68386
68387 fi
68388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68389 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68390
68391 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68392 for ac_func in powf
68393 do :
68394 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68395 if test "x$ac_cv_func_powf" = x""yes; then :
68396 cat >>confdefs.h <<_ACEOF
68397 #define HAVE_POWF 1
68398 _ACEOF
68399
68400 fi
68401 done
68402
68403 else
68404
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68406 $as_echo_n "checking for _powf declaration... " >&6; }
68407 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68408 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68409 $as_echo_n "(cached) " >&6
68410 else
68411
68412
68413 ac_ext=cpp
68414 ac_cpp='$CXXCPP $CPPFLAGS'
68415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418
68419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68420 /* end confdefs.h. */
68421 #include <math.h>
68422 int
68423 main ()
68424 {
68425 _powf(0, 0);
68426 ;
68427 return 0;
68428 }
68429 _ACEOF
68430 if ac_fn_cxx_try_compile "$LINENO"; then :
68431 glibcxx_cv_func__powf_use=yes
68432 else
68433 glibcxx_cv_func__powf_use=no
68434 fi
68435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68436 ac_ext=c
68437 ac_cpp='$CPP $CPPFLAGS'
68438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68441
68442
68443 fi
68444
68445 fi
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68447 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68448
68449 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68450 for ac_func in _powf
68451 do :
68452 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68453 if test "x$ac_cv_func__powf" = x""yes; then :
68454 cat >>confdefs.h <<_ACEOF
68455 #define HAVE__POWF 1
68456 _ACEOF
68457
68458 fi
68459 done
68460
68461 fi
68462 fi
68463
68464
68465
68466
68467
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68469 $as_echo_n "checking for sqrtf declaration... " >&6; }
68470 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68471 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68474
68475
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68481
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <math.h>
68485 #ifdef HAVE_IEEEFP_H
68486 #include <ieeefp.h>
68487 #endif
68488
68489 int
68490 main ()
68491 {
68492 sqrtf(0);
68493 ;
68494 return 0;
68495 }
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498 glibcxx_cv_func_sqrtf_use=yes
68499 else
68500 glibcxx_cv_func_sqrtf_use=no
68501 fi
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503 ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68508
68509
68510 fi
68511
68512 fi
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68514 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68515
68516 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68517 for ac_func in sqrtf
68518 do :
68519 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68520 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define HAVE_SQRTF 1
68523 _ACEOF
68524
68525 fi
68526 done
68527
68528 else
68529
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68531 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68532 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68533 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68534 $as_echo_n "(cached) " >&6
68535 else
68536
68537
68538 ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68543
68544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h. */
68546 #include <math.h>
68547 #ifdef HAVE_IEEEFP_H
68548 #include <ieeefp.h>
68549 #endif
68550
68551 int
68552 main ()
68553 {
68554 _sqrtf(0);
68555 ;
68556 return 0;
68557 }
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__sqrtf_use=yes
68561 else
68562 glibcxx_cv_func__sqrtf_use=no
68563 fi
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68570
68571
68572 fi
68573
68574 fi
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68576 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68577
68578 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68579 for ac_func in _sqrtf
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68582 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__SQRTF 1
68585 _ACEOF
68586
68587 fi
68588 done
68589
68590 fi
68591 fi
68592
68593
68594
68595
68596
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68598 $as_echo_n "checking for sincosf declaration... " >&6; }
68599 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68600 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68601 $as_echo_n "(cached) " >&6
68602 else
68603
68604
68605 ac_ext=cpp
68606 ac_cpp='$CXXCPP $CPPFLAGS'
68607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68610
68611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68612 /* end confdefs.h. */
68613 #include <math.h>
68614 int
68615 main ()
68616 {
68617 sincosf(0, 0, 0);
68618 ;
68619 return 0;
68620 }
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_sincosf_use=yes
68624 else
68625 glibcxx_cv_func_sincosf_use=no
68626 fi
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68633
68634
68635 fi
68636
68637 fi
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68639 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68640
68641 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68642 for ac_func in sincosf
68643 do :
68644 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68645 if test "x$ac_cv_func_sincosf" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_SINCOSF 1
68648 _ACEOF
68649
68650 fi
68651 done
68652
68653 else
68654
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68656 $as_echo_n "checking for _sincosf declaration... " >&6; }
68657 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68658 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68661
68662
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68668
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68672 int
68673 main ()
68674 {
68675 _sincosf(0, 0, 0);
68676 ;
68677 return 0;
68678 }
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__sincosf_use=yes
68682 else
68683 glibcxx_cv_func__sincosf_use=no
68684 fi
68685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68691
68692
68693 fi
68694
68695 fi
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68697 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68698
68699 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68700 for ac_func in _sincosf
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68703 if test "x$ac_cv_func__sincosf" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__SINCOSF 1
68706 _ACEOF
68707
68708 fi
68709 done
68710
68711 fi
68712 fi
68713
68714
68715
68716
68717
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68719 $as_echo_n "checking for finitef declaration... " >&6; }
68720 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68721 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68724
68725
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68731
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68735 #ifdef HAVE_IEEEFP_H
68736 #include <ieeefp.h>
68737 #endif
68738
68739 int
68740 main ()
68741 {
68742 finitef(0);
68743 ;
68744 return 0;
68745 }
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func_finitef_use=yes
68749 else
68750 glibcxx_cv_func_finitef_use=no
68751 fi
68752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68753 ac_ext=c
68754 ac_cpp='$CPP $CPPFLAGS'
68755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68758
68759
68760 fi
68761
68762 fi
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68764 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68765
68766 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68767 for ac_func in finitef
68768 do :
68769 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68770 if test "x$ac_cv_func_finitef" = x""yes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE_FINITEF 1
68773 _ACEOF
68774
68775 fi
68776 done
68777
68778 else
68779
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68781 $as_echo_n "checking for _finitef declaration... " >&6; }
68782 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68783 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68784 $as_echo_n "(cached) " >&6
68785 else
68786
68787
68788 ac_ext=cpp
68789 ac_cpp='$CXXCPP $CPPFLAGS'
68790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68793
68794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68795 /* end confdefs.h. */
68796 #include <math.h>
68797 #ifdef HAVE_IEEEFP_H
68798 #include <ieeefp.h>
68799 #endif
68800
68801 int
68802 main ()
68803 {
68804 _finitef(0);
68805 ;
68806 return 0;
68807 }
68808 _ACEOF
68809 if ac_fn_cxx_try_compile "$LINENO"; then :
68810 glibcxx_cv_func__finitef_use=yes
68811 else
68812 glibcxx_cv_func__finitef_use=no
68813 fi
68814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68815 ac_ext=c
68816 ac_cpp='$CPP $CPPFLAGS'
68817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68820
68821
68822 fi
68823
68824 fi
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68826 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68827
68828 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68829 for ac_func in _finitef
68830 do :
68831 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68832 if test "x$ac_cv_func__finitef" = x""yes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define HAVE__FINITEF 1
68835 _ACEOF
68836
68837 fi
68838 done
68839
68840 fi
68841 fi
68842
68843
68844
68845
68846
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68848 $as_echo_n "checking for long double trig functions... " >&6; }
68849 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68850 $as_echo_n "(cached) " >&6
68851 else
68852
68853
68854 ac_ext=cpp
68855 ac_cpp='$CXXCPP $CPPFLAGS'
68856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68859
68860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68861 /* end confdefs.h. */
68862 #include <math.h>
68863 int
68864 main ()
68865 {
68866 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68867 ;
68868 return 0;
68869 }
68870 _ACEOF
68871 if ac_fn_cxx_try_compile "$LINENO"; then :
68872 glibcxx_cv_func_long_double_trig_use=yes
68873 else
68874 glibcxx_cv_func_long_double_trig_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 fi
68884
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68886 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68887 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68888 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68889 do :
68890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68892 eval as_val=\$$as_ac_var
68893 if test "x$as_val" = x""yes; then :
68894 cat >>confdefs.h <<_ACEOF
68895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68896 _ACEOF
68897
68898 fi
68899 done
68900
68901 else
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68903 $as_echo_n "checking for _long double trig functions... " >&6; }
68904 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68905 $as_echo_n "(cached) " >&6
68906 else
68907
68908
68909 ac_ext=cpp
68910 ac_cpp='$CXXCPP $CPPFLAGS'
68911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68914
68915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68916 /* end confdefs.h. */
68917 #include <math.h>
68918 int
68919 main ()
68920 {
68921 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68922 ;
68923 return 0;
68924 }
68925 _ACEOF
68926 if ac_fn_cxx_try_compile "$LINENO"; then :
68927 glibcxx_cv_func__long_double_trig_use=yes
68928 else
68929 glibcxx_cv_func__long_double_trig_use=no
68930 fi
68931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68932 ac_ext=c
68933 ac_cpp='$CPP $CPPFLAGS'
68934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68937
68938 fi
68939
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68941 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68942 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68943 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68944 do :
68945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68947 eval as_val=\$$as_ac_var
68948 if test "x$as_val" = x""yes; then :
68949 cat >>confdefs.h <<_ACEOF
68950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68951 _ACEOF
68952
68953 fi
68954 done
68955
68956 fi
68957 fi
68958
68959
68960
68961
68962
68963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68964 $as_echo_n "checking for long double round functions... " >&6; }
68965 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68966 $as_echo_n "(cached) " >&6
68967 else
68968
68969
68970 ac_ext=cpp
68971 ac_cpp='$CXXCPP $CPPFLAGS'
68972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68975
68976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68977 /* end confdefs.h. */
68978 #include <math.h>
68979 int
68980 main ()
68981 {
68982 ceill (0); floorl (0);
68983 ;
68984 return 0;
68985 }
68986 _ACEOF
68987 if ac_fn_cxx_try_compile "$LINENO"; then :
68988 glibcxx_cv_func_long_double_round_use=yes
68989 else
68990 glibcxx_cv_func_long_double_round_use=no
68991 fi
68992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68993 ac_ext=c
68994 ac_cpp='$CPP $CPPFLAGS'
68995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68998
68999 fi
69000
69001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69002 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69003 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69004 for ac_func in ceill floorl
69005 do :
69006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69008 eval as_val=\$$as_ac_var
69009 if test "x$as_val" = x""yes; then :
69010 cat >>confdefs.h <<_ACEOF
69011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69012 _ACEOF
69013
69014 fi
69015 done
69016
69017 else
69018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69019 $as_echo_n "checking for _long double round functions... " >&6; }
69020 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69023
69024
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69030
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69034 int
69035 main ()
69036 {
69037 _ceill (0); _floorl (0);
69038 ;
69039 return 0;
69040 }
69041 _ACEOF
69042 if ac_fn_cxx_try_compile "$LINENO"; then :
69043 glibcxx_cv_func__long_double_round_use=yes
69044 else
69045 glibcxx_cv_func__long_double_round_use=no
69046 fi
69047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69053
69054 fi
69055
69056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69057 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69058 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69059 for ac_func in _ceill _floorl
69060 do :
69061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69063 eval as_val=\$$as_ac_var
69064 if test "x$as_val" = x""yes; then :
69065 cat >>confdefs.h <<_ACEOF
69066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69067 _ACEOF
69068
69069 fi
69070 done
69071
69072 fi
69073 fi
69074
69075
69076
69077
69078
69079
69080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69081 $as_echo_n "checking for isnanl declaration... " >&6; }
69082 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69083 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69084 $as_echo_n "(cached) " >&6
69085 else
69086
69087
69088 ac_ext=cpp
69089 ac_cpp='$CXXCPP $CPPFLAGS'
69090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69093
69094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69095 /* end confdefs.h. */
69096 #include <math.h>
69097 #ifdef HAVE_IEEEFP_H
69098 #include <ieeefp.h>
69099 #endif
69100
69101 int
69102 main ()
69103 {
69104 isnanl(0);
69105 ;
69106 return 0;
69107 }
69108 _ACEOF
69109 if ac_fn_cxx_try_compile "$LINENO"; then :
69110 glibcxx_cv_func_isnanl_use=yes
69111 else
69112 glibcxx_cv_func_isnanl_use=no
69113 fi
69114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69115 ac_ext=c
69116 ac_cpp='$CPP $CPPFLAGS'
69117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69120
69121
69122 fi
69123
69124 fi
69125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69126 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69127
69128 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69129 for ac_func in isnanl
69130 do :
69131 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69132 if test "x$ac_cv_func_isnanl" = x""yes; then :
69133 cat >>confdefs.h <<_ACEOF
69134 #define HAVE_ISNANL 1
69135 _ACEOF
69136
69137 fi
69138 done
69139
69140 else
69141
69142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69143 $as_echo_n "checking for _isnanl declaration... " >&6; }
69144 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69145 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69146 $as_echo_n "(cached) " >&6
69147 else
69148
69149
69150 ac_ext=cpp
69151 ac_cpp='$CXXCPP $CPPFLAGS'
69152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69155
69156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69157 /* end confdefs.h. */
69158 #include <math.h>
69159 #ifdef HAVE_IEEEFP_H
69160 #include <ieeefp.h>
69161 #endif
69162
69163 int
69164 main ()
69165 {
69166 _isnanl(0);
69167 ;
69168 return 0;
69169 }
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func__isnanl_use=yes
69173 else
69174 glibcxx_cv_func__isnanl_use=no
69175 fi
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69182
69183
69184 fi
69185
69186 fi
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69188 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69189
69190 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69191 for ac_func in _isnanl
69192 do :
69193 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69194 if test "x$ac_cv_func__isnanl" = x""yes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE__ISNANL 1
69197 _ACEOF
69198
69199 fi
69200 done
69201
69202 fi
69203 fi
69204
69205
69206
69207
69208
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69210 $as_echo_n "checking for isinfl declaration... " >&6; }
69211 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69212 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69215
69216
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69222
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69226 #ifdef HAVE_IEEEFP_H
69227 #include <ieeefp.h>
69228 #endif
69229
69230 int
69231 main ()
69232 {
69233 isinfl(0);
69234 ;
69235 return 0;
69236 }
69237 _ACEOF
69238 if ac_fn_cxx_try_compile "$LINENO"; then :
69239 glibcxx_cv_func_isinfl_use=yes
69240 else
69241 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
69255 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69256
69257 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69258 for ac_func in isinfl
69259 do :
69260 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69261 if test "x$ac_cv_func_isinfl" = x""yes; then :
69262 cat >>confdefs.h <<_ACEOF
69263 #define HAVE_ISINFL 1
69264 _ACEOF
69265
69266 fi
69267 done
69268
69269 else
69270
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69272 $as_echo_n "checking for _isinfl declaration... " >&6; }
69273 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69274 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69275 $as_echo_n "(cached) " >&6
69276 else
69277
69278
69279 ac_ext=cpp
69280 ac_cpp='$CXXCPP $CPPFLAGS'
69281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284
69285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69286 /* end confdefs.h. */
69287 #include <math.h>
69288 #ifdef HAVE_IEEEFP_H
69289 #include <ieeefp.h>
69290 #endif
69291
69292 int
69293 main ()
69294 {
69295 _isinfl(0);
69296 ;
69297 return 0;
69298 }
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func__isinfl_use=yes
69302 else
69303 glibcxx_cv_func__isinfl_use=no
69304 fi
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312
69313 fi
69314
69315 fi
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69317 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69318
69319 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69320 for ac_func in _isinfl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69323 if test "x$ac_cv_func__isinfl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE__ISINFL 1
69326 _ACEOF
69327
69328 fi
69329 done
69330
69331 fi
69332 fi
69333
69334
69335
69336
69337
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69339 $as_echo_n "checking for atan2l declaration... " >&6; }
69340 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69341 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69344
69345
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69355 int
69356 main ()
69357 {
69358 atan2l(0, 0);
69359 ;
69360 return 0;
69361 }
69362 _ACEOF
69363 if ac_fn_cxx_try_compile "$LINENO"; then :
69364 glibcxx_cv_func_atan2l_use=yes
69365 else
69366 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
69380 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69381
69382 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69383 for ac_func in atan2l
69384 do :
69385 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69386 if test "x$ac_cv_func_atan2l" = x""yes; then :
69387 cat >>confdefs.h <<_ACEOF
69388 #define HAVE_ATAN2L 1
69389 _ACEOF
69390
69391 fi
69392 done
69393
69394 else
69395
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69397 $as_echo_n "checking for _atan2l declaration... " >&6; }
69398 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69399 if test "${glibcxx_cv_func__atan2l_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 int
69414 main ()
69415 {
69416 _atan2l(0, 0);
69417 ;
69418 return 0;
69419 }
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422 glibcxx_cv_func__atan2l_use=yes
69423 else
69424 glibcxx_cv_func__atan2l_use=no
69425 fi
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69432
69433
69434 fi
69435
69436 fi
69437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69438 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69439
69440 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69441 for ac_func in _atan2l
69442 do :
69443 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69444 if test "x$ac_cv_func__atan2l" = x""yes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE__ATAN2L 1
69447 _ACEOF
69448
69449 fi
69450 done
69451
69452 fi
69453 fi
69454
69455
69456
69457
69458
69459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69460 $as_echo_n "checking for expl declaration... " >&6; }
69461 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69462 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69463 $as_echo_n "(cached) " >&6
69464 else
69465
69466
69467 ac_ext=cpp
69468 ac_cpp='$CXXCPP $CPPFLAGS'
69469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69472
69473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69474 /* end confdefs.h. */
69475 #include <math.h>
69476 #ifdef HAVE_IEEEFP_H
69477 #include <ieeefp.h>
69478 #endif
69479
69480 int
69481 main ()
69482 {
69483 expl(0);
69484 ;
69485 return 0;
69486 }
69487 _ACEOF
69488 if ac_fn_cxx_try_compile "$LINENO"; then :
69489 glibcxx_cv_func_expl_use=yes
69490 else
69491 glibcxx_cv_func_expl_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_expl_use" >&5
69505 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69506
69507 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69508 for ac_func in expl
69509 do :
69510 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69511 if test "x$ac_cv_func_expl" = x""yes; then :
69512 cat >>confdefs.h <<_ACEOF
69513 #define HAVE_EXPL 1
69514 _ACEOF
69515
69516 fi
69517 done
69518
69519 else
69520
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69522 $as_echo_n "checking for _expl declaration... " >&6; }
69523 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69524 if test "${glibcxx_cv_func__expl_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 #ifdef HAVE_IEEEFP_H
69539 #include <ieeefp.h>
69540 #endif
69541
69542 int
69543 main ()
69544 {
69545 _expl(0);
69546 ;
69547 return 0;
69548 }
69549 _ACEOF
69550 if ac_fn_cxx_try_compile "$LINENO"; then :
69551 glibcxx_cv_func__expl_use=yes
69552 else
69553 glibcxx_cv_func__expl_use=no
69554 fi
69555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69556 ac_ext=c
69557 ac_cpp='$CPP $CPPFLAGS'
69558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69561
69562
69563 fi
69564
69565 fi
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69567 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69568
69569 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69570 for ac_func in _expl
69571 do :
69572 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69573 if test "x$ac_cv_func__expl" = x""yes; then :
69574 cat >>confdefs.h <<_ACEOF
69575 #define HAVE__EXPL 1
69576 _ACEOF
69577
69578 fi
69579 done
69580
69581 fi
69582 fi
69583
69584
69585
69586
69587
69588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69589 $as_echo_n "checking for fabsl declaration... " >&6; }
69590 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69591 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69592 $as_echo_n "(cached) " >&6
69593 else
69594
69595
69596 ac_ext=cpp
69597 ac_cpp='$CXXCPP $CPPFLAGS'
69598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69601
69602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69603 /* end confdefs.h. */
69604 #include <math.h>
69605 #ifdef HAVE_IEEEFP_H
69606 #include <ieeefp.h>
69607 #endif
69608
69609 int
69610 main ()
69611 {
69612 fabsl(0);
69613 ;
69614 return 0;
69615 }
69616 _ACEOF
69617 if ac_fn_cxx_try_compile "$LINENO"; then :
69618 glibcxx_cv_func_fabsl_use=yes
69619 else
69620 glibcxx_cv_func_fabsl_use=no
69621 fi
69622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69623 ac_ext=c
69624 ac_cpp='$CPP $CPPFLAGS'
69625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69628
69629
69630 fi
69631
69632 fi
69633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69634 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69635
69636 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69637 for ac_func in fabsl
69638 do :
69639 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69640 if test "x$ac_cv_func_fabsl" = x""yes; then :
69641 cat >>confdefs.h <<_ACEOF
69642 #define HAVE_FABSL 1
69643 _ACEOF
69644
69645 fi
69646 done
69647
69648 else
69649
69650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69651 $as_echo_n "checking for _fabsl declaration... " >&6; }
69652 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69653 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69654 $as_echo_n "(cached) " >&6
69655 else
69656
69657
69658 ac_ext=cpp
69659 ac_cpp='$CXXCPP $CPPFLAGS'
69660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69663
69664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69665 /* end confdefs.h. */
69666 #include <math.h>
69667 #ifdef HAVE_IEEEFP_H
69668 #include <ieeefp.h>
69669 #endif
69670
69671 int
69672 main ()
69673 {
69674 _fabsl(0);
69675 ;
69676 return 0;
69677 }
69678 _ACEOF
69679 if ac_fn_cxx_try_compile "$LINENO"; then :
69680 glibcxx_cv_func__fabsl_use=yes
69681 else
69682 glibcxx_cv_func__fabsl_use=no
69683 fi
69684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69685 ac_ext=c
69686 ac_cpp='$CPP $CPPFLAGS'
69687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69690
69691
69692 fi
69693
69694 fi
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69696 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69697
69698 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69699 for ac_func in _fabsl
69700 do :
69701 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69702 if test "x$ac_cv_func__fabsl" = x""yes; then :
69703 cat >>confdefs.h <<_ACEOF
69704 #define HAVE__FABSL 1
69705 _ACEOF
69706
69707 fi
69708 done
69709
69710 fi
69711 fi
69712
69713
69714
69715
69716
69717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69718 $as_echo_n "checking for fmodl declaration... " >&6; }
69719 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69720 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69721 $as_echo_n "(cached) " >&6
69722 else
69723
69724
69725 ac_ext=cpp
69726 ac_cpp='$CXXCPP $CPPFLAGS'
69727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69730
69731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69732 /* end confdefs.h. */
69733 #include <math.h>
69734 int
69735 main ()
69736 {
69737 fmodl(0, 0);
69738 ;
69739 return 0;
69740 }
69741 _ACEOF
69742 if ac_fn_cxx_try_compile "$LINENO"; then :
69743 glibcxx_cv_func_fmodl_use=yes
69744 else
69745 glibcxx_cv_func_fmodl_use=no
69746 fi
69747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69748 ac_ext=c
69749 ac_cpp='$CPP $CPPFLAGS'
69750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69753
69754
69755 fi
69756
69757 fi
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69759 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69760
69761 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69762 for ac_func in fmodl
69763 do :
69764 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69765 if test "x$ac_cv_func_fmodl" = x""yes; then :
69766 cat >>confdefs.h <<_ACEOF
69767 #define HAVE_FMODL 1
69768 _ACEOF
69769
69770 fi
69771 done
69772
69773 else
69774
69775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69776 $as_echo_n "checking for _fmodl declaration... " >&6; }
69777 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69778 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69779 $as_echo_n "(cached) " >&6
69780 else
69781
69782
69783 ac_ext=cpp
69784 ac_cpp='$CXXCPP $CPPFLAGS'
69785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69788
69789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69790 /* end confdefs.h. */
69791 #include <math.h>
69792 int
69793 main ()
69794 {
69795 _fmodl(0, 0);
69796 ;
69797 return 0;
69798 }
69799 _ACEOF
69800 if ac_fn_cxx_try_compile "$LINENO"; then :
69801 glibcxx_cv_func__fmodl_use=yes
69802 else
69803 glibcxx_cv_func__fmodl_use=no
69804 fi
69805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69806 ac_ext=c
69807 ac_cpp='$CPP $CPPFLAGS'
69808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69811
69812
69813 fi
69814
69815 fi
69816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69817 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69818
69819 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69820 for ac_func in _fmodl
69821 do :
69822 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69823 if test "x$ac_cv_func__fmodl" = x""yes; then :
69824 cat >>confdefs.h <<_ACEOF
69825 #define HAVE__FMODL 1
69826 _ACEOF
69827
69828 fi
69829 done
69830
69831 fi
69832 fi
69833
69834
69835
69836
69837
69838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69839 $as_echo_n "checking for frexpl declaration... " >&6; }
69840 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69841 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69842 $as_echo_n "(cached) " >&6
69843 else
69844
69845
69846 ac_ext=cpp
69847 ac_cpp='$CXXCPP $CPPFLAGS'
69848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69851
69852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69853 /* end confdefs.h. */
69854 #include <math.h>
69855 int
69856 main ()
69857 {
69858 frexpl(0, 0);
69859 ;
69860 return 0;
69861 }
69862 _ACEOF
69863 if ac_fn_cxx_try_compile "$LINENO"; then :
69864 glibcxx_cv_func_frexpl_use=yes
69865 else
69866 glibcxx_cv_func_frexpl_use=no
69867 fi
69868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69869 ac_ext=c
69870 ac_cpp='$CPP $CPPFLAGS'
69871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69874
69875
69876 fi
69877
69878 fi
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69880 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69881
69882 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69883 for ac_func in frexpl
69884 do :
69885 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69886 if test "x$ac_cv_func_frexpl" = x""yes; then :
69887 cat >>confdefs.h <<_ACEOF
69888 #define HAVE_FREXPL 1
69889 _ACEOF
69890
69891 fi
69892 done
69893
69894 else
69895
69896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69897 $as_echo_n "checking for _frexpl declaration... " >&6; }
69898 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69899 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69900 $as_echo_n "(cached) " >&6
69901 else
69902
69903
69904 ac_ext=cpp
69905 ac_cpp='$CXXCPP $CPPFLAGS'
69906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69909
69910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69911 /* end confdefs.h. */
69912 #include <math.h>
69913 int
69914 main ()
69915 {
69916 _frexpl(0, 0);
69917 ;
69918 return 0;
69919 }
69920 _ACEOF
69921 if ac_fn_cxx_try_compile "$LINENO"; then :
69922 glibcxx_cv_func__frexpl_use=yes
69923 else
69924 glibcxx_cv_func__frexpl_use=no
69925 fi
69926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69927 ac_ext=c
69928 ac_cpp='$CPP $CPPFLAGS'
69929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69932
69933
69934 fi
69935
69936 fi
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69938 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69939
69940 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69941 for ac_func in _frexpl
69942 do :
69943 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69944 if test "x$ac_cv_func__frexpl" = x""yes; then :
69945 cat >>confdefs.h <<_ACEOF
69946 #define HAVE__FREXPL 1
69947 _ACEOF
69948
69949 fi
69950 done
69951
69952 fi
69953 fi
69954
69955
69956
69957
69958
69959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69960 $as_echo_n "checking for hypotl declaration... " >&6; }
69961 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69962 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69963 $as_echo_n "(cached) " >&6
69964 else
69965
69966
69967 ac_ext=cpp
69968 ac_cpp='$CXXCPP $CPPFLAGS'
69969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69972
69973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69974 /* end confdefs.h. */
69975 #include <math.h>
69976 int
69977 main ()
69978 {
69979 hypotl(0, 0);
69980 ;
69981 return 0;
69982 }
69983 _ACEOF
69984 if ac_fn_cxx_try_compile "$LINENO"; then :
69985 glibcxx_cv_func_hypotl_use=yes
69986 else
69987 glibcxx_cv_func_hypotl_use=no
69988 fi
69989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69990 ac_ext=c
69991 ac_cpp='$CPP $CPPFLAGS'
69992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69995
69996
69997 fi
69998
69999 fi
70000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70001 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70002
70003 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70004 for ac_func in hypotl
70005 do :
70006 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70007 if test "x$ac_cv_func_hypotl" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define HAVE_HYPOTL 1
70010 _ACEOF
70011
70012 fi
70013 done
70014
70015 else
70016
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70018 $as_echo_n "checking for _hypotl declaration... " >&6; }
70019 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70020 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70021 $as_echo_n "(cached) " >&6
70022 else
70023
70024
70025 ac_ext=cpp
70026 ac_cpp='$CXXCPP $CPPFLAGS'
70027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70030
70031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70032 /* end confdefs.h. */
70033 #include <math.h>
70034 int
70035 main ()
70036 {
70037 _hypotl(0, 0);
70038 ;
70039 return 0;
70040 }
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__hypotl_use=yes
70044 else
70045 glibcxx_cv_func__hypotl_use=no
70046 fi
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053
70054
70055 fi
70056
70057 fi
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70059 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70060
70061 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70062 for ac_func in _hypotl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70065 if test "x$ac_cv_func__hypotl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__HYPOTL 1
70068 _ACEOF
70069
70070 fi
70071 done
70072
70073 fi
70074 fi
70075
70076
70077
70078
70079
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70081 $as_echo_n "checking for ldexpl declaration... " >&6; }
70082 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70083 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70086
70087
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70093
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70097 int
70098 main ()
70099 {
70100 ldexpl(0, 0);
70101 ;
70102 return 0;
70103 }
70104 _ACEOF
70105 if ac_fn_cxx_try_compile "$LINENO"; then :
70106 glibcxx_cv_func_ldexpl_use=yes
70107 else
70108 glibcxx_cv_func_ldexpl_use=no
70109 fi
70110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70111 ac_ext=c
70112 ac_cpp='$CPP $CPPFLAGS'
70113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116
70117
70118 fi
70119
70120 fi
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70122 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70123
70124 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70125 for ac_func in ldexpl
70126 do :
70127 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70128 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70129 cat >>confdefs.h <<_ACEOF
70130 #define HAVE_LDEXPL 1
70131 _ACEOF
70132
70133 fi
70134 done
70135
70136 else
70137
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70139 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70140 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70141 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70142 $as_echo_n "(cached) " >&6
70143 else
70144
70145
70146 ac_ext=cpp
70147 ac_cpp='$CXXCPP $CPPFLAGS'
70148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70151
70152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153 /* end confdefs.h. */
70154 #include <math.h>
70155 int
70156 main ()
70157 {
70158 _ldexpl(0, 0);
70159 ;
70160 return 0;
70161 }
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func__ldexpl_use=yes
70165 else
70166 glibcxx_cv_func__ldexpl_use=no
70167 fi
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70174
70175
70176 fi
70177
70178 fi
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70180 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70181
70182 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70183 for ac_func in _ldexpl
70184 do :
70185 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70186 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE__LDEXPL 1
70189 _ACEOF
70190
70191 fi
70192 done
70193
70194 fi
70195 fi
70196
70197
70198
70199
70200
70201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70202 $as_echo_n "checking for logl declaration... " >&6; }
70203 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70204 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70205 $as_echo_n "(cached) " >&6
70206 else
70207
70208
70209 ac_ext=cpp
70210 ac_cpp='$CXXCPP $CPPFLAGS'
70211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70214
70215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70216 /* end confdefs.h. */
70217 #include <math.h>
70218 #ifdef HAVE_IEEEFP_H
70219 #include <ieeefp.h>
70220 #endif
70221
70222 int
70223 main ()
70224 {
70225 logl(0);
70226 ;
70227 return 0;
70228 }
70229 _ACEOF
70230 if ac_fn_cxx_try_compile "$LINENO"; then :
70231 glibcxx_cv_func_logl_use=yes
70232 else
70233 glibcxx_cv_func_logl_use=no
70234 fi
70235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70236 ac_ext=c
70237 ac_cpp='$CPP $CPPFLAGS'
70238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241
70242
70243 fi
70244
70245 fi
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70247 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70248
70249 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70250 for ac_func in logl
70251 do :
70252 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70253 if test "x$ac_cv_func_logl" = x""yes; then :
70254 cat >>confdefs.h <<_ACEOF
70255 #define HAVE_LOGL 1
70256 _ACEOF
70257
70258 fi
70259 done
70260
70261 else
70262
70263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70264 $as_echo_n "checking for _logl declaration... " >&6; }
70265 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70266 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70267 $as_echo_n "(cached) " >&6
70268 else
70269
70270
70271 ac_ext=cpp
70272 ac_cpp='$CXXCPP $CPPFLAGS'
70273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70276
70277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70278 /* end confdefs.h. */
70279 #include <math.h>
70280 #ifdef HAVE_IEEEFP_H
70281 #include <ieeefp.h>
70282 #endif
70283
70284 int
70285 main ()
70286 {
70287 _logl(0);
70288 ;
70289 return 0;
70290 }
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__logl_use=yes
70294 else
70295 glibcxx_cv_func__logl_use=no
70296 fi
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70303
70304
70305 fi
70306
70307 fi
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70309 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70310
70311 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70312 for ac_func in _logl
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70315 if test "x$ac_cv_func__logl" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__LOGL 1
70318 _ACEOF
70319
70320 fi
70321 done
70322
70323 fi
70324 fi
70325
70326
70327
70328
70329
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70331 $as_echo_n "checking for log10l declaration... " >&6; }
70332 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70333 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70334 $as_echo_n "(cached) " >&6
70335 else
70336
70337
70338 ac_ext=cpp
70339 ac_cpp='$CXXCPP $CPPFLAGS'
70340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70343
70344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70345 /* end confdefs.h. */
70346 #include <math.h>
70347 #ifdef HAVE_IEEEFP_H
70348 #include <ieeefp.h>
70349 #endif
70350
70351 int
70352 main ()
70353 {
70354 log10l(0);
70355 ;
70356 return 0;
70357 }
70358 _ACEOF
70359 if ac_fn_cxx_try_compile "$LINENO"; then :
70360 glibcxx_cv_func_log10l_use=yes
70361 else
70362 glibcxx_cv_func_log10l_use=no
70363 fi
70364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70365 ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70370
70371
70372 fi
70373
70374 fi
70375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70376 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70377
70378 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70379 for ac_func in log10l
70380 do :
70381 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70382 if test "x$ac_cv_func_log10l" = x""yes; then :
70383 cat >>confdefs.h <<_ACEOF
70384 #define HAVE_LOG10L 1
70385 _ACEOF
70386
70387 fi
70388 done
70389
70390 else
70391
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70393 $as_echo_n "checking for _log10l declaration... " >&6; }
70394 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70395 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70396 $as_echo_n "(cached) " >&6
70397 else
70398
70399
70400 ac_ext=cpp
70401 ac_cpp='$CXXCPP $CPPFLAGS'
70402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70405
70406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407 /* end confdefs.h. */
70408 #include <math.h>
70409 #ifdef HAVE_IEEEFP_H
70410 #include <ieeefp.h>
70411 #endif
70412
70413 int
70414 main ()
70415 {
70416 _log10l(0);
70417 ;
70418 return 0;
70419 }
70420 _ACEOF
70421 if ac_fn_cxx_try_compile "$LINENO"; then :
70422 glibcxx_cv_func__log10l_use=yes
70423 else
70424 glibcxx_cv_func__log10l_use=no
70425 fi
70426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70427 ac_ext=c
70428 ac_cpp='$CPP $CPPFLAGS'
70429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70432
70433
70434 fi
70435
70436 fi
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70438 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70439
70440 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70441 for ac_func in _log10l
70442 do :
70443 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70444 if test "x$ac_cv_func__log10l" = x""yes; then :
70445 cat >>confdefs.h <<_ACEOF
70446 #define HAVE__LOG10L 1
70447 _ACEOF
70448
70449 fi
70450 done
70451
70452 fi
70453 fi
70454
70455
70456
70457
70458
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70460 $as_echo_n "checking for modfl declaration... " >&6; }
70461 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70462 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70463 $as_echo_n "(cached) " >&6
70464 else
70465
70466
70467 ac_ext=cpp
70468 ac_cpp='$CXXCPP $CPPFLAGS'
70469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70472
70473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70474 /* end confdefs.h. */
70475 #include <math.h>
70476 int
70477 main ()
70478 {
70479 modfl(0, 0);
70480 ;
70481 return 0;
70482 }
70483 _ACEOF
70484 if ac_fn_cxx_try_compile "$LINENO"; then :
70485 glibcxx_cv_func_modfl_use=yes
70486 else
70487 glibcxx_cv_func_modfl_use=no
70488 fi
70489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70490 ac_ext=c
70491 ac_cpp='$CPP $CPPFLAGS'
70492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70495
70496
70497 fi
70498
70499 fi
70500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70501 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70502
70503 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70504 for ac_func in modfl
70505 do :
70506 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70507 if test "x$ac_cv_func_modfl" = x""yes; then :
70508 cat >>confdefs.h <<_ACEOF
70509 #define HAVE_MODFL 1
70510 _ACEOF
70511
70512 fi
70513 done
70514
70515 else
70516
70517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70518 $as_echo_n "checking for _modfl declaration... " >&6; }
70519 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70520 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70521 $as_echo_n "(cached) " >&6
70522 else
70523
70524
70525 ac_ext=cpp
70526 ac_cpp='$CXXCPP $CPPFLAGS'
70527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70530
70531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70532 /* end confdefs.h. */
70533 #include <math.h>
70534 int
70535 main ()
70536 {
70537 _modfl(0, 0);
70538 ;
70539 return 0;
70540 }
70541 _ACEOF
70542 if ac_fn_cxx_try_compile "$LINENO"; then :
70543 glibcxx_cv_func__modfl_use=yes
70544 else
70545 glibcxx_cv_func__modfl_use=no
70546 fi
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70553
70554
70555 fi
70556
70557 fi
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70559 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70560
70561 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70562 for ac_func in _modfl
70563 do :
70564 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70565 if test "x$ac_cv_func__modfl" = x""yes; then :
70566 cat >>confdefs.h <<_ACEOF
70567 #define HAVE__MODFL 1
70568 _ACEOF
70569
70570 fi
70571 done
70572
70573 fi
70574 fi
70575
70576
70577
70578
70579
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70581 $as_echo_n "checking for powl declaration... " >&6; }
70582 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70583 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70584 $as_echo_n "(cached) " >&6
70585 else
70586
70587
70588 ac_ext=cpp
70589 ac_cpp='$CXXCPP $CPPFLAGS'
70590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70593
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70596 #include <math.h>
70597 int
70598 main ()
70599 {
70600 powl(0, 0);
70601 ;
70602 return 0;
70603 }
70604 _ACEOF
70605 if ac_fn_cxx_try_compile "$LINENO"; then :
70606 glibcxx_cv_func_powl_use=yes
70607 else
70608 glibcxx_cv_func_powl_use=no
70609 fi
70610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70611 ac_ext=c
70612 ac_cpp='$CPP $CPPFLAGS'
70613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70616
70617
70618 fi
70619
70620 fi
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70622 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70623
70624 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70625 for ac_func in powl
70626 do :
70627 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70628 if test "x$ac_cv_func_powl" = x""yes; then :
70629 cat >>confdefs.h <<_ACEOF
70630 #define HAVE_POWL 1
70631 _ACEOF
70632
70633 fi
70634 done
70635
70636 else
70637
70638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70639 $as_echo_n "checking for _powl declaration... " >&6; }
70640 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70641 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70642 $as_echo_n "(cached) " >&6
70643 else
70644
70645
70646 ac_ext=cpp
70647 ac_cpp='$CXXCPP $CPPFLAGS'
70648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70651
70652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70653 /* end confdefs.h. */
70654 #include <math.h>
70655 int
70656 main ()
70657 {
70658 _powl(0, 0);
70659 ;
70660 return 0;
70661 }
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__powl_use=yes
70665 else
70666 glibcxx_cv_func__powl_use=no
70667 fi
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70674
70675
70676 fi
70677
70678 fi
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70680 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70681
70682 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70683 for ac_func in _powl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70686 if test "x$ac_cv_func__powl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__POWL 1
70689 _ACEOF
70690
70691 fi
70692 done
70693
70694 fi
70695 fi
70696
70697
70698
70699
70700
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70702 $as_echo_n "checking for sqrtl declaration... " >&6; }
70703 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70704 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70707
70708
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70714
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70721
70722 int
70723 main ()
70724 {
70725 sqrtl(0);
70726 ;
70727 return 0;
70728 }
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_sqrtl_use=yes
70732 else
70733 glibcxx_cv_func_sqrtl_use=no
70734 fi
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70741
70742
70743 fi
70744
70745 fi
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70747 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70748
70749 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70750 for ac_func in sqrtl
70751 do :
70752 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70753 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_SQRTL 1
70756 _ACEOF
70757
70758 fi
70759 done
70760
70761 else
70762
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70764 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70765 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70766 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70769
70770
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70776
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70783
70784 int
70785 main ()
70786 {
70787 _sqrtl(0);
70788 ;
70789 return 0;
70790 }
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__sqrtl_use=yes
70794 else
70795 glibcxx_cv_func__sqrtl_use=no
70796 fi
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70803
70804
70805 fi
70806
70807 fi
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70809 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70810
70811 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70812 for ac_func in _sqrtl
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70815 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__SQRTL 1
70818 _ACEOF
70819
70820 fi
70821 done
70822
70823 fi
70824 fi
70825
70826
70827
70828
70829
70830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70831 $as_echo_n "checking for sincosl declaration... " >&6; }
70832 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70833 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70836
70837
70838 ac_ext=cpp
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70843
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70846 #include <math.h>
70847 int
70848 main ()
70849 {
70850 sincosl(0, 0, 0);
70851 ;
70852 return 0;
70853 }
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_sincosl_use=yes
70857 else
70858 glibcxx_cv_func_sincosl_use=no
70859 fi
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70866
70867
70868 fi
70869
70870 fi
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70872 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70873
70874 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70875 for ac_func in sincosl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70878 if test "x$ac_cv_func_sincosl" = x""yes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_SINCOSL 1
70881 _ACEOF
70882
70883 fi
70884 done
70885
70886 else
70887
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70889 $as_echo_n "checking for _sincosl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70891 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70894
70895
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70901
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70905 int
70906 main ()
70907 {
70908 _sincosl(0, 0, 0);
70909 ;
70910 return 0;
70911 }
70912 _ACEOF
70913 if ac_fn_cxx_try_compile "$LINENO"; then :
70914 glibcxx_cv_func__sincosl_use=yes
70915 else
70916 glibcxx_cv_func__sincosl_use=no
70917 fi
70918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70919 ac_ext=c
70920 ac_cpp='$CPP $CPPFLAGS'
70921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70924
70925
70926 fi
70927
70928 fi
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70930 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70931
70932 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70933 for ac_func in _sincosl
70934 do :
70935 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70936 if test "x$ac_cv_func__sincosl" = x""yes; then :
70937 cat >>confdefs.h <<_ACEOF
70938 #define HAVE__SINCOSL 1
70939 _ACEOF
70940
70941 fi
70942 done
70943
70944 fi
70945 fi
70946
70947
70948
70949
70950
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70952 $as_echo_n "checking for finitel declaration... " >&6; }
70953 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70954 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70957
70958
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70964
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70968 #ifdef HAVE_IEEEFP_H
70969 #include <ieeefp.h>
70970 #endif
70971
70972 int
70973 main ()
70974 {
70975 finitel(0);
70976 ;
70977 return 0;
70978 }
70979 _ACEOF
70980 if ac_fn_cxx_try_compile "$LINENO"; then :
70981 glibcxx_cv_func_finitel_use=yes
70982 else
70983 glibcxx_cv_func_finitel_use=no
70984 fi
70985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70986 ac_ext=c
70987 ac_cpp='$CPP $CPPFLAGS'
70988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70991
70992
70993 fi
70994
70995 fi
70996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70997 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70998
70999 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71000 for ac_func in finitel
71001 do :
71002 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71003 if test "x$ac_cv_func_finitel" = x""yes; then :
71004 cat >>confdefs.h <<_ACEOF
71005 #define HAVE_FINITEL 1
71006 _ACEOF
71007
71008 fi
71009 done
71010
71011 else
71012
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71014 $as_echo_n "checking for _finitel declaration... " >&6; }
71015 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71016 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71017 $as_echo_n "(cached) " >&6
71018 else
71019
71020
71021 ac_ext=cpp
71022 ac_cpp='$CXXCPP $CPPFLAGS'
71023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71026
71027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71028 /* end confdefs.h. */
71029 #include <math.h>
71030 #ifdef HAVE_IEEEFP_H
71031 #include <ieeefp.h>
71032 #endif
71033
71034 int
71035 main ()
71036 {
71037 _finitel(0);
71038 ;
71039 return 0;
71040 }
71041 _ACEOF
71042 if ac_fn_cxx_try_compile "$LINENO"; then :
71043 glibcxx_cv_func__finitel_use=yes
71044 else
71045 glibcxx_cv_func__finitel_use=no
71046 fi
71047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71048 ac_ext=c
71049 ac_cpp='$CPP $CPPFLAGS'
71050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71053
71054
71055 fi
71056
71057 fi
71058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71059 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71060
71061 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71062 for ac_func in _finitel
71063 do :
71064 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71065 if test "x$ac_cv_func__finitel" = x""yes; then :
71066 cat >>confdefs.h <<_ACEOF
71067 #define HAVE__FINITEL 1
71068 _ACEOF
71069
71070 fi
71071 done
71072
71073 fi
71074 fi
71075
71076
71077
71078
71079 LIBS="$ac_save_LIBS"
71080 CXXFLAGS="$ac_save_CXXFLAGS"
71081
71082
71083 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71084 ac_save_CXXFLAGS="$CXXFLAGS"
71085 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71086
71087
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71089 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71090 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71091 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71092 $as_echo_n "(cached) " >&6
71093 else
71094
71095
71096 ac_ext=cpp
71097 ac_cpp='$CXXCPP $CPPFLAGS'
71098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71101
71102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71103 /* end confdefs.h. */
71104 #include <stdlib.h>
71105 int
71106 main ()
71107 {
71108 at_quick_exit(0);
71109 ;
71110 return 0;
71111 }
71112 _ACEOF
71113 if ac_fn_cxx_try_compile "$LINENO"; then :
71114 glibcxx_cv_func_at_quick_exit_use=yes
71115 else
71116 glibcxx_cv_func_at_quick_exit_use=no
71117 fi
71118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71124
71125
71126 fi
71127
71128 fi
71129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71130 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71131 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71132 for ac_func in at_quick_exit
71133 do :
71134 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71135 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71136 cat >>confdefs.h <<_ACEOF
71137 #define HAVE_AT_QUICK_EXIT 1
71138 _ACEOF
71139
71140 fi
71141 done
71142
71143 fi
71144
71145
71146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71147 $as_echo_n "checking for quick_exit declaration... " >&6; }
71148 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71149 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71150 $as_echo_n "(cached) " >&6
71151 else
71152
71153
71154 ac_ext=cpp
71155 ac_cpp='$CXXCPP $CPPFLAGS'
71156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71159
71160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71161 /* end confdefs.h. */
71162 #include <stdlib.h>
71163 int
71164 main ()
71165 {
71166 quick_exit(0);
71167 ;
71168 return 0;
71169 }
71170 _ACEOF
71171 if ac_fn_cxx_try_compile "$LINENO"; then :
71172 glibcxx_cv_func_quick_exit_use=yes
71173 else
71174 glibcxx_cv_func_quick_exit_use=no
71175 fi
71176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71177 ac_ext=c
71178 ac_cpp='$CPP $CPPFLAGS'
71179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71182
71183
71184 fi
71185
71186 fi
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71188 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71189 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71190 for ac_func in quick_exit
71191 do :
71192 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71193 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71194 cat >>confdefs.h <<_ACEOF
71195 #define HAVE_QUICK_EXIT 1
71196 _ACEOF
71197
71198 fi
71199 done
71200
71201 fi
71202
71203
71204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71205 $as_echo_n "checking for strtold declaration... " >&6; }
71206 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71207 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71208 $as_echo_n "(cached) " >&6
71209 else
71210
71211
71212 ac_ext=cpp
71213 ac_cpp='$CXXCPP $CPPFLAGS'
71214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71217
71218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71219 /* end confdefs.h. */
71220 #include <stdlib.h>
71221 int
71222 main ()
71223 {
71224 strtold(0, 0);
71225 ;
71226 return 0;
71227 }
71228 _ACEOF
71229 if ac_fn_cxx_try_compile "$LINENO"; then :
71230 glibcxx_cv_func_strtold_use=yes
71231 else
71232 glibcxx_cv_func_strtold_use=no
71233 fi
71234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71235 ac_ext=c
71236 ac_cpp='$CPP $CPPFLAGS'
71237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71240
71241
71242 fi
71243
71244 fi
71245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71246 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71247 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71248 for ac_func in strtold
71249 do :
71250 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71251 if test "x$ac_cv_func_strtold" = x""yes; then :
71252 cat >>confdefs.h <<_ACEOF
71253 #define HAVE_STRTOLD 1
71254 _ACEOF
71255
71256 fi
71257 done
71258
71259 fi
71260
71261
71262
71263
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71265 $as_echo_n "checking for strtof declaration... " >&6; }
71266 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71267 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71268 $as_echo_n "(cached) " >&6
71269 else
71270
71271
71272 ac_ext=cpp
71273 ac_cpp='$CXXCPP $CPPFLAGS'
71274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71277
71278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71279 /* end confdefs.h. */
71280 #include <stdlib.h>
71281 int
71282 main ()
71283 {
71284 strtof(0, 0);
71285 ;
71286 return 0;
71287 }
71288 _ACEOF
71289 if ac_fn_cxx_try_compile "$LINENO"; then :
71290 glibcxx_cv_func_strtof_use=yes
71291 else
71292 glibcxx_cv_func_strtof_use=no
71293 fi
71294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71295 ac_ext=c
71296 ac_cpp='$CPP $CPPFLAGS'
71297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71300
71301
71302 fi
71303
71304 fi
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71306 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71307 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71308 for ac_func in strtof
71309 do :
71310 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71311 if test "x$ac_cv_func_strtof" = x""yes; then :
71312 cat >>confdefs.h <<_ACEOF
71313 #define HAVE_STRTOF 1
71314 _ACEOF
71315
71316 fi
71317 done
71318
71319 fi
71320
71321
71322
71323
71324 CXXFLAGS="$ac_save_CXXFLAGS"
71325
71326 ;;
71327 *-solaris*)
71328
71329 # If we're not using GNU ld, then there's no point in even trying these
71330 # tests. Check for that first. We should have already tested for gld
71331 # by now (in libtool), but require it now just to be safe...
71332 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71333 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71334
71335
71336
71337 # The name set by libtool depends on the version of libtool. Shame on us
71338 # for depending on an impl detail, but c'est la vie. Older versions used
71339 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71340 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71341 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71342 # set (hence we're using an older libtool), then set it.
71343 if test x${with_gnu_ld+set} != xset; then
71344 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71345 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71346 with_gnu_ld=no
71347 else
71348 with_gnu_ld=$ac_cv_prog_gnu_ld
71349 fi
71350 fi
71351
71352 # Start by getting the version number. I think the libtool test already
71353 # does some of this, but throws away the result.
71354 glibcxx_ld_is_gold=no
71355 if test x"$with_gnu_ld" = x"yes"; then
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71357 $as_echo_n "checking for ld version... " >&6; }
71358
71359 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71360 glibcxx_ld_is_gold=yes
71361 fi
71362 ldver=`$LD --version 2>/dev/null |
71363 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'`
71364
71365 glibcxx_gnu_ld_version=`echo $ldver | \
71366 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71368 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71369 fi
71370
71371 # Set --gc-sections.
71372 glibcxx_have_gc_sections=no
71373 if test "$glibcxx_ld_is_gold" = "yes"; then
71374 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71375 glibcxx_have_gc_sections=yes
71376 fi
71377 else
71378 glibcxx_gcsections_min_ld=21602
71379 if test x"$with_gnu_ld" = x"yes" &&
71380 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71381 glibcxx_have_gc_sections=yes
71382 fi
71383 fi
71384 if test "$glibcxx_have_gc_sections" = "yes"; then
71385 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71386 # NB: This flag only works reliably after 2.16.1. Configure tests
71387 # for this are difficult, so hard wire a value that should work.
71388
71389 ac_test_CFLAGS="${CFLAGS+set}"
71390 ac_save_CFLAGS="$CFLAGS"
71391 CFLAGS='-Wl,--gc-sections'
71392
71393 # Check for -Wl,--gc-sections
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71395 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71396 if test x$gcc_no_link = xyes; then
71397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71398 fi
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 int one(void) { return 1; }
71402 int two(void) { return 2; }
71403
71404 int
71405 main ()
71406 {
71407 two();
71408 ;
71409 return 0;
71410 }
71411 _ACEOF
71412 if ac_fn_c_try_link "$LINENO"; then :
71413 ac_gcsections=yes
71414 else
71415 ac_gcsections=no
71416 fi
71417 rm -f core conftest.err conftest.$ac_objext \
71418 conftest$ac_exeext conftest.$ac_ext
71419 if test "$ac_gcsections" = "yes"; then
71420 rm -f conftest.c
71421 touch conftest.c
71422 if $CC -c conftest.c; then
71423 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71424 grep "Warning: gc-sections option ignored" > /dev/null; then
71425 ac_gcsections=no
71426 fi
71427 fi
71428 rm -f conftest.c conftest.o conftest
71429 fi
71430 if test "$ac_gcsections" = "yes"; then
71431 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71432 fi
71433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71434 $as_echo "$ac_gcsections" >&6; }
71435
71436 if test "$ac_test_CFLAGS" = set; then
71437 CFLAGS="$ac_save_CFLAGS"
71438 else
71439 # this is the suspicious part
71440 CFLAGS=''
71441 fi
71442 fi
71443
71444 # Set -z,relro.
71445 # Note this is only for shared objects.
71446 ac_ld_relro=no
71447 if test x"$with_gnu_ld" = x"yes"; then
71448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71449 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71450 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71451 if test -n "$cxx_z_relo"; then
71452 OPT_LDFLAGS="-Wl,-z,relro"
71453 ac_ld_relro=yes
71454 fi
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71456 $as_echo "$ac_ld_relro" >&6; }
71457 fi
71458
71459 # Set linker optimization flags.
71460 if test x"$with_gnu_ld" = x"yes"; then
71461 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71462 fi
71463
71464
71465
71466
71467 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71468
71469 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71470
71471 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71472
71473 # All of the dependencies for wide character support are here, so
71474 # turn it on.
71475 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71476
71477 # These two C99 functions are present only in Solaris >= 10
71478 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71479
71480 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71481
71482 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71483
71484 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71485
71486 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71487
71488 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71489
71490 ;;
71491 *-tpf)
71492 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71493 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71494
71495 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71496
71497 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71498
71499 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71500
71501 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71502
71503 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71504
71505 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71506
71507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71508
71509 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71510
71511 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71512
71513 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71514
71515 if test x"long_double_math_on_this_cpu" = x"yes"; then
71516 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71517
71518 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71519
71520 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71521
71522 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71523
71524 fi
71525 ;;
71526 *-*vms*)
71527 # Check for available headers.
71528 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71529
71530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71531 ac_save_CXXFLAGS="$CXXFLAGS"
71532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71533
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71535 $as_echo_n "checking for sin in -lm... " >&6; }
71536 if test "${ac_cv_lib_m_sin+set}" = set; then :
71537 $as_echo_n "(cached) " >&6
71538 else
71539 ac_check_lib_save_LIBS=$LIBS
71540 LIBS="-lm $LIBS"
71541 if test x$gcc_no_link = xyes; then
71542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71543 fi
71544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71545 /* end confdefs.h. */
71546
71547 /* Override any GCC internal prototype to avoid an error.
71548 Use char because int might match the return type of a GCC
71549 builtin and then its argument prototype would still apply. */
71550 #ifdef __cplusplus
71551 extern "C"
71552 #endif
71553 char sin ();
71554 int
71555 main ()
71556 {
71557 return sin ();
71558 ;
71559 return 0;
71560 }
71561 _ACEOF
71562 if ac_fn_c_try_link "$LINENO"; then :
71563 ac_cv_lib_m_sin=yes
71564 else
71565 ac_cv_lib_m_sin=no
71566 fi
71567 rm -f core conftest.err conftest.$ac_objext \
71568 conftest$ac_exeext conftest.$ac_ext
71569 LIBS=$ac_check_lib_save_LIBS
71570 fi
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71572 $as_echo "$ac_cv_lib_m_sin" >&6; }
71573 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71574 libm="-lm"
71575 fi
71576
71577 ac_save_LIBS="$LIBS"
71578 LIBS="$LIBS $libm"
71579
71580
71581
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71583 $as_echo_n "checking for isinf declaration... " >&6; }
71584 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71585 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71586 $as_echo_n "(cached) " >&6
71587 else
71588
71589
71590 ac_ext=cpp
71591 ac_cpp='$CXXCPP $CPPFLAGS'
71592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71595
71596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71597 /* end confdefs.h. */
71598 #include <math.h>
71599 #ifdef HAVE_IEEEFP_H
71600 #include <ieeefp.h>
71601 #endif
71602
71603 int
71604 main ()
71605 {
71606 isinf(0);
71607 ;
71608 return 0;
71609 }
71610 _ACEOF
71611 if ac_fn_cxx_try_compile "$LINENO"; then :
71612 glibcxx_cv_func_isinf_use=yes
71613 else
71614 glibcxx_cv_func_isinf_use=no
71615 fi
71616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71617 ac_ext=c
71618 ac_cpp='$CPP $CPPFLAGS'
71619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71622
71623
71624 fi
71625
71626 fi
71627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71628 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71629
71630 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71631 for ac_func in isinf
71632 do :
71633 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71634 if test "x$ac_cv_func_isinf" = x""yes; then :
71635 cat >>confdefs.h <<_ACEOF
71636 #define HAVE_ISINF 1
71637 _ACEOF
71638
71639 fi
71640 done
71641
71642 else
71643
71644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71645 $as_echo_n "checking for _isinf declaration... " >&6; }
71646 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71647 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71648 $as_echo_n "(cached) " >&6
71649 else
71650
71651
71652 ac_ext=cpp
71653 ac_cpp='$CXXCPP $CPPFLAGS'
71654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71657
71658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71659 /* end confdefs.h. */
71660 #include <math.h>
71661 #ifdef HAVE_IEEEFP_H
71662 #include <ieeefp.h>
71663 #endif
71664
71665 int
71666 main ()
71667 {
71668 _isinf(0);
71669 ;
71670 return 0;
71671 }
71672 _ACEOF
71673 if ac_fn_cxx_try_compile "$LINENO"; then :
71674 glibcxx_cv_func__isinf_use=yes
71675 else
71676 glibcxx_cv_func__isinf_use=no
71677 fi
71678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71679 ac_ext=c
71680 ac_cpp='$CPP $CPPFLAGS'
71681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71684
71685
71686 fi
71687
71688 fi
71689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71690 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71691
71692 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71693 for ac_func in _isinf
71694 do :
71695 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71696 if test "x$ac_cv_func__isinf" = x""yes; then :
71697 cat >>confdefs.h <<_ACEOF
71698 #define HAVE__ISINF 1
71699 _ACEOF
71700
71701 fi
71702 done
71703
71704 fi
71705 fi
71706
71707
71708
71709
71710
71711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71712 $as_echo_n "checking for isnan declaration... " >&6; }
71713 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71714 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71715 $as_echo_n "(cached) " >&6
71716 else
71717
71718
71719 ac_ext=cpp
71720 ac_cpp='$CXXCPP $CPPFLAGS'
71721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71724
71725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71726 /* end confdefs.h. */
71727 #include <math.h>
71728 #ifdef HAVE_IEEEFP_H
71729 #include <ieeefp.h>
71730 #endif
71731
71732 int
71733 main ()
71734 {
71735 isnan(0);
71736 ;
71737 return 0;
71738 }
71739 _ACEOF
71740 if ac_fn_cxx_try_compile "$LINENO"; then :
71741 glibcxx_cv_func_isnan_use=yes
71742 else
71743 glibcxx_cv_func_isnan_use=no
71744 fi
71745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71746 ac_ext=c
71747 ac_cpp='$CPP $CPPFLAGS'
71748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71751
71752
71753 fi
71754
71755 fi
71756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71757 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71758
71759 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71760 for ac_func in isnan
71761 do :
71762 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71763 if test "x$ac_cv_func_isnan" = x""yes; then :
71764 cat >>confdefs.h <<_ACEOF
71765 #define HAVE_ISNAN 1
71766 _ACEOF
71767
71768 fi
71769 done
71770
71771 else
71772
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71774 $as_echo_n "checking for _isnan declaration... " >&6; }
71775 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71776 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71777 $as_echo_n "(cached) " >&6
71778 else
71779
71780
71781 ac_ext=cpp
71782 ac_cpp='$CXXCPP $CPPFLAGS'
71783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71786
71787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h. */
71789 #include <math.h>
71790 #ifdef HAVE_IEEEFP_H
71791 #include <ieeefp.h>
71792 #endif
71793
71794 int
71795 main ()
71796 {
71797 _isnan(0);
71798 ;
71799 return 0;
71800 }
71801 _ACEOF
71802 if ac_fn_cxx_try_compile "$LINENO"; then :
71803 glibcxx_cv_func__isnan_use=yes
71804 else
71805 glibcxx_cv_func__isnan_use=no
71806 fi
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 ac_ext=c
71809 ac_cpp='$CPP $CPPFLAGS'
71810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71813
71814
71815 fi
71816
71817 fi
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71819 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71820
71821 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71822 for ac_func in _isnan
71823 do :
71824 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71825 if test "x$ac_cv_func__isnan" = x""yes; then :
71826 cat >>confdefs.h <<_ACEOF
71827 #define HAVE__ISNAN 1
71828 _ACEOF
71829
71830 fi
71831 done
71832
71833 fi
71834 fi
71835
71836
71837
71838
71839
71840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71841 $as_echo_n "checking for finite declaration... " >&6; }
71842 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71843 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71844 $as_echo_n "(cached) " >&6
71845 else
71846
71847
71848 ac_ext=cpp
71849 ac_cpp='$CXXCPP $CPPFLAGS'
71850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71853
71854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71855 /* end confdefs.h. */
71856 #include <math.h>
71857 #ifdef HAVE_IEEEFP_H
71858 #include <ieeefp.h>
71859 #endif
71860
71861 int
71862 main ()
71863 {
71864 finite(0);
71865 ;
71866 return 0;
71867 }
71868 _ACEOF
71869 if ac_fn_cxx_try_compile "$LINENO"; then :
71870 glibcxx_cv_func_finite_use=yes
71871 else
71872 glibcxx_cv_func_finite_use=no
71873 fi
71874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71875 ac_ext=c
71876 ac_cpp='$CPP $CPPFLAGS'
71877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71880
71881
71882 fi
71883
71884 fi
71885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71886 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71887
71888 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71889 for ac_func in finite
71890 do :
71891 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71892 if test "x$ac_cv_func_finite" = x""yes; then :
71893 cat >>confdefs.h <<_ACEOF
71894 #define HAVE_FINITE 1
71895 _ACEOF
71896
71897 fi
71898 done
71899
71900 else
71901
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71903 $as_echo_n "checking for _finite declaration... " >&6; }
71904 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71905 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71906 $as_echo_n "(cached) " >&6
71907 else
71908
71909
71910 ac_ext=cpp
71911 ac_cpp='$CXXCPP $CPPFLAGS'
71912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71915
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 #ifdef HAVE_IEEEFP_H
71920 #include <ieeefp.h>
71921 #endif
71922
71923 int
71924 main ()
71925 {
71926 _finite(0);
71927 ;
71928 return 0;
71929 }
71930 _ACEOF
71931 if ac_fn_cxx_try_compile "$LINENO"; then :
71932 glibcxx_cv_func__finite_use=yes
71933 else
71934 glibcxx_cv_func__finite_use=no
71935 fi
71936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71937 ac_ext=c
71938 ac_cpp='$CPP $CPPFLAGS'
71939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71942
71943
71944 fi
71945
71946 fi
71947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71948 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71949
71950 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71951 for ac_func in _finite
71952 do :
71953 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71954 if test "x$ac_cv_func__finite" = x""yes; then :
71955 cat >>confdefs.h <<_ACEOF
71956 #define HAVE__FINITE 1
71957 _ACEOF
71958
71959 fi
71960 done
71961
71962 fi
71963 fi
71964
71965
71966
71967
71968
71969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71970 $as_echo_n "checking for sincos declaration... " >&6; }
71971 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71972 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71973 $as_echo_n "(cached) " >&6
71974 else
71975
71976
71977 ac_ext=cpp
71978 ac_cpp='$CXXCPP $CPPFLAGS'
71979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71982
71983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71984 /* end confdefs.h. */
71985 #include <math.h>
71986 int
71987 main ()
71988 {
71989 sincos(0, 0, 0);
71990 ;
71991 return 0;
71992 }
71993 _ACEOF
71994 if ac_fn_cxx_try_compile "$LINENO"; then :
71995 glibcxx_cv_func_sincos_use=yes
71996 else
71997 glibcxx_cv_func_sincos_use=no
71998 fi
71999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72000 ac_ext=c
72001 ac_cpp='$CPP $CPPFLAGS'
72002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72005
72006
72007 fi
72008
72009 fi
72010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72011 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72012
72013 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72014 for ac_func in sincos
72015 do :
72016 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72017 if test "x$ac_cv_func_sincos" = x""yes; then :
72018 cat >>confdefs.h <<_ACEOF
72019 #define HAVE_SINCOS 1
72020 _ACEOF
72021
72022 fi
72023 done
72024
72025 else
72026
72027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72028 $as_echo_n "checking for _sincos declaration... " >&6; }
72029 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72030 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72031 $as_echo_n "(cached) " >&6
72032 else
72033
72034
72035 ac_ext=cpp
72036 ac_cpp='$CXXCPP $CPPFLAGS'
72037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72040
72041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72042 /* end confdefs.h. */
72043 #include <math.h>
72044 int
72045 main ()
72046 {
72047 _sincos(0, 0, 0);
72048 ;
72049 return 0;
72050 }
72051 _ACEOF
72052 if ac_fn_cxx_try_compile "$LINENO"; then :
72053 glibcxx_cv_func__sincos_use=yes
72054 else
72055 glibcxx_cv_func__sincos_use=no
72056 fi
72057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72058 ac_ext=c
72059 ac_cpp='$CPP $CPPFLAGS'
72060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72063
72064
72065 fi
72066
72067 fi
72068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72069 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72070
72071 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72072 for ac_func in _sincos
72073 do :
72074 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72075 if test "x$ac_cv_func__sincos" = x""yes; then :
72076 cat >>confdefs.h <<_ACEOF
72077 #define HAVE__SINCOS 1
72078 _ACEOF
72079
72080 fi
72081 done
72082
72083 fi
72084 fi
72085
72086
72087
72088
72089
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72091 $as_echo_n "checking for fpclass declaration... " >&6; }
72092 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72093 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72094 $as_echo_n "(cached) " >&6
72095 else
72096
72097
72098 ac_ext=cpp
72099 ac_cpp='$CXXCPP $CPPFLAGS'
72100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72103
72104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72105 /* end confdefs.h. */
72106 #include <math.h>
72107 #ifdef HAVE_IEEEFP_H
72108 #include <ieeefp.h>
72109 #endif
72110
72111 int
72112 main ()
72113 {
72114 fpclass(0);
72115 ;
72116 return 0;
72117 }
72118 _ACEOF
72119 if ac_fn_cxx_try_compile "$LINENO"; then :
72120 glibcxx_cv_func_fpclass_use=yes
72121 else
72122 glibcxx_cv_func_fpclass_use=no
72123 fi
72124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72125 ac_ext=c
72126 ac_cpp='$CPP $CPPFLAGS'
72127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72130
72131
72132 fi
72133
72134 fi
72135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72136 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72137
72138 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72139 for ac_func in fpclass
72140 do :
72141 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72142 if test "x$ac_cv_func_fpclass" = x""yes; then :
72143 cat >>confdefs.h <<_ACEOF
72144 #define HAVE_FPCLASS 1
72145 _ACEOF
72146
72147 fi
72148 done
72149
72150 else
72151
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72153 $as_echo_n "checking for _fpclass declaration... " >&6; }
72154 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72155 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72156 $as_echo_n "(cached) " >&6
72157 else
72158
72159
72160 ac_ext=cpp
72161 ac_cpp='$CXXCPP $CPPFLAGS'
72162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72165
72166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72167 /* end confdefs.h. */
72168 #include <math.h>
72169 #ifdef HAVE_IEEEFP_H
72170 #include <ieeefp.h>
72171 #endif
72172
72173 int
72174 main ()
72175 {
72176 _fpclass(0);
72177 ;
72178 return 0;
72179 }
72180 _ACEOF
72181 if ac_fn_cxx_try_compile "$LINENO"; then :
72182 glibcxx_cv_func__fpclass_use=yes
72183 else
72184 glibcxx_cv_func__fpclass_use=no
72185 fi
72186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72187 ac_ext=c
72188 ac_cpp='$CPP $CPPFLAGS'
72189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72192
72193
72194 fi
72195
72196 fi
72197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72198 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72199
72200 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72201 for ac_func in _fpclass
72202 do :
72203 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72204 if test "x$ac_cv_func__fpclass" = x""yes; then :
72205 cat >>confdefs.h <<_ACEOF
72206 #define HAVE__FPCLASS 1
72207 _ACEOF
72208
72209 fi
72210 done
72211
72212 fi
72213 fi
72214
72215
72216
72217
72218
72219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72220 $as_echo_n "checking for qfpclass declaration... " >&6; }
72221 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72222 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72223 $as_echo_n "(cached) " >&6
72224 else
72225
72226
72227 ac_ext=cpp
72228 ac_cpp='$CXXCPP $CPPFLAGS'
72229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72232
72233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72234 /* end confdefs.h. */
72235 #include <math.h>
72236 #ifdef HAVE_IEEEFP_H
72237 #include <ieeefp.h>
72238 #endif
72239
72240 int
72241 main ()
72242 {
72243 qfpclass(0);
72244 ;
72245 return 0;
72246 }
72247 _ACEOF
72248 if ac_fn_cxx_try_compile "$LINENO"; then :
72249 glibcxx_cv_func_qfpclass_use=yes
72250 else
72251 glibcxx_cv_func_qfpclass_use=no
72252 fi
72253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72254 ac_ext=c
72255 ac_cpp='$CPP $CPPFLAGS'
72256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72259
72260
72261 fi
72262
72263 fi
72264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72265 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72266
72267 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72268 for ac_func in qfpclass
72269 do :
72270 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72271 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72272 cat >>confdefs.h <<_ACEOF
72273 #define HAVE_QFPCLASS 1
72274 _ACEOF
72275
72276 fi
72277 done
72278
72279 else
72280
72281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72282 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72283 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72284 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72285 $as_echo_n "(cached) " >&6
72286 else
72287
72288
72289 ac_ext=cpp
72290 ac_cpp='$CXXCPP $CPPFLAGS'
72291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72294
72295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72296 /* end confdefs.h. */
72297 #include <math.h>
72298 #ifdef HAVE_IEEEFP_H
72299 #include <ieeefp.h>
72300 #endif
72301
72302 int
72303 main ()
72304 {
72305 _qfpclass(0);
72306 ;
72307 return 0;
72308 }
72309 _ACEOF
72310 if ac_fn_cxx_try_compile "$LINENO"; then :
72311 glibcxx_cv_func__qfpclass_use=yes
72312 else
72313 glibcxx_cv_func__qfpclass_use=no
72314 fi
72315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72316 ac_ext=c
72317 ac_cpp='$CPP $CPPFLAGS'
72318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72321
72322
72323 fi
72324
72325 fi
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72327 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72328
72329 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72330 for ac_func in _qfpclass
72331 do :
72332 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72333 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72334 cat >>confdefs.h <<_ACEOF
72335 #define HAVE__QFPCLASS 1
72336 _ACEOF
72337
72338 fi
72339 done
72340
72341 fi
72342 fi
72343
72344
72345
72346
72347
72348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72349 $as_echo_n "checking for hypot declaration... " >&6; }
72350 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72351 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72352 $as_echo_n "(cached) " >&6
72353 else
72354
72355
72356 ac_ext=cpp
72357 ac_cpp='$CXXCPP $CPPFLAGS'
72358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72361
72362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72363 /* end confdefs.h. */
72364 #include <math.h>
72365 int
72366 main ()
72367 {
72368 hypot(0, 0);
72369 ;
72370 return 0;
72371 }
72372 _ACEOF
72373 if ac_fn_cxx_try_compile "$LINENO"; then :
72374 glibcxx_cv_func_hypot_use=yes
72375 else
72376 glibcxx_cv_func_hypot_use=no
72377 fi
72378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72379 ac_ext=c
72380 ac_cpp='$CPP $CPPFLAGS'
72381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72384
72385
72386 fi
72387
72388 fi
72389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72390 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72391
72392 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72393 for ac_func in hypot
72394 do :
72395 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72396 if test "x$ac_cv_func_hypot" = x""yes; then :
72397 cat >>confdefs.h <<_ACEOF
72398 #define HAVE_HYPOT 1
72399 _ACEOF
72400
72401 fi
72402 done
72403
72404 else
72405
72406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72407 $as_echo_n "checking for _hypot declaration... " >&6; }
72408 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72409 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72410 $as_echo_n "(cached) " >&6
72411 else
72412
72413
72414 ac_ext=cpp
72415 ac_cpp='$CXXCPP $CPPFLAGS'
72416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72419
72420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72421 /* end confdefs.h. */
72422 #include <math.h>
72423 int
72424 main ()
72425 {
72426 _hypot(0, 0);
72427 ;
72428 return 0;
72429 }
72430 _ACEOF
72431 if ac_fn_cxx_try_compile "$LINENO"; then :
72432 glibcxx_cv_func__hypot_use=yes
72433 else
72434 glibcxx_cv_func__hypot_use=no
72435 fi
72436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72437 ac_ext=c
72438 ac_cpp='$CPP $CPPFLAGS'
72439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72442
72443
72444 fi
72445
72446 fi
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72448 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72449
72450 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72451 for ac_func in _hypot
72452 do :
72453 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72454 if test "x$ac_cv_func__hypot" = x""yes; then :
72455 cat >>confdefs.h <<_ACEOF
72456 #define HAVE__HYPOT 1
72457 _ACEOF
72458
72459 fi
72460 done
72461
72462 fi
72463 fi
72464
72465
72466
72467
72468
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72470 $as_echo_n "checking for float trig functions... " >&6; }
72471 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72472 $as_echo_n "(cached) " >&6
72473 else
72474
72475
72476 ac_ext=cpp
72477 ac_cpp='$CXXCPP $CPPFLAGS'
72478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72481
72482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72483 /* end confdefs.h. */
72484 #include <math.h>
72485 int
72486 main ()
72487 {
72488 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72489 ;
72490 return 0;
72491 }
72492 _ACEOF
72493 if ac_fn_cxx_try_compile "$LINENO"; then :
72494 glibcxx_cv_func_float_trig_use=yes
72495 else
72496 glibcxx_cv_func_float_trig_use=no
72497 fi
72498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72499 ac_ext=c
72500 ac_cpp='$CPP $CPPFLAGS'
72501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72504
72505 fi
72506
72507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72508 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72509 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72510 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72511 do :
72512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72514 eval as_val=\$$as_ac_var
72515 if test "x$as_val" = x""yes; then :
72516 cat >>confdefs.h <<_ACEOF
72517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72518 _ACEOF
72519
72520 fi
72521 done
72522
72523 else
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72525 $as_echo_n "checking for _float trig functions... " >&6; }
72526 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72527 $as_echo_n "(cached) " >&6
72528 else
72529
72530
72531 ac_ext=cpp
72532 ac_cpp='$CXXCPP $CPPFLAGS'
72533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72536
72537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72538 /* end confdefs.h. */
72539 #include <math.h>
72540 int
72541 main ()
72542 {
72543 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72544 ;
72545 return 0;
72546 }
72547 _ACEOF
72548 if ac_fn_cxx_try_compile "$LINENO"; then :
72549 glibcxx_cv_func__float_trig_use=yes
72550 else
72551 glibcxx_cv_func__float_trig_use=no
72552 fi
72553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72554 ac_ext=c
72555 ac_cpp='$CPP $CPPFLAGS'
72556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72559
72560 fi
72561
72562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72563 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72564 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72565 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72566 do :
72567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72569 eval as_val=\$$as_ac_var
72570 if test "x$as_val" = x""yes; then :
72571 cat >>confdefs.h <<_ACEOF
72572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72573 _ACEOF
72574
72575 fi
72576 done
72577
72578 fi
72579 fi
72580
72581
72582
72583
72584
72585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72586 $as_echo_n "checking for float round functions... " >&6; }
72587 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72588 $as_echo_n "(cached) " >&6
72589 else
72590
72591
72592 ac_ext=cpp
72593 ac_cpp='$CXXCPP $CPPFLAGS'
72594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72597
72598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72599 /* end confdefs.h. */
72600 #include <math.h>
72601 int
72602 main ()
72603 {
72604 ceilf (0); floorf (0);
72605 ;
72606 return 0;
72607 }
72608 _ACEOF
72609 if ac_fn_cxx_try_compile "$LINENO"; then :
72610 glibcxx_cv_func_float_round_use=yes
72611 else
72612 glibcxx_cv_func_float_round_use=no
72613 fi
72614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72615 ac_ext=c
72616 ac_cpp='$CPP $CPPFLAGS'
72617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72620
72621 fi
72622
72623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72624 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72625 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72626 for ac_func in ceilf floorf
72627 do :
72628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72630 eval as_val=\$$as_ac_var
72631 if test "x$as_val" = x""yes; then :
72632 cat >>confdefs.h <<_ACEOF
72633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72634 _ACEOF
72635
72636 fi
72637 done
72638
72639 else
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72641 $as_echo_n "checking for _float round functions... " >&6; }
72642 if test "${glibcxx_cv_func__float_round_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 int
72657 main ()
72658 {
72659 _ceilf (0); _floorf (0);
72660 ;
72661 return 0;
72662 }
72663 _ACEOF
72664 if ac_fn_cxx_try_compile "$LINENO"; then :
72665 glibcxx_cv_func__float_round_use=yes
72666 else
72667 glibcxx_cv_func__float_round_use=no
72668 fi
72669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72670 ac_ext=c
72671 ac_cpp='$CPP $CPPFLAGS'
72672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72675
72676 fi
72677
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72679 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72680 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72681 for ac_func in _ceilf _floorf
72682 do :
72683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72685 eval as_val=\$$as_ac_var
72686 if test "x$as_val" = x""yes; then :
72687 cat >>confdefs.h <<_ACEOF
72688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72689 _ACEOF
72690
72691 fi
72692 done
72693
72694 fi
72695 fi
72696
72697
72698
72699
72700
72701
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72703 $as_echo_n "checking for expf declaration... " >&6; }
72704 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72705 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72706 $as_echo_n "(cached) " >&6
72707 else
72708
72709
72710 ac_ext=cpp
72711 ac_cpp='$CXXCPP $CPPFLAGS'
72712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72715
72716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72717 /* end confdefs.h. */
72718 #include <math.h>
72719 #ifdef HAVE_IEEEFP_H
72720 #include <ieeefp.h>
72721 #endif
72722
72723 int
72724 main ()
72725 {
72726 expf(0);
72727 ;
72728 return 0;
72729 }
72730 _ACEOF
72731 if ac_fn_cxx_try_compile "$LINENO"; then :
72732 glibcxx_cv_func_expf_use=yes
72733 else
72734 glibcxx_cv_func_expf_use=no
72735 fi
72736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72737 ac_ext=c
72738 ac_cpp='$CPP $CPPFLAGS'
72739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72742
72743
72744 fi
72745
72746 fi
72747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72748 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72749
72750 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72751 for ac_func in expf
72752 do :
72753 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72754 if test "x$ac_cv_func_expf" = x""yes; then :
72755 cat >>confdefs.h <<_ACEOF
72756 #define HAVE_EXPF 1
72757 _ACEOF
72758
72759 fi
72760 done
72761
72762 else
72763
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72765 $as_echo_n "checking for _expf declaration... " >&6; }
72766 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72767 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72768 $as_echo_n "(cached) " >&6
72769 else
72770
72771
72772 ac_ext=cpp
72773 ac_cpp='$CXXCPP $CPPFLAGS'
72774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72777
72778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72779 /* end confdefs.h. */
72780 #include <math.h>
72781 #ifdef HAVE_IEEEFP_H
72782 #include <ieeefp.h>
72783 #endif
72784
72785 int
72786 main ()
72787 {
72788 _expf(0);
72789 ;
72790 return 0;
72791 }
72792 _ACEOF
72793 if ac_fn_cxx_try_compile "$LINENO"; then :
72794 glibcxx_cv_func__expf_use=yes
72795 else
72796 glibcxx_cv_func__expf_use=no
72797 fi
72798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72799 ac_ext=c
72800 ac_cpp='$CPP $CPPFLAGS'
72801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72804
72805
72806 fi
72807
72808 fi
72809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72810 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72811
72812 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72813 for ac_func in _expf
72814 do :
72815 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72816 if test "x$ac_cv_func__expf" = x""yes; then :
72817 cat >>confdefs.h <<_ACEOF
72818 #define HAVE__EXPF 1
72819 _ACEOF
72820
72821 fi
72822 done
72823
72824 fi
72825 fi
72826
72827
72828
72829
72830
72831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72832 $as_echo_n "checking for isnanf declaration... " >&6; }
72833 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72834 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72835 $as_echo_n "(cached) " >&6
72836 else
72837
72838
72839 ac_ext=cpp
72840 ac_cpp='$CXXCPP $CPPFLAGS'
72841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72844
72845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72846 /* end confdefs.h. */
72847 #include <math.h>
72848 #ifdef HAVE_IEEEFP_H
72849 #include <ieeefp.h>
72850 #endif
72851
72852 int
72853 main ()
72854 {
72855 isnanf(0);
72856 ;
72857 return 0;
72858 }
72859 _ACEOF
72860 if ac_fn_cxx_try_compile "$LINENO"; then :
72861 glibcxx_cv_func_isnanf_use=yes
72862 else
72863 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
72877 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72878
72879 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72880 for ac_func in isnanf
72881 do :
72882 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72883 if test "x$ac_cv_func_isnanf" = x""yes; then :
72884 cat >>confdefs.h <<_ACEOF
72885 #define HAVE_ISNANF 1
72886 _ACEOF
72887
72888 fi
72889 done
72890
72891 else
72892
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72894 $as_echo_n "checking for _isnanf declaration... " >&6; }
72895 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72896 if test "${glibcxx_cv_func__isnanf_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 #ifdef HAVE_IEEEFP_H
72911 #include <ieeefp.h>
72912 #endif
72913
72914 int
72915 main ()
72916 {
72917 _isnanf(0);
72918 ;
72919 return 0;
72920 }
72921 _ACEOF
72922 if ac_fn_cxx_try_compile "$LINENO"; then :
72923 glibcxx_cv_func__isnanf_use=yes
72924 else
72925 glibcxx_cv_func__isnanf_use=no
72926 fi
72927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72928 ac_ext=c
72929 ac_cpp='$CPP $CPPFLAGS'
72930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72933
72934
72935 fi
72936
72937 fi
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72939 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72940
72941 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72942 for ac_func in _isnanf
72943 do :
72944 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72945 if test "x$ac_cv_func__isnanf" = x""yes; then :
72946 cat >>confdefs.h <<_ACEOF
72947 #define HAVE__ISNANF 1
72948 _ACEOF
72949
72950 fi
72951 done
72952
72953 fi
72954 fi
72955
72956
72957
72958
72959
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72961 $as_echo_n "checking for isinff declaration... " >&6; }
72962 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72963 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72964 $as_echo_n "(cached) " >&6
72965 else
72966
72967
72968 ac_ext=cpp
72969 ac_cpp='$CXXCPP $CPPFLAGS'
72970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72973
72974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72975 /* end confdefs.h. */
72976 #include <math.h>
72977 #ifdef HAVE_IEEEFP_H
72978 #include <ieeefp.h>
72979 #endif
72980
72981 int
72982 main ()
72983 {
72984 isinff(0);
72985 ;
72986 return 0;
72987 }
72988 _ACEOF
72989 if ac_fn_cxx_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_isinff_use=yes
72991 else
72992 glibcxx_cv_func_isinff_use=no
72993 fi
72994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72995 ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73000
73001
73002 fi
73003
73004 fi
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73006 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73007
73008 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73009 for ac_func in isinff
73010 do :
73011 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73012 if test "x$ac_cv_func_isinff" = x""yes; then :
73013 cat >>confdefs.h <<_ACEOF
73014 #define HAVE_ISINFF 1
73015 _ACEOF
73016
73017 fi
73018 done
73019
73020 else
73021
73022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73023 $as_echo_n "checking for _isinff declaration... " >&6; }
73024 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73025 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73026 $as_echo_n "(cached) " >&6
73027 else
73028
73029
73030 ac_ext=cpp
73031 ac_cpp='$CXXCPP $CPPFLAGS'
73032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73035
73036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73037 /* end confdefs.h. */
73038 #include <math.h>
73039 #ifdef HAVE_IEEEFP_H
73040 #include <ieeefp.h>
73041 #endif
73042
73043 int
73044 main ()
73045 {
73046 _isinff(0);
73047 ;
73048 return 0;
73049 }
73050 _ACEOF
73051 if ac_fn_cxx_try_compile "$LINENO"; then :
73052 glibcxx_cv_func__isinff_use=yes
73053 else
73054 glibcxx_cv_func__isinff_use=no
73055 fi
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057 ac_ext=c
73058 ac_cpp='$CPP $CPPFLAGS'
73059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73062
73063
73064 fi
73065
73066 fi
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73068 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73069
73070 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73071 for ac_func in _isinff
73072 do :
73073 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73074 if test "x$ac_cv_func__isinff" = x""yes; then :
73075 cat >>confdefs.h <<_ACEOF
73076 #define HAVE__ISINFF 1
73077 _ACEOF
73078
73079 fi
73080 done
73081
73082 fi
73083 fi
73084
73085
73086
73087
73088
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73090 $as_echo_n "checking for atan2f declaration... " >&6; }
73091 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73092 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73093 $as_echo_n "(cached) " >&6
73094 else
73095
73096
73097 ac_ext=cpp
73098 ac_cpp='$CXXCPP $CPPFLAGS'
73099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73102
73103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73104 /* end confdefs.h. */
73105 #include <math.h>
73106 int
73107 main ()
73108 {
73109 atan2f(0, 0);
73110 ;
73111 return 0;
73112 }
73113 _ACEOF
73114 if ac_fn_cxx_try_compile "$LINENO"; then :
73115 glibcxx_cv_func_atan2f_use=yes
73116 else
73117 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
73131 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73132
73133 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73134 for ac_func in atan2f
73135 do :
73136 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73137 if test "x$ac_cv_func_atan2f" = x""yes; then :
73138 cat >>confdefs.h <<_ACEOF
73139 #define HAVE_ATAN2F 1
73140 _ACEOF
73141
73142 fi
73143 done
73144
73145 else
73146
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73148 $as_echo_n "checking for _atan2f declaration... " >&6; }
73149 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73150 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73151 $as_echo_n "(cached) " >&6
73152 else
73153
73154
73155 ac_ext=cpp
73156 ac_cpp='$CXXCPP $CPPFLAGS'
73157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73160
73161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73162 /* end confdefs.h. */
73163 #include <math.h>
73164 int
73165 main ()
73166 {
73167 _atan2f(0, 0);
73168 ;
73169 return 0;
73170 }
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173 glibcxx_cv_func__atan2f_use=yes
73174 else
73175 glibcxx_cv_func__atan2f_use=no
73176 fi
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73183
73184
73185 fi
73186
73187 fi
73188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73189 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73190
73191 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73192 for ac_func in _atan2f
73193 do :
73194 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73195 if test "x$ac_cv_func__atan2f" = x""yes; then :
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE__ATAN2F 1
73198 _ACEOF
73199
73200 fi
73201 done
73202
73203 fi
73204 fi
73205
73206
73207
73208
73209
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73211 $as_echo_n "checking for fabsf declaration... " >&6; }
73212 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73213 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73214 $as_echo_n "(cached) " >&6
73215 else
73216
73217
73218 ac_ext=cpp
73219 ac_cpp='$CXXCPP $CPPFLAGS'
73220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73223
73224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73225 /* end confdefs.h. */
73226 #include <math.h>
73227 #ifdef HAVE_IEEEFP_H
73228 #include <ieeefp.h>
73229 #endif
73230
73231 int
73232 main ()
73233 {
73234 fabsf(0);
73235 ;
73236 return 0;
73237 }
73238 _ACEOF
73239 if ac_fn_cxx_try_compile "$LINENO"; then :
73240 glibcxx_cv_func_fabsf_use=yes
73241 else
73242 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
73256 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73257
73258 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73259 for ac_func in fabsf
73260 do :
73261 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73262 if test "x$ac_cv_func_fabsf" = x""yes; then :
73263 cat >>confdefs.h <<_ACEOF
73264 #define HAVE_FABSF 1
73265 _ACEOF
73266
73267 fi
73268 done
73269
73270 else
73271
73272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73273 $as_echo_n "checking for _fabsf declaration... " >&6; }
73274 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73275 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
73290 #include <ieeefp.h>
73291 #endif
73292
73293 int
73294 main ()
73295 {
73296 _fabsf(0);
73297 ;
73298 return 0;
73299 }
73300 _ACEOF
73301 if ac_fn_cxx_try_compile "$LINENO"; then :
73302 glibcxx_cv_func__fabsf_use=yes
73303 else
73304 glibcxx_cv_func__fabsf_use=no
73305 fi
73306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73307 ac_ext=c
73308 ac_cpp='$CPP $CPPFLAGS'
73309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73312
73313
73314 fi
73315
73316 fi
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73318 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73319
73320 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73321 for ac_func in _fabsf
73322 do :
73323 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73324 if test "x$ac_cv_func__fabsf" = x""yes; then :
73325 cat >>confdefs.h <<_ACEOF
73326 #define HAVE__FABSF 1
73327 _ACEOF
73328
73329 fi
73330 done
73331
73332 fi
73333 fi
73334
73335
73336
73337
73338
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73340 $as_echo_n "checking for fmodf declaration... " >&6; }
73341 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73342 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73343 $as_echo_n "(cached) " >&6
73344 else
73345
73346
73347 ac_ext=cpp
73348 ac_cpp='$CXXCPP $CPPFLAGS'
73349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73352
73353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73354 /* end confdefs.h. */
73355 #include <math.h>
73356 int
73357 main ()
73358 {
73359 fmodf(0, 0);
73360 ;
73361 return 0;
73362 }
73363 _ACEOF
73364 if ac_fn_cxx_try_compile "$LINENO"; then :
73365 glibcxx_cv_func_fmodf_use=yes
73366 else
73367 glibcxx_cv_func_fmodf_use=no
73368 fi
73369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73375
73376
73377 fi
73378
73379 fi
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73381 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73382
73383 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73384 for ac_func in fmodf
73385 do :
73386 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73387 if test "x$ac_cv_func_fmodf" = x""yes; then :
73388 cat >>confdefs.h <<_ACEOF
73389 #define HAVE_FMODF 1
73390 _ACEOF
73391
73392 fi
73393 done
73394
73395 else
73396
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73398 $as_echo_n "checking for _fmodf declaration... " >&6; }
73399 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73400 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73401 $as_echo_n "(cached) " >&6
73402 else
73403
73404
73405 ac_ext=cpp
73406 ac_cpp='$CXXCPP $CPPFLAGS'
73407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73410
73411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73412 /* end confdefs.h. */
73413 #include <math.h>
73414 int
73415 main ()
73416 {
73417 _fmodf(0, 0);
73418 ;
73419 return 0;
73420 }
73421 _ACEOF
73422 if ac_fn_cxx_try_compile "$LINENO"; then :
73423 glibcxx_cv_func__fmodf_use=yes
73424 else
73425 glibcxx_cv_func__fmodf_use=no
73426 fi
73427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73428 ac_ext=c
73429 ac_cpp='$CPP $CPPFLAGS'
73430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73433
73434
73435 fi
73436
73437 fi
73438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73439 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73440
73441 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73442 for ac_func in _fmodf
73443 do :
73444 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73445 if test "x$ac_cv_func__fmodf" = x""yes; then :
73446 cat >>confdefs.h <<_ACEOF
73447 #define HAVE__FMODF 1
73448 _ACEOF
73449
73450 fi
73451 done
73452
73453 fi
73454 fi
73455
73456
73457
73458
73459
73460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73461 $as_echo_n "checking for frexpf declaration... " >&6; }
73462 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73463 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73464 $as_echo_n "(cached) " >&6
73465 else
73466
73467
73468 ac_ext=cpp
73469 ac_cpp='$CXXCPP $CPPFLAGS'
73470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73473
73474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73475 /* end confdefs.h. */
73476 #include <math.h>
73477 int
73478 main ()
73479 {
73480 frexpf(0, 0);
73481 ;
73482 return 0;
73483 }
73484 _ACEOF
73485 if ac_fn_cxx_try_compile "$LINENO"; then :
73486 glibcxx_cv_func_frexpf_use=yes
73487 else
73488 glibcxx_cv_func_frexpf_use=no
73489 fi
73490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73491 ac_ext=c
73492 ac_cpp='$CPP $CPPFLAGS'
73493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73496
73497
73498 fi
73499
73500 fi
73501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73502 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73503
73504 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73505 for ac_func in frexpf
73506 do :
73507 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73508 if test "x$ac_cv_func_frexpf" = x""yes; then :
73509 cat >>confdefs.h <<_ACEOF
73510 #define HAVE_FREXPF 1
73511 _ACEOF
73512
73513 fi
73514 done
73515
73516 else
73517
73518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73519 $as_echo_n "checking for _frexpf declaration... " >&6; }
73520 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73521 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73522 $as_echo_n "(cached) " >&6
73523 else
73524
73525
73526 ac_ext=cpp
73527 ac_cpp='$CXXCPP $CPPFLAGS'
73528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73531
73532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73533 /* end confdefs.h. */
73534 #include <math.h>
73535 int
73536 main ()
73537 {
73538 _frexpf(0, 0);
73539 ;
73540 return 0;
73541 }
73542 _ACEOF
73543 if ac_fn_cxx_try_compile "$LINENO"; then :
73544 glibcxx_cv_func__frexpf_use=yes
73545 else
73546 glibcxx_cv_func__frexpf_use=no
73547 fi
73548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73549 ac_ext=c
73550 ac_cpp='$CPP $CPPFLAGS'
73551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73554
73555
73556 fi
73557
73558 fi
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73560 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73561
73562 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73563 for ac_func in _frexpf
73564 do :
73565 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73566 if test "x$ac_cv_func__frexpf" = x""yes; then :
73567 cat >>confdefs.h <<_ACEOF
73568 #define HAVE__FREXPF 1
73569 _ACEOF
73570
73571 fi
73572 done
73573
73574 fi
73575 fi
73576
73577
73578
73579
73580
73581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73582 $as_echo_n "checking for hypotf declaration... " >&6; }
73583 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73584 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73585 $as_echo_n "(cached) " >&6
73586 else
73587
73588
73589 ac_ext=cpp
73590 ac_cpp='$CXXCPP $CPPFLAGS'
73591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73594
73595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73596 /* end confdefs.h. */
73597 #include <math.h>
73598 int
73599 main ()
73600 {
73601 hypotf(0, 0);
73602 ;
73603 return 0;
73604 }
73605 _ACEOF
73606 if ac_fn_cxx_try_compile "$LINENO"; then :
73607 glibcxx_cv_func_hypotf_use=yes
73608 else
73609 glibcxx_cv_func_hypotf_use=no
73610 fi
73611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73612 ac_ext=c
73613 ac_cpp='$CPP $CPPFLAGS'
73614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73617
73618
73619 fi
73620
73621 fi
73622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73623 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73624
73625 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73626 for ac_func in hypotf
73627 do :
73628 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73629 if test "x$ac_cv_func_hypotf" = x""yes; then :
73630 cat >>confdefs.h <<_ACEOF
73631 #define HAVE_HYPOTF 1
73632 _ACEOF
73633
73634 fi
73635 done
73636
73637 else
73638
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73640 $as_echo_n "checking for _hypotf declaration... " >&6; }
73641 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73642 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73643 $as_echo_n "(cached) " >&6
73644 else
73645
73646
73647 ac_ext=cpp
73648 ac_cpp='$CXXCPP $CPPFLAGS'
73649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73652
73653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73654 /* end confdefs.h. */
73655 #include <math.h>
73656 int
73657 main ()
73658 {
73659 _hypotf(0, 0);
73660 ;
73661 return 0;
73662 }
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__hypotf_use=yes
73666 else
73667 glibcxx_cv_func__hypotf_use=no
73668 fi
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73675
73676
73677 fi
73678
73679 fi
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73681 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73682
73683 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73684 for ac_func in _hypotf
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73687 if test "x$ac_cv_func__hypotf" = x""yes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__HYPOTF 1
73690 _ACEOF
73691
73692 fi
73693 done
73694
73695 fi
73696 fi
73697
73698
73699
73700
73701
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73703 $as_echo_n "checking for ldexpf declaration... " >&6; }
73704 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73705 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73706 $as_echo_n "(cached) " >&6
73707 else
73708
73709
73710 ac_ext=cpp
73711 ac_cpp='$CXXCPP $CPPFLAGS'
73712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73715
73716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717 /* end confdefs.h. */
73718 #include <math.h>
73719 int
73720 main ()
73721 {
73722 ldexpf(0, 0);
73723 ;
73724 return 0;
73725 }
73726 _ACEOF
73727 if ac_fn_cxx_try_compile "$LINENO"; then :
73728 glibcxx_cv_func_ldexpf_use=yes
73729 else
73730 glibcxx_cv_func_ldexpf_use=no
73731 fi
73732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73733 ac_ext=c
73734 ac_cpp='$CPP $CPPFLAGS'
73735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73738
73739
73740 fi
73741
73742 fi
73743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73744 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73745
73746 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73747 for ac_func in ldexpf
73748 do :
73749 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73750 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73751 cat >>confdefs.h <<_ACEOF
73752 #define HAVE_LDEXPF 1
73753 _ACEOF
73754
73755 fi
73756 done
73757
73758 else
73759
73760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73761 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73762 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73763 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73764 $as_echo_n "(cached) " >&6
73765 else
73766
73767
73768 ac_ext=cpp
73769 ac_cpp='$CXXCPP $CPPFLAGS'
73770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73773
73774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73775 /* end confdefs.h. */
73776 #include <math.h>
73777 int
73778 main ()
73779 {
73780 _ldexpf(0, 0);
73781 ;
73782 return 0;
73783 }
73784 _ACEOF
73785 if ac_fn_cxx_try_compile "$LINENO"; then :
73786 glibcxx_cv_func__ldexpf_use=yes
73787 else
73788 glibcxx_cv_func__ldexpf_use=no
73789 fi
73790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73791 ac_ext=c
73792 ac_cpp='$CPP $CPPFLAGS'
73793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73796
73797
73798 fi
73799
73800 fi
73801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73802 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73803
73804 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73805 for ac_func in _ldexpf
73806 do :
73807 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73808 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73809 cat >>confdefs.h <<_ACEOF
73810 #define HAVE__LDEXPF 1
73811 _ACEOF
73812
73813 fi
73814 done
73815
73816 fi
73817 fi
73818
73819
73820
73821
73822
73823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73824 $as_echo_n "checking for logf declaration... " >&6; }
73825 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73826 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73827 $as_echo_n "(cached) " >&6
73828 else
73829
73830
73831 ac_ext=cpp
73832 ac_cpp='$CXXCPP $CPPFLAGS'
73833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73836
73837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73838 /* end confdefs.h. */
73839 #include <math.h>
73840 #ifdef HAVE_IEEEFP_H
73841 #include <ieeefp.h>
73842 #endif
73843
73844 int
73845 main ()
73846 {
73847 logf(0);
73848 ;
73849 return 0;
73850 }
73851 _ACEOF
73852 if ac_fn_cxx_try_compile "$LINENO"; then :
73853 glibcxx_cv_func_logf_use=yes
73854 else
73855 glibcxx_cv_func_logf_use=no
73856 fi
73857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73858 ac_ext=c
73859 ac_cpp='$CPP $CPPFLAGS'
73860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73863
73864
73865 fi
73866
73867 fi
73868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73869 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73870
73871 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73872 for ac_func in logf
73873 do :
73874 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73875 if test "x$ac_cv_func_logf" = x""yes; then :
73876 cat >>confdefs.h <<_ACEOF
73877 #define HAVE_LOGF 1
73878 _ACEOF
73879
73880 fi
73881 done
73882
73883 else
73884
73885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73886 $as_echo_n "checking for _logf declaration... " >&6; }
73887 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73888 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73889 $as_echo_n "(cached) " >&6
73890 else
73891
73892
73893 ac_ext=cpp
73894 ac_cpp='$CXXCPP $CPPFLAGS'
73895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73898
73899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73900 /* end confdefs.h. */
73901 #include <math.h>
73902 #ifdef HAVE_IEEEFP_H
73903 #include <ieeefp.h>
73904 #endif
73905
73906 int
73907 main ()
73908 {
73909 _logf(0);
73910 ;
73911 return 0;
73912 }
73913 _ACEOF
73914 if ac_fn_cxx_try_compile "$LINENO"; then :
73915 glibcxx_cv_func__logf_use=yes
73916 else
73917 glibcxx_cv_func__logf_use=no
73918 fi
73919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73925
73926
73927 fi
73928
73929 fi
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73931 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73932
73933 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73934 for ac_func in _logf
73935 do :
73936 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73937 if test "x$ac_cv_func__logf" = x""yes; then :
73938 cat >>confdefs.h <<_ACEOF
73939 #define HAVE__LOGF 1
73940 _ACEOF
73941
73942 fi
73943 done
73944
73945 fi
73946 fi
73947
73948
73949
73950
73951
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73953 $as_echo_n "checking for log10f declaration... " >&6; }
73954 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73955 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73956 $as_echo_n "(cached) " >&6
73957 else
73958
73959
73960 ac_ext=cpp
73961 ac_cpp='$CXXCPP $CPPFLAGS'
73962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73965
73966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73967 /* end confdefs.h. */
73968 #include <math.h>
73969 #ifdef HAVE_IEEEFP_H
73970 #include <ieeefp.h>
73971 #endif
73972
73973 int
73974 main ()
73975 {
73976 log10f(0);
73977 ;
73978 return 0;
73979 }
73980 _ACEOF
73981 if ac_fn_cxx_try_compile "$LINENO"; then :
73982 glibcxx_cv_func_log10f_use=yes
73983 else
73984 glibcxx_cv_func_log10f_use=no
73985 fi
73986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73987 ac_ext=c
73988 ac_cpp='$CPP $CPPFLAGS'
73989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73992
73993
73994 fi
73995
73996 fi
73997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73998 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73999
74000 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74001 for ac_func in log10f
74002 do :
74003 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74004 if test "x$ac_cv_func_log10f" = x""yes; then :
74005 cat >>confdefs.h <<_ACEOF
74006 #define HAVE_LOG10F 1
74007 _ACEOF
74008
74009 fi
74010 done
74011
74012 else
74013
74014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74015 $as_echo_n "checking for _log10f declaration... " >&6; }
74016 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74017 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74018 $as_echo_n "(cached) " >&6
74019 else
74020
74021
74022 ac_ext=cpp
74023 ac_cpp='$CXXCPP $CPPFLAGS'
74024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74027
74028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74029 /* end confdefs.h. */
74030 #include <math.h>
74031 #ifdef HAVE_IEEEFP_H
74032 #include <ieeefp.h>
74033 #endif
74034
74035 int
74036 main ()
74037 {
74038 _log10f(0);
74039 ;
74040 return 0;
74041 }
74042 _ACEOF
74043 if ac_fn_cxx_try_compile "$LINENO"; then :
74044 glibcxx_cv_func__log10f_use=yes
74045 else
74046 glibcxx_cv_func__log10f_use=no
74047 fi
74048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74049 ac_ext=c
74050 ac_cpp='$CPP $CPPFLAGS'
74051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74054
74055
74056 fi
74057
74058 fi
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74060 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74061
74062 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74063 for ac_func in _log10f
74064 do :
74065 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74066 if test "x$ac_cv_func__log10f" = x""yes; then :
74067 cat >>confdefs.h <<_ACEOF
74068 #define HAVE__LOG10F 1
74069 _ACEOF
74070
74071 fi
74072 done
74073
74074 fi
74075 fi
74076
74077
74078
74079
74080
74081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74082 $as_echo_n "checking for modff declaration... " >&6; }
74083 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74084 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74085 $as_echo_n "(cached) " >&6
74086 else
74087
74088
74089 ac_ext=cpp
74090 ac_cpp='$CXXCPP $CPPFLAGS'
74091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74094
74095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74096 /* end confdefs.h. */
74097 #include <math.h>
74098 int
74099 main ()
74100 {
74101 modff(0, 0);
74102 ;
74103 return 0;
74104 }
74105 _ACEOF
74106 if ac_fn_cxx_try_compile "$LINENO"; then :
74107 glibcxx_cv_func_modff_use=yes
74108 else
74109 glibcxx_cv_func_modff_use=no
74110 fi
74111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74112 ac_ext=c
74113 ac_cpp='$CPP $CPPFLAGS'
74114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74117
74118
74119 fi
74120
74121 fi
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74123 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74124
74125 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74126 for ac_func in modff
74127 do :
74128 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74129 if test "x$ac_cv_func_modff" = x""yes; then :
74130 cat >>confdefs.h <<_ACEOF
74131 #define HAVE_MODFF 1
74132 _ACEOF
74133
74134 fi
74135 done
74136
74137 else
74138
74139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74140 $as_echo_n "checking for _modff declaration... " >&6; }
74141 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74142 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74143 $as_echo_n "(cached) " >&6
74144 else
74145
74146
74147 ac_ext=cpp
74148 ac_cpp='$CXXCPP $CPPFLAGS'
74149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74152
74153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74154 /* end confdefs.h. */
74155 #include <math.h>
74156 int
74157 main ()
74158 {
74159 _modff(0, 0);
74160 ;
74161 return 0;
74162 }
74163 _ACEOF
74164 if ac_fn_cxx_try_compile "$LINENO"; then :
74165 glibcxx_cv_func__modff_use=yes
74166 else
74167 glibcxx_cv_func__modff_use=no
74168 fi
74169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74170 ac_ext=c
74171 ac_cpp='$CPP $CPPFLAGS'
74172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74175
74176
74177 fi
74178
74179 fi
74180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74181 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74182
74183 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74184 for ac_func in _modff
74185 do :
74186 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74187 if test "x$ac_cv_func__modff" = x""yes; then :
74188 cat >>confdefs.h <<_ACEOF
74189 #define HAVE__MODFF 1
74190 _ACEOF
74191
74192 fi
74193 done
74194
74195 fi
74196 fi
74197
74198
74199
74200
74201
74202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74203 $as_echo_n "checking for modf declaration... " >&6; }
74204 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74205 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74206 $as_echo_n "(cached) " >&6
74207 else
74208
74209
74210 ac_ext=cpp
74211 ac_cpp='$CXXCPP $CPPFLAGS'
74212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74215
74216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74217 /* end confdefs.h. */
74218 #include <math.h>
74219 int
74220 main ()
74221 {
74222 modf(0, 0);
74223 ;
74224 return 0;
74225 }
74226 _ACEOF
74227 if ac_fn_cxx_try_compile "$LINENO"; then :
74228 glibcxx_cv_func_modf_use=yes
74229 else
74230 glibcxx_cv_func_modf_use=no
74231 fi
74232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74233 ac_ext=c
74234 ac_cpp='$CPP $CPPFLAGS'
74235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74238
74239
74240 fi
74241
74242 fi
74243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74244 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74245
74246 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74247 for ac_func in modf
74248 do :
74249 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74250 if test "x$ac_cv_func_modf" = x""yes; then :
74251 cat >>confdefs.h <<_ACEOF
74252 #define HAVE_MODF 1
74253 _ACEOF
74254
74255 fi
74256 done
74257
74258 else
74259
74260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74261 $as_echo_n "checking for _modf declaration... " >&6; }
74262 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74263 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74264 $as_echo_n "(cached) " >&6
74265 else
74266
74267
74268 ac_ext=cpp
74269 ac_cpp='$CXXCPP $CPPFLAGS'
74270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74273
74274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74275 /* end confdefs.h. */
74276 #include <math.h>
74277 int
74278 main ()
74279 {
74280 _modf(0, 0);
74281 ;
74282 return 0;
74283 }
74284 _ACEOF
74285 if ac_fn_cxx_try_compile "$LINENO"; then :
74286 glibcxx_cv_func__modf_use=yes
74287 else
74288 glibcxx_cv_func__modf_use=no
74289 fi
74290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74291 ac_ext=c
74292 ac_cpp='$CPP $CPPFLAGS'
74293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74296
74297
74298 fi
74299
74300 fi
74301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74302 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74303
74304 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74305 for ac_func in _modf
74306 do :
74307 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74308 if test "x$ac_cv_func__modf" = x""yes; then :
74309 cat >>confdefs.h <<_ACEOF
74310 #define HAVE__MODF 1
74311 _ACEOF
74312
74313 fi
74314 done
74315
74316 fi
74317 fi
74318
74319
74320
74321
74322
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74324 $as_echo_n "checking for powf declaration... " >&6; }
74325 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74326 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74329
74330
74331 ac_ext=cpp
74332 ac_cpp='$CXXCPP $CPPFLAGS'
74333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74336
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74339 #include <math.h>
74340 int
74341 main ()
74342 {
74343 powf(0, 0);
74344 ;
74345 return 0;
74346 }
74347 _ACEOF
74348 if ac_fn_cxx_try_compile "$LINENO"; then :
74349 glibcxx_cv_func_powf_use=yes
74350 else
74351 glibcxx_cv_func_powf_use=no
74352 fi
74353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354 ac_ext=c
74355 ac_cpp='$CPP $CPPFLAGS'
74356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74359
74360
74361 fi
74362
74363 fi
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74365 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74366
74367 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74368 for ac_func in powf
74369 do :
74370 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74371 if test "x$ac_cv_func_powf" = x""yes; then :
74372 cat >>confdefs.h <<_ACEOF
74373 #define HAVE_POWF 1
74374 _ACEOF
74375
74376 fi
74377 done
74378
74379 else
74380
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74382 $as_echo_n "checking for _powf declaration... " >&6; }
74383 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74384 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74385 $as_echo_n "(cached) " >&6
74386 else
74387
74388
74389 ac_ext=cpp
74390 ac_cpp='$CXXCPP $CPPFLAGS'
74391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74394
74395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396 /* end confdefs.h. */
74397 #include <math.h>
74398 int
74399 main ()
74400 {
74401 _powf(0, 0);
74402 ;
74403 return 0;
74404 }
74405 _ACEOF
74406 if ac_fn_cxx_try_compile "$LINENO"; then :
74407 glibcxx_cv_func__powf_use=yes
74408 else
74409 glibcxx_cv_func__powf_use=no
74410 fi
74411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412 ac_ext=c
74413 ac_cpp='$CPP $CPPFLAGS'
74414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74417
74418
74419 fi
74420
74421 fi
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74423 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74424
74425 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74426 for ac_func in _powf
74427 do :
74428 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74429 if test "x$ac_cv_func__powf" = x""yes; then :
74430 cat >>confdefs.h <<_ACEOF
74431 #define HAVE__POWF 1
74432 _ACEOF
74433
74434 fi
74435 done
74436
74437 fi
74438 fi
74439
74440
74441
74442
74443
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74445 $as_echo_n "checking for sqrtf declaration... " >&6; }
74446 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74447 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74448 $as_echo_n "(cached) " >&6
74449 else
74450
74451
74452 ac_ext=cpp
74453 ac_cpp='$CXXCPP $CPPFLAGS'
74454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74457
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74460 #include <math.h>
74461 #ifdef HAVE_IEEEFP_H
74462 #include <ieeefp.h>
74463 #endif
74464
74465 int
74466 main ()
74467 {
74468 sqrtf(0);
74469 ;
74470 return 0;
74471 }
74472 _ACEOF
74473 if ac_fn_cxx_try_compile "$LINENO"; then :
74474 glibcxx_cv_func_sqrtf_use=yes
74475 else
74476 glibcxx_cv_func_sqrtf_use=no
74477 fi
74478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74479 ac_ext=c
74480 ac_cpp='$CPP $CPPFLAGS'
74481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74484
74485
74486 fi
74487
74488 fi
74489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74490 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74491
74492 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74493 for ac_func in sqrtf
74494 do :
74495 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74496 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74497 cat >>confdefs.h <<_ACEOF
74498 #define HAVE_SQRTF 1
74499 _ACEOF
74500
74501 fi
74502 done
74503
74504 else
74505
74506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74507 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74508 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74509 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74510 $as_echo_n "(cached) " >&6
74511 else
74512
74513
74514 ac_ext=cpp
74515 ac_cpp='$CXXCPP $CPPFLAGS'
74516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74519
74520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521 /* end confdefs.h. */
74522 #include <math.h>
74523 #ifdef HAVE_IEEEFP_H
74524 #include <ieeefp.h>
74525 #endif
74526
74527 int
74528 main ()
74529 {
74530 _sqrtf(0);
74531 ;
74532 return 0;
74533 }
74534 _ACEOF
74535 if ac_fn_cxx_try_compile "$LINENO"; then :
74536 glibcxx_cv_func__sqrtf_use=yes
74537 else
74538 glibcxx_cv_func__sqrtf_use=no
74539 fi
74540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74546
74547
74548 fi
74549
74550 fi
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74552 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74553
74554 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74555 for ac_func in _sqrtf
74556 do :
74557 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74558 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74559 cat >>confdefs.h <<_ACEOF
74560 #define HAVE__SQRTF 1
74561 _ACEOF
74562
74563 fi
74564 done
74565
74566 fi
74567 fi
74568
74569
74570
74571
74572
74573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74574 $as_echo_n "checking for sincosf declaration... " >&6; }
74575 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74576 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74577 $as_echo_n "(cached) " >&6
74578 else
74579
74580
74581 ac_ext=cpp
74582 ac_cpp='$CXXCPP $CPPFLAGS'
74583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74586
74587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74588 /* end confdefs.h. */
74589 #include <math.h>
74590 int
74591 main ()
74592 {
74593 sincosf(0, 0, 0);
74594 ;
74595 return 0;
74596 }
74597 _ACEOF
74598 if ac_fn_cxx_try_compile "$LINENO"; then :
74599 glibcxx_cv_func_sincosf_use=yes
74600 else
74601 glibcxx_cv_func_sincosf_use=no
74602 fi
74603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74604 ac_ext=c
74605 ac_cpp='$CPP $CPPFLAGS'
74606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74609
74610
74611 fi
74612
74613 fi
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74615 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74616
74617 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74618 for ac_func in sincosf
74619 do :
74620 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74621 if test "x$ac_cv_func_sincosf" = x""yes; then :
74622 cat >>confdefs.h <<_ACEOF
74623 #define HAVE_SINCOSF 1
74624 _ACEOF
74625
74626 fi
74627 done
74628
74629 else
74630
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74632 $as_echo_n "checking for _sincosf declaration... " >&6; }
74633 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74634 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74635 $as_echo_n "(cached) " >&6
74636 else
74637
74638
74639 ac_ext=cpp
74640 ac_cpp='$CXXCPP $CPPFLAGS'
74641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74644
74645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74646 /* end confdefs.h. */
74647 #include <math.h>
74648 int
74649 main ()
74650 {
74651 _sincosf(0, 0, 0);
74652 ;
74653 return 0;
74654 }
74655 _ACEOF
74656 if ac_fn_cxx_try_compile "$LINENO"; then :
74657 glibcxx_cv_func__sincosf_use=yes
74658 else
74659 glibcxx_cv_func__sincosf_use=no
74660 fi
74661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74662 ac_ext=c
74663 ac_cpp='$CPP $CPPFLAGS'
74664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74667
74668
74669 fi
74670
74671 fi
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74673 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74674
74675 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74676 for ac_func in _sincosf
74677 do :
74678 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74679 if test "x$ac_cv_func__sincosf" = x""yes; then :
74680 cat >>confdefs.h <<_ACEOF
74681 #define HAVE__SINCOSF 1
74682 _ACEOF
74683
74684 fi
74685 done
74686
74687 fi
74688 fi
74689
74690
74691
74692
74693
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74695 $as_echo_n "checking for finitef declaration... " >&6; }
74696 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74697 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74698 $as_echo_n "(cached) " >&6
74699 else
74700
74701
74702 ac_ext=cpp
74703 ac_cpp='$CXXCPP $CPPFLAGS'
74704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74707
74708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74709 /* end confdefs.h. */
74710 #include <math.h>
74711 #ifdef HAVE_IEEEFP_H
74712 #include <ieeefp.h>
74713 #endif
74714
74715 int
74716 main ()
74717 {
74718 finitef(0);
74719 ;
74720 return 0;
74721 }
74722 _ACEOF
74723 if ac_fn_cxx_try_compile "$LINENO"; then :
74724 glibcxx_cv_func_finitef_use=yes
74725 else
74726 glibcxx_cv_func_finitef_use=no
74727 fi
74728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74729 ac_ext=c
74730 ac_cpp='$CPP $CPPFLAGS'
74731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74734
74735
74736 fi
74737
74738 fi
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74740 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74741
74742 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74743 for ac_func in finitef
74744 do :
74745 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74746 if test "x$ac_cv_func_finitef" = x""yes; then :
74747 cat >>confdefs.h <<_ACEOF
74748 #define HAVE_FINITEF 1
74749 _ACEOF
74750
74751 fi
74752 done
74753
74754 else
74755
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74757 $as_echo_n "checking for _finitef declaration... " >&6; }
74758 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74759 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74760 $as_echo_n "(cached) " >&6
74761 else
74762
74763
74764 ac_ext=cpp
74765 ac_cpp='$CXXCPP $CPPFLAGS'
74766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74769
74770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74771 /* end confdefs.h. */
74772 #include <math.h>
74773 #ifdef HAVE_IEEEFP_H
74774 #include <ieeefp.h>
74775 #endif
74776
74777 int
74778 main ()
74779 {
74780 _finitef(0);
74781 ;
74782 return 0;
74783 }
74784 _ACEOF
74785 if ac_fn_cxx_try_compile "$LINENO"; then :
74786 glibcxx_cv_func__finitef_use=yes
74787 else
74788 glibcxx_cv_func__finitef_use=no
74789 fi
74790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74791 ac_ext=c
74792 ac_cpp='$CPP $CPPFLAGS'
74793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74796
74797
74798 fi
74799
74800 fi
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74802 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74803
74804 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74805 for ac_func in _finitef
74806 do :
74807 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74808 if test "x$ac_cv_func__finitef" = x""yes; then :
74809 cat >>confdefs.h <<_ACEOF
74810 #define HAVE__FINITEF 1
74811 _ACEOF
74812
74813 fi
74814 done
74815
74816 fi
74817 fi
74818
74819
74820
74821
74822
74823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74824 $as_echo_n "checking for long double trig functions... " >&6; }
74825 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74826 $as_echo_n "(cached) " >&6
74827 else
74828
74829
74830 ac_ext=cpp
74831 ac_cpp='$CXXCPP $CPPFLAGS'
74832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74835
74836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74837 /* end confdefs.h. */
74838 #include <math.h>
74839 int
74840 main ()
74841 {
74842 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74843 ;
74844 return 0;
74845 }
74846 _ACEOF
74847 if ac_fn_cxx_try_compile "$LINENO"; then :
74848 glibcxx_cv_func_long_double_trig_use=yes
74849 else
74850 glibcxx_cv_func_long_double_trig_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 fi
74860
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74862 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74863 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74864 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74865 do :
74866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74868 eval as_val=\$$as_ac_var
74869 if test "x$as_val" = x""yes; then :
74870 cat >>confdefs.h <<_ACEOF
74871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74872 _ACEOF
74873
74874 fi
74875 done
74876
74877 else
74878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74879 $as_echo_n "checking for _long double trig functions... " >&6; }
74880 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74881 $as_echo_n "(cached) " >&6
74882 else
74883
74884
74885 ac_ext=cpp
74886 ac_cpp='$CXXCPP $CPPFLAGS'
74887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74890
74891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74892 /* end confdefs.h. */
74893 #include <math.h>
74894 int
74895 main ()
74896 {
74897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74898 ;
74899 return 0;
74900 }
74901 _ACEOF
74902 if ac_fn_cxx_try_compile "$LINENO"; then :
74903 glibcxx_cv_func__long_double_trig_use=yes
74904 else
74905 glibcxx_cv_func__long_double_trig_use=no
74906 fi
74907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74908 ac_ext=c
74909 ac_cpp='$CPP $CPPFLAGS'
74910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74913
74914 fi
74915
74916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74917 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74918 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74919 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74920 do :
74921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74923 eval as_val=\$$as_ac_var
74924 if test "x$as_val" = x""yes; then :
74925 cat >>confdefs.h <<_ACEOF
74926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74927 _ACEOF
74928
74929 fi
74930 done
74931
74932 fi
74933 fi
74934
74935
74936
74937
74938
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74940 $as_echo_n "checking for long double round functions... " >&6; }
74941 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74942 $as_echo_n "(cached) " >&6
74943 else
74944
74945
74946 ac_ext=cpp
74947 ac_cpp='$CXXCPP $CPPFLAGS'
74948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74951
74952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74953 /* end confdefs.h. */
74954 #include <math.h>
74955 int
74956 main ()
74957 {
74958 ceill (0); floorl (0);
74959 ;
74960 return 0;
74961 }
74962 _ACEOF
74963 if ac_fn_cxx_try_compile "$LINENO"; then :
74964 glibcxx_cv_func_long_double_round_use=yes
74965 else
74966 glibcxx_cv_func_long_double_round_use=no
74967 fi
74968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74969 ac_ext=c
74970 ac_cpp='$CPP $CPPFLAGS'
74971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74974
74975 fi
74976
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74978 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74979 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74980 for ac_func in ceill floorl
74981 do :
74982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74984 eval as_val=\$$as_ac_var
74985 if test "x$as_val" = x""yes; then :
74986 cat >>confdefs.h <<_ACEOF
74987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74988 _ACEOF
74989
74990 fi
74991 done
74992
74993 else
74994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74995 $as_echo_n "checking for _long double round functions... " >&6; }
74996 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74997 $as_echo_n "(cached) " >&6
74998 else
74999
75000
75001 ac_ext=cpp
75002 ac_cpp='$CXXCPP $CPPFLAGS'
75003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75006
75007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75008 /* end confdefs.h. */
75009 #include <math.h>
75010 int
75011 main ()
75012 {
75013 _ceill (0); _floorl (0);
75014 ;
75015 return 0;
75016 }
75017 _ACEOF
75018 if ac_fn_cxx_try_compile "$LINENO"; then :
75019 glibcxx_cv_func__long_double_round_use=yes
75020 else
75021 glibcxx_cv_func__long_double_round_use=no
75022 fi
75023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75024 ac_ext=c
75025 ac_cpp='$CPP $CPPFLAGS'
75026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75029
75030 fi
75031
75032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75033 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75034 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75035 for ac_func in _ceill _floorl
75036 do :
75037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75039 eval as_val=\$$as_ac_var
75040 if test "x$as_val" = x""yes; then :
75041 cat >>confdefs.h <<_ACEOF
75042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75043 _ACEOF
75044
75045 fi
75046 done
75047
75048 fi
75049 fi
75050
75051
75052
75053
75054
75055
75056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75057 $as_echo_n "checking for isnanl declaration... " >&6; }
75058 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75059 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75060 $as_echo_n "(cached) " >&6
75061 else
75062
75063
75064 ac_ext=cpp
75065 ac_cpp='$CXXCPP $CPPFLAGS'
75066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75069
75070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75071 /* end confdefs.h. */
75072 #include <math.h>
75073 #ifdef HAVE_IEEEFP_H
75074 #include <ieeefp.h>
75075 #endif
75076
75077 int
75078 main ()
75079 {
75080 isnanl(0);
75081 ;
75082 return 0;
75083 }
75084 _ACEOF
75085 if ac_fn_cxx_try_compile "$LINENO"; then :
75086 glibcxx_cv_func_isnanl_use=yes
75087 else
75088 glibcxx_cv_func_isnanl_use=no
75089 fi
75090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75091 ac_ext=c
75092 ac_cpp='$CPP $CPPFLAGS'
75093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75096
75097
75098 fi
75099
75100 fi
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75102 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75103
75104 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75105 for ac_func in isnanl
75106 do :
75107 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75108 if test "x$ac_cv_func_isnanl" = x""yes; then :
75109 cat >>confdefs.h <<_ACEOF
75110 #define HAVE_ISNANL 1
75111 _ACEOF
75112
75113 fi
75114 done
75115
75116 else
75117
75118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75119 $as_echo_n "checking for _isnanl declaration... " >&6; }
75120 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75121 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75122 $as_echo_n "(cached) " >&6
75123 else
75124
75125
75126 ac_ext=cpp
75127 ac_cpp='$CXXCPP $CPPFLAGS'
75128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75131
75132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75133 /* end confdefs.h. */
75134 #include <math.h>
75135 #ifdef HAVE_IEEEFP_H
75136 #include <ieeefp.h>
75137 #endif
75138
75139 int
75140 main ()
75141 {
75142 _isnanl(0);
75143 ;
75144 return 0;
75145 }
75146 _ACEOF
75147 if ac_fn_cxx_try_compile "$LINENO"; then :
75148 glibcxx_cv_func__isnanl_use=yes
75149 else
75150 glibcxx_cv_func__isnanl_use=no
75151 fi
75152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153 ac_ext=c
75154 ac_cpp='$CPP $CPPFLAGS'
75155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75158
75159
75160 fi
75161
75162 fi
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75164 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75165
75166 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75167 for ac_func in _isnanl
75168 do :
75169 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75170 if test "x$ac_cv_func__isnanl" = x""yes; then :
75171 cat >>confdefs.h <<_ACEOF
75172 #define HAVE__ISNANL 1
75173 _ACEOF
75174
75175 fi
75176 done
75177
75178 fi
75179 fi
75180
75181
75182
75183
75184
75185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75186 $as_echo_n "checking for isinfl declaration... " >&6; }
75187 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75188 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75189 $as_echo_n "(cached) " >&6
75190 else
75191
75192
75193 ac_ext=cpp
75194 ac_cpp='$CXXCPP $CPPFLAGS'
75195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75198
75199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75200 /* end confdefs.h. */
75201 #include <math.h>
75202 #ifdef HAVE_IEEEFP_H
75203 #include <ieeefp.h>
75204 #endif
75205
75206 int
75207 main ()
75208 {
75209 isinfl(0);
75210 ;
75211 return 0;
75212 }
75213 _ACEOF
75214 if ac_fn_cxx_try_compile "$LINENO"; then :
75215 glibcxx_cv_func_isinfl_use=yes
75216 else
75217 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
75231 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75232
75233 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75234 for ac_func in isinfl
75235 do :
75236 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75237 if test "x$ac_cv_func_isinfl" = x""yes; then :
75238 cat >>confdefs.h <<_ACEOF
75239 #define HAVE_ISINFL 1
75240 _ACEOF
75241
75242 fi
75243 done
75244
75245 else
75246
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75248 $as_echo_n "checking for _isinfl declaration... " >&6; }
75249 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75250 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75253
75254
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75260
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75264 #ifdef HAVE_IEEEFP_H
75265 #include <ieeefp.h>
75266 #endif
75267
75268 int
75269 main ()
75270 {
75271 _isinfl(0);
75272 ;
75273 return 0;
75274 }
75275 _ACEOF
75276 if ac_fn_cxx_try_compile "$LINENO"; then :
75277 glibcxx_cv_func__isinfl_use=yes
75278 else
75279 glibcxx_cv_func__isinfl_use=no
75280 fi
75281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75282 ac_ext=c
75283 ac_cpp='$CPP $CPPFLAGS'
75284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75287
75288
75289 fi
75290
75291 fi
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75293 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75294
75295 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75296 for ac_func in _isinfl
75297 do :
75298 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75299 if test "x$ac_cv_func__isinfl" = x""yes; then :
75300 cat >>confdefs.h <<_ACEOF
75301 #define HAVE__ISINFL 1
75302 _ACEOF
75303
75304 fi
75305 done
75306
75307 fi
75308 fi
75309
75310
75311
75312
75313
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75315 $as_echo_n "checking for atan2l declaration... " >&6; }
75316 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75317 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75318 $as_echo_n "(cached) " >&6
75319 else
75320
75321
75322 ac_ext=cpp
75323 ac_cpp='$CXXCPP $CPPFLAGS'
75324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75327
75328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75329 /* end confdefs.h. */
75330 #include <math.h>
75331 int
75332 main ()
75333 {
75334 atan2l(0, 0);
75335 ;
75336 return 0;
75337 }
75338 _ACEOF
75339 if ac_fn_cxx_try_compile "$LINENO"; then :
75340 glibcxx_cv_func_atan2l_use=yes
75341 else
75342 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
75356 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75357
75358 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75359 for ac_func in atan2l
75360 do :
75361 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75362 if test "x$ac_cv_func_atan2l" = x""yes; then :
75363 cat >>confdefs.h <<_ACEOF
75364 #define HAVE_ATAN2L 1
75365 _ACEOF
75366
75367 fi
75368 done
75369
75370 else
75371
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75373 $as_echo_n "checking for _atan2l declaration... " >&6; }
75374 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75375 if test "${glibcxx_cv_func__atan2l_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 int
75390 main ()
75391 {
75392 _atan2l(0, 0);
75393 ;
75394 return 0;
75395 }
75396 _ACEOF
75397 if ac_fn_cxx_try_compile "$LINENO"; then :
75398 glibcxx_cv_func__atan2l_use=yes
75399 else
75400 glibcxx_cv_func__atan2l_use=no
75401 fi
75402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75403 ac_ext=c
75404 ac_cpp='$CPP $CPPFLAGS'
75405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75408
75409
75410 fi
75411
75412 fi
75413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75414 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75415
75416 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75417 for ac_func in _atan2l
75418 do :
75419 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75420 if test "x$ac_cv_func__atan2l" = x""yes; then :
75421 cat >>confdefs.h <<_ACEOF
75422 #define HAVE__ATAN2L 1
75423 _ACEOF
75424
75425 fi
75426 done
75427
75428 fi
75429 fi
75430
75431
75432
75433
75434
75435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75436 $as_echo_n "checking for expl declaration... " >&6; }
75437 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75438 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75439 $as_echo_n "(cached) " >&6
75440 else
75441
75442
75443 ac_ext=cpp
75444 ac_cpp='$CXXCPP $CPPFLAGS'
75445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75448
75449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75450 /* end confdefs.h. */
75451 #include <math.h>
75452 #ifdef HAVE_IEEEFP_H
75453 #include <ieeefp.h>
75454 #endif
75455
75456 int
75457 main ()
75458 {
75459 expl(0);
75460 ;
75461 return 0;
75462 }
75463 _ACEOF
75464 if ac_fn_cxx_try_compile "$LINENO"; then :
75465 glibcxx_cv_func_expl_use=yes
75466 else
75467 glibcxx_cv_func_expl_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_expl_use" >&5
75481 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75482
75483 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75484 for ac_func in expl
75485 do :
75486 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75487 if test "x$ac_cv_func_expl" = x""yes; then :
75488 cat >>confdefs.h <<_ACEOF
75489 #define HAVE_EXPL 1
75490 _ACEOF
75491
75492 fi
75493 done
75494
75495 else
75496
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75498 $as_echo_n "checking for _expl declaration... " >&6; }
75499 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75500 if test "${glibcxx_cv_func__expl_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 #ifdef HAVE_IEEEFP_H
75515 #include <ieeefp.h>
75516 #endif
75517
75518 int
75519 main ()
75520 {
75521 _expl(0);
75522 ;
75523 return 0;
75524 }
75525 _ACEOF
75526 if ac_fn_cxx_try_compile "$LINENO"; then :
75527 glibcxx_cv_func__expl_use=yes
75528 else
75529 glibcxx_cv_func__expl_use=no
75530 fi
75531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75532 ac_ext=c
75533 ac_cpp='$CPP $CPPFLAGS'
75534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75537
75538
75539 fi
75540
75541 fi
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75543 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75544
75545 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75546 for ac_func in _expl
75547 do :
75548 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75549 if test "x$ac_cv_func__expl" = x""yes; then :
75550 cat >>confdefs.h <<_ACEOF
75551 #define HAVE__EXPL 1
75552 _ACEOF
75553
75554 fi
75555 done
75556
75557 fi
75558 fi
75559
75560
75561
75562
75563
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75565 $as_echo_n "checking for fabsl declaration... " >&6; }
75566 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75567 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75568 $as_echo_n "(cached) " >&6
75569 else
75570
75571
75572 ac_ext=cpp
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75577
75578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75579 /* end confdefs.h. */
75580 #include <math.h>
75581 #ifdef HAVE_IEEEFP_H
75582 #include <ieeefp.h>
75583 #endif
75584
75585 int
75586 main ()
75587 {
75588 fabsl(0);
75589 ;
75590 return 0;
75591 }
75592 _ACEOF
75593 if ac_fn_cxx_try_compile "$LINENO"; then :
75594 glibcxx_cv_func_fabsl_use=yes
75595 else
75596 glibcxx_cv_func_fabsl_use=no
75597 fi
75598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75599 ac_ext=c
75600 ac_cpp='$CPP $CPPFLAGS'
75601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75604
75605
75606 fi
75607
75608 fi
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75610 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75611
75612 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75613 for ac_func in fabsl
75614 do :
75615 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75616 if test "x$ac_cv_func_fabsl" = x""yes; then :
75617 cat >>confdefs.h <<_ACEOF
75618 #define HAVE_FABSL 1
75619 _ACEOF
75620
75621 fi
75622 done
75623
75624 else
75625
75626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75627 $as_echo_n "checking for _fabsl declaration... " >&6; }
75628 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75629 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75630 $as_echo_n "(cached) " >&6
75631 else
75632
75633
75634 ac_ext=cpp
75635 ac_cpp='$CXXCPP $CPPFLAGS'
75636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75639
75640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75641 /* end confdefs.h. */
75642 #include <math.h>
75643 #ifdef HAVE_IEEEFP_H
75644 #include <ieeefp.h>
75645 #endif
75646
75647 int
75648 main ()
75649 {
75650 _fabsl(0);
75651 ;
75652 return 0;
75653 }
75654 _ACEOF
75655 if ac_fn_cxx_try_compile "$LINENO"; then :
75656 glibcxx_cv_func__fabsl_use=yes
75657 else
75658 glibcxx_cv_func__fabsl_use=no
75659 fi
75660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75661 ac_ext=c
75662 ac_cpp='$CPP $CPPFLAGS'
75663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75666
75667
75668 fi
75669
75670 fi
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75672 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75673
75674 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75675 for ac_func in _fabsl
75676 do :
75677 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75678 if test "x$ac_cv_func__fabsl" = x""yes; then :
75679 cat >>confdefs.h <<_ACEOF
75680 #define HAVE__FABSL 1
75681 _ACEOF
75682
75683 fi
75684 done
75685
75686 fi
75687 fi
75688
75689
75690
75691
75692
75693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75694 $as_echo_n "checking for fmodl declaration... " >&6; }
75695 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75696 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75697 $as_echo_n "(cached) " >&6
75698 else
75699
75700
75701 ac_ext=cpp
75702 ac_cpp='$CXXCPP $CPPFLAGS'
75703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75706
75707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75708 /* end confdefs.h. */
75709 #include <math.h>
75710 int
75711 main ()
75712 {
75713 fmodl(0, 0);
75714 ;
75715 return 0;
75716 }
75717 _ACEOF
75718 if ac_fn_cxx_try_compile "$LINENO"; then :
75719 glibcxx_cv_func_fmodl_use=yes
75720 else
75721 glibcxx_cv_func_fmodl_use=no
75722 fi
75723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75724 ac_ext=c
75725 ac_cpp='$CPP $CPPFLAGS'
75726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75729
75730
75731 fi
75732
75733 fi
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75735 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75736
75737 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75738 for ac_func in fmodl
75739 do :
75740 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75741 if test "x$ac_cv_func_fmodl" = x""yes; then :
75742 cat >>confdefs.h <<_ACEOF
75743 #define HAVE_FMODL 1
75744 _ACEOF
75745
75746 fi
75747 done
75748
75749 else
75750
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75752 $as_echo_n "checking for _fmodl declaration... " >&6; }
75753 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75754 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75755 $as_echo_n "(cached) " >&6
75756 else
75757
75758
75759 ac_ext=cpp
75760 ac_cpp='$CXXCPP $CPPFLAGS'
75761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75764
75765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75766 /* end confdefs.h. */
75767 #include <math.h>
75768 int
75769 main ()
75770 {
75771 _fmodl(0, 0);
75772 ;
75773 return 0;
75774 }
75775 _ACEOF
75776 if ac_fn_cxx_try_compile "$LINENO"; then :
75777 glibcxx_cv_func__fmodl_use=yes
75778 else
75779 glibcxx_cv_func__fmodl_use=no
75780 fi
75781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75782 ac_ext=c
75783 ac_cpp='$CPP $CPPFLAGS'
75784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75787
75788
75789 fi
75790
75791 fi
75792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75793 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75794
75795 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75796 for ac_func in _fmodl
75797 do :
75798 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75799 if test "x$ac_cv_func__fmodl" = x""yes; then :
75800 cat >>confdefs.h <<_ACEOF
75801 #define HAVE__FMODL 1
75802 _ACEOF
75803
75804 fi
75805 done
75806
75807 fi
75808 fi
75809
75810
75811
75812
75813
75814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75815 $as_echo_n "checking for frexpl declaration... " >&6; }
75816 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75817 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75818 $as_echo_n "(cached) " >&6
75819 else
75820
75821
75822 ac_ext=cpp
75823 ac_cpp='$CXXCPP $CPPFLAGS'
75824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75827
75828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75829 /* end confdefs.h. */
75830 #include <math.h>
75831 int
75832 main ()
75833 {
75834 frexpl(0, 0);
75835 ;
75836 return 0;
75837 }
75838 _ACEOF
75839 if ac_fn_cxx_try_compile "$LINENO"; then :
75840 glibcxx_cv_func_frexpl_use=yes
75841 else
75842 glibcxx_cv_func_frexpl_use=no
75843 fi
75844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75845 ac_ext=c
75846 ac_cpp='$CPP $CPPFLAGS'
75847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75850
75851
75852 fi
75853
75854 fi
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75856 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75857
75858 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75859 for ac_func in frexpl
75860 do :
75861 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75862 if test "x$ac_cv_func_frexpl" = x""yes; then :
75863 cat >>confdefs.h <<_ACEOF
75864 #define HAVE_FREXPL 1
75865 _ACEOF
75866
75867 fi
75868 done
75869
75870 else
75871
75872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75873 $as_echo_n "checking for _frexpl declaration... " >&6; }
75874 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75875 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75876 $as_echo_n "(cached) " >&6
75877 else
75878
75879
75880 ac_ext=cpp
75881 ac_cpp='$CXXCPP $CPPFLAGS'
75882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75885
75886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75887 /* end confdefs.h. */
75888 #include <math.h>
75889 int
75890 main ()
75891 {
75892 _frexpl(0, 0);
75893 ;
75894 return 0;
75895 }
75896 _ACEOF
75897 if ac_fn_cxx_try_compile "$LINENO"; then :
75898 glibcxx_cv_func__frexpl_use=yes
75899 else
75900 glibcxx_cv_func__frexpl_use=no
75901 fi
75902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75903 ac_ext=c
75904 ac_cpp='$CPP $CPPFLAGS'
75905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75908
75909
75910 fi
75911
75912 fi
75913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75914 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75915
75916 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75917 for ac_func in _frexpl
75918 do :
75919 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75920 if test "x$ac_cv_func__frexpl" = x""yes; then :
75921 cat >>confdefs.h <<_ACEOF
75922 #define HAVE__FREXPL 1
75923 _ACEOF
75924
75925 fi
75926 done
75927
75928 fi
75929 fi
75930
75931
75932
75933
75934
75935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75936 $as_echo_n "checking for hypotl declaration... " >&6; }
75937 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75938 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75939 $as_echo_n "(cached) " >&6
75940 else
75941
75942
75943 ac_ext=cpp
75944 ac_cpp='$CXXCPP $CPPFLAGS'
75945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75948
75949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75950 /* end confdefs.h. */
75951 #include <math.h>
75952 int
75953 main ()
75954 {
75955 hypotl(0, 0);
75956 ;
75957 return 0;
75958 }
75959 _ACEOF
75960 if ac_fn_cxx_try_compile "$LINENO"; then :
75961 glibcxx_cv_func_hypotl_use=yes
75962 else
75963 glibcxx_cv_func_hypotl_use=no
75964 fi
75965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75966 ac_ext=c
75967 ac_cpp='$CPP $CPPFLAGS'
75968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75971
75972
75973 fi
75974
75975 fi
75976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75977 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75978
75979 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75980 for ac_func in hypotl
75981 do :
75982 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75983 if test "x$ac_cv_func_hypotl" = x""yes; then :
75984 cat >>confdefs.h <<_ACEOF
75985 #define HAVE_HYPOTL 1
75986 _ACEOF
75987
75988 fi
75989 done
75990
75991 else
75992
75993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75994 $as_echo_n "checking for _hypotl declaration... " >&6; }
75995 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75996 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75997 $as_echo_n "(cached) " >&6
75998 else
75999
76000
76001 ac_ext=cpp
76002 ac_cpp='$CXXCPP $CPPFLAGS'
76003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76006
76007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76008 /* end confdefs.h. */
76009 #include <math.h>
76010 int
76011 main ()
76012 {
76013 _hypotl(0, 0);
76014 ;
76015 return 0;
76016 }
76017 _ACEOF
76018 if ac_fn_cxx_try_compile "$LINENO"; then :
76019 glibcxx_cv_func__hypotl_use=yes
76020 else
76021 glibcxx_cv_func__hypotl_use=no
76022 fi
76023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76024 ac_ext=c
76025 ac_cpp='$CPP $CPPFLAGS'
76026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76029
76030
76031 fi
76032
76033 fi
76034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76035 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76036
76037 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76038 for ac_func in _hypotl
76039 do :
76040 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76041 if test "x$ac_cv_func__hypotl" = x""yes; then :
76042 cat >>confdefs.h <<_ACEOF
76043 #define HAVE__HYPOTL 1
76044 _ACEOF
76045
76046 fi
76047 done
76048
76049 fi
76050 fi
76051
76052
76053
76054
76055
76056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76057 $as_echo_n "checking for ldexpl declaration... " >&6; }
76058 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76059 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76060 $as_echo_n "(cached) " >&6
76061 else
76062
76063
76064 ac_ext=cpp
76065 ac_cpp='$CXXCPP $CPPFLAGS'
76066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76069
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76072 #include <math.h>
76073 int
76074 main ()
76075 {
76076 ldexpl(0, 0);
76077 ;
76078 return 0;
76079 }
76080 _ACEOF
76081 if ac_fn_cxx_try_compile "$LINENO"; then :
76082 glibcxx_cv_func_ldexpl_use=yes
76083 else
76084 glibcxx_cv_func_ldexpl_use=no
76085 fi
76086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76087 ac_ext=c
76088 ac_cpp='$CPP $CPPFLAGS'
76089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76092
76093
76094 fi
76095
76096 fi
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76098 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76099
76100 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76101 for ac_func in ldexpl
76102 do :
76103 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76104 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76105 cat >>confdefs.h <<_ACEOF
76106 #define HAVE_LDEXPL 1
76107 _ACEOF
76108
76109 fi
76110 done
76111
76112 else
76113
76114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76115 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76116 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76117 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76118 $as_echo_n "(cached) " >&6
76119 else
76120
76121
76122 ac_ext=cpp
76123 ac_cpp='$CXXCPP $CPPFLAGS'
76124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76127
76128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76129 /* end confdefs.h. */
76130 #include <math.h>
76131 int
76132 main ()
76133 {
76134 _ldexpl(0, 0);
76135 ;
76136 return 0;
76137 }
76138 _ACEOF
76139 if ac_fn_cxx_try_compile "$LINENO"; then :
76140 glibcxx_cv_func__ldexpl_use=yes
76141 else
76142 glibcxx_cv_func__ldexpl_use=no
76143 fi
76144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76145 ac_ext=c
76146 ac_cpp='$CPP $CPPFLAGS'
76147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76150
76151
76152 fi
76153
76154 fi
76155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76156 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76157
76158 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76159 for ac_func in _ldexpl
76160 do :
76161 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76162 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76163 cat >>confdefs.h <<_ACEOF
76164 #define HAVE__LDEXPL 1
76165 _ACEOF
76166
76167 fi
76168 done
76169
76170 fi
76171 fi
76172
76173
76174
76175
76176
76177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76178 $as_echo_n "checking for logl declaration... " >&6; }
76179 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76180 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76181 $as_echo_n "(cached) " >&6
76182 else
76183
76184
76185 ac_ext=cpp
76186 ac_cpp='$CXXCPP $CPPFLAGS'
76187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76190
76191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76192 /* end confdefs.h. */
76193 #include <math.h>
76194 #ifdef HAVE_IEEEFP_H
76195 #include <ieeefp.h>
76196 #endif
76197
76198 int
76199 main ()
76200 {
76201 logl(0);
76202 ;
76203 return 0;
76204 }
76205 _ACEOF
76206 if ac_fn_cxx_try_compile "$LINENO"; then :
76207 glibcxx_cv_func_logl_use=yes
76208 else
76209 glibcxx_cv_func_logl_use=no
76210 fi
76211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76212 ac_ext=c
76213 ac_cpp='$CPP $CPPFLAGS'
76214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76217
76218
76219 fi
76220
76221 fi
76222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76223 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76224
76225 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76226 for ac_func in logl
76227 do :
76228 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76229 if test "x$ac_cv_func_logl" = x""yes; then :
76230 cat >>confdefs.h <<_ACEOF
76231 #define HAVE_LOGL 1
76232 _ACEOF
76233
76234 fi
76235 done
76236
76237 else
76238
76239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76240 $as_echo_n "checking for _logl declaration... " >&6; }
76241 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76242 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76243 $as_echo_n "(cached) " >&6
76244 else
76245
76246
76247 ac_ext=cpp
76248 ac_cpp='$CXXCPP $CPPFLAGS'
76249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76252
76253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76254 /* end confdefs.h. */
76255 #include <math.h>
76256 #ifdef HAVE_IEEEFP_H
76257 #include <ieeefp.h>
76258 #endif
76259
76260 int
76261 main ()
76262 {
76263 _logl(0);
76264 ;
76265 return 0;
76266 }
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func__logl_use=yes
76270 else
76271 glibcxx_cv_func__logl_use=no
76272 fi
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76279
76280
76281 fi
76282
76283 fi
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76285 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76286
76287 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76288 for ac_func in _logl
76289 do :
76290 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76291 if test "x$ac_cv_func__logl" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE__LOGL 1
76294 _ACEOF
76295
76296 fi
76297 done
76298
76299 fi
76300 fi
76301
76302
76303
76304
76305
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76307 $as_echo_n "checking for log10l declaration... " >&6; }
76308 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76309 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76310 $as_echo_n "(cached) " >&6
76311 else
76312
76313
76314 ac_ext=cpp
76315 ac_cpp='$CXXCPP $CPPFLAGS'
76316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76319
76320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76321 /* end confdefs.h. */
76322 #include <math.h>
76323 #ifdef HAVE_IEEEFP_H
76324 #include <ieeefp.h>
76325 #endif
76326
76327 int
76328 main ()
76329 {
76330 log10l(0);
76331 ;
76332 return 0;
76333 }
76334 _ACEOF
76335 if ac_fn_cxx_try_compile "$LINENO"; then :
76336 glibcxx_cv_func_log10l_use=yes
76337 else
76338 glibcxx_cv_func_log10l_use=no
76339 fi
76340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76341 ac_ext=c
76342 ac_cpp='$CPP $CPPFLAGS'
76343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76346
76347
76348 fi
76349
76350 fi
76351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76352 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76353
76354 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76355 for ac_func in log10l
76356 do :
76357 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76358 if test "x$ac_cv_func_log10l" = x""yes; then :
76359 cat >>confdefs.h <<_ACEOF
76360 #define HAVE_LOG10L 1
76361 _ACEOF
76362
76363 fi
76364 done
76365
76366 else
76367
76368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76369 $as_echo_n "checking for _log10l declaration... " >&6; }
76370 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76371 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76372 $as_echo_n "(cached) " >&6
76373 else
76374
76375
76376 ac_ext=cpp
76377 ac_cpp='$CXXCPP $CPPFLAGS'
76378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76381
76382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76383 /* end confdefs.h. */
76384 #include <math.h>
76385 #ifdef HAVE_IEEEFP_H
76386 #include <ieeefp.h>
76387 #endif
76388
76389 int
76390 main ()
76391 {
76392 _log10l(0);
76393 ;
76394 return 0;
76395 }
76396 _ACEOF
76397 if ac_fn_cxx_try_compile "$LINENO"; then :
76398 glibcxx_cv_func__log10l_use=yes
76399 else
76400 glibcxx_cv_func__log10l_use=no
76401 fi
76402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76403 ac_ext=c
76404 ac_cpp='$CPP $CPPFLAGS'
76405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76408
76409
76410 fi
76411
76412 fi
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76414 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76415
76416 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76417 for ac_func in _log10l
76418 do :
76419 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76420 if test "x$ac_cv_func__log10l" = x""yes; then :
76421 cat >>confdefs.h <<_ACEOF
76422 #define HAVE__LOG10L 1
76423 _ACEOF
76424
76425 fi
76426 done
76427
76428 fi
76429 fi
76430
76431
76432
76433
76434
76435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76436 $as_echo_n "checking for modfl declaration... " >&6; }
76437 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76438 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76439 $as_echo_n "(cached) " >&6
76440 else
76441
76442
76443 ac_ext=cpp
76444 ac_cpp='$CXXCPP $CPPFLAGS'
76445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76448
76449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76450 /* end confdefs.h. */
76451 #include <math.h>
76452 int
76453 main ()
76454 {
76455 modfl(0, 0);
76456 ;
76457 return 0;
76458 }
76459 _ACEOF
76460 if ac_fn_cxx_try_compile "$LINENO"; then :
76461 glibcxx_cv_func_modfl_use=yes
76462 else
76463 glibcxx_cv_func_modfl_use=no
76464 fi
76465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76466 ac_ext=c
76467 ac_cpp='$CPP $CPPFLAGS'
76468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76471
76472
76473 fi
76474
76475 fi
76476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76477 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76478
76479 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76480 for ac_func in modfl
76481 do :
76482 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76483 if test "x$ac_cv_func_modfl" = x""yes; then :
76484 cat >>confdefs.h <<_ACEOF
76485 #define HAVE_MODFL 1
76486 _ACEOF
76487
76488 fi
76489 done
76490
76491 else
76492
76493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76494 $as_echo_n "checking for _modfl declaration... " >&6; }
76495 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76496 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76497 $as_echo_n "(cached) " >&6
76498 else
76499
76500
76501 ac_ext=cpp
76502 ac_cpp='$CXXCPP $CPPFLAGS'
76503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76506
76507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76508 /* end confdefs.h. */
76509 #include <math.h>
76510 int
76511 main ()
76512 {
76513 _modfl(0, 0);
76514 ;
76515 return 0;
76516 }
76517 _ACEOF
76518 if ac_fn_cxx_try_compile "$LINENO"; then :
76519 glibcxx_cv_func__modfl_use=yes
76520 else
76521 glibcxx_cv_func__modfl_use=no
76522 fi
76523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76524 ac_ext=c
76525 ac_cpp='$CPP $CPPFLAGS'
76526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76529
76530
76531 fi
76532
76533 fi
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76535 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76536
76537 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76538 for ac_func in _modfl
76539 do :
76540 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76541 if test "x$ac_cv_func__modfl" = x""yes; then :
76542 cat >>confdefs.h <<_ACEOF
76543 #define HAVE__MODFL 1
76544 _ACEOF
76545
76546 fi
76547 done
76548
76549 fi
76550 fi
76551
76552
76553
76554
76555
76556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76557 $as_echo_n "checking for powl declaration... " >&6; }
76558 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76559 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76560 $as_echo_n "(cached) " >&6
76561 else
76562
76563
76564 ac_ext=cpp
76565 ac_cpp='$CXXCPP $CPPFLAGS'
76566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76569
76570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76571 /* end confdefs.h. */
76572 #include <math.h>
76573 int
76574 main ()
76575 {
76576 powl(0, 0);
76577 ;
76578 return 0;
76579 }
76580 _ACEOF
76581 if ac_fn_cxx_try_compile "$LINENO"; then :
76582 glibcxx_cv_func_powl_use=yes
76583 else
76584 glibcxx_cv_func_powl_use=no
76585 fi
76586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76587 ac_ext=c
76588 ac_cpp='$CPP $CPPFLAGS'
76589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76592
76593
76594 fi
76595
76596 fi
76597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76598 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76599
76600 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76601 for ac_func in powl
76602 do :
76603 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76604 if test "x$ac_cv_func_powl" = x""yes; then :
76605 cat >>confdefs.h <<_ACEOF
76606 #define HAVE_POWL 1
76607 _ACEOF
76608
76609 fi
76610 done
76611
76612 else
76613
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76615 $as_echo_n "checking for _powl declaration... " >&6; }
76616 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76617 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76618 $as_echo_n "(cached) " >&6
76619 else
76620
76621
76622 ac_ext=cpp
76623 ac_cpp='$CXXCPP $CPPFLAGS'
76624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76627
76628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76629 /* end confdefs.h. */
76630 #include <math.h>
76631 int
76632 main ()
76633 {
76634 _powl(0, 0);
76635 ;
76636 return 0;
76637 }
76638 _ACEOF
76639 if ac_fn_cxx_try_compile "$LINENO"; then :
76640 glibcxx_cv_func__powl_use=yes
76641 else
76642 glibcxx_cv_func__powl_use=no
76643 fi
76644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76645 ac_ext=c
76646 ac_cpp='$CPP $CPPFLAGS'
76647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76650
76651
76652 fi
76653
76654 fi
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76656 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76657
76658 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76659 for ac_func in _powl
76660 do :
76661 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76662 if test "x$ac_cv_func__powl" = x""yes; then :
76663 cat >>confdefs.h <<_ACEOF
76664 #define HAVE__POWL 1
76665 _ACEOF
76666
76667 fi
76668 done
76669
76670 fi
76671 fi
76672
76673
76674
76675
76676
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76678 $as_echo_n "checking for sqrtl declaration... " >&6; }
76679 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76680 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76681 $as_echo_n "(cached) " >&6
76682 else
76683
76684
76685 ac_ext=cpp
76686 ac_cpp='$CXXCPP $CPPFLAGS'
76687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76690
76691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76692 /* end confdefs.h. */
76693 #include <math.h>
76694 #ifdef HAVE_IEEEFP_H
76695 #include <ieeefp.h>
76696 #endif
76697
76698 int
76699 main ()
76700 {
76701 sqrtl(0);
76702 ;
76703 return 0;
76704 }
76705 _ACEOF
76706 if ac_fn_cxx_try_compile "$LINENO"; then :
76707 glibcxx_cv_func_sqrtl_use=yes
76708 else
76709 glibcxx_cv_func_sqrtl_use=no
76710 fi
76711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76712 ac_ext=c
76713 ac_cpp='$CPP $CPPFLAGS'
76714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76717
76718
76719 fi
76720
76721 fi
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76723 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76724
76725 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76726 for ac_func in sqrtl
76727 do :
76728 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76729 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76730 cat >>confdefs.h <<_ACEOF
76731 #define HAVE_SQRTL 1
76732 _ACEOF
76733
76734 fi
76735 done
76736
76737 else
76738
76739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76740 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76741 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76742 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76743 $as_echo_n "(cached) " >&6
76744 else
76745
76746
76747 ac_ext=cpp
76748 ac_cpp='$CXXCPP $CPPFLAGS'
76749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76752
76753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76754 /* end confdefs.h. */
76755 #include <math.h>
76756 #ifdef HAVE_IEEEFP_H
76757 #include <ieeefp.h>
76758 #endif
76759
76760 int
76761 main ()
76762 {
76763 _sqrtl(0);
76764 ;
76765 return 0;
76766 }
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_func__sqrtl_use=yes
76770 else
76771 glibcxx_cv_func__sqrtl_use=no
76772 fi
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 ac_ext=c
76775 ac_cpp='$CPP $CPPFLAGS'
76776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76779
76780
76781 fi
76782
76783 fi
76784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76785 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76786
76787 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76788 for ac_func in _sqrtl
76789 do :
76790 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76791 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76792 cat >>confdefs.h <<_ACEOF
76793 #define HAVE__SQRTL 1
76794 _ACEOF
76795
76796 fi
76797 done
76798
76799 fi
76800 fi
76801
76802
76803
76804
76805
76806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76807 $as_echo_n "checking for sincosl declaration... " >&6; }
76808 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76809 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76810 $as_echo_n "(cached) " >&6
76811 else
76812
76813
76814 ac_ext=cpp
76815 ac_cpp='$CXXCPP $CPPFLAGS'
76816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76819
76820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76821 /* end confdefs.h. */
76822 #include <math.h>
76823 int
76824 main ()
76825 {
76826 sincosl(0, 0, 0);
76827 ;
76828 return 0;
76829 }
76830 _ACEOF
76831 if ac_fn_cxx_try_compile "$LINENO"; then :
76832 glibcxx_cv_func_sincosl_use=yes
76833 else
76834 glibcxx_cv_func_sincosl_use=no
76835 fi
76836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76837 ac_ext=c
76838 ac_cpp='$CPP $CPPFLAGS'
76839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76842
76843
76844 fi
76845
76846 fi
76847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76848 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76849
76850 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76851 for ac_func in sincosl
76852 do :
76853 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76854 if test "x$ac_cv_func_sincosl" = x""yes; then :
76855 cat >>confdefs.h <<_ACEOF
76856 #define HAVE_SINCOSL 1
76857 _ACEOF
76858
76859 fi
76860 done
76861
76862 else
76863
76864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76865 $as_echo_n "checking for _sincosl declaration... " >&6; }
76866 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76867 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76868 $as_echo_n "(cached) " >&6
76869 else
76870
76871
76872 ac_ext=cpp
76873 ac_cpp='$CXXCPP $CPPFLAGS'
76874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76877
76878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76879 /* end confdefs.h. */
76880 #include <math.h>
76881 int
76882 main ()
76883 {
76884 _sincosl(0, 0, 0);
76885 ;
76886 return 0;
76887 }
76888 _ACEOF
76889 if ac_fn_cxx_try_compile "$LINENO"; then :
76890 glibcxx_cv_func__sincosl_use=yes
76891 else
76892 glibcxx_cv_func__sincosl_use=no
76893 fi
76894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76895 ac_ext=c
76896 ac_cpp='$CPP $CPPFLAGS'
76897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76900
76901
76902 fi
76903
76904 fi
76905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76906 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76907
76908 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76909 for ac_func in _sincosl
76910 do :
76911 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76912 if test "x$ac_cv_func__sincosl" = x""yes; then :
76913 cat >>confdefs.h <<_ACEOF
76914 #define HAVE__SINCOSL 1
76915 _ACEOF
76916
76917 fi
76918 done
76919
76920 fi
76921 fi
76922
76923
76924
76925
76926
76927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76928 $as_echo_n "checking for finitel declaration... " >&6; }
76929 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76930 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76931 $as_echo_n "(cached) " >&6
76932 else
76933
76934
76935 ac_ext=cpp
76936 ac_cpp='$CXXCPP $CPPFLAGS'
76937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76940
76941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76942 /* end confdefs.h. */
76943 #include <math.h>
76944 #ifdef HAVE_IEEEFP_H
76945 #include <ieeefp.h>
76946 #endif
76947
76948 int
76949 main ()
76950 {
76951 finitel(0);
76952 ;
76953 return 0;
76954 }
76955 _ACEOF
76956 if ac_fn_cxx_try_compile "$LINENO"; then :
76957 glibcxx_cv_func_finitel_use=yes
76958 else
76959 glibcxx_cv_func_finitel_use=no
76960 fi
76961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76962 ac_ext=c
76963 ac_cpp='$CPP $CPPFLAGS'
76964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76967
76968
76969 fi
76970
76971 fi
76972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76973 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76974
76975 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76976 for ac_func in finitel
76977 do :
76978 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76979 if test "x$ac_cv_func_finitel" = x""yes; then :
76980 cat >>confdefs.h <<_ACEOF
76981 #define HAVE_FINITEL 1
76982 _ACEOF
76983
76984 fi
76985 done
76986
76987 else
76988
76989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76990 $as_echo_n "checking for _finitel declaration... " >&6; }
76991 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76992 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76993 $as_echo_n "(cached) " >&6
76994 else
76995
76996
76997 ac_ext=cpp
76998 ac_cpp='$CXXCPP $CPPFLAGS'
76999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77002
77003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77004 /* end confdefs.h. */
77005 #include <math.h>
77006 #ifdef HAVE_IEEEFP_H
77007 #include <ieeefp.h>
77008 #endif
77009
77010 int
77011 main ()
77012 {
77013 _finitel(0);
77014 ;
77015 return 0;
77016 }
77017 _ACEOF
77018 if ac_fn_cxx_try_compile "$LINENO"; then :
77019 glibcxx_cv_func__finitel_use=yes
77020 else
77021 glibcxx_cv_func__finitel_use=no
77022 fi
77023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77024 ac_ext=c
77025 ac_cpp='$CPP $CPPFLAGS'
77026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77029
77030
77031 fi
77032
77033 fi
77034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77035 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77036
77037 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77038 for ac_func in _finitel
77039 do :
77040 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77041 if test "x$ac_cv_func__finitel" = x""yes; then :
77042 cat >>confdefs.h <<_ACEOF
77043 #define HAVE__FINITEL 1
77044 _ACEOF
77045
77046 fi
77047 done
77048
77049 fi
77050 fi
77051
77052
77053
77054
77055 LIBS="$ac_save_LIBS"
77056 CXXFLAGS="$ac_save_CXXFLAGS"
77057
77058
77059 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77060 ac_save_CXXFLAGS="$CXXFLAGS"
77061 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77062
77063
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77065 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77066 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77067 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77070
77071
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <stdlib.h>
77081 int
77082 main ()
77083 {
77084 at_quick_exit(0);
77085 ;
77086 return 0;
77087 }
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func_at_quick_exit_use=yes
77091 else
77092 glibcxx_cv_func_at_quick_exit_use=no
77093 fi
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77100
77101
77102 fi
77103
77104 fi
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77106 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77107 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77108 for ac_func in at_quick_exit
77109 do :
77110 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77111 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77112 cat >>confdefs.h <<_ACEOF
77113 #define HAVE_AT_QUICK_EXIT 1
77114 _ACEOF
77115
77116 fi
77117 done
77118
77119 fi
77120
77121
77122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77123 $as_echo_n "checking for quick_exit declaration... " >&6; }
77124 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77125 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77126 $as_echo_n "(cached) " >&6
77127 else
77128
77129
77130 ac_ext=cpp
77131 ac_cpp='$CXXCPP $CPPFLAGS'
77132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77135
77136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77137 /* end confdefs.h. */
77138 #include <stdlib.h>
77139 int
77140 main ()
77141 {
77142 quick_exit(0);
77143 ;
77144 return 0;
77145 }
77146 _ACEOF
77147 if ac_fn_cxx_try_compile "$LINENO"; then :
77148 glibcxx_cv_func_quick_exit_use=yes
77149 else
77150 glibcxx_cv_func_quick_exit_use=no
77151 fi
77152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77153 ac_ext=c
77154 ac_cpp='$CPP $CPPFLAGS'
77155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77158
77159
77160 fi
77161
77162 fi
77163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77164 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77165 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77166 for ac_func in quick_exit
77167 do :
77168 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77169 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77170 cat >>confdefs.h <<_ACEOF
77171 #define HAVE_QUICK_EXIT 1
77172 _ACEOF
77173
77174 fi
77175 done
77176
77177 fi
77178
77179
77180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77181 $as_echo_n "checking for strtold declaration... " >&6; }
77182 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77183 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77184 $as_echo_n "(cached) " >&6
77185 else
77186
77187
77188 ac_ext=cpp
77189 ac_cpp='$CXXCPP $CPPFLAGS'
77190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77193
77194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77195 /* end confdefs.h. */
77196 #include <stdlib.h>
77197 int
77198 main ()
77199 {
77200 strtold(0, 0);
77201 ;
77202 return 0;
77203 }
77204 _ACEOF
77205 if ac_fn_cxx_try_compile "$LINENO"; then :
77206 glibcxx_cv_func_strtold_use=yes
77207 else
77208 glibcxx_cv_func_strtold_use=no
77209 fi
77210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77211 ac_ext=c
77212 ac_cpp='$CPP $CPPFLAGS'
77213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77216
77217
77218 fi
77219
77220 fi
77221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77222 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77223 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77224 for ac_func in strtold
77225 do :
77226 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77227 if test "x$ac_cv_func_strtold" = x""yes; then :
77228 cat >>confdefs.h <<_ACEOF
77229 #define HAVE_STRTOLD 1
77230 _ACEOF
77231
77232 fi
77233 done
77234
77235 fi
77236
77237
77238
77239
77240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77241 $as_echo_n "checking for strtof declaration... " >&6; }
77242 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77243 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77244 $as_echo_n "(cached) " >&6
77245 else
77246
77247
77248 ac_ext=cpp
77249 ac_cpp='$CXXCPP $CPPFLAGS'
77250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77253
77254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77255 /* end confdefs.h. */
77256 #include <stdlib.h>
77257 int
77258 main ()
77259 {
77260 strtof(0, 0);
77261 ;
77262 return 0;
77263 }
77264 _ACEOF
77265 if ac_fn_cxx_try_compile "$LINENO"; then :
77266 glibcxx_cv_func_strtof_use=yes
77267 else
77268 glibcxx_cv_func_strtof_use=no
77269 fi
77270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77271 ac_ext=c
77272 ac_cpp='$CPP $CPPFLAGS'
77273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77276
77277
77278 fi
77279
77280 fi
77281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77282 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77283 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77284 for ac_func in strtof
77285 do :
77286 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77287 if test "x$ac_cv_func_strtof" = x""yes; then :
77288 cat >>confdefs.h <<_ACEOF
77289 #define HAVE_STRTOF 1
77290 _ACEOF
77291
77292 fi
77293 done
77294
77295 fi
77296
77297
77298
77299
77300 CXXFLAGS="$ac_save_CXXFLAGS"
77301
77302 ;;
77303 *-vxworks)
77304 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77305
77306 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77307
77308 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77309
77310 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77311
77312 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77313
77314 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77315
77316 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77317
77318 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77319
77320 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77321
77322 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77323
77324 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77325
77326 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77327
77328 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77329
77330 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77331
77332 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77333
77334 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77335
77336 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77337
77338 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77339
77340 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77341
77342 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77343
77344 ;;
77345 *)
77346 as_fn_error "No support for this host/target combination." "$LINENO" 5
77347 ;;
77348 esac
77349
77350 fi
77351
77352 # At some point, we should differentiate between architectures
77353 # like x86, which have long double versions, and alpha/powerpc/etc.,
77354 # which don't. For the time being, punt.
77355 if test x"long_double_math_on_this_cpu" = x"yes"; then
77356 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77357
77358 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77359
77360 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77361
77362 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77363
77364 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77365
77366 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77367
77368 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77369
77370 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77371
77372 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77373
77374 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77375
77376 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77377
77378 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77379
77380 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77381
77382 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77383
77384 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77385
77386 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77387
77388 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77389
77390 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77391
77392 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77393
77394 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77395
77396 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77397
77398 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77399
77400 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77401
77402 fi
77403 fi
77404
77405 # Check for _Unwind_GetIPInfo.
77406
77407
77408 # Check whether --with-system-libunwind was given.
77409 if test "${with_system_libunwind+set}" = set; then :
77410 withval=$with_system_libunwind;
77411 fi
77412
77413 # If system-libunwind was not specifically set, pick a default setting.
77414 if test x$with_system_libunwind = x; then
77415 case ${target} in
77416 ia64-*-hpux*) with_system_libunwind=yes ;;
77417 *) with_system_libunwind=no ;;
77418 esac
77419 fi
77420 # Based on system-libunwind and target, do we have ipinfo?
77421 if test x$with_system_libunwind = xyes; then
77422 case ${target} in
77423 ia64-*-*) have_unwind_getipinfo=no ;;
77424 *) have_unwind_getipinfo=yes ;;
77425 esac
77426 else
77427 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77428
77429 case ${target} in
77430 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77431 *) have_unwind_getipinfo=yes ;;
77432 esac
77433
77434 fi
77435
77436 if test x$have_unwind_getipinfo = xyes; then
77437
77438 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77439
77440 fi
77441
77442
77443 # Check whether --enable-linux-futex was given.
77444 if test "${enable_linux_futex+set}" = set; then :
77445 enableval=$enable_linux_futex;
77446 case "$enableval" in
77447 yes|no|default) ;;
77448 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77449 esac
77450
77451 else
77452 enable_linux_futex=default
77453 fi
77454
77455
77456 case "$target" in
77457 *-linux*)
77458 case "$enable_linux_futex" in
77459 default)
77460 # If headers don't have gettid/futex syscalls definition, then
77461 # default to no, otherwise there will be compile time failures.
77462 # Otherwise, default to yes. If we don't detect we are
77463 # compiled/linked against NPTL and not cross-compiling, check
77464 # if programs are run by default against NPTL and if not, issue
77465 # a warning.
77466 enable_linux_futex=no
77467 if test x$gcc_no_link = xyes; then
77468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77469 fi
77470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77471 /* end confdefs.h. */
77472 #include <sys/syscall.h>
77473 int lk;
77474 int
77475 main ()
77476 {
77477 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77478 ;
77479 return 0;
77480 }
77481 _ACEOF
77482 if ac_fn_c_try_link "$LINENO"; then :
77483 save_LIBS="$LIBS"
77484 LIBS="-lpthread $LIBS"
77485 if test x$gcc_no_link = xyes; then
77486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77487 fi
77488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77489 /* end confdefs.h. */
77490 #ifndef _GNU_SOURCE
77491 #define _GNU_SOURCE 1
77492 #endif
77493 #include <pthread.h>
77494 pthread_t th; void *status;
77495 int
77496 main ()
77497 {
77498 pthread_tryjoin_np (th, &status);
77499 ;
77500 return 0;
77501 }
77502 _ACEOF
77503 if ac_fn_c_try_link "$LINENO"; then :
77504 enable_linux_futex=yes
77505 else
77506 if test x$cross_compiling = xno; then
77507 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77508 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77510 If so, please configure with --disable-linux-futex" >&5
77511 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77512 If so, please configure with --disable-linux-futex" >&2;}
77513 fi
77514 fi
77515 enable_linux_futex=yes
77516 fi
77517 rm -f core conftest.err conftest.$ac_objext \
77518 conftest$ac_exeext conftest.$ac_ext
77519 LIBS="$save_LIBS"
77520 fi
77521 rm -f core conftest.err conftest.$ac_objext \
77522 conftest$ac_exeext conftest.$ac_ext
77523 ;;
77524 yes)
77525 if test x$gcc_no_link = xyes; then
77526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77527 fi
77528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77529 /* end confdefs.h. */
77530 #include <sys/syscall.h>
77531 int lk;
77532 int
77533 main ()
77534 {
77535 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77536 ;
77537 return 0;
77538 }
77539 _ACEOF
77540 if ac_fn_c_try_link "$LINENO"; then :
77541
77542 else
77543 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77544 fi
77545 rm -f core conftest.err conftest.$ac_objext \
77546 conftest$ac_exeext conftest.$ac_ext
77547 ;;
77548 esac
77549 ;;
77550 *)
77551 enable_linux_futex=no
77552 ;;
77553 esac
77554 if test x$enable_linux_futex = xyes; then
77555
77556 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77557
77558 fi
77559
77560
77561
77562
77563 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77564
77565 acx_cv_header_stdint=stddef.h
77566 acx_cv_header_stdint_kind="(already complete)"
77567 for i in stdint.h $inttype_headers; do
77568 unset ac_cv_type_uintptr_t
77569 unset ac_cv_type_uintmax_t
77570 unset ac_cv_type_int_least32_t
77571 unset ac_cv_type_int_fast32_t
77572 unset ac_cv_type_uint64_t
77573 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77574 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77575 #include <$i>
77576 "
77577 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77578 acx_cv_header_stdint=$i
77579 else
77580 continue
77581 fi
77582
77583 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77584 #include <$i>
77585 "
77586 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77587
77588 else
77589 acx_cv_header_stdint_kind="(mostly complete)"
77590 fi
77591
77592 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77593 #include <$i>
77594 "
77595 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77596
77597 else
77598 acx_cv_header_stdint_kind="(mostly complete)"
77599 fi
77600
77601 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77602 #include <$i>
77603 "
77604 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77605
77606 else
77607 acx_cv_header_stdint_kind="(mostly complete)"
77608 fi
77609
77610 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77611 #include <$i>
77612 "
77613 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77614
77615 else
77616 acx_cv_header_stdint_kind="(lacks uint64_t)"
77617 fi
77618
77619 break
77620 done
77621 if test "$acx_cv_header_stdint" = stddef.h; then
77622 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77623 for i in stdint.h $inttype_headers; do
77624 unset ac_cv_type_uintptr_t
77625 unset ac_cv_type_uint32_t
77626 unset ac_cv_type_uint64_t
77627 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77628 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77629 #include <$i>
77630 "
77631 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77632 acx_cv_header_stdint=$i
77633 else
77634 continue
77635 fi
77636
77637 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77638 #include <$i>
77639 "
77640 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77641
77642 fi
77643
77644 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77645 #include <$i>
77646 "
77647 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77648
77649 fi
77650
77651 break
77652 done
77653 fi
77654 if test "$acx_cv_header_stdint" = stddef.h; then
77655 acx_cv_header_stdint_kind="(u_intXX_t style)"
77656 for i in sys/types.h $inttype_headers; do
77657 unset ac_cv_type_u_int32_t
77658 unset ac_cv_type_u_int64_t
77659 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77660 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77661 #include <$i>
77662 "
77663 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77664 acx_cv_header_stdint=$i
77665 else
77666 continue
77667 fi
77668
77669 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77670 #include <$i>
77671 "
77672 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77673
77674 fi
77675
77676 break
77677 done
77678 fi
77679 if test "$acx_cv_header_stdint" = stddef.h; then
77680 acx_cv_header_stdint_kind="(using manual detection)"
77681 fi
77682
77683 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77684 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77685 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77686 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77687 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77688
77689 # ----------------- Summarize what we found so far
77690
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77692 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77693
77694 case `$as_basename -- include/gstdint.h ||
77695 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77696 Xinclude/gstdint.h : 'X\(//\)$' \| \
77697 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77698 $as_echo X/include/gstdint.h |
77699 sed '/^.*\/\([^/][^/]*\)\/*$/{
77700 s//\1/
77701 q
77702 }
77703 /^X\/\(\/\/\)$/{
77704 s//\1/
77705 q
77706 }
77707 /^X\/\(\/\).*/{
77708 s//\1/
77709 q
77710 }
77711 s/.*/./; q'` in
77712 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77713 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77714 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77715 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77716 *) ;;
77717 esac
77718
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77720 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77721
77722 # ----------------- done included file, check C basic types --------
77723
77724 # Lacking an uintptr_t? Test size of void *
77725 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77726 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77729 # This bug is HP SR number 8606223364.
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77731 $as_echo_n "checking size of void *... " >&6; }
77732 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77733 $as_echo_n "(cached) " >&6
77734 else
77735 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77736
77737 else
77738 if test "$ac_cv_type_void_p" = yes; then
77739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77741 { as_fn_set_status 77
77742 as_fn_error "cannot compute sizeof (void *)
77743 See \`config.log' for more details." "$LINENO" 5; }; }
77744 else
77745 ac_cv_sizeof_void_p=0
77746 fi
77747 fi
77748
77749 fi
77750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77751 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77752
77753
77754
77755 cat >>confdefs.h <<_ACEOF
77756 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77757 _ACEOF
77758
77759 ;;
77760 esac
77761
77762 # Lacking an uint64_t? Test size of long
77763 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77764 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77767 # This bug is HP SR number 8606223364.
77768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77769 $as_echo_n "checking size of long... " >&6; }
77770 if test "${ac_cv_sizeof_long+set}" = set; then :
77771 $as_echo_n "(cached) " >&6
77772 else
77773 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77774
77775 else
77776 if test "$ac_cv_type_long" = yes; then
77777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77779 { as_fn_set_status 77
77780 as_fn_error "cannot compute sizeof (long)
77781 See \`config.log' for more details." "$LINENO" 5; }; }
77782 else
77783 ac_cv_sizeof_long=0
77784 fi
77785 fi
77786
77787 fi
77788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77789 $as_echo "$ac_cv_sizeof_long" >&6; }
77790
77791
77792
77793 cat >>confdefs.h <<_ACEOF
77794 #define SIZEOF_LONG $ac_cv_sizeof_long
77795 _ACEOF
77796
77797 ;;
77798 esac
77799
77800 if test $acx_cv_header_stdint = stddef.h; then
77801 # Lacking a good header? Test size of everything and deduce all types.
77802 # The cast to long int works around a bug in the HP C Compiler
77803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77805 # This bug is HP SR number 8606223364.
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77807 $as_echo_n "checking size of int... " >&6; }
77808 if test "${ac_cv_sizeof_int+set}" = set; then :
77809 $as_echo_n "(cached) " >&6
77810 else
77811 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77812
77813 else
77814 if test "$ac_cv_type_int" = yes; then
77815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77817 { as_fn_set_status 77
77818 as_fn_error "cannot compute sizeof (int)
77819 See \`config.log' for more details." "$LINENO" 5; }; }
77820 else
77821 ac_cv_sizeof_int=0
77822 fi
77823 fi
77824
77825 fi
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77827 $as_echo "$ac_cv_sizeof_int" >&6; }
77828
77829
77830
77831 cat >>confdefs.h <<_ACEOF
77832 #define SIZEOF_INT $ac_cv_sizeof_int
77833 _ACEOF
77834
77835
77836 # The cast to long int works around a bug in the HP C Compiler
77837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77839 # This bug is HP SR number 8606223364.
77840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77841 $as_echo_n "checking size of short... " >&6; }
77842 if test "${ac_cv_sizeof_short+set}" = set; then :
77843 $as_echo_n "(cached) " >&6
77844 else
77845 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77846
77847 else
77848 if test "$ac_cv_type_short" = yes; then
77849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77851 { as_fn_set_status 77
77852 as_fn_error "cannot compute sizeof (short)
77853 See \`config.log' for more details." "$LINENO" 5; }; }
77854 else
77855 ac_cv_sizeof_short=0
77856 fi
77857 fi
77858
77859 fi
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77861 $as_echo "$ac_cv_sizeof_short" >&6; }
77862
77863
77864
77865 cat >>confdefs.h <<_ACEOF
77866 #define SIZEOF_SHORT $ac_cv_sizeof_short
77867 _ACEOF
77868
77869
77870 # The cast to long int works around a bug in the HP C Compiler
77871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77873 # This bug is HP SR number 8606223364.
77874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77875 $as_echo_n "checking size of char... " >&6; }
77876 if test "${ac_cv_sizeof_char+set}" = set; then :
77877 $as_echo_n "(cached) " >&6
77878 else
77879 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77880
77881 else
77882 if test "$ac_cv_type_char" = yes; then
77883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77885 { as_fn_set_status 77
77886 as_fn_error "cannot compute sizeof (char)
77887 See \`config.log' for more details." "$LINENO" 5; }; }
77888 else
77889 ac_cv_sizeof_char=0
77890 fi
77891 fi
77892
77893 fi
77894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77895 $as_echo "$ac_cv_sizeof_char" >&6; }
77896
77897
77898
77899 cat >>confdefs.h <<_ACEOF
77900 #define SIZEOF_CHAR $ac_cv_sizeof_char
77901 _ACEOF
77902
77903
77904
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77906 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77907 case "$ac_cv_sizeof_char" in
77908 1) acx_cv_type_int8_t=char ;;
77909 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77910 esac
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77912 $as_echo "$acx_cv_type_int8_t" >&6; }
77913
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77915 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77916 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77917 2:*) acx_cv_type_int16_t=int ;;
77918 *:2) acx_cv_type_int16_t=short ;;
77919 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77920 esac
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77922 $as_echo "$acx_cv_type_int16_t" >&6; }
77923
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77925 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77926 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77927 4:*) acx_cv_type_int32_t=int ;;
77928 *:4) acx_cv_type_int32_t=long ;;
77929 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77930 esac
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77932 $as_echo "$acx_cv_type_int32_t" >&6; }
77933 fi
77934
77935 # These tests are here to make the output prettier
77936
77937 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77938 case "$ac_cv_sizeof_long" in
77939 8) acx_cv_type_int64_t=long ;;
77940 esac
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77942 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77944 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77945 fi
77946
77947 # Now we can use the above types
77948
77949 if test "$ac_cv_type_uintptr_t" != yes; then
77950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77951 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77952 case $ac_cv_sizeof_void_p in
77953 2) acx_cv_type_intptr_t=int16_t ;;
77954 4) acx_cv_type_intptr_t=int32_t ;;
77955 8) acx_cv_type_intptr_t=int64_t ;;
77956 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77957 esac
77958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77959 $as_echo "$acx_cv_type_intptr_t" >&6; }
77960 fi
77961
77962 # ----------------- done all checks, emit header -------------
77963 ac_config_commands="$ac_config_commands include/gstdint.h"
77964
77965
77966
77967
77968
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77970 $as_echo_n "checking for GNU c++filt... " >&6; }
77971 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77972 $as_echo_n "(cached) " >&6
77973 else
77974 if test -z "$CXXFILT"; then
77975 ac_path_CXXFILT_found=false
77976 # Loop through the user's path and test for each of PROGNAME-LIST
77977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77978 for as_dir in $PATH
77979 do
77980 IFS=$as_save_IFS
77981 test -z "$as_dir" && as_dir=.
77982 for ac_prog in c++filt gc++filt; do
77983 for ac_exec_ext in '' $ac_executable_extensions; do
77984 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77985 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77986 # Check for GNU $ac_path_CXXFILT
77987 case `"$ac_path_CXXFILT" --version 2>&1` in
77988 *GNU*)
77989 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77990 esac
77991
77992 $ac_path_CXXFILT_found && break 3
77993 done
77994 done
77995 done
77996 IFS=$as_save_IFS
77997 if test -z "$ac_cv_path_CXXFILT"; then
77998 :
77999 fi
78000 else
78001 ac_cv_path_CXXFILT=$CXXFILT
78002 fi
78003
78004 fi
78005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78006 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78007 CXXFILT=$ac_cv_path_CXXFILT
78008
78009
78010
78011 # Check whether --enable-symvers was given.
78012 if test "${enable_symvers+set}" = set; then :
78013 enableval=$enable_symvers;
78014 case "$enableval" in
78015 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78016 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78017 esac
78018
78019 else
78020 enable_symvers=yes
78021 fi
78022
78023
78024
78025 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78026 # don't know enough about $LD to do tricks...
78027
78028 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78029 # with extern "C++" in version scripts.
78030
78031
78032 # Turn a 'yes' into a suitable default.
78033 if test x$enable_symvers = xyes ; then
78034 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78035 enable_symvers=no
78036 else
78037 if test $with_gnu_ld = yes ; then
78038 case ${target_os} in
78039 hpux*)
78040 enable_symvers=no ;;
78041 *)
78042 enable_symvers=gnu ;;
78043 esac
78044 else
78045 case ${target_os} in
78046 darwin*)
78047 enable_symvers=darwin ;;
78048 # Sun symbol versioning exists since Solaris 2.5.
78049 solaris2.[5-9]* | solaris2.1[0-9]*)
78050 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78051 # version scripts, so disable symbol versioning if none can be
78052 # found.
78053 if test -z "$ac_cv_path_CXXFILT"; then
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78055 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78057 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78059 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78060 enable_symvers=no
78061 else
78062 enable_symvers=sun
78063 fi
78064 ;;
78065 *)
78066 enable_symvers=no ;;
78067 esac
78068 fi
78069 fi
78070 fi
78071
78072 # Check to see if 'darwin' or 'darwin-export' can win.
78073 if test x$enable_symvers = xdarwin-export ; then
78074 enable_symvers=darwin
78075 fi
78076
78077 # Check if 'sun' was requested on non-Solaris 2 platforms.
78078 if test x$enable_symvers = xsun ; then
78079 case ${target_os} in
78080 solaris2*)
78081 # All fine.
78082 ;;
78083 *)
78084 # Unlikely to work.
78085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78086 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78088 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78090 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78091 enable_symvers=no
78092 ;;
78093 esac
78094 fi
78095
78096 # Check to see if 'gnu' can win.
78097 if test $enable_symvers = gnu ||
78098 test $enable_symvers = gnu-versioned-namespace ||
78099 test $enable_symvers = sun; then
78100 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78102 $as_echo_n "checking for shared libgcc... " >&6; }
78103 ac_save_CFLAGS="$CFLAGS"
78104 CFLAGS=' -lgcc_s'
78105 if test x$gcc_no_link = xyes; then
78106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78107 fi
78108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78109 /* end confdefs.h. */
78110
78111 int
78112 main ()
78113 {
78114 return 0;
78115 ;
78116 return 0;
78117 }
78118 _ACEOF
78119 if ac_fn_c_try_link "$LINENO"; then :
78120 glibcxx_shared_libgcc=yes
78121 else
78122 glibcxx_shared_libgcc=no
78123 fi
78124 rm -f core conftest.err conftest.$ac_objext \
78125 conftest$ac_exeext conftest.$ac_ext
78126 CFLAGS="$ac_save_CFLAGS"
78127 if test $glibcxx_shared_libgcc = no; then
78128 cat > conftest.c <<EOF
78129 int main (void) { return 0; }
78130 EOF
78131 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78132 -shared -shared-libgcc -o conftest.so \
78133 conftest.c -v 2>&1 >/dev/null \
78134 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78135 rm -f conftest.c conftest.so
78136 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78137 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78138 if test x$gcc_no_link = xyes; then
78139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78140 fi
78141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78142 /* end confdefs.h. */
78143
78144 int
78145 main ()
78146 {
78147 return 0;
78148 ;
78149 return 0;
78150 }
78151 _ACEOF
78152 if ac_fn_c_try_link "$LINENO"; then :
78153 glibcxx_shared_libgcc=yes
78154 fi
78155 rm -f core conftest.err conftest.$ac_objext \
78156 conftest$ac_exeext conftest.$ac_ext
78157 CFLAGS="$ac_save_CFLAGS"
78158 fi
78159 fi
78160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78161 $as_echo "$glibcxx_shared_libgcc" >&6; }
78162
78163 # For GNU ld, we need at least this version. The format is described in
78164 # GLIBCXX_CHECK_LINKER_FEATURES above.
78165 glibcxx_min_gnu_ld_version=21400
78166
78167 # If no shared libgcc, can't win.
78168 if test $glibcxx_shared_libgcc != yes; then
78169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78170 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78172 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78174 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78175 enable_symvers=no
78176 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78177 : All interesting versions of Sun ld support sun style symbol versioning.
78178 elif test $with_gnu_ld != yes ; then
78179 # just fail for now
78180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78181 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78183 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78185 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78186 enable_symvers=no
78187 elif test $glibcxx_ld_is_gold = yes ; then
78188 : All versions of gold support symbol versioning.
78189 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78190 # The right tools, the right setup, but too old. Fallbacks?
78191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78192 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78194 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78196 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78198 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78200 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78201 enable_symvers=no
78202 fi
78203 fi
78204
78205 # For libtool versioning info, format is CURRENT:REVISION:AGE
78206 libtool_VERSION=6:22:0
78207
78208 # Everything parsed; figure out what files and settings to use.
78209 case $enable_symvers in
78210 no)
78211 SYMVER_FILE=config/abi/pre/none.ver
78212 ;;
78213 gnu)
78214 SYMVER_FILE=config/abi/pre/gnu.ver
78215
78216 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78217
78218 ;;
78219 gnu-versioned-namespace)
78220 libtool_VERSION=7:0:0
78221 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78222
78223 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78224
78225 ;;
78226 darwin)
78227 SYMVER_FILE=config/abi/pre/gnu.ver
78228
78229 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78230
78231 ;;
78232 sun)
78233 SYMVER_FILE=config/abi/pre/gnu.ver
78234
78235 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78236
78237 ;;
78238 esac
78239
78240 if test x$enable_symvers != xno ; then
78241
78242 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78243
78244 fi
78245
78246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78247 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78248 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78249 $as_echo_n "(cached) " >&6
78250 else
78251
78252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78253 /* end confdefs.h. */
78254 void foo (void); __asm (".symver foo, bar@SYMVER");
78255 int
78256 main ()
78257 {
78258
78259 ;
78260 return 0;
78261 }
78262 _ACEOF
78263 if ac_fn_c_try_compile "$LINENO"; then :
78264 glibcxx_cv_have_as_symver_directive=yes
78265 else
78266 glibcxx_cv_have_as_symver_directive=no
78267 fi
78268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78269 fi
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78271 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78272 if test $glibcxx_cv_have_as_symver_directive = yes; then
78273
78274 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78275
78276 fi
78277
78278
78279
78280
78281
78282
78283
78284
78285 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78286 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78287
78288 if test $enable_symvers != no ; then
78289 case ${target_os} in
78290 # The Solaris 2 runtime linker doesn't support the GNU extension of
78291 # binding the same symbol to different versions
78292 solaris2*)
78293 ;;
78294 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78295 *)
78296
78297 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78298
78299 ;;
78300 esac
78301 fi
78302
78303 # Now, set up compatibility support, if any.
78304 # In addition, need this to deal with std::size_t mangling in
78305 # src/compatibility.cc. In a perfect world, could use
78306 # typeid(std::size_t).name()[0] to do direct substitution.
78307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78308 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78309 ac_save_CFLAGS="$CFLAGS"
78310 CFLAGS="-Werror"
78311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78312 /* end confdefs.h. */
78313
78314 int
78315 main ()
78316 {
78317 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78318 ;
78319 return 0;
78320 }
78321 _ACEOF
78322 if ac_fn_c_try_compile "$LINENO"; then :
78323 glibcxx_size_t_is_i=yes
78324 else
78325 glibcxx_size_t_is_i=no
78326 fi
78327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78328 CFLAGS=$ac_save_CFLAGS
78329 if test "$glibcxx_size_t_is_i" = yes; then
78330
78331 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78332
78333 fi
78334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78335 $as_echo "$glibcxx_size_t_is_i" >&6; }
78336
78337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78338 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78339 ac_save_CFLAGS="$CFLAGS"
78340 CFLAGS="-Werror"
78341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78342 /* end confdefs.h. */
78343
78344 int
78345 main ()
78346 {
78347 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78348 ;
78349 return 0;
78350 }
78351 _ACEOF
78352 if ac_fn_c_try_compile "$LINENO"; then :
78353 glibcxx_ptrdiff_t_is_i=yes
78354 else
78355 glibcxx_ptrdiff_t_is_i=no
78356 fi
78357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78358 CFLAGS=$ac_save_CFLAGS
78359 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78360
78361 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78362
78363 fi
78364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78365 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78366
78367
78368
78369
78370 # Check whether --enable-libstdcxx-visibility was given.
78371 if test "${enable_libstdcxx_visibility+set}" = set; then :
78372 enableval=$enable_libstdcxx_visibility;
78373 case "$enableval" in
78374 yes|no) ;;
78375 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78376 esac
78377
78378 else
78379 enable_libstdcxx_visibility=yes
78380 fi
78381
78382
78383
78384 if test x$enable_libstdcxx_visibility = xyes ; then
78385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78386 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78387 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78388 $as_echo_n "(cached) " >&6
78389 else
78390
78391 save_CFLAGS="$CFLAGS"
78392 CFLAGS="$CFLAGS -Werror"
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78395 void __attribute__((visibility("hidden"))) foo(void) { }
78396 int
78397 main ()
78398 {
78399
78400 ;
78401 return 0;
78402 }
78403 _ACEOF
78404 if ac_fn_c_try_compile "$LINENO"; then :
78405 glibcxx_cv_have_attribute_visibility=yes
78406 else
78407 glibcxx_cv_have_attribute_visibility=no
78408 fi
78409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78410 CFLAGS="$save_CFLAGS"
78411 fi
78412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78413 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78414 if test $glibcxx_cv_have_attribute_visibility = no; then
78415 enable_libstdcxx_visibility=no
78416 fi
78417 fi
78418
78419
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78421 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78422
78423
78424
78425 # Check whether --enable-libstdcxx-dual-abi was given.
78426 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78427 enableval=$enable_libstdcxx_dual_abi;
78428 case "$enableval" in
78429 yes|no) ;;
78430 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78431 esac
78432
78433 else
78434 enable_libstdcxx_dual_abi=yes
78435 fi
78436
78437
78438 if test x$enable_symvers = xgnu-versioned-namespace; then
78439 # gnu-versioned-namespace is incompatible with the dual ABI.
78440 enable_libstdcxx_dual_abi="no"
78441 fi
78442 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78443 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78444 $as_echo "$as_me: dual ABI is disabled" >&6;}
78445 default_libstdcxx_abi="gcc4-compatible"
78446 fi
78447
78448
78449
78450 if test x$enable_libstdcxx_dual_abi = xyes; then
78451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78452 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78453
78454 # Check whether --with-default-libstdcxx-abi was given.
78455 if test "${with_default_libstdcxx_abi+set}" = set; then :
78456 withval=$with_default_libstdcxx_abi; case "$withval" in
78457 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
78458 new|cxx11) default_libstdcxx_abi="new" ;;
78459 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
78460 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78461 esac
78462
78463 else
78464 default_libstdcxx_abi="new"
78465 fi
78466
78467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78468 $as_echo "${default_libstdcxx_abi}" >&6; }
78469 fi
78470 if test $default_libstdcxx_abi = "new"; then
78471 glibcxx_cxx11_abi=1
78472 glibcxx_cxx98_abi=0
78473 else
78474 glibcxx_cxx11_abi=0
78475 glibcxx_cxx98_abi=1
78476 fi
78477
78478
78479
78480
78481 ac_ldbl_compat=no
78482 case "$target" in
78483 powerpc*-*-linux* | \
78484 sparc*-*-linux* | \
78485 s390*-*-linux* | \
78486 alpha*-*-linux*)
78487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78488 /* end confdefs.h. */
78489
78490 int
78491 main ()
78492 {
78493
78494 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78495 #error no need for long double compatibility
78496 #endif
78497
78498 ;
78499 return 0;
78500 }
78501 _ACEOF
78502 if ac_fn_c_try_compile "$LINENO"; then :
78503 ac_ldbl_compat=yes
78504 else
78505 ac_ldbl_compat=no
78506 fi
78507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78508 if test "$ac_ldbl_compat" = yes; then
78509
78510 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78511
78512 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78513 fi
78514 esac
78515
78516
78517 # Check if assembler supports disabling hardware capability support.
78518
78519 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78520
78521 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78522 # with a different meaning.
78523 case ${target_os} in
78524 solaris2*)
78525 ac_save_CFLAGS="$CFLAGS"
78526 CFLAGS="$CFLAGS -Wa,-nH"
78527
78528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78529 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78531 /* end confdefs.h. */
78532
78533 int
78534 main ()
78535 {
78536 return 0;
78537 ;
78538 return 0;
78539 }
78540 _ACEOF
78541 if ac_fn_c_try_compile "$LINENO"; then :
78542 ac_hwcap_flags=yes
78543 else
78544 ac_hwcap_flags=no
78545 fi
78546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78547 if test "$ac_hwcap_flags" = "yes"; then
78548 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78549 fi
78550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78551 $as_echo "$ac_hwcap_flags" >&6; }
78552
78553 CFLAGS="$ac_save_CFLAGS"
78554 ;;
78555 esac
78556
78557
78558
78559
78560 # Check if assembler supports rdrand opcode.
78561
78562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78563 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78564 if test "${ac_cv_x86_rdrand+set}" = set; then :
78565 $as_echo_n "(cached) " >&6
78566 else
78567
78568 ac_cv_x86_rdrand=no
78569 case "$target" in
78570 i?86-*-* | \
78571 x86_64-*-*)
78572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78573 /* end confdefs.h. */
78574
78575 int
78576 main ()
78577 {
78578 asm("rdrand %eax");
78579 ;
78580 return 0;
78581 }
78582 _ACEOF
78583 if ac_fn_c_try_compile "$LINENO"; then :
78584 ac_cv_x86_rdrand=yes
78585 else
78586 ac_cv_x86_rdrand=no
78587 fi
78588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78589 esac
78590
78591 fi
78592
78593 if test $ac_cv_x86_rdrand = yes; then
78594
78595 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78596
78597 fi
78598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78599 $as_echo "$ac_cv_x86_rdrand" >&6; }
78600
78601
78602 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78603
78604 if $GLIBCXX_IS_NATIVE ; then
78605 # Do checks for resource limit functions.
78606
78607 setrlimit_have_headers=yes
78608 for ac_header in unistd.h sys/time.h sys/resource.h
78609 do :
78610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78611 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78612 eval as_val=\$$as_ac_Header
78613 if test "x$as_val" = x""yes; then :
78614 cat >>confdefs.h <<_ACEOF
78615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78616 _ACEOF
78617
78618 else
78619 setrlimit_have_headers=no
78620 fi
78621
78622 done
78623
78624 # If don't have the headers, then we can't run the tests now, and we
78625 # won't be seeing any of these during testsuite compilation.
78626 if test $setrlimit_have_headers = yes; then
78627 # Can't do these in a loop, else the resulting syntax is wrong.
78628
78629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78630 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78632 /* end confdefs.h. */
78633 #include <unistd.h>
78634 #include <sys/time.h>
78635 #include <sys/resource.h>
78636
78637 int
78638 main ()
78639 {
78640 int f = RLIMIT_DATA ;
78641 ;
78642 return 0;
78643 }
78644 _ACEOF
78645 if ac_fn_c_try_compile "$LINENO"; then :
78646 glibcxx_mresult=1
78647 else
78648 glibcxx_mresult=0
78649 fi
78650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78651
78652 cat >>confdefs.h <<_ACEOF
78653 #define HAVE_LIMIT_DATA $glibcxx_mresult
78654 _ACEOF
78655
78656 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78658 $as_echo "$res" >&6; }
78659
78660
78661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78662 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78664 /* end confdefs.h. */
78665 #include <unistd.h>
78666 #include <sys/time.h>
78667 #include <sys/resource.h>
78668
78669 int
78670 main ()
78671 {
78672 int f = RLIMIT_RSS ;
78673 ;
78674 return 0;
78675 }
78676 _ACEOF
78677 if ac_fn_c_try_compile "$LINENO"; then :
78678 glibcxx_mresult=1
78679 else
78680 glibcxx_mresult=0
78681 fi
78682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78683
78684 cat >>confdefs.h <<_ACEOF
78685 #define HAVE_LIMIT_RSS $glibcxx_mresult
78686 _ACEOF
78687
78688 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78690 $as_echo "$res" >&6; }
78691
78692
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78694 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78696 /* end confdefs.h. */
78697 #include <unistd.h>
78698 #include <sys/time.h>
78699 #include <sys/resource.h>
78700
78701 int
78702 main ()
78703 {
78704 int f = RLIMIT_VMEM ;
78705 ;
78706 return 0;
78707 }
78708 _ACEOF
78709 if ac_fn_c_try_compile "$LINENO"; then :
78710 glibcxx_mresult=1
78711 else
78712 glibcxx_mresult=0
78713 fi
78714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78715
78716 cat >>confdefs.h <<_ACEOF
78717 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78718 _ACEOF
78719
78720 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78722 $as_echo "$res" >&6; }
78723
78724
78725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78726 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78728 /* end confdefs.h. */
78729 #include <unistd.h>
78730 #include <sys/time.h>
78731 #include <sys/resource.h>
78732
78733 int
78734 main ()
78735 {
78736 int f = RLIMIT_AS ;
78737 ;
78738 return 0;
78739 }
78740 _ACEOF
78741 if ac_fn_c_try_compile "$LINENO"; then :
78742 glibcxx_mresult=1
78743 else
78744 glibcxx_mresult=0
78745 fi
78746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78747
78748 cat >>confdefs.h <<_ACEOF
78749 #define HAVE_LIMIT_AS $glibcxx_mresult
78750 _ACEOF
78751
78752 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78754 $as_echo "$res" >&6; }
78755
78756
78757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78758 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78760 /* end confdefs.h. */
78761 #include <unistd.h>
78762 #include <sys/time.h>
78763 #include <sys/resource.h>
78764
78765 int
78766 main ()
78767 {
78768 int f = RLIMIT_FSIZE ;
78769 ;
78770 return 0;
78771 }
78772 _ACEOF
78773 if ac_fn_c_try_compile "$LINENO"; then :
78774 glibcxx_mresult=1
78775 else
78776 glibcxx_mresult=0
78777 fi
78778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78779
78780 cat >>confdefs.h <<_ACEOF
78781 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78782 _ACEOF
78783
78784 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78786 $as_echo "$res" >&6; }
78787
78788
78789 # Check for rlimit, setrlimit.
78790 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78791 $as_echo_n "(cached) " >&6
78792 else
78793
78794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78795 /* end confdefs.h. */
78796 #include <unistd.h>
78797 #include <sys/time.h>
78798 #include <sys/resource.h>
78799
78800 int
78801 main ()
78802 {
78803 struct rlimit r;
78804 setrlimit(0, &r);
78805 ;
78806 return 0;
78807 }
78808 _ACEOF
78809 if ac_fn_c_try_compile "$LINENO"; then :
78810 glibcxx_cv_setrlimit=yes
78811 else
78812 glibcxx_cv_setrlimit=no
78813 fi
78814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78815
78816 fi
78817
78818 fi
78819
78820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78821 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78822 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78823 ac_res_limits=yes
78824
78825 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78826
78827 else
78828 ac_res_limits=no
78829 fi
78830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78831 $as_echo "$ac_res_limits" >&6; }
78832
78833
78834 # Look for setenv, so that extended locale tests can be performed.
78835
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78837 $as_echo_n "checking for setenv declaration... " >&6; }
78838 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78839 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78840 $as_echo_n "(cached) " >&6
78841 else
78842
78843
78844 ac_ext=cpp
78845 ac_cpp='$CXXCPP $CPPFLAGS'
78846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78849
78850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78851 /* end confdefs.h. */
78852 #include <stdlib.h>
78853 int
78854 main ()
78855 {
78856 setenv(0, 0, 0);
78857 ;
78858 return 0;
78859 }
78860 _ACEOF
78861 if ac_fn_cxx_try_compile "$LINENO"; then :
78862 glibcxx_cv_func_setenv_use=yes
78863 else
78864 glibcxx_cv_func_setenv_use=no
78865 fi
78866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78867 ac_ext=c
78868 ac_cpp='$CPP $CPPFLAGS'
78869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78872
78873
78874 fi
78875
78876 fi
78877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78878 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78879 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78880 for ac_func in setenv
78881 do :
78882 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78883 if test "x$ac_cv_func_setenv" = x""yes; then :
78884 cat >>confdefs.h <<_ACEOF
78885 #define HAVE_SETENV 1
78886 _ACEOF
78887
78888 fi
78889 done
78890
78891 fi
78892
78893 fi
78894
78895 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78896 test $enable_symvers != no; then
78897 case "$host" in
78898 *-*-cygwin*)
78899 enable_abi_check=no ;;
78900 *)
78901 enable_abi_check=yes ;;
78902 esac
78903 else
78904 # Only build this as native, since automake does not understand
78905 # CXX_FOR_BUILD.
78906 enable_abi_check=no
78907 fi
78908
78909 # Export file names for ABI checking.
78910 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78911
78912 baseline_subdir_switch="$abi_baseline_subdir_switch"
78913
78914
78915
78916 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78917
78918 # Check whether --enable-libstdcxx-threads was given.
78919 if test "${enable_libstdcxx_threads+set}" = set; then :
78920 enableval=$enable_libstdcxx_threads;
78921 case "$enableval" in
78922 yes|no) ;;
78923 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78924 esac
78925
78926 else
78927 enable_libstdcxx_threads=auto
78928 fi
78929
78930
78931
78932 if test x$enable_libstdcxx_threads = xauto ||
78933 test x$enable_libstdcxx_threads = xyes; then
78934
78935
78936 ac_ext=cpp
78937 ac_cpp='$CXXCPP $CPPFLAGS'
78938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78941
78942
78943 ac_save_CXXFLAGS="$CXXFLAGS"
78944 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78945 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78946
78947 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78948 case $target_thread_file in
78949 posix)
78950 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78951 esac
78952
78953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78954 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78955
78956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78957 /* end confdefs.h. */
78958 #include <unistd.h>
78959 int
78960 main ()
78961 {
78962
78963 // In case of POSIX threads check _POSIX_TIMEOUTS.
78964 #if (defined(_PTHREADS) \
78965 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78966 #error
78967 #endif
78968
78969 ;
78970 return 0;
78971 }
78972 _ACEOF
78973 if ac_fn_cxx_try_compile "$LINENO"; then :
78974 ac_gthread_use_mutex_timedlock=1
78975 else
78976 ac_gthread_use_mutex_timedlock=0
78977 fi
78978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78979
78980
78981 cat >>confdefs.h <<_ACEOF
78982 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78983 _ACEOF
78984
78985
78986 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78987 else res_mutex_timedlock=no ; fi
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78989 $as_echo "$res_mutex_timedlock" >&6; }
78990
78991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78992 $as_echo_n "checking for gthreads library... " >&6; }
78993
78994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78995 /* end confdefs.h. */
78996 #include "gthr.h"
78997 int
78998 main ()
78999 {
79000
79001 #ifndef __GTHREADS_CXX0X
79002 #error
79003 #endif
79004
79005 ;
79006 return 0;
79007 }
79008 _ACEOF
79009 if ac_fn_cxx_try_compile "$LINENO"; then :
79010 ac_has_gthreads=yes
79011 else
79012 ac_has_gthreads=no
79013 fi
79014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79015 else
79016 ac_has_gthreads=no
79017 fi
79018
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79020 $as_echo "$ac_has_gthreads" >&6; }
79021
79022 if test x"$ac_has_gthreads" = x"yes"; then
79023
79024 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79025
79026
79027 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79028 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79029 "
79030 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79031
79032 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79033
79034 fi
79035
79036 fi
79037
79038 CXXFLAGS="$ac_save_CXXFLAGS"
79039 ac_ext=c
79040 ac_cpp='$CPP $CPPFLAGS'
79041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79044
79045
79046
79047 # For Filesystem TS.
79048 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79049 do :
79050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79051 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79052 eval as_val=\$$as_ac_Header
79053 if test "x$as_val" = x""yes; then :
79054 cat >>confdefs.h <<_ACEOF
79055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79056 _ACEOF
79057
79058 fi
79059
79060 done
79061
79062
79063 # Check whether --enable-libstdcxx-filesystem-ts was given.
79064 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79065 enableval=$enable_libstdcxx_filesystem_ts;
79066 case "$enableval" in
79067 yes|no|auto) ;;
79068 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79069 esac
79070
79071 else
79072 enable_libstdcxx_filesystem_ts=auto
79073 fi
79074
79075
79076
79077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79078 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79079 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79080 enable_libstdcxx_filesystem_ts=no
79081 fi
79082 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79083 case "${target_os}" in
79084 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79085 enable_libstdcxx_filesystem_ts=yes
79086 ;;
79087 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79088 enable_libstdcxx_filesystem_ts=yes
79089 ;;
79090 solaris*)
79091 enable_libstdcxx_filesystem_ts=yes
79092 ;;
79093 *)
79094 enable_libstdcxx_filesystem_ts=no
79095 ;;
79096 esac
79097 fi
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79099 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79100
79101
79102
79103 ac_ext=cpp
79104 ac_cpp='$CXXCPP $CPPFLAGS'
79105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79108
79109 ac_save_CXXFLAGS="$CXXFLAGS"
79110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79112 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79113 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79116 if test x$gcc_no_link = xyes; then
79117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79118 /* end confdefs.h. */
79119 #include <dirent.h>
79120 int
79121 main ()
79122 {
79123
79124 struct dirent d;
79125 if (sizeof d.d_type) return 0;
79126
79127 ;
79128 return 0;
79129 }
79130 _ACEOF
79131 if ac_fn_cxx_try_compile "$LINENO"; then :
79132 glibcxx_cv_dirent_d_type=yes
79133 else
79134 glibcxx_cv_dirent_d_type=no
79135 fi
79136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79137 else
79138 if test x$gcc_no_link = xyes; then
79139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79140 fi
79141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79142 /* end confdefs.h. */
79143 #include <dirent.h>
79144 int
79145 main ()
79146 {
79147
79148 struct dirent d;
79149 if (sizeof d.d_type) return 0;
79150
79151 ;
79152 return 0;
79153 }
79154 _ACEOF
79155 if ac_fn_cxx_try_link "$LINENO"; then :
79156 glibcxx_cv_dirent_d_type=yes
79157 else
79158 glibcxx_cv_dirent_d_type=no
79159 fi
79160 rm -f core conftest.err conftest.$ac_objext \
79161 conftest$ac_exeext conftest.$ac_ext
79162 fi
79163
79164 fi
79165
79166 if test $glibcxx_cv_dirent_d_type = yes; then
79167
79168 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79169
79170 fi
79171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79172 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79174 $as_echo_n "checking for realpath... " >&6; }
79175 if test "${glibcxx_cv_realpath+set}" = set; then :
79176 $as_echo_n "(cached) " >&6
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79180 /* end confdefs.h. */
79181
79182 #include <stdlib.h>
79183 #include <unistd.h>
79184
79185 int
79186 main ()
79187 {
79188
79189 #if _XOPEN_VERSION < 500
79190 #error
79191 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79192 char *tmp = realpath((const char*)NULL, (char*)NULL);
79193 #else
79194 #error
79195 #endif
79196
79197 ;
79198 return 0;
79199 }
79200 _ACEOF
79201 if ac_fn_cxx_try_compile "$LINENO"; then :
79202 glibcxx_cv_realpath=yes
79203 else
79204 glibcxx_cv_realpath=no
79205 fi
79206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79207 else
79208 if test x$gcc_no_link = xyes; then
79209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79210 fi
79211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79212 /* end confdefs.h. */
79213
79214 #include <stdlib.h>
79215 #include <unistd.h>
79216
79217 int
79218 main ()
79219 {
79220
79221 #if _XOPEN_VERSION < 500
79222 #error
79223 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79224 char *tmp = realpath((const char*)NULL, (char*)NULL);
79225 #else
79226 #error
79227 #endif
79228
79229 ;
79230 return 0;
79231 }
79232 _ACEOF
79233 if ac_fn_cxx_try_link "$LINENO"; then :
79234 glibcxx_cv_realpath=yes
79235 else
79236 glibcxx_cv_realpath=no
79237 fi
79238 rm -f core conftest.err conftest.$ac_objext \
79239 conftest$ac_exeext conftest.$ac_ext
79240 fi
79241
79242 fi
79243
79244 if test $glibcxx_cv_realpath = yes; then
79245
79246 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79247
79248 fi
79249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79250 $as_echo "$glibcxx_cv_realpath" >&6; }
79251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79252 $as_echo_n "checking for utimensat... " >&6; }
79253 if test "${glibcxx_cv_utimensat+set}" = set; then :
79254 $as_echo_n "(cached) " >&6
79255 else
79256 if test x$gcc_no_link = xyes; then
79257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79258 /* end confdefs.h. */
79259
79260 #include <fcntl.h>
79261 #include <sys/stat.h>
79262
79263 int
79264 main ()
79265 {
79266
79267 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79268 int i = utimensat(AT_FDCWD, "path", ts, 0);
79269
79270 ;
79271 return 0;
79272 }
79273 _ACEOF
79274 if ac_fn_cxx_try_compile "$LINENO"; then :
79275 glibcxx_cv_utimensat=yes
79276 else
79277 glibcxx_cv_utimensat=no
79278 fi
79279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79280 else
79281 if test x$gcc_no_link = xyes; then
79282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79283 fi
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79286
79287 #include <fcntl.h>
79288 #include <sys/stat.h>
79289
79290 int
79291 main ()
79292 {
79293
79294 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79295 int i = utimensat(AT_FDCWD, "path", ts, 0);
79296
79297 ;
79298 return 0;
79299 }
79300 _ACEOF
79301 if ac_fn_cxx_try_link "$LINENO"; then :
79302 glibcxx_cv_utimensat=yes
79303 else
79304 glibcxx_cv_utimensat=no
79305 fi
79306 rm -f core conftest.err conftest.$ac_objext \
79307 conftest$ac_exeext conftest.$ac_ext
79308 fi
79309
79310 fi
79311
79312 if test $glibcxx_cv_utimensat = yes; then
79313
79314 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79315
79316 fi
79317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79318 $as_echo "$glibcxx_cv_utimensat" >&6; }
79319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79320 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79321 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79322 $as_echo_n "(cached) " >&6
79323 else
79324 if test x$gcc_no_link = xyes; then
79325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79326 /* end confdefs.h. */
79327 #include <sys/stat.h>
79328 int
79329 main ()
79330 {
79331
79332 struct stat st;
79333 return st.st_mtim.tv_nsec;
79334
79335 ;
79336 return 0;
79337 }
79338 _ACEOF
79339 if ac_fn_cxx_try_compile "$LINENO"; then :
79340 glibcxx_cv_st_mtim=yes
79341 else
79342 glibcxx_cv_st_mtim=no
79343 fi
79344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79345 else
79346 if test x$gcc_no_link = xyes; then
79347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79348 fi
79349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79350 /* end confdefs.h. */
79351 #include <sys/stat.h>
79352 int
79353 main ()
79354 {
79355
79356 struct stat st;
79357 return st.st_mtim.tv_nsec;
79358
79359 ;
79360 return 0;
79361 }
79362 _ACEOF
79363 if ac_fn_cxx_try_link "$LINENO"; then :
79364 glibcxx_cv_st_mtim=yes
79365 else
79366 glibcxx_cv_st_mtim=no
79367 fi
79368 rm -f core conftest.err conftest.$ac_objext \
79369 conftest$ac_exeext conftest.$ac_ext
79370 fi
79371
79372 fi
79373
79374 if test $glibcxx_cv_st_mtim = yes; then
79375
79376 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79377
79378 fi
79379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79380 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79382 $as_echo_n "checking for fchmod... " >&6; }
79383 if test "${glibcxx_cv_fchmod+set}" = set; then :
79384 $as_echo_n "(cached) " >&6
79385 else
79386 if test x$gcc_no_link = xyes; then
79387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79388 /* end confdefs.h. */
79389 #include <sys/stat.h>
79390 int
79391 main ()
79392 {
79393 fchmod(1, S_IWUSR);
79394 ;
79395 return 0;
79396 }
79397 _ACEOF
79398 if ac_fn_cxx_try_compile "$LINENO"; then :
79399 glibcxx_cv_fchmod=yes
79400 else
79401 glibcxx_cv_fchmod=no
79402 fi
79403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79404 else
79405 if test x$gcc_no_link = xyes; then
79406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79407 fi
79408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79409 /* end confdefs.h. */
79410 #include <sys/stat.h>
79411 int
79412 main ()
79413 {
79414 fchmod(1, S_IWUSR);
79415 ;
79416 return 0;
79417 }
79418 _ACEOF
79419 if ac_fn_cxx_try_link "$LINENO"; then :
79420 glibcxx_cv_fchmod=yes
79421 else
79422 glibcxx_cv_fchmod=no
79423 fi
79424 rm -f core conftest.err conftest.$ac_objext \
79425 conftest$ac_exeext conftest.$ac_ext
79426 fi
79427
79428 fi
79429
79430 if test $glibcxx_cv_fchmod = yes; then
79431
79432 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79433
79434 fi
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79436 $as_echo "$glibcxx_cv_fchmod" >&6; }
79437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79438 $as_echo_n "checking for fchmodat... " >&6; }
79439 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79440 $as_echo_n "(cached) " >&6
79441 else
79442 if test x$gcc_no_link = xyes; then
79443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79444 /* end confdefs.h. */
79445
79446 #include <fcntl.h>
79447 #include <sys/stat.h>
79448
79449 int
79450 main ()
79451 {
79452 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79453 ;
79454 return 0;
79455 }
79456 _ACEOF
79457 if ac_fn_cxx_try_compile "$LINENO"; then :
79458 glibcxx_cv_fchmodat=yes
79459 else
79460 glibcxx_cv_fchmodat=no
79461 fi
79462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79463 else
79464 if test x$gcc_no_link = xyes; then
79465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79466 fi
79467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79468 /* end confdefs.h. */
79469
79470 #include <fcntl.h>
79471 #include <sys/stat.h>
79472
79473 int
79474 main ()
79475 {
79476 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79477 ;
79478 return 0;
79479 }
79480 _ACEOF
79481 if ac_fn_cxx_try_link "$LINENO"; then :
79482 glibcxx_cv_fchmodat=yes
79483 else
79484 glibcxx_cv_fchmodat=no
79485 fi
79486 rm -f core conftest.err conftest.$ac_objext \
79487 conftest$ac_exeext conftest.$ac_ext
79488 fi
79489
79490 fi
79491
79492 if test $glibcxx_cv_fchmodat = yes; then
79493
79494 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79495
79496 fi
79497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79498 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79500 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79501 if test "${glibcxx_cv_sendfile+set}" = set; then :
79502 $as_echo_n "(cached) " >&6
79503 else
79504 case "${target_os}" in
79505 gnu* | linux* | solaris*)
79506 if test x$gcc_no_link = xyes; then
79507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79508 /* end confdefs.h. */
79509 #include <sys/sendfile.h>
79510 int
79511 main ()
79512 {
79513 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79514 ;
79515 return 0;
79516 }
79517 _ACEOF
79518 if ac_fn_cxx_try_compile "$LINENO"; then :
79519 glibcxx_cv_sendfile=yes
79520 else
79521 glibcxx_cv_sendfile=no
79522 fi
79523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79524 else
79525 if test x$gcc_no_link = xyes; then
79526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79527 fi
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79530 #include <sys/sendfile.h>
79531 int
79532 main ()
79533 {
79534 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79535 ;
79536 return 0;
79537 }
79538 _ACEOF
79539 if ac_fn_cxx_try_link "$LINENO"; then :
79540 glibcxx_cv_sendfile=yes
79541 else
79542 glibcxx_cv_sendfile=no
79543 fi
79544 rm -f core conftest.err conftest.$ac_objext \
79545 conftest$ac_exeext conftest.$ac_ext
79546 fi
79547 ;;
79548 *)
79549 glibcxx_cv_sendfile=no
79550 ;;
79551 esac
79552
79553 fi
79554
79555 if test $glibcxx_cv_sendfile = yes; then
79556
79557 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79558
79559 fi
79560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79561 $as_echo "$glibcxx_cv_sendfile" >&6; }
79562 CXXFLAGS="$ac_save_CXXFLAGS"
79563 ac_ext=c
79564 ac_cpp='$CPP $CPPFLAGS'
79565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79568
79569
79570
79571 # Define documentation rules conditionally.
79572
79573 # See if makeinfo has been installed and is modern enough
79574 # that we can use it.
79575
79576 # Extract the first word of "makeinfo", so it can be a program name with args.
79577 set dummy makeinfo; ac_word=$2
79578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79579 $as_echo_n "checking for $ac_word... " >&6; }
79580 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79581 $as_echo_n "(cached) " >&6
79582 else
79583 if test -n "$MAKEINFO"; then
79584 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79585 else
79586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79587 for as_dir in $PATH
79588 do
79589 IFS=$as_save_IFS
79590 test -z "$as_dir" && as_dir=.
79591 for ac_exec_ext in '' $ac_executable_extensions; do
79592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79593 ac_cv_prog_MAKEINFO="makeinfo"
79594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79595 break 2
79596 fi
79597 done
79598 done
79599 IFS=$as_save_IFS
79600
79601 fi
79602 fi
79603 MAKEINFO=$ac_cv_prog_MAKEINFO
79604 if test -n "$MAKEINFO"; then
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79606 $as_echo "$MAKEINFO" >&6; }
79607 else
79608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79609 $as_echo "no" >&6; }
79610 fi
79611
79612
79613 if test -n "$MAKEINFO"; then
79614 # Found it, now check the version.
79615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79616 $as_echo_n "checking for modern makeinfo... " >&6; }
79617 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79618 $as_echo_n "(cached) " >&6
79619 else
79620 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79621 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79622
79623 case $ac_prog_version in
79624 '') gcc_cv_prog_makeinfo_modern=no;;
79625 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79626 *) gcc_cv_prog_makeinfo_modern=no;;
79627 esac
79628
79629 fi
79630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79631 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79632 else
79633 gcc_cv_prog_makeinfo_modern=no
79634 fi
79635 if test $gcc_cv_prog_makeinfo_modern = no; then
79636 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79637 fi
79638
79639 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79640 BUILD_INFO_TRUE=
79641 BUILD_INFO_FALSE='#'
79642 else
79643 BUILD_INFO_TRUE='#'
79644 BUILD_INFO_FALSE=
79645 fi
79646
79647
79648 # Check for doxygen
79649 # Extract the first word of "doxygen", so it can be a program name with args.
79650 set dummy doxygen; ac_word=$2
79651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79652 $as_echo_n "checking for $ac_word... " >&6; }
79653 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79654 $as_echo_n "(cached) " >&6
79655 else
79656 if test -n "$DOXYGEN"; then
79657 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79658 else
79659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79660 for as_dir in $PATH
79661 do
79662 IFS=$as_save_IFS
79663 test -z "$as_dir" && as_dir=.
79664 for ac_exec_ext in '' $ac_executable_extensions; do
79665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79666 ac_cv_prog_DOXYGEN="yes"
79667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79668 break 2
79669 fi
79670 done
79671 done
79672 IFS=$as_save_IFS
79673
79674 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79675 fi
79676 fi
79677 DOXYGEN=$ac_cv_prog_DOXYGEN
79678 if test -n "$DOXYGEN"; then
79679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79680 $as_echo "$DOXYGEN" >&6; }
79681 else
79682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79683 $as_echo "no" >&6; }
79684 fi
79685
79686
79687 # Extract the first word of "dot", so it can be a program name with args.
79688 set dummy dot; ac_word=$2
79689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79690 $as_echo_n "checking for $ac_word... " >&6; }
79691 if test "${ac_cv_prog_DOT+set}" = set; then :
79692 $as_echo_n "(cached) " >&6
79693 else
79694 if test -n "$DOT"; then
79695 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79696 else
79697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79698 for as_dir in $PATH
79699 do
79700 IFS=$as_save_IFS
79701 test -z "$as_dir" && as_dir=.
79702 for ac_exec_ext in '' $ac_executable_extensions; do
79703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79704 ac_cv_prog_DOT="yes"
79705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79706 break 2
79707 fi
79708 done
79709 done
79710 IFS=$as_save_IFS
79711
79712 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79713 fi
79714 fi
79715 DOT=$ac_cv_prog_DOT
79716 if test -n "$DOT"; then
79717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79718 $as_echo "$DOT" >&6; }
79719 else
79720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79721 $as_echo "no" >&6; }
79722 fi
79723
79724
79725
79726 # Check for docbook
79727 # Extract the first word of "xsltproc", so it can be a program name with args.
79728 set dummy xsltproc; ac_word=$2
79729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79730 $as_echo_n "checking for $ac_word... " >&6; }
79731 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79732 $as_echo_n "(cached) " >&6
79733 else
79734 if test -n "$XSLTPROC"; then
79735 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79736 else
79737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79738 for as_dir in $PATH
79739 do
79740 IFS=$as_save_IFS
79741 test -z "$as_dir" && as_dir=.
79742 for ac_exec_ext in '' $ac_executable_extensions; do
79743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79744 ac_cv_prog_XSLTPROC="yes"
79745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79746 break 2
79747 fi
79748 done
79749 done
79750 IFS=$as_save_IFS
79751
79752 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79753 fi
79754 fi
79755 XSLTPROC=$ac_cv_prog_XSLTPROC
79756 if test -n "$XSLTPROC"; then
79757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79758 $as_echo "$XSLTPROC" >&6; }
79759 else
79760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79761 $as_echo "no" >&6; }
79762 fi
79763
79764
79765 # Extract the first word of "xmllint", so it can be a program name with args.
79766 set dummy xmllint; ac_word=$2
79767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79768 $as_echo_n "checking for $ac_word... " >&6; }
79769 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79770 $as_echo_n "(cached) " >&6
79771 else
79772 if test -n "$XMLLINT"; then
79773 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79774 else
79775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79776 for as_dir in $PATH
79777 do
79778 IFS=$as_save_IFS
79779 test -z "$as_dir" && as_dir=.
79780 for ac_exec_ext in '' $ac_executable_extensions; do
79781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79782 ac_cv_prog_XMLLINT="yes"
79783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79784 break 2
79785 fi
79786 done
79787 done
79788 IFS=$as_save_IFS
79789
79790 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79791 fi
79792 fi
79793 XMLLINT=$ac_cv_prog_XMLLINT
79794 if test -n "$XMLLINT"; then
79795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79796 $as_echo "$XMLLINT" >&6; }
79797 else
79798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79799 $as_echo "no" >&6; }
79800 fi
79801
79802
79803
79804
79805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79806 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79807 glibcxx_stylesheets=no
79808 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
79809 glibcxx_stylesheets=yes
79810 fi
79811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79812 $as_echo "$glibcxx_stylesheets" >&6; }
79813
79814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79815 $as_echo_n "checking for local stylesheet directory... " >&6; }
79816 glibcxx_local_stylesheets=no
79817 if test x"$glibcxx_stylesheets" = x"yes"; then
79818 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79819 glibcxx_local_stylesheets=yes
79820 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79821 fi
79822 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79823 glibcxx_local_stylesheets=yes
79824 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79825 fi
79826 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79827 glibcxx_local_stylesheets=yes
79828 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79829 fi
79830 fi
79831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79832 $as_echo "$glibcxx_local_stylesheets" >&6; }
79833
79834 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79835
79836 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79837 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79838 else
79839 glibcxx_stylesheets=no
79840 fi
79841
79842 # Check for epub3 dependencies.
79843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79844 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79845 glibcxx_epub_stylesheets=no
79846 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79847 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79848 glibcxx_epub_stylesheets=yes
79849 fi
79850 fi
79851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79852 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79853 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79854 BUILD_EPUB_TRUE=
79855 BUILD_EPUB_FALSE='#'
79856 else
79857 BUILD_EPUB_TRUE='#'
79858 BUILD_EPUB_FALSE=
79859 fi
79860
79861
79862
79863
79864 # Check for xml/html dependencies.
79865 if test $ac_cv_prog_DOXYGEN = "yes" &&
79866 test $ac_cv_prog_DOT = "yes" &&
79867 test $ac_cv_prog_XSLTPROC = "yes" &&
79868 test $ac_cv_prog_XMLLINT = "yes" &&
79869 test $glibcxx_stylesheets = "yes"; then
79870 BUILD_XML_TRUE=
79871 BUILD_XML_FALSE='#'
79872 else
79873 BUILD_XML_TRUE='#'
79874 BUILD_XML_FALSE=
79875 fi
79876
79877
79878 if test $ac_cv_prog_DOXYGEN = "yes" &&
79879 test $ac_cv_prog_DOT = "yes" &&
79880 test $ac_cv_prog_XSLTPROC = "yes" &&
79881 test $ac_cv_prog_XMLLINT = "yes" &&
79882 test $glibcxx_stylesheets = "yes"; then
79883 BUILD_HTML_TRUE=
79884 BUILD_HTML_FALSE='#'
79885 else
79886 BUILD_HTML_TRUE='#'
79887 BUILD_HTML_FALSE=
79888 fi
79889
79890
79891 # Check for man dependencies.
79892 if test $ac_cv_prog_DOXYGEN = "yes" &&
79893 test $ac_cv_prog_DOT = "yes"; then
79894 BUILD_MAN_TRUE=
79895 BUILD_MAN_FALSE='#'
79896 else
79897 BUILD_MAN_TRUE='#'
79898 BUILD_MAN_FALSE=
79899 fi
79900
79901
79902 # Check for pdf dependencies.
79903 # Extract the first word of "dblatex", so it can be a program name with args.
79904 set dummy dblatex; ac_word=$2
79905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79906 $as_echo_n "checking for $ac_word... " >&6; }
79907 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79908 $as_echo_n "(cached) " >&6
79909 else
79910 if test -n "$DBLATEX"; then
79911 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79912 else
79913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79914 for as_dir in $PATH
79915 do
79916 IFS=$as_save_IFS
79917 test -z "$as_dir" && as_dir=.
79918 for ac_exec_ext in '' $ac_executable_extensions; do
79919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79920 ac_cv_prog_DBLATEX="yes"
79921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79922 break 2
79923 fi
79924 done
79925 done
79926 IFS=$as_save_IFS
79927
79928 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79929 fi
79930 fi
79931 DBLATEX=$ac_cv_prog_DBLATEX
79932 if test -n "$DBLATEX"; then
79933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79934 $as_echo "$DBLATEX" >&6; }
79935 else
79936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79937 $as_echo "no" >&6; }
79938 fi
79939
79940
79941 # Extract the first word of "pdflatex", so it can be a program name with args.
79942 set dummy pdflatex; ac_word=$2
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79944 $as_echo_n "checking for $ac_word... " >&6; }
79945 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79946 $as_echo_n "(cached) " >&6
79947 else
79948 if test -n "$PDFLATEX"; then
79949 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79950 else
79951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79952 for as_dir in $PATH
79953 do
79954 IFS=$as_save_IFS
79955 test -z "$as_dir" && as_dir=.
79956 for ac_exec_ext in '' $ac_executable_extensions; do
79957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79958 ac_cv_prog_PDFLATEX="yes"
79959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79960 break 2
79961 fi
79962 done
79963 done
79964 IFS=$as_save_IFS
79965
79966 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79967 fi
79968 fi
79969 PDFLATEX=$ac_cv_prog_PDFLATEX
79970 if test -n "$PDFLATEX"; then
79971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79972 $as_echo "$PDFLATEX" >&6; }
79973 else
79974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79975 $as_echo "no" >&6; }
79976 fi
79977
79978
79979 if test $ac_cv_prog_DBLATEX = "yes" &&
79980 test $ac_cv_prog_PDFLATEX = "yes"; then
79981 BUILD_PDF_TRUE=
79982 BUILD_PDF_FALSE='#'
79983 else
79984 BUILD_PDF_TRUE='#'
79985 BUILD_PDF_FALSE=
79986 fi
79987
79988
79989
79990 # Propagate the target-specific source directories through the build chain.
79991 ATOMICITY_SRCDIR=config/${atomicity_dir}
79992 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79993 ATOMIC_FLAGS=${atomic_flags}
79994 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79995 OS_INC_SRCDIR=config/${os_include_dir}
79996 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79997 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79998 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79999 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80000
80001
80002
80003
80004
80005
80006
80007
80008
80009
80010
80011 # Determine cross-compile flags and AM_CONDITIONALs.
80012 #AC_SUBST(GLIBCXX_IS_NATIVE)
80013 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80014 if test $is_hosted = yes; then
80015 GLIBCXX_HOSTED_TRUE=
80016 GLIBCXX_HOSTED_FALSE='#'
80017 else
80018 GLIBCXX_HOSTED_TRUE='#'
80019 GLIBCXX_HOSTED_FALSE=
80020 fi
80021
80022
80023 if test $enable_libstdcxx_pch = yes; then
80024 GLIBCXX_BUILD_PCH_TRUE=
80025 GLIBCXX_BUILD_PCH_FALSE='#'
80026 else
80027 GLIBCXX_BUILD_PCH_TRUE='#'
80028 GLIBCXX_BUILD_PCH_FALSE=
80029 fi
80030
80031
80032 if test $enable_cheaders = c; then
80033 GLIBCXX_C_HEADERS_C_TRUE=
80034 GLIBCXX_C_HEADERS_C_FALSE='#'
80035 else
80036 GLIBCXX_C_HEADERS_C_TRUE='#'
80037 GLIBCXX_C_HEADERS_C_FALSE=
80038 fi
80039
80040
80041 if test $enable_cheaders = c_std; then
80042 GLIBCXX_C_HEADERS_C_STD_TRUE=
80043 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80044 else
80045 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80046 GLIBCXX_C_HEADERS_C_STD_FALSE=
80047 fi
80048
80049
80050 if test $enable_cheaders = c_global; then
80051 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80052 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80053 else
80054 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80055 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80056 fi
80057
80058
80059 if test $c_compatibility = yes; then
80060 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80061 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80062 else
80063 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80064 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80065 fi
80066
80067
80068 if test $enable_libstdcxx_debug = yes; then
80069 GLIBCXX_BUILD_DEBUG_TRUE=
80070 GLIBCXX_BUILD_DEBUG_FALSE='#'
80071 else
80072 GLIBCXX_BUILD_DEBUG_TRUE='#'
80073 GLIBCXX_BUILD_DEBUG_FALSE=
80074 fi
80075
80076
80077 if test $enable_extern_template = yes; then
80078 ENABLE_EXTERN_TEMPLATE_TRUE=
80079 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80080 else
80081 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80082 ENABLE_EXTERN_TEMPLATE_FALSE=
80083 fi
80084
80085
80086 if test $python_mod_dir != no; then
80087 ENABLE_PYTHONDIR_TRUE=
80088 ENABLE_PYTHONDIR_FALSE='#'
80089 else
80090 ENABLE_PYTHONDIR_TRUE='#'
80091 ENABLE_PYTHONDIR_FALSE=
80092 fi
80093
80094
80095 if test $enable_werror = yes; then
80096 ENABLE_WERROR_TRUE=
80097 ENABLE_WERROR_FALSE='#'
80098 else
80099 ENABLE_WERROR_TRUE='#'
80100 ENABLE_WERROR_FALSE=
80101 fi
80102
80103
80104 if test $enable_vtable_verify = yes; then
80105 ENABLE_VTABLE_VERIFY_TRUE=
80106 ENABLE_VTABLE_VERIFY_FALSE='#'
80107 else
80108 ENABLE_VTABLE_VERIFY_TRUE='#'
80109 ENABLE_VTABLE_VERIFY_FALSE=
80110 fi
80111
80112
80113 if test $enable_symvers != no; then
80114 ENABLE_SYMVERS_TRUE=
80115 ENABLE_SYMVERS_FALSE='#'
80116 else
80117 ENABLE_SYMVERS_TRUE='#'
80118 ENABLE_SYMVERS_FALSE=
80119 fi
80120
80121
80122 if test $enable_symvers = gnu; then
80123 ENABLE_SYMVERS_GNU_TRUE=
80124 ENABLE_SYMVERS_GNU_FALSE='#'
80125 else
80126 ENABLE_SYMVERS_GNU_TRUE='#'
80127 ENABLE_SYMVERS_GNU_FALSE=
80128 fi
80129
80130
80131 if test $enable_symvers = gnu-versioned-namespace; then
80132 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80133 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80134 else
80135 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80136 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80137 fi
80138
80139
80140 if test $enable_symvers = darwin; then
80141 ENABLE_SYMVERS_DARWIN_TRUE=
80142 ENABLE_SYMVERS_DARWIN_FALSE='#'
80143 else
80144 ENABLE_SYMVERS_DARWIN_TRUE='#'
80145 ENABLE_SYMVERS_DARWIN_FALSE=
80146 fi
80147
80148
80149 if test $enable_symvers = sun; then
80150 ENABLE_SYMVERS_SUN_TRUE=
80151 ENABLE_SYMVERS_SUN_FALSE='#'
80152 else
80153 ENABLE_SYMVERS_SUN_TRUE='#'
80154 ENABLE_SYMVERS_SUN_FALSE=
80155 fi
80156
80157
80158 if test $enable_libstdcxx_visibility = yes; then
80159 ENABLE_VISIBILITY_TRUE=
80160 ENABLE_VISIBILITY_FALSE='#'
80161 else
80162 ENABLE_VISIBILITY_TRUE='#'
80163 ENABLE_VISIBILITY_FALSE=
80164 fi
80165
80166
80167 if test $enable_libstdcxx_dual_abi = yes; then
80168 ENABLE_DUAL_ABI_TRUE=
80169 ENABLE_DUAL_ABI_FALSE='#'
80170 else
80171 ENABLE_DUAL_ABI_TRUE='#'
80172 ENABLE_DUAL_ABI_FALSE=
80173 fi
80174
80175
80176 if test $glibcxx_cxx11_abi = 1; then
80177 ENABLE_CXX11_ABI_TRUE=
80178 ENABLE_CXX11_ABI_FALSE='#'
80179 else
80180 ENABLE_CXX11_ABI_TRUE='#'
80181 ENABLE_CXX11_ABI_FALSE=
80182 fi
80183
80184
80185 if test $ac_ldbl_compat = yes; then
80186 GLIBCXX_LDBL_COMPAT_TRUE=
80187 GLIBCXX_LDBL_COMPAT_FALSE='#'
80188 else
80189 GLIBCXX_LDBL_COMPAT_TRUE='#'
80190 GLIBCXX_LDBL_COMPAT_FALSE=
80191 fi
80192
80193
80194 if test $enable_libstdcxx_filesystem_ts = yes; then
80195 ENABLE_FILESYSTEM_TS_TRUE=
80196 ENABLE_FILESYSTEM_TS_FALSE='#'
80197 else
80198 ENABLE_FILESYSTEM_TS_TRUE='#'
80199 ENABLE_FILESYSTEM_TS_FALSE=
80200 fi
80201
80202
80203
80204
80205 cat >confcache <<\_ACEOF
80206 # This file is a shell script that caches the results of configure
80207 # tests run on this system so they can be shared between configure
80208 # scripts and configure runs, see configure's option --config-cache.
80209 # It is not useful on other systems. If it contains results you don't
80210 # want to keep, you may remove or edit it.
80211 #
80212 # config.status only pays attention to the cache file if you give it
80213 # the --recheck option to rerun configure.
80214 #
80215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80217 # following values.
80218
80219 _ACEOF
80220
80221 # The following way of writing the cache mishandles newlines in values,
80222 # but we know of no workaround that is simple, portable, and efficient.
80223 # So, we kill variables containing newlines.
80224 # Ultrix sh set writes to stderr and can't be redirected directly,
80225 # and sets the high bit in the cache file unless we assign to the vars.
80226 (
80227 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80228 eval ac_val=\$$ac_var
80229 case $ac_val in #(
80230 *${as_nl}*)
80231 case $ac_var in #(
80232 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80234 esac
80235 case $ac_var in #(
80236 _ | IFS | as_nl) ;; #(
80237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80238 *) { eval $ac_var=; unset $ac_var;} ;;
80239 esac ;;
80240 esac
80241 done
80242
80243 (set) 2>&1 |
80244 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80245 *${as_nl}ac_space=\ *)
80246 # `set' does not quote correctly, so add quotes: double-quote
80247 # substitution turns \\\\ into \\, and sed turns \\ into \.
80248 sed -n \
80249 "s/'/'\\\\''/g;
80250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80251 ;; #(
80252 *)
80253 # `set' quotes correctly as required by POSIX, so do not add quotes.
80254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80255 ;;
80256 esac |
80257 sort
80258 ) |
80259 sed '
80260 /^ac_cv_env_/b end
80261 t clear
80262 :clear
80263 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80264 t end
80265 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80266 :end' >>confcache
80267 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80268 if test -w "$cache_file"; then
80269 test "x$cache_file" != "x/dev/null" &&
80270 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80271 $as_echo "$as_me: updating cache $cache_file" >&6;}
80272 cat confcache >$cache_file
80273 else
80274 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80275 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80276 fi
80277 fi
80278 rm -f confcache
80279
80280 if test ${multilib} = yes; then
80281 multilib_arg="--enable-multilib"
80282 else
80283 multilib_arg=
80284 fi
80285
80286 # Export all the install information.
80287
80288 glibcxx_toolexecdir=no
80289 glibcxx_toolexeclibdir=no
80290 glibcxx_prefixdir=$prefix
80291
80292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80293 $as_echo_n "checking for gxx-include-dir... " >&6; }
80294
80295 # Check whether --with-gxx-include-dir was given.
80296 if test "${with_gxx_include_dir+set}" = set; then :
80297 withval=$with_gxx_include_dir; case "$withval" in
80298 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80299 no) gxx_include_dir=no ;;
80300 *) gxx_include_dir=$withval ;;
80301 esac
80302 else
80303 gxx_include_dir=no
80304 fi
80305
80306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80307 $as_echo "$gxx_include_dir" >&6; }
80308
80309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80310 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80311 # Check whether --enable-version-specific-runtime-libs was given.
80312 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80313 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80314 yes) version_specific_libs=yes ;;
80315 no) version_specific_libs=no ;;
80316 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80317 esac
80318 else
80319 version_specific_libs=no
80320 fi
80321
80322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80323 $as_echo "$version_specific_libs" >&6; }
80324
80325 # Default case for install directory for include files.
80326 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80327 gxx_include_dir='include/c++/${gcc_version}'
80328 if test -n "$with_cross_host" &&
80329 test x"$with_cross_host" != x"no"; then
80330 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80331 else
80332 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80333 fi
80334 fi
80335
80336 # Version-specific runtime libs processing.
80337 if test $version_specific_libs = yes; then
80338 # Need the gcc compiler version to know where to install libraries
80339 # and header files if --enable-version-specific-runtime-libs option
80340 # is selected. FIXME: these variables are misnamed, there are
80341 # no executables installed in _toolexecdir or _toolexeclibdir.
80342 if test x"$gxx_include_dir" = x"no"; then
80343 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80344 fi
80345 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80346 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80347 fi
80348
80349 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80350 # Install a library built with a cross compiler in tooldir, not libdir.
80351 if test x"$glibcxx_toolexecdir" = x"no"; then
80352 if test -n "$with_cross_host" &&
80353 test x"$with_cross_host" != x"no"; then
80354 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80355 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80356 else
80357 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80358 glibcxx_toolexeclibdir='${libdir}'
80359 fi
80360 multi_os_directory=`$CXX -print-multi-os-directory`
80361 case $multi_os_directory in
80362 .) ;; # Avoid trailing /.
80363 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80364 esac
80365 fi
80366
80367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80368 $as_echo_n "checking for install location... " >&6; }
80369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80370 $as_echo "$gxx_include_dir" >&6; }
80371
80372
80373
80374
80375
80376
80377
80378 # Export all the include and flag information to Makefiles.
80379
80380 # Used for every C++ compile we perform.
80381 GLIBCXX_INCLUDES="\
80382 -I$glibcxx_builddir/include/$host_alias \
80383 -I$glibcxx_builddir/include \
80384 -I$glibcxx_srcdir/libsupc++"
80385
80386 # For Canadian crosses, pick this up too.
80387 if test $CANADIAN = yes; then
80388 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80389 fi
80390
80391 # Stuff in the actual top level. Currently only used by libsupc++ to
80392 # get unwind* headers from the libgcc dir.
80393 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80394 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80395
80396 # Now, export this to all the little Makefiles....
80397
80398
80399
80400
80401 # Optimization flags that are probably a good idea for thrill-seekers. Just
80402 # uncomment the lines below and make, everything else is ready to go...
80403 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80404 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80405
80406
80407 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80408
80409
80410
80411 ac_config_files="$ac_config_files Makefile"
80412
80413 ac_config_files="$ac_config_files scripts/testsuite_flags"
80414
80415 ac_config_files="$ac_config_files scripts/extract_symvers"
80416
80417 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80418
80419
80420 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80421 # that multilib installs will end up installed in the correct place.
80422 # The testsuite needs it for multilib-aware ABI baseline files.
80423 # To work around this not being passed down from config-ml.in ->
80424 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80425 # append it here. Only modify Makefiles that have just been created.
80426 #
80427 # Also, get rid of this simulated-VPATH thing that automake does.
80428 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"
80429
80430
80431 ac_config_commands="$ac_config_commands generate-headers"
80432
80433
80434 cat >confcache <<\_ACEOF
80435 # This file is a shell script that caches the results of configure
80436 # tests run on this system so they can be shared between configure
80437 # scripts and configure runs, see configure's option --config-cache.
80438 # It is not useful on other systems. If it contains results you don't
80439 # want to keep, you may remove or edit it.
80440 #
80441 # config.status only pays attention to the cache file if you give it
80442 # the --recheck option to rerun configure.
80443 #
80444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80446 # following values.
80447
80448 _ACEOF
80449
80450 # The following way of writing the cache mishandles newlines in values,
80451 # but we know of no workaround that is simple, portable, and efficient.
80452 # So, we kill variables containing newlines.
80453 # Ultrix sh set writes to stderr and can't be redirected directly,
80454 # and sets the high bit in the cache file unless we assign to the vars.
80455 (
80456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80457 eval ac_val=\$$ac_var
80458 case $ac_val in #(
80459 *${as_nl}*)
80460 case $ac_var in #(
80461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80463 esac
80464 case $ac_var in #(
80465 _ | IFS | as_nl) ;; #(
80466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80467 *) { eval $ac_var=; unset $ac_var;} ;;
80468 esac ;;
80469 esac
80470 done
80471
80472 (set) 2>&1 |
80473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80474 *${as_nl}ac_space=\ *)
80475 # `set' does not quote correctly, so add quotes: double-quote
80476 # substitution turns \\\\ into \\, and sed turns \\ into \.
80477 sed -n \
80478 "s/'/'\\\\''/g;
80479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80480 ;; #(
80481 *)
80482 # `set' quotes correctly as required by POSIX, so do not add quotes.
80483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80484 ;;
80485 esac |
80486 sort
80487 ) |
80488 sed '
80489 /^ac_cv_env_/b end
80490 t clear
80491 :clear
80492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80493 t end
80494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80495 :end' >>confcache
80496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80497 if test -w "$cache_file"; then
80498 test "x$cache_file" != "x/dev/null" &&
80499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80500 $as_echo "$as_me: updating cache $cache_file" >&6;}
80501 cat confcache >$cache_file
80502 else
80503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80505 fi
80506 fi
80507 rm -f confcache
80508
80509 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80510 # Let make expand exec_prefix.
80511 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80512
80513 DEFS=-DHAVE_CONFIG_H
80514
80515 ac_libobjs=
80516 ac_ltlibobjs=
80517 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80518 # 1. Remove the extension, and $U if already installed.
80519 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80520 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80521 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80522 # will be set to the directory where LIBOBJS objects are built.
80523 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80524 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80525 done
80526 LIBOBJS=$ac_libobjs
80527
80528 LTLIBOBJS=$ac_ltlibobjs
80529
80530
80531 if test -n "$EXEEXT"; then
80532 am__EXEEXT_TRUE=
80533 am__EXEEXT_FALSE='#'
80534 else
80535 am__EXEEXT_TRUE='#'
80536 am__EXEEXT_FALSE=
80537 fi
80538
80539 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80540 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80542 fi
80543 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80544 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80546 fi
80547 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80548 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80550 fi
80551 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80552 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80554 fi
80555 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80556 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80558 fi
80559 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80560 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80562 fi
80563 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80564 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80566 fi
80567 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80568 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80570 fi
80571 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80572 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80574 fi
80575 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80576 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80578 fi
80579 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80580 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80582 fi
80583 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80584 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80586 fi
80587 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80588 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80590 fi
80591 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80592 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80594 fi
80595 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80596 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80598 fi
80599 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80600 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80602 fi
80603 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80604 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80606 fi
80607 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80608 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80610 fi
80611 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80612 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80614 fi
80615 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80616 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80618 fi
80619 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80620 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80622 fi
80623 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80624 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80626 fi
80627 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80628 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80630 fi
80631 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80632 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80634 fi
80635 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80636 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80638 fi
80639 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80640 as_fn_error "conditional \"BUILD_XML\" was never defined.
80641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80642 fi
80643 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80644 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80646 fi
80647 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80648 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80650 fi
80651 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80652 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80654 fi
80655
80656 : ${CONFIG_STATUS=./config.status}
80657 ac_write_fail=0
80658 ac_clean_files_save=$ac_clean_files
80659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80661 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80662 as_write_fail=0
80663 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80664 #! $SHELL
80665 # Generated by $as_me.
80666 # Run this file to recreate the current configuration.
80667 # Compiler output produced by configure, useful for debugging
80668 # configure, is in config.log if it exists.
80669
80670 debug=false
80671 ac_cs_recheck=false
80672 ac_cs_silent=false
80673
80674 SHELL=\${CONFIG_SHELL-$SHELL}
80675 export SHELL
80676 _ASEOF
80677 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80678 ## -------------------- ##
80679 ## M4sh Initialization. ##
80680 ## -------------------- ##
80681
80682 # Be more Bourne compatible
80683 DUALCASE=1; export DUALCASE # for MKS sh
80684 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80685 emulate sh
80686 NULLCMD=:
80687 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80688 # is contrary to our usage. Disable this feature.
80689 alias -g '${1+"$@"}'='"$@"'
80690 setopt NO_GLOB_SUBST
80691 else
80692 case `(set -o) 2>/dev/null` in #(
80693 *posix*) :
80694 set -o posix ;; #(
80695 *) :
80696 ;;
80697 esac
80698 fi
80699
80700
80701 as_nl='
80702 '
80703 export as_nl
80704 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80705 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80708 # Prefer a ksh shell builtin over an external printf program on Solaris,
80709 # but without wasting forks for bash or zsh.
80710 if test -z "$BASH_VERSION$ZSH_VERSION" \
80711 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80712 as_echo='print -r --'
80713 as_echo_n='print -rn --'
80714 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80715 as_echo='printf %s\n'
80716 as_echo_n='printf %s'
80717 else
80718 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80719 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80720 as_echo_n='/usr/ucb/echo -n'
80721 else
80722 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80723 as_echo_n_body='eval
80724 arg=$1;
80725 case $arg in #(
80726 *"$as_nl"*)
80727 expr "X$arg" : "X\\(.*\\)$as_nl";
80728 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80729 esac;
80730 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80731 '
80732 export as_echo_n_body
80733 as_echo_n='sh -c $as_echo_n_body as_echo'
80734 fi
80735 export as_echo_body
80736 as_echo='sh -c $as_echo_body as_echo'
80737 fi
80738
80739 # The user is always right.
80740 if test "${PATH_SEPARATOR+set}" != set; then
80741 PATH_SEPARATOR=:
80742 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80743 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80744 PATH_SEPARATOR=';'
80745 }
80746 fi
80747
80748
80749 # IFS
80750 # We need space, tab and new line, in precisely that order. Quoting is
80751 # there to prevent editors from complaining about space-tab.
80752 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80753 # splitting by setting IFS to empty value.)
80754 IFS=" "" $as_nl"
80755
80756 # Find who we are. Look in the path if we contain no directory separator.
80757 case $0 in #((
80758 *[\\/]* ) as_myself=$0 ;;
80759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80760 for as_dir in $PATH
80761 do
80762 IFS=$as_save_IFS
80763 test -z "$as_dir" && as_dir=.
80764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80765 done
80766 IFS=$as_save_IFS
80767
80768 ;;
80769 esac
80770 # We did not find ourselves, most probably we were run as `sh COMMAND'
80771 # in which case we are not to be found in the path.
80772 if test "x$as_myself" = x; then
80773 as_myself=$0
80774 fi
80775 if test ! -f "$as_myself"; then
80776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80777 exit 1
80778 fi
80779
80780 # Unset variables that we do not need and which cause bugs (e.g. in
80781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80782 # suppresses any "Segmentation fault" message there. '((' could
80783 # trigger a bug in pdksh 5.2.14.
80784 for as_var in BASH_ENV ENV MAIL MAILPATH
80785 do eval test x\${$as_var+set} = xset \
80786 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80787 done
80788 PS1='$ '
80789 PS2='> '
80790 PS4='+ '
80791
80792 # NLS nuisances.
80793 LC_ALL=C
80794 export LC_ALL
80795 LANGUAGE=C
80796 export LANGUAGE
80797
80798 # CDPATH.
80799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80800
80801
80802 # as_fn_error ERROR [LINENO LOG_FD]
80803 # ---------------------------------
80804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80806 # script with status $?, using 1 if that was 0.
80807 as_fn_error ()
80808 {
80809 as_status=$?; test $as_status -eq 0 && as_status=1
80810 if test "$3"; then
80811 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80813 fi
80814 $as_echo "$as_me: error: $1" >&2
80815 as_fn_exit $as_status
80816 } # as_fn_error
80817
80818
80819 # as_fn_set_status STATUS
80820 # -----------------------
80821 # Set $? to STATUS, without forking.
80822 as_fn_set_status ()
80823 {
80824 return $1
80825 } # as_fn_set_status
80826
80827 # as_fn_exit STATUS
80828 # -----------------
80829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80830 as_fn_exit ()
80831 {
80832 set +e
80833 as_fn_set_status $1
80834 exit $1
80835 } # as_fn_exit
80836
80837 # as_fn_unset VAR
80838 # ---------------
80839 # Portably unset VAR.
80840 as_fn_unset ()
80841 {
80842 { eval $1=; unset $1;}
80843 }
80844 as_unset=as_fn_unset
80845 # as_fn_append VAR VALUE
80846 # ----------------------
80847 # Append the text in VALUE to the end of the definition contained in VAR. Take
80848 # advantage of any shell optimizations that allow amortized linear growth over
80849 # repeated appends, instead of the typical quadratic growth present in naive
80850 # implementations.
80851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80852 eval 'as_fn_append ()
80853 {
80854 eval $1+=\$2
80855 }'
80856 else
80857 as_fn_append ()
80858 {
80859 eval $1=\$$1\$2
80860 }
80861 fi # as_fn_append
80862
80863 # as_fn_arith ARG...
80864 # ------------------
80865 # Perform arithmetic evaluation on the ARGs, and store the result in the
80866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80867 # must be portable across $(()) and expr.
80868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80869 eval 'as_fn_arith ()
80870 {
80871 as_val=$(( $* ))
80872 }'
80873 else
80874 as_fn_arith ()
80875 {
80876 as_val=`expr "$@" || test $? -eq 1`
80877 }
80878 fi # as_fn_arith
80879
80880
80881 if expr a : '\(a\)' >/dev/null 2>&1 &&
80882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80883 as_expr=expr
80884 else
80885 as_expr=false
80886 fi
80887
80888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80889 as_basename=basename
80890 else
80891 as_basename=false
80892 fi
80893
80894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80895 as_dirname=dirname
80896 else
80897 as_dirname=false
80898 fi
80899
80900 as_me=`$as_basename -- "$0" ||
80901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80902 X"$0" : 'X\(//\)$' \| \
80903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80904 $as_echo X/"$0" |
80905 sed '/^.*\/\([^/][^/]*\)\/*$/{
80906 s//\1/
80907 q
80908 }
80909 /^X\/\(\/\/\)$/{
80910 s//\1/
80911 q
80912 }
80913 /^X\/\(\/\).*/{
80914 s//\1/
80915 q
80916 }
80917 s/.*/./; q'`
80918
80919 # Avoid depending upon Character Ranges.
80920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80923 as_cr_digits='0123456789'
80924 as_cr_alnum=$as_cr_Letters$as_cr_digits
80925
80926 ECHO_C= ECHO_N= ECHO_T=
80927 case `echo -n x` in #(((((
80928 -n*)
80929 case `echo 'xy\c'` in
80930 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80931 xy) ECHO_C='\c';;
80932 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80933 ECHO_T=' ';;
80934 esac;;
80935 *)
80936 ECHO_N='-n';;
80937 esac
80938
80939 rm -f conf$$ conf$$.exe conf$$.file
80940 if test -d conf$$.dir; then
80941 rm -f conf$$.dir/conf$$.file
80942 else
80943 rm -f conf$$.dir
80944 mkdir conf$$.dir 2>/dev/null
80945 fi
80946 if (echo >conf$$.file) 2>/dev/null; then
80947 if ln -s conf$$.file conf$$ 2>/dev/null; then
80948 as_ln_s='ln -s'
80949 # ... but there are two gotchas:
80950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80952 # In both cases, we have to default to `cp -p'.
80953 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80954 as_ln_s='cp -p'
80955 elif ln conf$$.file conf$$ 2>/dev/null; then
80956 as_ln_s=ln
80957 else
80958 as_ln_s='cp -p'
80959 fi
80960 else
80961 as_ln_s='cp -p'
80962 fi
80963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80964 rmdir conf$$.dir 2>/dev/null
80965
80966
80967 # as_fn_mkdir_p
80968 # -------------
80969 # Create "$as_dir" as a directory, including parents if necessary.
80970 as_fn_mkdir_p ()
80971 {
80972
80973 case $as_dir in #(
80974 -*) as_dir=./$as_dir;;
80975 esac
80976 test -d "$as_dir" || eval $as_mkdir_p || {
80977 as_dirs=
80978 while :; do
80979 case $as_dir in #(
80980 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80981 *) as_qdir=$as_dir;;
80982 esac
80983 as_dirs="'$as_qdir' $as_dirs"
80984 as_dir=`$as_dirname -- "$as_dir" ||
80985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80986 X"$as_dir" : 'X\(//\)[^/]' \| \
80987 X"$as_dir" : 'X\(//\)$' \| \
80988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80989 $as_echo X"$as_dir" |
80990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80991 s//\1/
80992 q
80993 }
80994 /^X\(\/\/\)[^/].*/{
80995 s//\1/
80996 q
80997 }
80998 /^X\(\/\/\)$/{
80999 s//\1/
81000 q
81001 }
81002 /^X\(\/\).*/{
81003 s//\1/
81004 q
81005 }
81006 s/.*/./; q'`
81007 test -d "$as_dir" && break
81008 done
81009 test -z "$as_dirs" || eval "mkdir $as_dirs"
81010 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81011
81012
81013 } # as_fn_mkdir_p
81014 if mkdir -p . 2>/dev/null; then
81015 as_mkdir_p='mkdir -p "$as_dir"'
81016 else
81017 test -d ./-p && rmdir ./-p
81018 as_mkdir_p=false
81019 fi
81020
81021 if test -x / >/dev/null 2>&1; then
81022 as_test_x='test -x'
81023 else
81024 if ls -dL / >/dev/null 2>&1; then
81025 as_ls_L_option=L
81026 else
81027 as_ls_L_option=
81028 fi
81029 as_test_x='
81030 eval sh -c '\''
81031 if test -d "$1"; then
81032 test -d "$1/.";
81033 else
81034 case $1 in #(
81035 -*)set "./$1";;
81036 esac;
81037 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81038 ???[sx]*):;;*)false;;esac;fi
81039 '\'' sh
81040 '
81041 fi
81042 as_executable_p=$as_test_x
81043
81044 # Sed expression to map a string onto a valid CPP name.
81045 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81046
81047 # Sed expression to map a string onto a valid variable name.
81048 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81049
81050
81051 exec 6>&1
81052 ## ----------------------------------- ##
81053 ## Main body of $CONFIG_STATUS script. ##
81054 ## ----------------------------------- ##
81055 _ASEOF
81056 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81057
81058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81059 # Save the log message, to keep $0 and so on meaningful, and to
81060 # report actual input values of CONFIG_FILES etc. instead of their
81061 # values after options handling.
81062 ac_log="
81063 This file was extended by package-unused $as_me version-unused, which was
81064 generated by GNU Autoconf 2.64. Invocation command line was
81065
81066 CONFIG_FILES = $CONFIG_FILES
81067 CONFIG_HEADERS = $CONFIG_HEADERS
81068 CONFIG_LINKS = $CONFIG_LINKS
81069 CONFIG_COMMANDS = $CONFIG_COMMANDS
81070 $ $0 $@
81071
81072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81073 "
81074
81075 _ACEOF
81076
81077 case $ac_config_files in *"
81078 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81079 esac
81080
81081 case $ac_config_headers in *"
81082 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81083 esac
81084
81085
81086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81087 # Files that config.status was made for.
81088 config_files="$ac_config_files"
81089 config_headers="$ac_config_headers"
81090 config_commands="$ac_config_commands"
81091
81092 _ACEOF
81093
81094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81095 ac_cs_usage="\
81096 \`$as_me' instantiates files and other configuration actions
81097 from templates according to the current configuration. Unless the files
81098 and actions are specified as TAGs, all are instantiated by default.
81099
81100 Usage: $0 [OPTION]... [TAG]...
81101
81102 -h, --help print this help, then exit
81103 -V, --version print version number and configuration settings, then exit
81104 -q, --quiet, --silent
81105 do not print progress messages
81106 -d, --debug don't remove temporary files
81107 --recheck update $as_me by reconfiguring in the same conditions
81108 --file=FILE[:TEMPLATE]
81109 instantiate the configuration file FILE
81110 --header=FILE[:TEMPLATE]
81111 instantiate the configuration header FILE
81112
81113 Configuration files:
81114 $config_files
81115
81116 Configuration headers:
81117 $config_headers
81118
81119 Configuration commands:
81120 $config_commands
81121
81122 Report bugs to the package provider."
81123
81124 _ACEOF
81125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81126 ac_cs_version="\\
81127 package-unused config.status version-unused
81128 configured by $0, generated by GNU Autoconf 2.64,
81129 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81130
81131 Copyright (C) 2009 Free Software Foundation, Inc.
81132 This config.status script is free software; the Free Software Foundation
81133 gives unlimited permission to copy, distribute and modify it."
81134
81135 ac_pwd='$ac_pwd'
81136 srcdir='$srcdir'
81137 INSTALL='$INSTALL'
81138 MKDIR_P='$MKDIR_P'
81139 AWK='$AWK'
81140 test -n "\$AWK" || AWK=awk
81141 _ACEOF
81142
81143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81144 # The default lists apply if the user does not specify any file.
81145 ac_need_defaults=:
81146 while test $# != 0
81147 do
81148 case $1 in
81149 --*=*)
81150 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81151 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81152 ac_shift=:
81153 ;;
81154 *)
81155 ac_option=$1
81156 ac_optarg=$2
81157 ac_shift=shift
81158 ;;
81159 esac
81160
81161 case $ac_option in
81162 # Handling of the options.
81163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81164 ac_cs_recheck=: ;;
81165 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81166 $as_echo "$ac_cs_version"; exit ;;
81167 --debug | --debu | --deb | --de | --d | -d )
81168 debug=: ;;
81169 --file | --fil | --fi | --f )
81170 $ac_shift
81171 case $ac_optarg in
81172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81173 esac
81174 as_fn_append CONFIG_FILES " '$ac_optarg'"
81175 ac_need_defaults=false;;
81176 --header | --heade | --head | --hea )
81177 $ac_shift
81178 case $ac_optarg in
81179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81180 esac
81181 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81182 ac_need_defaults=false;;
81183 --he | --h)
81184 # Conflict between --help and --header
81185 as_fn_error "ambiguous option: \`$1'
81186 Try \`$0 --help' for more information.";;
81187 --help | --hel | -h )
81188 $as_echo "$ac_cs_usage"; exit ;;
81189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81190 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81191 ac_cs_silent=: ;;
81192
81193 # This is an error.
81194 -*) as_fn_error "unrecognized option: \`$1'
81195 Try \`$0 --help' for more information." ;;
81196
81197 *) as_fn_append ac_config_targets " $1"
81198 ac_need_defaults=false ;;
81199
81200 esac
81201 shift
81202 done
81203
81204 ac_configure_extra_args=
81205
81206 if $ac_cs_silent; then
81207 exec 6>/dev/null
81208 ac_configure_extra_args="$ac_configure_extra_args --silent"
81209 fi
81210
81211 _ACEOF
81212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81213 if \$ac_cs_recheck; then
81214 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81215 shift
81216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81217 CONFIG_SHELL='$SHELL'
81218 export CONFIG_SHELL
81219 exec "\$@"
81220 fi
81221
81222 _ACEOF
81223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81224 exec 5>>config.log
81225 {
81226 echo
81227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81228 ## Running $as_me. ##
81229 _ASBOX
81230 $as_echo "$ac_log"
81231 } >&5
81232
81233 _ACEOF
81234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81235 #
81236 # INIT-COMMANDS
81237 #
81238
81239 srcdir="$srcdir"
81240 host="$host"
81241 target="$target"
81242 with_multisubdir="$with_multisubdir"
81243 with_multisrctop="$with_multisrctop"
81244 with_target_subdir="$with_target_subdir"
81245 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81246 multi_basedir="$multi_basedir"
81247 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81248 CC="$CC"
81249 CXX="$CXX"
81250 GFORTRAN="$GFORTRAN"
81251 GCJ="$GCJ"
81252
81253
81254 # The HP-UX ksh and POSIX shell print the target directory to stdout
81255 # if CDPATH is set.
81256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81257
81258 sed_quote_subst='$sed_quote_subst'
81259 double_quote_subst='$double_quote_subst'
81260 delay_variable_subst='$delay_variable_subst'
81261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81269 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81270 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81271 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81272 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81273 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81274 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81275 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81276 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81277 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81278 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81279 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81280 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81281 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81282 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81283 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81284 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81285 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81286 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81287 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81288 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81289 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81290 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81291 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81292 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81293 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81296 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81297 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81298 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81299 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81300 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81301 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81302 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81303 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81304 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81305 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81306 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81307 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81308 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81309 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"`'
81310 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81311 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81312 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81313 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81314 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81315 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81316 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81317 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81318 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81319 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81320 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81321 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81322 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81323 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81324 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81325 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81326 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81327 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81328 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81329 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81330 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81331 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81332 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81333 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81334 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81335 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81336 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81337 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81338 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81339 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81340 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81341 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81342 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81343 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81344 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81345 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81346 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81347 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81348 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81349 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81350 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81351 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81352 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81353 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81354 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81355 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81359 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81360 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81361 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81362 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81363 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81364 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81365 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81366 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81367 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81368 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81369 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81370 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81371 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81372 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81373 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81374 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81375 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81376 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81377 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81378 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81379 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81380 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81381 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81382 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81383 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81384 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81385 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81386 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81387 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81388 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81389 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81390 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81391 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81392 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81393 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81394 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81395 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81396 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81397 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81398 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81399 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81400 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81401 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81402 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81403 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81404 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81405 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81406 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81407 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81408 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81409 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81410 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81411 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81412 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81413 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81414 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81415 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81416 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81417 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81418 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81419 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81420 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81421 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81422 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81423 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81424 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81425 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81426 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81427 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81428 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81429 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81430 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81431 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81432 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81433 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81434 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81435 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81436
81437 LTCC='$LTCC'
81438 LTCFLAGS='$LTCFLAGS'
81439 compiler='$compiler_DEFAULT'
81440
81441 # A function that is used when there is no print builtin or printf.
81442 func_fallback_echo ()
81443 {
81444 eval 'cat <<_LTECHO_EOF
81445 \$1
81446 _LTECHO_EOF'
81447 }
81448
81449 # Quote evaled strings.
81450 for var in SHELL \
81451 ECHO \
81452 SED \
81453 GREP \
81454 EGREP \
81455 FGREP \
81456 LD \
81457 NM \
81458 LN_S \
81459 lt_SP2NL \
81460 lt_NL2SP \
81461 reload_flag \
81462 OBJDUMP \
81463 deplibs_check_method \
81464 file_magic_cmd \
81465 AR \
81466 AR_FLAGS \
81467 STRIP \
81468 RANLIB \
81469 CC \
81470 CFLAGS \
81471 compiler \
81472 lt_cv_sys_global_symbol_pipe \
81473 lt_cv_sys_global_symbol_to_cdecl \
81474 lt_cv_sys_global_symbol_to_c_name_address \
81475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81476 lt_prog_compiler_no_builtin_flag \
81477 lt_prog_compiler_wl \
81478 lt_prog_compiler_pic \
81479 lt_prog_compiler_static \
81480 lt_cv_prog_compiler_c_o \
81481 need_locks \
81482 DSYMUTIL \
81483 NMEDIT \
81484 LIPO \
81485 OTOOL \
81486 OTOOL64 \
81487 shrext_cmds \
81488 export_dynamic_flag_spec \
81489 whole_archive_flag_spec \
81490 compiler_needs_object \
81491 with_gnu_ld \
81492 allow_undefined_flag \
81493 no_undefined_flag \
81494 hardcode_libdir_flag_spec \
81495 hardcode_libdir_flag_spec_ld \
81496 hardcode_libdir_separator \
81497 fix_srcfile_path \
81498 exclude_expsyms \
81499 include_expsyms \
81500 file_list_spec \
81501 variables_saved_for_relink \
81502 libname_spec \
81503 library_names_spec \
81504 soname_spec \
81505 install_override_mode \
81506 finish_eval \
81507 old_striplib \
81508 striplib \
81509 compiler_lib_search_dirs \
81510 predep_objects \
81511 postdep_objects \
81512 predeps \
81513 postdeps \
81514 compiler_lib_search_path \
81515 LD_CXX \
81516 reload_flag_CXX \
81517 compiler_CXX \
81518 lt_prog_compiler_no_builtin_flag_CXX \
81519 lt_prog_compiler_wl_CXX \
81520 lt_prog_compiler_pic_CXX \
81521 lt_prog_compiler_static_CXX \
81522 lt_cv_prog_compiler_c_o_CXX \
81523 export_dynamic_flag_spec_CXX \
81524 whole_archive_flag_spec_CXX \
81525 compiler_needs_object_CXX \
81526 with_gnu_ld_CXX \
81527 allow_undefined_flag_CXX \
81528 no_undefined_flag_CXX \
81529 hardcode_libdir_flag_spec_CXX \
81530 hardcode_libdir_flag_spec_ld_CXX \
81531 hardcode_libdir_separator_CXX \
81532 fix_srcfile_path_CXX \
81533 exclude_expsyms_CXX \
81534 include_expsyms_CXX \
81535 file_list_spec_CXX \
81536 compiler_lib_search_dirs_CXX \
81537 predep_objects_CXX \
81538 postdep_objects_CXX \
81539 predeps_CXX \
81540 postdeps_CXX \
81541 compiler_lib_search_path_CXX; do
81542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81543 *[\\\\\\\`\\"\\\$]*)
81544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81545 ;;
81546 *)
81547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81548 ;;
81549 esac
81550 done
81551
81552 # Double-quote double-evaled strings.
81553 for var in reload_cmds \
81554 old_postinstall_cmds \
81555 old_postuninstall_cmds \
81556 old_archive_cmds \
81557 extract_expsyms_cmds \
81558 old_archive_from_new_cmds \
81559 old_archive_from_expsyms_cmds \
81560 archive_cmds \
81561 archive_expsym_cmds \
81562 module_cmds \
81563 module_expsym_cmds \
81564 export_symbols_cmds \
81565 prelink_cmds \
81566 postinstall_cmds \
81567 postuninstall_cmds \
81568 finish_cmds \
81569 sys_lib_search_path_spec \
81570 sys_lib_dlsearch_path_spec \
81571 reload_cmds_CXX \
81572 old_archive_cmds_CXX \
81573 old_archive_from_new_cmds_CXX \
81574 old_archive_from_expsyms_cmds_CXX \
81575 archive_cmds_CXX \
81576 archive_expsym_cmds_CXX \
81577 module_cmds_CXX \
81578 module_expsym_cmds_CXX \
81579 export_symbols_cmds_CXX \
81580 prelink_cmds_CXX; do
81581 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81582 *[\\\\\\\`\\"\\\$]*)
81583 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81584 ;;
81585 *)
81586 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81587 ;;
81588 esac
81589 done
81590
81591 ac_aux_dir='$ac_aux_dir'
81592 xsi_shell='$xsi_shell'
81593 lt_shell_append='$lt_shell_append'
81594
81595 # See if we are running on zsh, and set the options which allow our
81596 # commands through without removal of \ escapes INIT.
81597 if test -n "\${ZSH_VERSION+set}" ; then
81598 setopt NO_GLOB_SUBST
81599 fi
81600
81601
81602 PACKAGE='$PACKAGE'
81603 VERSION='$VERSION'
81604 TIMESTAMP='$TIMESTAMP'
81605 RM='$RM'
81606 ofile='$ofile'
81607
81608
81609
81610
81611
81612
81613 GCC="$GCC"
81614 CC="$CC"
81615 acx_cv_header_stdint="$acx_cv_header_stdint"
81616 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81617 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81618 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81619 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81620 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81621 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81622 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81623 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81624 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81625 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81626 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81627 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81628 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81629
81630
81631 _ACEOF
81632
81633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81634
81635 # Handling of arguments.
81636 for ac_config_target in $ac_config_targets
81637 do
81638 case $ac_config_target in
81639 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81640 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81641 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81642 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81644 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81645 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81646 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81647 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81648 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81649 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81650 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81651 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81652 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81653 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81654 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81655 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81656 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81657 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81658
81659 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81660 esac
81661 done
81662
81663
81664 # If the user did not use the arguments to specify the items to instantiate,
81665 # then the envvar interface is used. Set only those that are not.
81666 # We use the long form for the default assignment because of an extremely
81667 # bizarre bug on SunOS 4.1.3.
81668 if $ac_need_defaults; then
81669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81672 fi
81673
81674 # Have a temporary directory for convenience. Make it in the build tree
81675 # simply because there is no reason against having it here, and in addition,
81676 # creating and moving files from /tmp can sometimes cause problems.
81677 # Hook for its removal unless debugging.
81678 # Note that there is a small window in which the directory will not be cleaned:
81679 # after its creation but before its name has been assigned to `$tmp'.
81680 $debug ||
81681 {
81682 tmp=
81683 trap 'exit_status=$?
81684 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81685 ' 0
81686 trap 'as_fn_exit 1' 1 2 13 15
81687 }
81688 # Create a (secure) tmp directory for tmp files.
81689
81690 {
81691 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81692 test -n "$tmp" && test -d "$tmp"
81693 } ||
81694 {
81695 tmp=./conf$$-$RANDOM
81696 (umask 077 && mkdir "$tmp")
81697 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81698
81699 # Set up the scripts for CONFIG_FILES section.
81700 # No need to generate them if there are no CONFIG_FILES.
81701 # This happens for instance with `./config.status config.h'.
81702 if test -n "$CONFIG_FILES"; then
81703
81704
81705 ac_cr=`echo X | tr X '\015'`
81706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81707 # But we know of no other shell where ac_cr would be empty at this
81708 # point, so we can use a bashism as a fallback.
81709 if test "x$ac_cr" = x; then
81710 eval ac_cr=\$\'\\r\'
81711 fi
81712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81714 ac_cs_awk_cr='\r'
81715 else
81716 ac_cs_awk_cr=$ac_cr
81717 fi
81718
81719 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81720 _ACEOF
81721
81722
81723 {
81724 echo "cat >conf$$subs.awk <<_ACEOF" &&
81725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81726 echo "_ACEOF"
81727 } >conf$$subs.sh ||
81728 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81730 ac_delim='%!_!# '
81731 for ac_last_try in false false false false false :; do
81732 . ./conf$$subs.sh ||
81733 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81734
81735 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81736 if test $ac_delim_n = $ac_delim_num; then
81737 break
81738 elif $ac_last_try; then
81739 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81740 else
81741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81742 fi
81743 done
81744 rm -f conf$$subs.sh
81745
81746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81747 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81748 _ACEOF
81749 sed -n '
81750 h
81751 s/^/S["/; s/!.*/"]=/
81752 p
81753 g
81754 s/^[^!]*!//
81755 :repl
81756 t repl
81757 s/'"$ac_delim"'$//
81758 t delim
81759 :nl
81760 h
81761 s/\(.\{148\}\).*/\1/
81762 t more1
81763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81764 p
81765 n
81766 b repl
81767 :more1
81768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81769 p
81770 g
81771 s/.\{148\}//
81772 t nl
81773 :delim
81774 h
81775 s/\(.\{148\}\).*/\1/
81776 t more2
81777 s/["\\]/\\&/g; s/^/"/; s/$/"/
81778 p
81779 b
81780 :more2
81781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81782 p
81783 g
81784 s/.\{148\}//
81785 t delim
81786 ' <conf$$subs.awk | sed '
81787 /^[^""]/{
81788 N
81789 s/\n//
81790 }
81791 ' >>$CONFIG_STATUS || ac_write_fail=1
81792 rm -f conf$$subs.awk
81793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81794 _ACAWK
81795 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81796 for (key in S) S_is_set[key] = 1
81797 FS = "\a"
81798
81799 }
81800 {
81801 line = $ 0
81802 nfields = split(line, field, "@")
81803 substed = 0
81804 len = length(field[1])
81805 for (i = 2; i < nfields; i++) {
81806 key = field[i]
81807 keylen = length(key)
81808 if (S_is_set[key]) {
81809 value = S[key]
81810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81811 len += length(value) + length(field[++i])
81812 substed = 1
81813 } else
81814 len += 1 + keylen
81815 }
81816
81817 print line
81818 }
81819
81820 _ACAWK
81821 _ACEOF
81822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81825 else
81826 cat
81827 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81828 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81829 _ACEOF
81830
81831 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81832 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81833 # trailing colons and then remove the whole line if VPATH becomes empty
81834 # (actually we leave an empty line to preserve line numbers).
81835 if test "x$srcdir" = x.; then
81836 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81837 s/:*\$(srcdir):*/:/
81838 s/:*\${srcdir}:*/:/
81839 s/:*@srcdir@:*/:/
81840 s/^\([^=]*=[ ]*\):*/\1/
81841 s/:*$//
81842 s/^[^=]*=[ ]*$//
81843 }'
81844 fi
81845
81846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81847 fi # test -n "$CONFIG_FILES"
81848
81849 # Set up the scripts for CONFIG_HEADERS section.
81850 # No need to generate them if there are no CONFIG_HEADERS.
81851 # This happens for instance with `./config.status Makefile'.
81852 if test -n "$CONFIG_HEADERS"; then
81853 cat >"$tmp/defines.awk" <<\_ACAWK ||
81854 BEGIN {
81855 _ACEOF
81856
81857 # Transform confdefs.h into an awk script `defines.awk', embedded as
81858 # here-document in config.status, that substitutes the proper values into
81859 # config.h.in to produce config.h.
81860
81861 # Create a delimiter string that does not exist in confdefs.h, to ease
81862 # handling of long lines.
81863 ac_delim='%!_!# '
81864 for ac_last_try in false false :; do
81865 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81866 if test -z "$ac_t"; then
81867 break
81868 elif $ac_last_try; then
81869 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81870 else
81871 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81872 fi
81873 done
81874
81875 # For the awk script, D is an array of macro values keyed by name,
81876 # likewise P contains macro parameters if any. Preserve backslash
81877 # newline sequences.
81878
81879 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81880 sed -n '
81881 s/.\{148\}/&'"$ac_delim"'/g
81882 t rset
81883 :rset
81884 s/^[ ]*#[ ]*define[ ][ ]*/ /
81885 t def
81886 d
81887 :def
81888 s/\\$//
81889 t bsnl
81890 s/["\\]/\\&/g
81891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81892 D["\1"]=" \3"/p
81893 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81894 d
81895 :bsnl
81896 s/["\\]/\\&/g
81897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81898 D["\1"]=" \3\\\\\\n"\\/p
81899 t cont
81900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81901 t cont
81902 d
81903 :cont
81904 n
81905 s/.\{148\}/&'"$ac_delim"'/g
81906 t clear
81907 :clear
81908 s/\\$//
81909 t bsnlc
81910 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81911 d
81912 :bsnlc
81913 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81914 b cont
81915 ' <confdefs.h | sed '
81916 s/'"$ac_delim"'/"\\\
81917 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81918
81919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81920 for (key in D) D_is_set[key] = 1
81921 FS = "\a"
81922 }
81923 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81924 line = \$ 0
81925 split(line, arg, " ")
81926 if (arg[1] == "#") {
81927 defundef = arg[2]
81928 mac1 = arg[3]
81929 } else {
81930 defundef = substr(arg[1], 2)
81931 mac1 = arg[2]
81932 }
81933 split(mac1, mac2, "(") #)
81934 macro = mac2[1]
81935 prefix = substr(line, 1, index(line, defundef) - 1)
81936 if (D_is_set[macro]) {
81937 # Preserve the white space surrounding the "#".
81938 print prefix "define", macro P[macro] D[macro]
81939 next
81940 } else {
81941 # Replace #undef with comments. This is necessary, for example,
81942 # in the case of _POSIX_SOURCE, which is predefined and required
81943 # on some systems where configure will not decide to define it.
81944 if (defundef == "undef") {
81945 print "/*", prefix defundef, macro, "*/"
81946 next
81947 }
81948 }
81949 }
81950 { print }
81951 _ACAWK
81952 _ACEOF
81953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81954 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81955 fi # test -n "$CONFIG_HEADERS"
81956
81957
81958 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81959 shift
81960 for ac_tag
81961 do
81962 case $ac_tag in
81963 :[FHLC]) ac_mode=$ac_tag; continue;;
81964 esac
81965 case $ac_mode$ac_tag in
81966 :[FHL]*:*);;
81967 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81968 :[FH]-) ac_tag=-:-;;
81969 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81970 esac
81971 ac_save_IFS=$IFS
81972 IFS=:
81973 set x $ac_tag
81974 IFS=$ac_save_IFS
81975 shift
81976 ac_file=$1
81977 shift
81978
81979 case $ac_mode in
81980 :L) ac_source=$1;;
81981 :[FH])
81982 ac_file_inputs=
81983 for ac_f
81984 do
81985 case $ac_f in
81986 -) ac_f="$tmp/stdin";;
81987 *) # Look for the file first in the build tree, then in the source tree
81988 # (if the path is not absolute). The absolute path cannot be DOS-style,
81989 # because $ac_f cannot contain `:'.
81990 test -f "$ac_f" ||
81991 case $ac_f in
81992 [\\/$]*) false;;
81993 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81994 esac ||
81995 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81996 esac
81997 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81998 as_fn_append ac_file_inputs " '$ac_f'"
81999 done
82000
82001 # Let's still pretend it is `configure' which instantiates (i.e., don't
82002 # use $as_me), people would be surprised to read:
82003 # /* config.h. Generated by config.status. */
82004 configure_input='Generated from '`
82005 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82006 `' by configure.'
82007 if test x"$ac_file" != x-; then
82008 configure_input="$ac_file. $configure_input"
82009 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82010 $as_echo "$as_me: creating $ac_file" >&6;}
82011 fi
82012 # Neutralize special characters interpreted by sed in replacement strings.
82013 case $configure_input in #(
82014 *\&* | *\|* | *\\* )
82015 ac_sed_conf_input=`$as_echo "$configure_input" |
82016 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82017 *) ac_sed_conf_input=$configure_input;;
82018 esac
82019
82020 case $ac_tag in
82021 *:-:* | *:-) cat >"$tmp/stdin" \
82022 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82023 esac
82024 ;;
82025 esac
82026
82027 ac_dir=`$as_dirname -- "$ac_file" ||
82028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82029 X"$ac_file" : 'X\(//\)[^/]' \| \
82030 X"$ac_file" : 'X\(//\)$' \| \
82031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82032 $as_echo X"$ac_file" |
82033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82034 s//\1/
82035 q
82036 }
82037 /^X\(\/\/\)[^/].*/{
82038 s//\1/
82039 q
82040 }
82041 /^X\(\/\/\)$/{
82042 s//\1/
82043 q
82044 }
82045 /^X\(\/\).*/{
82046 s//\1/
82047 q
82048 }
82049 s/.*/./; q'`
82050 as_dir="$ac_dir"; as_fn_mkdir_p
82051 ac_builddir=.
82052
82053 case "$ac_dir" in
82054 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82055 *)
82056 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82057 # A ".." for each directory in $ac_dir_suffix.
82058 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82059 case $ac_top_builddir_sub in
82060 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82061 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82062 esac ;;
82063 esac
82064 ac_abs_top_builddir=$ac_pwd
82065 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82066 # for backward compatibility:
82067 ac_top_builddir=$ac_top_build_prefix
82068
82069 case $srcdir in
82070 .) # We are building in place.
82071 ac_srcdir=.
82072 ac_top_srcdir=$ac_top_builddir_sub
82073 ac_abs_top_srcdir=$ac_pwd ;;
82074 [\\/]* | ?:[\\/]* ) # Absolute name.
82075 ac_srcdir=$srcdir$ac_dir_suffix;
82076 ac_top_srcdir=$srcdir
82077 ac_abs_top_srcdir=$srcdir ;;
82078 *) # Relative name.
82079 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82080 ac_top_srcdir=$ac_top_build_prefix$srcdir
82081 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82082 esac
82083 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82084
82085
82086 case $ac_mode in
82087 :F)
82088 #
82089 # CONFIG_FILE
82090 #
82091
82092 case $INSTALL in
82093 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82094 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82095 esac
82096 ac_MKDIR_P=$MKDIR_P
82097 case $MKDIR_P in
82098 [\\/$]* | ?:[\\/]* ) ;;
82099 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82100 esac
82101 _ACEOF
82102
82103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82104 # If the template does not know about datarootdir, expand it.
82105 # FIXME: This hack should be removed a few years after 2.60.
82106 ac_datarootdir_hack=; ac_datarootdir_seen=
82107 ac_sed_dataroot='
82108 /datarootdir/ {
82109 p
82110 q
82111 }
82112 /@datadir@/p
82113 /@docdir@/p
82114 /@infodir@/p
82115 /@localedir@/p
82116 /@mandir@/p'
82117 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82118 *datarootdir*) ac_datarootdir_seen=yes;;
82119 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82121 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82122 _ACEOF
82123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82124 ac_datarootdir_hack='
82125 s&@datadir@&$datadir&g
82126 s&@docdir@&$docdir&g
82127 s&@infodir@&$infodir&g
82128 s&@localedir@&$localedir&g
82129 s&@mandir@&$mandir&g
82130 s&\\\${datarootdir}&$datarootdir&g' ;;
82131 esac
82132 _ACEOF
82133
82134 # Neutralize VPATH when `$srcdir' = `.'.
82135 # Shell code in configure.ac might set extrasub.
82136 # FIXME: do we really want to maintain this feature?
82137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82138 ac_sed_extra="$ac_vpsub
82139 $extrasub
82140 _ACEOF
82141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82142 :t
82143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82144 s|@configure_input@|$ac_sed_conf_input|;t t
82145 s&@top_builddir@&$ac_top_builddir_sub&;t t
82146 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82147 s&@srcdir@&$ac_srcdir&;t t
82148 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82149 s&@top_srcdir@&$ac_top_srcdir&;t t
82150 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82151 s&@builddir@&$ac_builddir&;t t
82152 s&@abs_builddir@&$ac_abs_builddir&;t t
82153 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82154 s&@INSTALL@&$ac_INSTALL&;t t
82155 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82156 $ac_datarootdir_hack
82157 "
82158 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82159 || as_fn_error "could not create $ac_file" "$LINENO" 5
82160
82161 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82162 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82163 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82165 which seems to be undefined. Please make sure it is defined." >&5
82166 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82167 which seems to be undefined. Please make sure it is defined." >&2;}
82168
82169 rm -f "$tmp/stdin"
82170 case $ac_file in
82171 -) cat "$tmp/out" && rm -f "$tmp/out";;
82172 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82173 esac \
82174 || as_fn_error "could not create $ac_file" "$LINENO" 5
82175 ;;
82176 :H)
82177 #
82178 # CONFIG_HEADER
82179 #
82180 if test x"$ac_file" != x-; then
82181 {
82182 $as_echo "/* $configure_input */" \
82183 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82184 } >"$tmp/config.h" \
82185 || as_fn_error "could not create $ac_file" "$LINENO" 5
82186 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82187 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82188 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82189 else
82190 rm -f "$ac_file"
82191 mv "$tmp/config.h" "$ac_file" \
82192 || as_fn_error "could not create $ac_file" "$LINENO" 5
82193 fi
82194 else
82195 $as_echo "/* $configure_input */" \
82196 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82197 || as_fn_error "could not create -" "$LINENO" 5
82198 fi
82199 # Compute "$ac_file"'s index in $config_headers.
82200 _am_arg="$ac_file"
82201 _am_stamp_count=1
82202 for _am_header in $config_headers :; do
82203 case $_am_header in
82204 $_am_arg | $_am_arg:* )
82205 break ;;
82206 * )
82207 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82208 esac
82209 done
82210 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82211 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82212 X"$_am_arg" : 'X\(//\)[^/]' \| \
82213 X"$_am_arg" : 'X\(//\)$' \| \
82214 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82215 $as_echo X"$_am_arg" |
82216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82217 s//\1/
82218 q
82219 }
82220 /^X\(\/\/\)[^/].*/{
82221 s//\1/
82222 q
82223 }
82224 /^X\(\/\/\)$/{
82225 s//\1/
82226 q
82227 }
82228 /^X\(\/\).*/{
82229 s//\1/
82230 q
82231 }
82232 s/.*/./; q'`/stamp-h$_am_stamp_count
82233 ;;
82234
82235 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82236 $as_echo "$as_me: executing $ac_file commands" >&6;}
82237 ;;
82238 esac
82239
82240
82241 case $ac_file$ac_mode in
82242 "default-1":C)
82243 # Only add multilib support code if we just rebuilt the top-level
82244 # Makefile.
82245 case " $CONFIG_FILES " in
82246 *" Makefile "*)
82247 ac_file=Makefile . ${multi_basedir}/config-ml.in
82248 ;;
82249 esac ;;
82250 "libtool":C)
82251
82252 # See if we are running on zsh, and set the options which allow our
82253 # commands through without removal of \ escapes.
82254 if test -n "${ZSH_VERSION+set}" ; then
82255 setopt NO_GLOB_SUBST
82256 fi
82257
82258 cfgfile="${ofile}T"
82259 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82260 $RM "$cfgfile"
82261
82262 cat <<_LT_EOF >> "$cfgfile"
82263 #! $SHELL
82264
82265 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82266 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82268 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82269 #
82270 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82271 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82272 # Written by Gordon Matzigkeit, 1996
82273 #
82274 # This file is part of GNU Libtool.
82275 #
82276 # GNU Libtool is free software; you can redistribute it and/or
82277 # modify it under the terms of the GNU General Public License as
82278 # published by the Free Software Foundation; either version 2 of
82279 # the License, or (at your option) any later version.
82280 #
82281 # As a special exception to the GNU General Public License,
82282 # if you distribute this file as part of a program or library that
82283 # is built using GNU Libtool, you may include this file under the
82284 # same distribution terms that you use for the rest of that program.
82285 #
82286 # GNU Libtool is distributed in the hope that it will be useful,
82287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82289 # GNU General Public License for more details.
82290 #
82291 # You should have received a copy of the GNU General Public License
82292 # along with GNU Libtool; see the file COPYING. If not, a copy
82293 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82294 # obtained by writing to the Free Software Foundation, Inc.,
82295 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82296
82297
82298 # The names of the tagged configurations supported by this script.
82299 available_tags="CXX "
82300
82301 # ### BEGIN LIBTOOL CONFIG
82302
82303 # Which release of libtool.m4 was used?
82304 macro_version=$macro_version
82305 macro_revision=$macro_revision
82306
82307 # Whether or not to build shared libraries.
82308 build_libtool_libs=$enable_shared
82309
82310 # Whether or not to build static libraries.
82311 build_old_libs=$enable_static
82312
82313 # What type of objects to build.
82314 pic_mode=$pic_mode
82315
82316 # Whether or not to optimize for fast installation.
82317 fast_install=$enable_fast_install
82318
82319 # Shell to use when invoking shell scripts.
82320 SHELL=$lt_SHELL
82321
82322 # An echo program that protects backslashes.
82323 ECHO=$lt_ECHO
82324
82325 # The host system.
82326 host_alias=$host_alias
82327 host=$host
82328 host_os=$host_os
82329
82330 # The build system.
82331 build_alias=$build_alias
82332 build=$build
82333 build_os=$build_os
82334
82335 # A sed program that does not truncate output.
82336 SED=$lt_SED
82337
82338 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82339 Xsed="\$SED -e 1s/^X//"
82340
82341 # A grep program that handles long lines.
82342 GREP=$lt_GREP
82343
82344 # An ERE matcher.
82345 EGREP=$lt_EGREP
82346
82347 # A literal string matcher.
82348 FGREP=$lt_FGREP
82349
82350 # A BSD- or MS-compatible name lister.
82351 NM=$lt_NM
82352
82353 # Whether we need soft or hard links.
82354 LN_S=$lt_LN_S
82355
82356 # What is the maximum length of a command?
82357 max_cmd_len=$max_cmd_len
82358
82359 # Object file suffix (normally "o").
82360 objext=$ac_objext
82361
82362 # Executable file suffix (normally "").
82363 exeext=$exeext
82364
82365 # whether the shell understands "unset".
82366 lt_unset=$lt_unset
82367
82368 # turn spaces into newlines.
82369 SP2NL=$lt_lt_SP2NL
82370
82371 # turn newlines into spaces.
82372 NL2SP=$lt_lt_NL2SP
82373
82374 # An object symbol dumper.
82375 OBJDUMP=$lt_OBJDUMP
82376
82377 # Method to check whether dependent libraries are shared objects.
82378 deplibs_check_method=$lt_deplibs_check_method
82379
82380 # Command to use when deplibs_check_method == "file_magic".
82381 file_magic_cmd=$lt_file_magic_cmd
82382
82383 # The archiver.
82384 AR=$lt_AR
82385 AR_FLAGS=$lt_AR_FLAGS
82386
82387 # A symbol stripping program.
82388 STRIP=$lt_STRIP
82389
82390 # Commands used to install an old-style archive.
82391 RANLIB=$lt_RANLIB
82392 old_postinstall_cmds=$lt_old_postinstall_cmds
82393 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82394
82395 # Whether to use a lock for old archive extraction.
82396 lock_old_archive_extraction=$lock_old_archive_extraction
82397
82398 # A C compiler.
82399 LTCC=$lt_CC
82400
82401 # LTCC compiler flags.
82402 LTCFLAGS=$lt_CFLAGS
82403
82404 # Take the output of nm and produce a listing of raw symbols and C names.
82405 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82406
82407 # Transform the output of nm in a proper C declaration.
82408 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82409
82410 # Transform the output of nm in a C name address pair.
82411 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82412
82413 # Transform the output of nm in a C name address pair when lib prefix is needed.
82414 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82415
82416 # The name of the directory that contains temporary libtool files.
82417 objdir=$objdir
82418
82419 # Used to examine libraries when file_magic_cmd begins with "file".
82420 MAGIC_CMD=$MAGIC_CMD
82421
82422 # Must we lock files when doing compilation?
82423 need_locks=$lt_need_locks
82424
82425 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82426 DSYMUTIL=$lt_DSYMUTIL
82427
82428 # Tool to change global to local symbols on Mac OS X.
82429 NMEDIT=$lt_NMEDIT
82430
82431 # Tool to manipulate fat objects and archives on Mac OS X.
82432 LIPO=$lt_LIPO
82433
82434 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82435 OTOOL=$lt_OTOOL
82436
82437 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82438 OTOOL64=$lt_OTOOL64
82439
82440 # Old archive suffix (normally "a").
82441 libext=$libext
82442
82443 # Shared library suffix (normally ".so").
82444 shrext_cmds=$lt_shrext_cmds
82445
82446 # The commands to extract the exported symbol list from a shared archive.
82447 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82448
82449 # Variables whose values should be saved in libtool wrapper scripts and
82450 # restored at link time.
82451 variables_saved_for_relink=$lt_variables_saved_for_relink
82452
82453 # Do we need the "lib" prefix for modules?
82454 need_lib_prefix=$need_lib_prefix
82455
82456 # Do we need a version for libraries?
82457 need_version=$need_version
82458
82459 # Library versioning type.
82460 version_type=$version_type
82461
82462 # Shared library runtime path variable.
82463 runpath_var=$runpath_var
82464
82465 # Shared library path variable.
82466 shlibpath_var=$shlibpath_var
82467
82468 # Is shlibpath searched before the hard-coded library search path?
82469 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82470
82471 # Format of library name prefix.
82472 libname_spec=$lt_libname_spec
82473
82474 # List of archive names. First name is the real one, the rest are links.
82475 # The last name is the one that the linker finds with -lNAME
82476 library_names_spec=$lt_library_names_spec
82477
82478 # The coded name of the library, if different from the real name.
82479 soname_spec=$lt_soname_spec
82480
82481 # Permission mode override for installation of shared libraries.
82482 install_override_mode=$lt_install_override_mode
82483
82484 # Command to use after installation of a shared archive.
82485 postinstall_cmds=$lt_postinstall_cmds
82486
82487 # Command to use after uninstallation of a shared archive.
82488 postuninstall_cmds=$lt_postuninstall_cmds
82489
82490 # Commands used to finish a libtool library installation in a directory.
82491 finish_cmds=$lt_finish_cmds
82492
82493 # As "finish_cmds", except a single script fragment to be evaled but
82494 # not shown.
82495 finish_eval=$lt_finish_eval
82496
82497 # Whether we should hardcode library paths into libraries.
82498 hardcode_into_libs=$hardcode_into_libs
82499
82500 # Compile-time system search path for libraries.
82501 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82502
82503 # Run-time system search path for libraries.
82504 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82505
82506 # Whether dlopen is supported.
82507 dlopen_support=$enable_dlopen
82508
82509 # Whether dlopen of programs is supported.
82510 dlopen_self=$enable_dlopen_self
82511
82512 # Whether dlopen of statically linked programs is supported.
82513 dlopen_self_static=$enable_dlopen_self_static
82514
82515 # Commands to strip libraries.
82516 old_striplib=$lt_old_striplib
82517 striplib=$lt_striplib
82518
82519
82520 # The linker used to build libraries.
82521 LD=$lt_LD
82522
82523 # How to create reloadable object files.
82524 reload_flag=$lt_reload_flag
82525 reload_cmds=$lt_reload_cmds
82526
82527 # Commands used to build an old-style archive.
82528 old_archive_cmds=$lt_old_archive_cmds
82529
82530 # A language specific compiler.
82531 CC=$lt_compiler
82532
82533 # Is the compiler the GNU compiler?
82534 with_gcc=$GCC
82535
82536 # Compiler flag to turn off builtin functions.
82537 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82538
82539 # How to pass a linker flag through the compiler.
82540 wl=$lt_lt_prog_compiler_wl
82541
82542 # Additional compiler flags for building library objects.
82543 pic_flag=$lt_lt_prog_compiler_pic
82544
82545 # Compiler flag to prevent dynamic linking.
82546 link_static_flag=$lt_lt_prog_compiler_static
82547
82548 # Does compiler simultaneously support -c and -o options?
82549 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82550
82551 # Whether or not to add -lc for building shared libraries.
82552 build_libtool_need_lc=$archive_cmds_need_lc
82553
82554 # Whether or not to disallow shared libs when runtime libs are static.
82555 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82556
82557 # Compiler flag to allow reflexive dlopens.
82558 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82559
82560 # Compiler flag to generate shared objects directly from archives.
82561 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82562
82563 # Whether the compiler copes with passing no objects directly.
82564 compiler_needs_object=$lt_compiler_needs_object
82565
82566 # Create an old-style archive from a shared archive.
82567 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82568
82569 # Create a temporary old-style archive to link instead of a shared archive.
82570 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82571
82572 # Commands used to build a shared archive.
82573 archive_cmds=$lt_archive_cmds
82574 archive_expsym_cmds=$lt_archive_expsym_cmds
82575
82576 # Commands used to build a loadable module if different from building
82577 # a shared archive.
82578 module_cmds=$lt_module_cmds
82579 module_expsym_cmds=$lt_module_expsym_cmds
82580
82581 # Whether we are building with GNU ld or not.
82582 with_gnu_ld=$lt_with_gnu_ld
82583
82584 # Flag that allows shared libraries with undefined symbols to be built.
82585 allow_undefined_flag=$lt_allow_undefined_flag
82586
82587 # Flag that enforces no undefined symbols.
82588 no_undefined_flag=$lt_no_undefined_flag
82589
82590 # Flag to hardcode \$libdir into a binary during linking.
82591 # This must work even if \$libdir does not exist
82592 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82593
82594 # If ld is used when linking, flag to hardcode \$libdir into a binary
82595 # during linking. This must work even if \$libdir does not exist.
82596 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82597
82598 # Whether we need a single "-rpath" flag with a separated argument.
82599 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82600
82601 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82602 # DIR into the resulting binary.
82603 hardcode_direct=$hardcode_direct
82604
82605 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82606 # DIR into the resulting binary and the resulting library dependency is
82607 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82608 # library is relocated.
82609 hardcode_direct_absolute=$hardcode_direct_absolute
82610
82611 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82612 # into the resulting binary.
82613 hardcode_minus_L=$hardcode_minus_L
82614
82615 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82616 # into the resulting binary.
82617 hardcode_shlibpath_var=$hardcode_shlibpath_var
82618
82619 # Set to "yes" if building a shared library automatically hardcodes DIR
82620 # into the library and all subsequent libraries and executables linked
82621 # against it.
82622 hardcode_automatic=$hardcode_automatic
82623
82624 # Set to yes if linker adds runtime paths of dependent libraries
82625 # to runtime path list.
82626 inherit_rpath=$inherit_rpath
82627
82628 # Whether libtool must link a program against all its dependency libraries.
82629 link_all_deplibs=$link_all_deplibs
82630
82631 # Fix the shell variable \$srcfile for the compiler.
82632 fix_srcfile_path=$lt_fix_srcfile_path
82633
82634 # Set to "yes" if exported symbols are required.
82635 always_export_symbols=$always_export_symbols
82636
82637 # The commands to list exported symbols.
82638 export_symbols_cmds=$lt_export_symbols_cmds
82639
82640 # Symbols that should not be listed in the preloaded symbols.
82641 exclude_expsyms=$lt_exclude_expsyms
82642
82643 # Symbols that must always be exported.
82644 include_expsyms=$lt_include_expsyms
82645
82646 # Commands necessary for linking programs (against libraries) with templates.
82647 prelink_cmds=$lt_prelink_cmds
82648
82649 # Specify filename containing input files.
82650 file_list_spec=$lt_file_list_spec
82651
82652 # How to hardcode a shared library path into an executable.
82653 hardcode_action=$hardcode_action
82654
82655 # The directories searched by this compiler when creating a shared library.
82656 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82657
82658 # Dependencies to place before and after the objects being linked to
82659 # create a shared library.
82660 predep_objects=$lt_predep_objects
82661 postdep_objects=$lt_postdep_objects
82662 predeps=$lt_predeps
82663 postdeps=$lt_postdeps
82664
82665 # The library search path used internally by the compiler when linking
82666 # a shared library.
82667 compiler_lib_search_path=$lt_compiler_lib_search_path
82668
82669 # ### END LIBTOOL CONFIG
82670
82671 _LT_EOF
82672
82673 case $host_os in
82674 aix3*)
82675 cat <<\_LT_EOF >> "$cfgfile"
82676 # AIX sometimes has problems with the GCC collect2 program. For some
82677 # reason, if we set the COLLECT_NAMES environment variable, the problems
82678 # vanish in a puff of smoke.
82679 if test "X${COLLECT_NAMES+set}" != Xset; then
82680 COLLECT_NAMES=
82681 export COLLECT_NAMES
82682 fi
82683 _LT_EOF
82684 ;;
82685 esac
82686
82687
82688 ltmain="$ac_aux_dir/ltmain.sh"
82689
82690
82691 # We use sed instead of cat because bash on DJGPP gets confused if
82692 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82693 # text mode, it properly converts lines to CR/LF. This bash problem
82694 # is reportedly fixed, but why not run on old versions too?
82695 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82696 || (rm -f "$cfgfile"; exit 1)
82697
82698 case $xsi_shell in
82699 yes)
82700 cat << \_LT_EOF >> "$cfgfile"
82701
82702 # func_dirname file append nondir_replacement
82703 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82704 # otherwise set result to NONDIR_REPLACEMENT.
82705 func_dirname ()
82706 {
82707 case ${1} in
82708 */*) func_dirname_result="${1%/*}${2}" ;;
82709 * ) func_dirname_result="${3}" ;;
82710 esac
82711 }
82712
82713 # func_basename file
82714 func_basename ()
82715 {
82716 func_basename_result="${1##*/}"
82717 }
82718
82719 # func_dirname_and_basename file append nondir_replacement
82720 # perform func_basename and func_dirname in a single function
82721 # call:
82722 # dirname: Compute the dirname of FILE. If nonempty,
82723 # add APPEND to the result, otherwise set result
82724 # to NONDIR_REPLACEMENT.
82725 # value returned in "$func_dirname_result"
82726 # basename: Compute filename of FILE.
82727 # value retuned in "$func_basename_result"
82728 # Implementation must be kept synchronized with func_dirname
82729 # and func_basename. For efficiency, we do not delegate to
82730 # those functions but instead duplicate the functionality here.
82731 func_dirname_and_basename ()
82732 {
82733 case ${1} in
82734 */*) func_dirname_result="${1%/*}${2}" ;;
82735 * ) func_dirname_result="${3}" ;;
82736 esac
82737 func_basename_result="${1##*/}"
82738 }
82739
82740 # func_stripname prefix suffix name
82741 # strip PREFIX and SUFFIX off of NAME.
82742 # PREFIX and SUFFIX must not contain globbing or regex special
82743 # characters, hashes, percent signs, but SUFFIX may contain a leading
82744 # dot (in which case that matches only a dot).
82745 func_stripname ()
82746 {
82747 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82748 # positional parameters, so assign one to ordinary parameter first.
82749 func_stripname_result=${3}
82750 func_stripname_result=${func_stripname_result#"${1}"}
82751 func_stripname_result=${func_stripname_result%"${2}"}
82752 }
82753
82754 # func_opt_split
82755 func_opt_split ()
82756 {
82757 func_opt_split_opt=${1%%=*}
82758 func_opt_split_arg=${1#*=}
82759 }
82760
82761 # func_lo2o object
82762 func_lo2o ()
82763 {
82764 case ${1} in
82765 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82766 *) func_lo2o_result=${1} ;;
82767 esac
82768 }
82769
82770 # func_xform libobj-or-source
82771 func_xform ()
82772 {
82773 func_xform_result=${1%.*}.lo
82774 }
82775
82776 # func_arith arithmetic-term...
82777 func_arith ()
82778 {
82779 func_arith_result=$(( $* ))
82780 }
82781
82782 # func_len string
82783 # STRING may not start with a hyphen.
82784 func_len ()
82785 {
82786 func_len_result=${#1}
82787 }
82788
82789 _LT_EOF
82790 ;;
82791 *) # Bourne compatible functions.
82792 cat << \_LT_EOF >> "$cfgfile"
82793
82794 # func_dirname file append nondir_replacement
82795 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82796 # otherwise set result to NONDIR_REPLACEMENT.
82797 func_dirname ()
82798 {
82799 # Extract subdirectory from the argument.
82800 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82801 if test "X$func_dirname_result" = "X${1}"; then
82802 func_dirname_result="${3}"
82803 else
82804 func_dirname_result="$func_dirname_result${2}"
82805 fi
82806 }
82807
82808 # func_basename file
82809 func_basename ()
82810 {
82811 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82812 }
82813
82814
82815 # func_stripname prefix suffix name
82816 # strip PREFIX and SUFFIX off of NAME.
82817 # PREFIX and SUFFIX must not contain globbing or regex special
82818 # characters, hashes, percent signs, but SUFFIX may contain a leading
82819 # dot (in which case that matches only a dot).
82820 # func_strip_suffix prefix name
82821 func_stripname ()
82822 {
82823 case ${2} in
82824 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82825 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82826 esac
82827 }
82828
82829 # sed scripts:
82830 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82831 my_sed_long_arg='1s/^-[^=]*=//'
82832
82833 # func_opt_split
82834 func_opt_split ()
82835 {
82836 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82837 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82838 }
82839
82840 # func_lo2o object
82841 func_lo2o ()
82842 {
82843 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82844 }
82845
82846 # func_xform libobj-or-source
82847 func_xform ()
82848 {
82849 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82850 }
82851
82852 # func_arith arithmetic-term...
82853 func_arith ()
82854 {
82855 func_arith_result=`expr "$@"`
82856 }
82857
82858 # func_len string
82859 # STRING may not start with a hyphen.
82860 func_len ()
82861 {
82862 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82863 }
82864
82865 _LT_EOF
82866 esac
82867
82868 case $lt_shell_append in
82869 yes)
82870 cat << \_LT_EOF >> "$cfgfile"
82871
82872 # func_append var value
82873 # Append VALUE to the end of shell variable VAR.
82874 func_append ()
82875 {
82876 eval "$1+=\$2"
82877 }
82878 _LT_EOF
82879 ;;
82880 *)
82881 cat << \_LT_EOF >> "$cfgfile"
82882
82883 # func_append var value
82884 # Append VALUE to the end of shell variable VAR.
82885 func_append ()
82886 {
82887 eval "$1=\$$1\$2"
82888 }
82889
82890 _LT_EOF
82891 ;;
82892 esac
82893
82894
82895 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82896 || (rm -f "$cfgfile"; exit 1)
82897
82898 mv -f "$cfgfile" "$ofile" ||
82899 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82900 chmod +x "$ofile"
82901
82902
82903 cat <<_LT_EOF >> "$ofile"
82904
82905 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82906
82907 # The linker used to build libraries.
82908 LD=$lt_LD_CXX
82909
82910 # How to create reloadable object files.
82911 reload_flag=$lt_reload_flag_CXX
82912 reload_cmds=$lt_reload_cmds_CXX
82913
82914 # Commands used to build an old-style archive.
82915 old_archive_cmds=$lt_old_archive_cmds_CXX
82916
82917 # A language specific compiler.
82918 CC=$lt_compiler_CXX
82919
82920 # Is the compiler the GNU compiler?
82921 with_gcc=$GCC_CXX
82922
82923 # Compiler flag to turn off builtin functions.
82924 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82925
82926 # How to pass a linker flag through the compiler.
82927 wl=$lt_lt_prog_compiler_wl_CXX
82928
82929 # Additional compiler flags for building library objects.
82930 pic_flag=$lt_lt_prog_compiler_pic_CXX
82931
82932 # Compiler flag to prevent dynamic linking.
82933 link_static_flag=$lt_lt_prog_compiler_static_CXX
82934
82935 # Does compiler simultaneously support -c and -o options?
82936 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82937
82938 # Whether or not to add -lc for building shared libraries.
82939 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82940
82941 # Whether or not to disallow shared libs when runtime libs are static.
82942 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82943
82944 # Compiler flag to allow reflexive dlopens.
82945 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82946
82947 # Compiler flag to generate shared objects directly from archives.
82948 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82949
82950 # Whether the compiler copes with passing no objects directly.
82951 compiler_needs_object=$lt_compiler_needs_object_CXX
82952
82953 # Create an old-style archive from a shared archive.
82954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82955
82956 # Create a temporary old-style archive to link instead of a shared archive.
82957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82958
82959 # Commands used to build a shared archive.
82960 archive_cmds=$lt_archive_cmds_CXX
82961 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82962
82963 # Commands used to build a loadable module if different from building
82964 # a shared archive.
82965 module_cmds=$lt_module_cmds_CXX
82966 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82967
82968 # Whether we are building with GNU ld or not.
82969 with_gnu_ld=$lt_with_gnu_ld_CXX
82970
82971 # Flag that allows shared libraries with undefined symbols to be built.
82972 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82973
82974 # Flag that enforces no undefined symbols.
82975 no_undefined_flag=$lt_no_undefined_flag_CXX
82976
82977 # Flag to hardcode \$libdir into a binary during linking.
82978 # This must work even if \$libdir does not exist
82979 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82980
82981 # If ld is used when linking, flag to hardcode \$libdir into a binary
82982 # during linking. This must work even if \$libdir does not exist.
82983 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82984
82985 # Whether we need a single "-rpath" flag with a separated argument.
82986 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82987
82988 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82989 # DIR into the resulting binary.
82990 hardcode_direct=$hardcode_direct_CXX
82991
82992 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82993 # DIR into the resulting binary and the resulting library dependency is
82994 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82995 # library is relocated.
82996 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82997
82998 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82999 # into the resulting binary.
83000 hardcode_minus_L=$hardcode_minus_L_CXX
83001
83002 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83003 # into the resulting binary.
83004 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83005
83006 # Set to "yes" if building a shared library automatically hardcodes DIR
83007 # into the library and all subsequent libraries and executables linked
83008 # against it.
83009 hardcode_automatic=$hardcode_automatic_CXX
83010
83011 # Set to yes if linker adds runtime paths of dependent libraries
83012 # to runtime path list.
83013 inherit_rpath=$inherit_rpath_CXX
83014
83015 # Whether libtool must link a program against all its dependency libraries.
83016 link_all_deplibs=$link_all_deplibs_CXX
83017
83018 # Fix the shell variable \$srcfile for the compiler.
83019 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83020
83021 # Set to "yes" if exported symbols are required.
83022 always_export_symbols=$always_export_symbols_CXX
83023
83024 # The commands to list exported symbols.
83025 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83026
83027 # Symbols that should not be listed in the preloaded symbols.
83028 exclude_expsyms=$lt_exclude_expsyms_CXX
83029
83030 # Symbols that must always be exported.
83031 include_expsyms=$lt_include_expsyms_CXX
83032
83033 # Commands necessary for linking programs (against libraries) with templates.
83034 prelink_cmds=$lt_prelink_cmds_CXX
83035
83036 # Specify filename containing input files.
83037 file_list_spec=$lt_file_list_spec_CXX
83038
83039 # How to hardcode a shared library path into an executable.
83040 hardcode_action=$hardcode_action_CXX
83041
83042 # The directories searched by this compiler when creating a shared library.
83043 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83044
83045 # Dependencies to place before and after the objects being linked to
83046 # create a shared library.
83047 predep_objects=$lt_predep_objects_CXX
83048 postdep_objects=$lt_postdep_objects_CXX
83049 predeps=$lt_predeps_CXX
83050 postdeps=$lt_postdeps_CXX
83051
83052 # The library search path used internally by the compiler when linking
83053 # a shared library.
83054 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83055
83056 # ### END LIBTOOL TAG CONFIG: CXX
83057 _LT_EOF
83058
83059 ;;
83060 "include/gstdint.h":C)
83061 if test "$GCC" = yes; then
83062 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83063 else
83064 echo "/* generated for $CC */" > tmp-stdint.h
83065 fi
83066
83067 sed 's/^ *//' >> tmp-stdint.h <<EOF
83068
83069 #ifndef GCC_GENERATED_STDINT_H
83070 #define GCC_GENERATED_STDINT_H 1
83071
83072 #include <sys/types.h>
83073 EOF
83074
83075 if test "$acx_cv_header_stdint" != stdint.h; then
83076 echo "#include <stddef.h>" >> tmp-stdint.h
83077 fi
83078 if test "$acx_cv_header_stdint" != stddef.h; then
83079 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83080 fi
83081
83082 sed 's/^ *//' >> tmp-stdint.h <<EOF
83083 /* glibc uses these symbols as guards to prevent redefinitions. */
83084 #ifdef __int8_t_defined
83085 #define _INT8_T
83086 #define _INT16_T
83087 #define _INT32_T
83088 #endif
83089 #ifdef __uint32_t_defined
83090 #define _UINT32_T
83091 #endif
83092
83093 EOF
83094
83095 # ----------------- done header, emit basic int types -------------
83096 if test "$acx_cv_header_stdint" = stddef.h; then
83097 sed 's/^ *//' >> tmp-stdint.h <<EOF
83098
83099 #ifndef _UINT8_T
83100 #define _UINT8_T
83101 #ifndef __uint8_t_defined
83102 #define __uint8_t_defined
83103 #ifndef uint8_t
83104 typedef unsigned $acx_cv_type_int8_t uint8_t;
83105 #endif
83106 #endif
83107 #endif
83108
83109 #ifndef _UINT16_T
83110 #define _UINT16_T
83111 #ifndef __uint16_t_defined
83112 #define __uint16_t_defined
83113 #ifndef uint16_t
83114 typedef unsigned $acx_cv_type_int16_t uint16_t;
83115 #endif
83116 #endif
83117 #endif
83118
83119 #ifndef _UINT32_T
83120 #define _UINT32_T
83121 #ifndef __uint32_t_defined
83122 #define __uint32_t_defined
83123 #ifndef uint32_t
83124 typedef unsigned $acx_cv_type_int32_t uint32_t;
83125 #endif
83126 #endif
83127 #endif
83128
83129 #ifndef _INT8_T
83130 #define _INT8_T
83131 #ifndef __int8_t_defined
83132 #define __int8_t_defined
83133 #ifndef int8_t
83134 typedef $acx_cv_type_int8_t int8_t;
83135 #endif
83136 #endif
83137 #endif
83138
83139 #ifndef _INT16_T
83140 #define _INT16_T
83141 #ifndef __int16_t_defined
83142 #define __int16_t_defined
83143 #ifndef int16_t
83144 typedef $acx_cv_type_int16_t int16_t;
83145 #endif
83146 #endif
83147 #endif
83148
83149 #ifndef _INT32_T
83150 #define _INT32_T
83151 #ifndef __int32_t_defined
83152 #define __int32_t_defined
83153 #ifndef int32_t
83154 typedef $acx_cv_type_int32_t int32_t;
83155 #endif
83156 #endif
83157 #endif
83158 EOF
83159 elif test "$ac_cv_type_u_int32_t" = yes; then
83160 sed 's/^ *//' >> tmp-stdint.h <<EOF
83161
83162 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83163 #ifndef _INT8_T
83164 #define _INT8_T
83165 #endif
83166 #ifndef _INT16_T
83167 #define _INT16_T
83168 #endif
83169 #ifndef _INT32_T
83170 #define _INT32_T
83171 #endif
83172
83173 #ifndef _UINT8_T
83174 #define _UINT8_T
83175 #ifndef __uint8_t_defined
83176 #define __uint8_t_defined
83177 #ifndef uint8_t
83178 typedef u_int8_t uint8_t;
83179 #endif
83180 #endif
83181 #endif
83182
83183 #ifndef _UINT16_T
83184 #define _UINT16_T
83185 #ifndef __uint16_t_defined
83186 #define __uint16_t_defined
83187 #ifndef uint16_t
83188 typedef u_int16_t uint16_t;
83189 #endif
83190 #endif
83191 #endif
83192
83193 #ifndef _UINT32_T
83194 #define _UINT32_T
83195 #ifndef __uint32_t_defined
83196 #define __uint32_t_defined
83197 #ifndef uint32_t
83198 typedef u_int32_t uint32_t;
83199 #endif
83200 #endif
83201 #endif
83202 EOF
83203 else
83204 sed 's/^ *//' >> tmp-stdint.h <<EOF
83205
83206 /* Some systems have guard macros to prevent redefinitions, define them. */
83207 #ifndef _INT8_T
83208 #define _INT8_T
83209 #endif
83210 #ifndef _INT16_T
83211 #define _INT16_T
83212 #endif
83213 #ifndef _INT32_T
83214 #define _INT32_T
83215 #endif
83216 #ifndef _UINT8_T
83217 #define _UINT8_T
83218 #endif
83219 #ifndef _UINT16_T
83220 #define _UINT16_T
83221 #endif
83222 #ifndef _UINT32_T
83223 #define _UINT32_T
83224 #endif
83225 EOF
83226 fi
83227
83228 # ------------- done basic int types, emit int64_t types ------------
83229 if test "$ac_cv_type_uint64_t" = yes; then
83230 sed 's/^ *//' >> tmp-stdint.h <<EOF
83231
83232 /* system headers have good uint64_t and int64_t */
83233 #ifndef _INT64_T
83234 #define _INT64_T
83235 #endif
83236 #ifndef _UINT64_T
83237 #define _UINT64_T
83238 #endif
83239 EOF
83240 elif test "$ac_cv_type_u_int64_t" = yes; then
83241 sed 's/^ *//' >> tmp-stdint.h <<EOF
83242
83243 /* system headers have an u_int64_t (and int64_t) */
83244 #ifndef _INT64_T
83245 #define _INT64_T
83246 #endif
83247 #ifndef _UINT64_T
83248 #define _UINT64_T
83249 #ifndef __uint64_t_defined
83250 #define __uint64_t_defined
83251 #ifndef uint64_t
83252 typedef u_int64_t uint64_t;
83253 #endif
83254 #endif
83255 #endif
83256 EOF
83257 elif test -n "$acx_cv_type_int64_t"; then
83258 sed 's/^ *//' >> tmp-stdint.h <<EOF
83259
83260 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83261 #ifndef _INT64_T
83262 #define _INT64_T
83263 #ifndef int64_t
83264 typedef $acx_cv_type_int64_t int64_t;
83265 #endif
83266 #endif
83267 #ifndef _UINT64_T
83268 #define _UINT64_T
83269 #ifndef __uint64_t_defined
83270 #define __uint64_t_defined
83271 #ifndef uint64_t
83272 typedef unsigned $acx_cv_type_int64_t uint64_t;
83273 #endif
83274 #endif
83275 #endif
83276 EOF
83277 else
83278 sed 's/^ *//' >> tmp-stdint.h <<EOF
83279
83280 /* some common heuristics for int64_t, using compiler-specific tests */
83281 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83282 #ifndef _INT64_T
83283 #define _INT64_T
83284 #ifndef __int64_t_defined
83285 #ifndef int64_t
83286 typedef long long int64_t;
83287 #endif
83288 #endif
83289 #endif
83290 #ifndef _UINT64_T
83291 #define _UINT64_T
83292 #ifndef uint64_t
83293 typedef unsigned long long uint64_t;
83294 #endif
83295 #endif
83296
83297 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83298 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83299 does not implement __extension__. But that compiler doesn't define
83300 __GNUC_MINOR__. */
83301 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83302 # define __extension__
83303 # endif
83304
83305 # ifndef _INT64_T
83306 # define _INT64_T
83307 # ifndef int64_t
83308 __extension__ typedef long long int64_t;
83309 # endif
83310 # endif
83311 # ifndef _UINT64_T
83312 # define _UINT64_T
83313 # ifndef uint64_t
83314 __extension__ typedef unsigned long long uint64_t;
83315 # endif
83316 # endif
83317
83318 #elif !defined __STRICT_ANSI__
83319 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83320
83321 # ifndef _INT64_T
83322 # define _INT64_T
83323 # ifndef int64_t
83324 typedef __int64 int64_t;
83325 # endif
83326 # endif
83327 # ifndef _UINT64_T
83328 # define _UINT64_T
83329 # ifndef uint64_t
83330 typedef unsigned __int64 uint64_t;
83331 # endif
83332 # endif
83333 # endif /* compiler */
83334
83335 #endif /* ANSI version */
83336 EOF
83337 fi
83338
83339 # ------------- done int64_t types, emit intptr types ------------
83340 if test "$ac_cv_type_uintptr_t" != yes; then
83341 sed 's/^ *//' >> tmp-stdint.h <<EOF
83342
83343 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83344 #ifndef __uintptr_t_defined
83345 #ifndef uintptr_t
83346 typedef u$acx_cv_type_intptr_t uintptr_t;
83347 #endif
83348 #endif
83349 #ifndef __intptr_t_defined
83350 #ifndef intptr_t
83351 typedef $acx_cv_type_intptr_t intptr_t;
83352 #endif
83353 #endif
83354 EOF
83355 fi
83356
83357 # ------------- done intptr types, emit int_least types ------------
83358 if test "$ac_cv_type_int_least32_t" != yes; then
83359 sed 's/^ *//' >> tmp-stdint.h <<EOF
83360
83361 /* Define int_least types */
83362 typedef int8_t int_least8_t;
83363 typedef int16_t int_least16_t;
83364 typedef int32_t int_least32_t;
83365 #ifdef _INT64_T
83366 typedef int64_t int_least64_t;
83367 #endif
83368
83369 typedef uint8_t uint_least8_t;
83370 typedef uint16_t uint_least16_t;
83371 typedef uint32_t uint_least32_t;
83372 #ifdef _UINT64_T
83373 typedef uint64_t uint_least64_t;
83374 #endif
83375 EOF
83376 fi
83377
83378 # ------------- done intptr types, emit int_fast types ------------
83379 if test "$ac_cv_type_int_fast32_t" != yes; then
83380 sed 's/^ *//' >> tmp-stdint.h <<EOF
83381
83382 /* Define int_fast types. short is often slow */
83383 typedef int8_t int_fast8_t;
83384 typedef int int_fast16_t;
83385 typedef int32_t int_fast32_t;
83386 #ifdef _INT64_T
83387 typedef int64_t int_fast64_t;
83388 #endif
83389
83390 typedef uint8_t uint_fast8_t;
83391 typedef unsigned int uint_fast16_t;
83392 typedef uint32_t uint_fast32_t;
83393 #ifdef _UINT64_T
83394 typedef uint64_t uint_fast64_t;
83395 #endif
83396 EOF
83397 fi
83398
83399 if test "$ac_cv_type_uintmax_t" != yes; then
83400 sed 's/^ *//' >> tmp-stdint.h <<EOF
83401
83402 /* Define intmax based on what we found */
83403 #ifndef intmax_t
83404 #ifdef _INT64_T
83405 typedef int64_t intmax_t;
83406 #else
83407 typedef long intmax_t;
83408 #endif
83409 #endif
83410 #ifndef uintmax_t
83411 #ifdef _UINT64_T
83412 typedef uint64_t uintmax_t;
83413 #else
83414 typedef unsigned long uintmax_t;
83415 #endif
83416 #endif
83417 EOF
83418 fi
83419
83420 sed 's/^ *//' >> tmp-stdint.h <<EOF
83421
83422 #endif /* GCC_GENERATED_STDINT_H */
83423 EOF
83424
83425 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83426 rm -f tmp-stdint.h
83427 else
83428 mv -f tmp-stdint.h include/gstdint.h
83429 fi
83430
83431 ;;
83432 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83433 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83434 "include/Makefile":F) cat > vpsed$$ << \_EOF
83435 s!`test -f '$<' || echo '$(srcdir)/'`!!
83436 _EOF
83437 sed -f vpsed$$ $ac_file > tmp$$
83438 mv tmp$$ $ac_file
83439 rm vpsed$$
83440 echo 'MULTISUBDIR =' >> $ac_file
83441 ml_norecursion=yes
83442 . ${multi_basedir}/config-ml.in
83443 { ml_norecursion=; unset ml_norecursion;}
83444 ;;
83445 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83446 s!`test -f '$<' || echo '$(srcdir)/'`!!
83447 _EOF
83448 sed -f vpsed$$ $ac_file > tmp$$
83449 mv tmp$$ $ac_file
83450 rm vpsed$$
83451 echo 'MULTISUBDIR =' >> $ac_file
83452 ml_norecursion=yes
83453 . ${multi_basedir}/config-ml.in
83454 { ml_norecursion=; unset ml_norecursion;}
83455 ;;
83456 "src/Makefile":F) cat > vpsed$$ << \_EOF
83457 s!`test -f '$<' || echo '$(srcdir)/'`!!
83458 _EOF
83459 sed -f vpsed$$ $ac_file > tmp$$
83460 mv tmp$$ $ac_file
83461 rm vpsed$$
83462 echo 'MULTISUBDIR =' >> $ac_file
83463 ml_norecursion=yes
83464 . ${multi_basedir}/config-ml.in
83465 { ml_norecursion=; unset ml_norecursion;}
83466 ;;
83467 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83468 s!`test -f '$<' || echo '$(srcdir)/'`!!
83469 _EOF
83470 sed -f vpsed$$ $ac_file > tmp$$
83471 mv tmp$$ $ac_file
83472 rm vpsed$$
83473 echo 'MULTISUBDIR =' >> $ac_file
83474 ml_norecursion=yes
83475 . ${multi_basedir}/config-ml.in
83476 { ml_norecursion=; unset ml_norecursion;}
83477 ;;
83478 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83479 s!`test -f '$<' || echo '$(srcdir)/'`!!
83480 _EOF
83481 sed -f vpsed$$ $ac_file > tmp$$
83482 mv tmp$$ $ac_file
83483 rm vpsed$$
83484 echo 'MULTISUBDIR =' >> $ac_file
83485 ml_norecursion=yes
83486 . ${multi_basedir}/config-ml.in
83487 { ml_norecursion=; unset ml_norecursion;}
83488 ;;
83489 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83490 s!`test -f '$<' || echo '$(srcdir)/'`!!
83491 _EOF
83492 sed -f vpsed$$ $ac_file > tmp$$
83493 mv tmp$$ $ac_file
83494 rm vpsed$$
83495 echo 'MULTISUBDIR =' >> $ac_file
83496 ml_norecursion=yes
83497 . ${multi_basedir}/config-ml.in
83498 { ml_norecursion=; unset ml_norecursion;}
83499 ;;
83500 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83501 s!`test -f '$<' || echo '$(srcdir)/'`!!
83502 _EOF
83503 sed -f vpsed$$ $ac_file > tmp$$
83504 mv tmp$$ $ac_file
83505 rm vpsed$$
83506 echo 'MULTISUBDIR =' >> $ac_file
83507 ml_norecursion=yes
83508 . ${multi_basedir}/config-ml.in
83509 { ml_norecursion=; unset ml_norecursion;}
83510 ;;
83511 "po/Makefile":F) cat > vpsed$$ << \_EOF
83512 s!`test -f '$<' || echo '$(srcdir)/'`!!
83513 _EOF
83514 sed -f vpsed$$ $ac_file > tmp$$
83515 mv tmp$$ $ac_file
83516 rm vpsed$$
83517 echo 'MULTISUBDIR =' >> $ac_file
83518 ml_norecursion=yes
83519 . ${multi_basedir}/config-ml.in
83520 { ml_norecursion=; unset ml_norecursion;}
83521 ;;
83522 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83523 s!`test -f '$<' || echo '$(srcdir)/'`!!
83524 _EOF
83525 sed -f vpsed$$ $ac_file > tmp$$
83526 mv tmp$$ $ac_file
83527 rm vpsed$$
83528 echo 'MULTISUBDIR =' >> $ac_file
83529 ml_norecursion=yes
83530 . ${multi_basedir}/config-ml.in
83531 { ml_norecursion=; unset ml_norecursion;}
83532 ;;
83533 "python/Makefile":F) cat > vpsed$$ << \_EOF
83534 s!`test -f '$<' || echo '$(srcdir)/'`!!
83535 _EOF
83536 sed -f vpsed$$ $ac_file > tmp$$
83537 mv tmp$$ $ac_file
83538 rm vpsed$$
83539 echo 'MULTISUBDIR =' >> $ac_file
83540 ml_norecursion=yes
83541 . ${multi_basedir}/config-ml.in
83542 { ml_norecursion=; unset ml_norecursion;}
83543 ;;
83544 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83545
83546 esac
83547 done # for ac_tag
83548
83549
83550 as_fn_exit 0
83551 _ACEOF
83552 ac_clean_files=$ac_clean_files_save
83553
83554 test $ac_write_fail = 0 ||
83555 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83556
83557
83558 # configure is writing to config.log, and then calls config.status.
83559 # config.status does its own redirection, appending to config.log.
83560 # Unfortunately, on DOS this fails, as config.log is still kept open
83561 # by configure, so config.status won't be able to write to it; its
83562 # output is simply discarded. So we exec the FD to /dev/null,
83563 # effectively closing config.log, so it can be properly (re)opened and
83564 # appended to by config.status. When coming back to configure, we
83565 # need to make the FD available again.
83566 if test "$no_create" != yes; then
83567 ac_cs_success=:
83568 ac_config_status_args=
83569 test "$silent" = yes &&
83570 ac_config_status_args="$ac_config_status_args --quiet"
83571 exec 5>/dev/null
83572 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83573 exec 5>>config.log
83574 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83575 # would make configure fail if this is the last instruction.
83576 $ac_cs_success || as_fn_exit $?
83577 fi
83578 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83580 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
83581 fi
83582