unordered_map.h (__unordered_map): Remove.
[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 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
749 CXX
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
875 '
876 ac_precious_vars='build_alias
877 host_alias
878 target_alias
879 CC
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
884 CXX
885 CXXFLAGS
886 CCC
887 CPP
888 CXXCPP
889 CXXFILT'
890
891
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
913
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
939
940 ac_prev=
941 ac_dashdash=
942 for ac_option
943 do
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
947 ac_prev=
948 continue
949 fi
950
951 case $ac_option in
952 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 *) ac_optarg=yes ;;
954 esac
955
956 # Accept the important Cygnus configure options, so we can diagnose typos.
957
958 case $ac_dashdash$ac_option in
959 --)
960 ac_dashdash=yes ;;
961
962 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 ac_prev=bindir ;;
964 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 bindir=$ac_optarg ;;
966
967 -build | --build | --buil | --bui | --bu)
968 ac_prev=build_alias ;;
969 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970 build_alias=$ac_optarg ;;
971
972 -cache-file | --cache-file | --cache-fil | --cache-fi \
973 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974 ac_prev=cache_file ;;
975 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977 cache_file=$ac_optarg ;;
978
979 --config-cache | -C)
980 cache_file=config.cache ;;
981
982 -datadir | --datadir | --datadi | --datad)
983 ac_prev=datadir ;;
984 -datadir=* | --datadir=* | --datadi=* | --datad=*)
985 datadir=$ac_optarg ;;
986
987 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988 | --dataroo | --dataro | --datar)
989 ac_prev=datarootdir ;;
990 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992 datarootdir=$ac_optarg ;;
993
994 -disable-* | --disable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=no ;;
1009
1010 -docdir | --docdir | --docdi | --doc | --do)
1011 ac_prev=docdir ;;
1012 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013 docdir=$ac_optarg ;;
1014
1015 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 ac_prev=dvidir ;;
1017 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018 dvidir=$ac_optarg ;;
1019
1020 -enable-* | --enable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029 "enable_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval enable_$ac_useropt=\$ac_optarg ;;
1035
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1044
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1047 with_gas=yes ;;
1048
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1055
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1060
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 ac_prev=htmldir ;;
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 | --ht=*)
1065 htmldir=$ac_optarg ;;
1066
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1073
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 ac_prev=infodir ;;
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1078
1079 -libdir | --libdir | --libdi | --libd)
1080 ac_prev=libdir ;;
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1083
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1090
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1095
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1102
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 ac_prev=mandir ;;
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1107
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1110 with_fp=no ;;
1111
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1114 no_create=yes ;;
1115
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 no_recursion=yes ;;
1119
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1128
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 ac_prev=prefix ;;
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1133
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1140
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1147
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1164
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 ac_prev=pdfdir ;;
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1169
1170 -psdir | --psdir | --psdi | --psd | --ps)
1171 ac_prev=psdir ;;
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 psdir=$ac_optarg ;;
1174
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1177 silent=yes ;;
1178
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 ac_prev=sbindir ;;
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 | --sbi=* | --sb=*)
1183 sbindir=$ac_optarg ;;
1184
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1188 | --sha | --sh)
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 | --sha=* | --sh=*)
1194 sharedstatedir=$ac_optarg ;;
1195
1196 -site | --site | --sit)
1197 ac_prev=site ;;
1198 -site=* | --site=* | --sit=*)
1199 site=$ac_optarg ;;
1200
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 ac_prev=srcdir ;;
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1205
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1212
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1217
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 verbose=yes ;;
1220
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1223
1224 -with-* | --with-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error "invalid package name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1232 *"
1233 "with_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval with_$ac_useropt=\$ac_optarg ;;
1239
1240 -without-* | --without-*)
1241 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1248 *"
1249 "with_$ac_useropt"
1250 "*) ;;
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1253 esac
1254 eval with_$ac_useropt=no ;;
1255
1256 --x)
1257 # Obsolete; use --with-x.
1258 with_x=yes ;;
1259
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev=x_includes ;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes=$ac_optarg ;;
1266
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev=x_libraries ;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries=$ac_optarg ;;
1273
1274 -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1276 ;;
1277
1278 *=*)
1279 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' | [0-9]* | *[!_$as_cr_alnum]* )
1283 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284 esac
1285 eval $ac_envvar=\$ac_optarg
1286 export $ac_envvar ;;
1287
1288 *)
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1294 ;;
1295
1296 esac
1297 done
1298
1299 if test -n "$ac_prev"; then
1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error "missing argument to $ac_option"
1302 fi
1303
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1306 no) ;;
1307 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 esac
1310 fi
1311
1312 # Check all directory arguments for consistency.
1313 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1317 do
1318 eval ac_val=\$$ac_var
1319 # Remove trailing slashes.
1320 case $ac_val in
1321 */ )
1322 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\$ac_val;;
1324 esac
1325 # Be sure to have absolute directory names.
1326 case $ac_val in
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 esac
1330 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1332
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1339
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342 if test "x$build_alias" = x; then
1343 cross_compiling=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1348 fi
1349 fi
1350
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354 test "$silent" = yes && exec 6>/dev/null
1355
1356
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error "pwd does not report name of working directory"
1363
1364
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\/\)$/{
1384 s//\1/
1385 q
1386 }
1387 /^X\(\/\).*/{
1388 s//\1/
1389 q
1390 }
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1395 fi
1396 else
1397 ac_srcdir_defaulted=no
1398 fi
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1402 fi
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1410 fi
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1423
1424 #
1425 # Report the --help message.
1426 #
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1432
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1437
1438 Defaults for the options are specified in brackets.
1439
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1456
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1461
1462 For better control, use the options below.
1463
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1485
1486 cat <<\_ACEOF
1487
1488 Program names:
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1492
1493 System types:
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 --target=TARGET configure for building compilers for TARGET [HOST]
1497 _ACEOF
1498 fi
1499
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of package-unused version-unused:";;
1503 esac
1504 cat <<\_ACEOF
1505
1506 Optional Features:
1507 --disable-option-checking ignore unrecognized --enable/--with options
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-multilib build many library versions (default)
1511 --enable-maintainer-mode enable make rules and dependencies not useful
1512 (and sometimes confusing) to the casual installer
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-static[=PKGS] build static libraries [default=yes]
1515 --enable-fast-install[=PKGS]
1516 optimize for fast installation [default=yes]
1517 --disable-libtool-lock avoid locking (might break parallel builds)
1518 --disable-hosted-libstdcxx
1519 only build freestanding C++ runtime support
1520 --enable-sjlj-exceptions
1521 force use of builtin_setjmp for exceptions
1522 [default=auto]
1523 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1524 [default=$is_hosted]
1525 --enable-cstdio[=PACKAGE]
1526 use target-specific I/O package [default=stdio]
1527 --enable-clocale[=MODEL]
1528 use MODEL for target locale package [default=auto]
1529 --enable-nls use Native Language Support (default)
1530 --enable-libstdcxx-allocator[=KIND]
1531 use KIND for target std::allocator base
1532 [default=auto]
1533 --enable-cheaders[=KIND]
1534 construct "C" headers for g++ [default=$c_model]
1535 --enable-long-long enable template specializations for 'long long'
1536 [default=yes]
1537 --enable-wchar_t enable template specializations for 'wchar_t'
1538 [default=yes]
1539 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1540 --enable-concept-checks use Boost-derived template checks [default=no]
1541 --enable-libstdcxx-debug-flags=FLAGS
1542 pass compiler FLAGS when building debug library
1543 [default="-gdwarf-4 -g3 -O0"]
1544 --enable-libstdcxx-debug
1545 build extra debug library [default=no]
1546 --enable-cxx-flags=FLAGS
1547 pass compiler FLAGS when building library [default=]
1548 --enable-fully-dynamic-string
1549 do not put empty strings in per-process static
1550 memory [default=no]
1551 --enable-extern-template
1552 enable extern template [default=yes]
1553 --enable-werror turns on -Werror [default=yes]
1554 --enable-libstdcxx-time[=KIND]
1555 use KIND for check type [default=no]
1556 --enable-tls Use thread-local storage [default=yes]
1557 --disable-rpath do not hardcode runtime library paths
1558 --enable-linux-futex use the Linux futex system call [default=default]
1559 --enable-symvers[=STYLE]
1560 enables symbol versioning of the shared library
1561 [default=yes]
1562 --enable-libstdcxx-visibility
1563 enables visibility safe usage [default=yes]
1564 --enable-libstdcxx-threads
1565 enable C++11 threads support [default=auto]
1566 --enable-version-specific-runtime-libs
1567 Specify that runtime libraries should be installed
1568 in a compiler-specific directory
1569
1570 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-target-subdir=SUBDIR
1574 configuring in a subdirectory
1575 --with-cross-host=HOST configuring with a cross compiler
1576 --with-newlib assume newlib as a system C library
1577 --with-pic try to use only PIC/non-PIC objects [default=use
1578 both]
1579 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1580 --with-python-dir the location to install Python modules. This path is
1581 relative starting from the prefix.
1582 --with-gnu-ld assume the C compiler uses GNU ld default=no
1583 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1584 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1585 --with-system-libunwind use installed libunwind
1586 --with-gxx-include-dir=DIR
1587 installation directory for include files
1588
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CXX C++ compiler command
1598 CXXFLAGS C++ compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1602 `c++filt', `gc++filt' on PATH.
1603
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1606
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1610 fi
1611
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617 continue
1618 ac_builddir=.
1619
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *)
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1635
1636 case $srcdir in
1637 .) # We are building in place.
1638 ac_srcdir=.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1645 *) # Relative name.
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1660 else
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 fi || ac_status=$?
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1664 done
1665 fi
1666
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669 cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1672
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677 exit
1678 fi
1679
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1683
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1688 {
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1704 fi
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714
1715 ac_retval=1
1716 fi
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1719
1720 } # ac_fn_c_try_compile
1721
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1726 {
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1742 fi
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_cxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=1
1754 fi
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1757
1758 } # ac_fn_cxx_try_compile
1759
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1764 {
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1779 fi
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } >/dev/null && {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790 ac_retval=1
1791 fi
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 return $ac_retval
1794
1795 } # ac_fn_c_try_cpp
1796
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1817 fi
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest$ac_exeext
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831 ac_retval=1
1832 fi
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 return $ac_retval
1840
1841 } # ac_fn_c_try_link
1842
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1848 {
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1854 else
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $4
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861 eval "$3=yes"
1862 else
1863 eval "$3=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871
1872 } # ac_fn_c_check_header_compile
1873
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1879 {
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1907
1908 ac_retval=$ac_status
1909 fi
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 return $ac_retval
1913
1914 } # ac_fn_c_try_run
1915
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test x$gcc_no_link = xyes; then
1928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1929 fi
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967 ;
1968 return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983
1984 } # ac_fn_c_check_func
1985
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2005 fi
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } >/dev/null && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 return $ac_retval
2020
2021 } # ac_fn_cxx_try_cpp
2022
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2043 fi
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 return $ac_retval
2066
2067 } # ac_fn_cxx_try_link
2068
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2075 {
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2082 fi
2083 eval ac_res=\$$3
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2092 $4
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2097 else
2098 ac_header_compiler=no
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2103
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2113 else
2114 ac_header_preproc=no
2115 fi
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2119
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122 yes:no: )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2127 ;;
2128 no:yes:* )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2139 ;;
2140 esac
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 eval "$3=\$ac_header_compiler"
2147 fi
2148 eval ac_res=\$$3
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 fi
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153
2154 } # ac_fn_c_check_header_mongrel
2155
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2162 {
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2169 fi
2170 eval ac_res=\$$3
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174 # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 $4
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183 ac_header_compiler=yes
2184 else
2185 ac_header_compiler=no
2186 fi
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2190
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199 ac_header_preproc=yes
2200 else
2201 ac_header_preproc=no
2202 fi
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2206
2207 # So? What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209 yes:no: )
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214 ;;
2215 no:yes:* )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226 ;;
2227 esac
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 eval "$3=\$ac_header_compiler"
2234 fi
2235 eval ac_res=\$$3
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 fi
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2240
2241 } # ac_fn_cxx_check_header_mongrel
2242
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2249 {
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2255 $4
2256 int
2257 main ()
2258 {
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2261
2262 ;
2263 return 0;
2264 }
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2271 $4
2272 int
2273 main ()
2274 {
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2277
2278 ;
2279 return 0;
2280 }
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2289 fi
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 $4
2298 int
2299 main ()
2300 {
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2303
2304 ;
2305 return 0;
2306 }
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 $4
2314 int
2315 main ()
2316 {
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2319
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2331 fi
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2347 $4
2348 int
2349 main ()
2350 {
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2353
2354 ;
2355 return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 $4
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2377 int
2378 main ()
2379 {
2380
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2385 {
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2390 }
2391 else
2392 {
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2397 }
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2401
2402 ;
2403 return 0;
2404 }
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2410 fi
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2414
2415 fi
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2418
2419 } # ac_fn_c_compute_int
2420
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2426 {
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 eval "$3=no"
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2436 $4
2437 int
2438 main ()
2439 {
2440 if (sizeof ($2))
2441 return 0;
2442 ;
2443 return 0;
2444 }
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2449 $4
2450 int
2451 main ()
2452 {
2453 if (sizeof (($2)))
2454 return 0;
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460
2461 else
2462 eval "$3=yes"
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2472
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2477
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64. Invocation command line was
2480
2481 $ $0 $@
2482
2483 _ACEOF
2484 exec 5>>config.log
2485 {
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2490
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2496
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2499
2500 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2501 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2504 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2505 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2506 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2507
2508 _ASUNAME
2509
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 $as_echo "PATH: $as_dir"
2516 done
2517 IFS=$as_save_IFS
2518
2519 } >&5
2520
2521 cat >&5 <<_ACEOF
2522
2523
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2527
2528 _ACEOF
2529
2530
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2541 do
2542 for ac_arg
2543 do
2544 case $ac_arg in
2545 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547 | -silent | --silent | --silen | --sile | --sil)
2548 continue ;;
2549 *\'*)
2550 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 esac
2552 case $ac_pass in
2553 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2554 2)
2555 as_fn_append ac_configure_args1 " '$ac_arg'"
2556 if test $ac_must_keep_next = true; then
2557 ac_must_keep_next=false # Got value, back to normal.
2558 else
2559 case $ac_arg in
2560 *=* | --config-cache | -C | -disable-* | --disable-* \
2561 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563 | -with-* | --with-* | -without-* | --without-* | --x)
2564 case "$ac_configure_args0 " in
2565 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566 esac
2567 ;;
2568 -* ) ac_must_keep_next=true ;;
2569 esac
2570 fi
2571 as_fn_append ac_configure_args " '$ac_arg'"
2572 ;;
2573 esac
2574 done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2578
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log. We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585 # Save into config.log some information that might help in debugging.
2586 {
2587 echo
2588
2589 cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594 echo
2595 # The following way of writing the cache mishandles newlines in values,
2596 (
2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in #(
2600 *${as_nl}*)
2601 case $ac_var in #(
2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604 esac
2605 case $ac_var in #(
2606 _ | IFS | as_nl) ;; #(
2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608 *) { eval $ac_var=; unset $ac_var;} ;;
2609 esac ;;
2610 esac
2611 done
2612 (set) 2>&1 |
2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614 *${as_nl}ac_space=\ *)
2615 sed -n \
2616 "s/'\''/'\''\\\\'\'''\''/g;
2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618 ;; #(
2619 *)
2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2621 ;;
2622 esac |
2623 sort
2624 )
2625 echo
2626
2627 cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_vars
2634 do
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2642
2643 if test -n "$ac_subst_files"; then
2644 cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649 echo
2650 for ac_var in $ac_subst_files
2651 do
2652 eval ac_val=\$$ac_var
2653 case $ac_val in
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655 esac
2656 $as_echo "$ac_var='\''$ac_val'\''"
2657 done | sort
2658 echo
2659 fi
2660
2661 if test -s confdefs.h; then
2662 cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667 echo
2668 cat confdefs.h
2669 echo
2670 fi
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2674 } >&5
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677 exit $exit_status
2678 ' 0
2679 for ac_signal in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2683
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2686
2687 $as_echo "/* confdefs.h */" > confdefs.h
2688
2689 # Predefined preprocessor variables.
2690
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2694
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2702
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2706
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2710
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2714
2715
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721 ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723 ac_site_file1=$prefix/share/config.site
2724 ac_site_file2=$prefix/etc/config.site
2725 else
2726 ac_site_file1=$ac_default_prefix/share/config.site
2727 ac_site_file2=$ac_default_prefix/etc/config.site
2728 fi
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2730 do
2731 test "x$ac_site_file" = xNONE && continue
2732 if test -r "$ac_site_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735 sed 's/^/| /' "$ac_site_file" >&5
2736 . "$ac_site_file"
2737 fi
2738 done
2739
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special
2742 # files actually), so we avoid doing that.
2743 if test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746 case $cache_file in
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2749 esac
2750 fi
2751 else
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754 >$cache_file
2755 fi
2756
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2766 set,)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2770 ,set)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2774 ,);;
2775 *)
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2788 fi
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2793 fi;;
2794 esac
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2797 case $ac_new_val in
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2800 esac
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804 esac
2805 fi
2806 done
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2813 fi
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2817
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823
2824
2825
2826
2827
2828
2829 ac_config_headers="$ac_config_headers config.h"
2830
2831
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported. Only used at the end of this file.
2836 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2837
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842 enableval=$enable_multilib; case "$enableval" in
2843 yes) multilib=yes ;;
2844 no) multilib=no ;;
2845 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846 esac
2847 else
2848 multilib=yes
2849 fi
2850
2851
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2855
2856 if test "$srcdir" = "."; then
2857 if test "$with_target_subdir" != "."; then
2858 multi_basedir="$srcdir/$with_multisrctop../.."
2859 else
2860 multi_basedir="$srcdir/$with_multisrctop.."
2861 fi
2862 else
2863 multi_basedir="$srcdir/.."
2864 fi
2865
2866
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870 && test "x${with_multisubdir}" != x ; then
2871 cross_compiling=maybe
2872 fi
2873
2874 ac_config_commands="$ac_config_commands default-1"
2875
2876
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2878 #
2879 # You will slowly go insane if you do not grok the following fact: when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/. configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf. Therefore, 'target' and
2883 # 'host' will always be the same. This makes sense both for native and
2884 # cross compilers, just think about it for a little while. :-)
2885 #
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2888 #
2889 # Do not delete or change the following two lines. For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893 for ac_t in install-sh install.sh shtool; do
2894 if test -f "$ac_dir/$ac_t"; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/$ac_t -c"
2897 break 2
2898 fi
2899 done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2903 fi
2904
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2912
2913
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2917
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2930
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$host_alias" = x; then
2958 ac_cv_host=$ac_cv_build
2959 else
2960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2962 fi
2963
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2983
2984
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test "x$target_alias" = x; then
2991 ac_cv_target=$ac_cv_host
2992 else
2993 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2995 fi
2996
2997 fi
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3016
3017
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021 test "$program_prefix$program_suffix$program_transform_name" = \
3022 NONENONEs,x,x, &&
3023 program_prefix=${target_alias}-
3024
3025 target_alias=${target_alias-$host_alias}
3026
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3029
3030 if test "$build" != "$host"; then
3031 # We are being configured with some form of cross compiler.
3032 GLIBCXX_IS_NATIVE=false
3033 case "$host","$target" in
3034 # Darwin crosses can use the host system's libraries and headers,
3035 # because of the fat library support. Of course, it must be the
3036 # same version of Darwin on both sides. Allow the user to
3037 # just say --target=foo-darwin without a version number to mean
3038 # "the version on this system".
3039 *-*-darwin*,*-*-darwin*)
3040 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042 if test $hostos = $targetos -o $targetos = darwin ; then
3043 GLIBCXX_IS_NATIVE=true
3044 fi
3045 ;;
3046
3047 *)
3048
3049 ;;
3050 esac
3051 else
3052 GLIBCXX_IS_NATIVE=true
3053 fi
3054
3055 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 # 1.x: minimum required version
3058 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 # of other PACKAGE_* variables will, however, and there's nothing
3060 # we can do about that; they come from AC_INIT).
3061 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3062 # file in the top srcdir, etc, etc), so stop complaining.
3063 # no-dependencies: turns off auto dependency generation (just for now)
3064 # no-dist: we don't want 'dist' and related rules.
3065 # -Wall: turns on all automake warnings...
3066 # -Wno-portability: ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3068
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3091 do
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099 /usr/ucb/* ) ;;
3100 *)
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3103 # by default.
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3110 :
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3114 :
3115 else
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3119 mkdir conftest.dir
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3124 then
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126 break 3
3127 fi
3128 fi
3129 fi
3130 done
3131 done
3132 ;;
3133 esac
3134
3135 done
3136 IFS=$as_save_IFS
3137
3138 rm -rf conftest.one conftest.two conftest.dir
3139
3140 fi
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3143 else
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3149 fi
3150 fi
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3153
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3157
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3159
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3169 am_lf='
3170 '
3171 case `pwd` in
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3179
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3188 # -L didn't work.
3189 set X `ls -t "$srcdir/configure" conftest.file`
3190 fi
3191 rm -f conftest.file
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3194
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3201 fi
3202
3203 test "$2" = conftest.file
3204 )
3205 then
3206 # Ok.
3207 :
3208 else
3209 as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3211 fi
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3223
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3226
3227 if test x"${MISSING+set}" != xset; then
3228 case $am_aux_dir in
3229 *\ * | *\ *)
3230 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3231 *)
3232 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233 esac
3234 fi
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run="$MISSING --run "
3238 else
3239 am_missing_run=
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3242 fi
3243
3244 if test x"${install_sh}" != xset; then
3245 case $am_aux_dir in
3246 *\ * | *\ *)
3247 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3248 *)
3249 install_sh="\${SHELL} $am_aux_dir/install-sh"
3250 esac
3251 fi
3252
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280 done
3281 done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335 if test "x$ac_ct_STRIP" = x; then
3336 STRIP=":"
3337 else
3338 case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344 STRIP=$ac_ct_STRIP
3345 fi
3346 else
3347 STRIP="$ac_cv_prog_STRIP"
3348 fi
3349
3350 fi
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3352
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if test "${ac_cv_path_mkdir+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3361 do
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_prog in mkdir gmkdir; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372 break 3;;
3373 esac
3374 done
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 fi
3380
3381 if test "${ac_cv_path_mkdir+set}" = set; then
3382 MKDIR_P="$ac_cv_path_mkdir -p"
3383 else
3384 # As a last resort, use the slow shell script. Don't cache a
3385 # value for MKDIR_P within a source directory, because that will
3386 # break other packages using the cache if that directory is
3387 # removed, or if the value is a relative name.
3388 test -d ./--version && rmdir ./--version
3389 MKDIR_P="$ac_install_sh -d"
3390 fi
3391 fi
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3394
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397 [\\/$]* | ?:[\\/]*) ;;
3398 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3400
3401 for ac_prog in gawk mawk nawk awk
3402 do
3403 # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$AWK"; then
3411 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_AWK="$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440 test -n "$AWK" && break
3441 done
3442
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453 @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457 *@@@%%%=?*=@@@%%%*)
3458 eval ac_cv_prog_make_${ac_make}_set=yes;;
3459 *)
3460 eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3463 fi
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467 SET_MAKE=
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471 SET_MAKE="MAKE=${MAKE-make}"
3472 fi
3473
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477 am__leading_dot=.
3478 else
3479 am__leading_dot=_
3480 fi
3481 rmdir .tst 2>/dev/null
3482
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485 # is not polluted with repeated "-I."
3486 am__isrc=' -I$(srcdir)'
3487 # test to see if srcdir already configured
3488 if test -f $srcdir/config.status; then
3489 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3490 fi
3491 fi
3492
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495 if (cygpath --version) >/dev/null 2>/dev/null; then
3496 CYGPATH_W='cygpath -w'
3497 else
3498 CYGPATH_W=echo
3499 fi
3500 fi
3501
3502
3503 # Define the identity of the package.
3504 PACKAGE='libstdc++'
3505 VERSION='version-unused'
3506
3507
3508 # Some tools Automake needs.
3509
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3511
3512
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3514
3515
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3517
3518
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3520
3521
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3523
3524 # We need awk for the "check" target. The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3527
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3529
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3531
3532
3533
3534
3535
3536
3537
3538
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3541
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3562 do
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3570 fi
3571 done
3572 done
3573 IFS=$as_save_IFS
3574
3575 fi
3576 fi
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 fi
3585
3586
3587 fi
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3602 do
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 fi
3616 fi
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3636 fi
3637 else
3638 CC="$ac_cv_prog_CC"
3639 fi
3640
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3663 fi
3664 done
3665 done
3666 IFS=$as_save_IFS
3667
3668 fi
3669 fi
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 fi
3678
3679
3680 fi
3681 fi
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3696 do
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3704 fi
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3708 fi
3709 done
3710 done
3711 IFS=$as_save_IFS
3712
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723 fi
3724 fi
3725 fi
3726 fi
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737 fi
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3741 do
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3762 fi
3763 done
3764 done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779 test -n "$CC" && break
3780 done
3781 fi
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3785 do
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3798 do
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3806 fi
3807 done
3808 done
3809 IFS=$as_save_IFS
3810
3811 fi
3812 fi
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823 test -n "$ac_ct_CC" && break
3824 done
3825
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3836 fi
3837 fi
3838
3839 fi
3840
3841
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3846
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3866 rm -f conftest.er1 conftest.err
3867 fi
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3871
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3874
3875 int
3876 main ()
3877 {
3878
3879 ;
3880 return 0;
3881 }
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885 (eval $ac_link) 2>&5
3886 ac_status=$?
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 gcc_no_link=no
3890 else
3891 gcc_no_link=yes
3892 fi
3893 if test x$gcc_no_link = xyes; then
3894 # Setting cross_compile will disable run tests; it will
3895 # also disable AC_CHECK_FILE but that's generally
3896 # correct if we can't link.
3897 cross_compiling=yes
3898 EXEEXT=
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902
3903 int
3904 main ()
3905 {
3906
3907 ;
3908 return 0;
3909 }
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3925 do
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3932
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3950 do
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954 ;;
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 fi
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3970 * )
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975
3976 else
3977 ac_file=''
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3984
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3990 fi
3991 ac_exeext=$ac_cv_exeext
3992
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999 if { ac_try='./$ac_file'
4000 { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; }; then
4010 cross_compiling=no
4011 else
4012 if test "$cross_compiling" = maybe; then
4013 cross_compiling=yes
4014 else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4020 fi
4021 fi
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4025
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4034
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4066 fi
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4070
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082
4083 int
4084 main ()
4085 {
4086
4087 ;
4088 return 0;
4089 }
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4114
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4119 fi
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133
4134 int
4135 main ()
4136 {
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4140
4141 ;
4142 return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GCC=yes
4158 else
4159 GCC=
4160 fi
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4170 ac_cv_prog_cc_g=no
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174
4175 int
4176 main ()
4177 {
4178
4179 ;
4180 return 0;
4181 }
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_g=yes
4185 else
4186 CFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189
4190 int
4191 main ()
4192 {
4193
4194 ;
4195 return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199
4200 else
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4202 CFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205
4206 int
4207 main ()
4208 {
4209
4210 ;
4211 return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_g=yes
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4230 CFLAGS="-g -O2"
4231 else
4232 CFLAGS="-g"
4233 fi
4234 else
4235 if test "$GCC" = yes; then
4236 CFLAGS="-O2"
4237 else
4238 CFLAGS=
4239 fi
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4260 {
4261 return p[i];
4262 }
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4264 {
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4271 }
4272
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4293 int
4294 main ()
4295 {
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4297 ;
4298 return 0;
4299 }
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 do
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4313
4314 fi
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4317 x)
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4323 *)
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329
4330 fi
4331
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 do
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4370 fi
4371 done
4372 done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387 test -n "$CXX" && break
4388 done
4389 fi
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 do
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4414 fi
4415 done
4416 done
4417 IFS=$as_save_IFS
4418
4419 fi
4420 fi
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4428 fi
4429
4430
4431 test -n "$ac_ct_CXX" && break
4432 done
4433
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4444 fi
4445 fi
4446
4447 fi
4448 fi
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4468 rm -f conftest.er1 conftest.err
4469 fi
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481
4482 int
4483 main ()
4484 {
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4488
4489 ;
4490 return 0;
4491 }
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4497 fi
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4500
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4508 fi
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522
4523 int
4524 main ()
4525 {
4526
4527 ;
4528 return 0;
4529 }
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537
4538 int
4539 main ()
4540 {
4541
4542 ;
4543 return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553
4554 int
4555 main ()
4556 {
4557
4558 ;
4559 return 0;
4560 }
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4564 fi
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4581 fi
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4587 fi
4588 fi
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
4595 CXXFLAGS="$save_CXXFLAGS"
4596
4597 # Runs configure.host, and assorted other critical bits. Sets
4598 # up critical shell variables.
4599
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609 CPP=
4610 fi
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4617 do
4618 ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4620 do
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634 Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4637
4638 else
4639 # Broken: fails on valid input.
4640 continue
4641 fi
4642 rm -f conftest.err conftest.$ac_ext
4643
4644 # OK, works on sane cases. Now check whether nonexistent headers
4645 # can be detected and how.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651 # Broken: success on invalid input.
4652 continue
4653 else
4654 # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664 break
4665 fi
4666
4667 done
4668 ac_cv_prog_CPP=$CPP
4669
4670 fi
4671 CPP=$ac_cv_prog_CPP
4672 else
4673 ac_cv_prog_CPP=$CPP
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4679 do
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693 Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4696
4697 else
4698 # Broken: fails on valid input.
4699 continue
4700 fi
4701 rm -f conftest.err conftest.$ac_ext
4702
4703 # OK, works on sane cases. Now check whether nonexistent headers
4704 # can be detected and how.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: success on invalid input.
4711 continue
4712 else
4713 # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4716 fi
4717 rm -f conftest.err conftest.$ac_ext
4718
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4723
4724 else
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4729 fi
4730
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736
4737
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -z "$GREP"; then
4744 ac_path_GREP_found=false
4745 # Loop through the user's path and test for each of PROGNAME-LIST
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 do
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_prog in grep ggrep; do
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756 # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4760 *)
4761 ac_count=0
4762 $as_echo_n 0123456789 >"conftest.in"
4763 while :
4764 do
4765 cat "conftest.in" "conftest.in" >"conftest.tmp"
4766 mv "conftest.tmp" "conftest.in"
4767 cp "conftest.in" "conftest.nl"
4768 $as_echo 'GREP' >> "conftest.nl"
4769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771 as_fn_arith $ac_count + 1 && ac_count=$as_val
4772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773 # Best one so far, save it but keep looking for a better one
4774 ac_cv_path_GREP="$ac_path_GREP"
4775 ac_path_GREP_max=$ac_count
4776 fi
4777 # 10*(2^10) chars as input seems more than enough
4778 test $ac_count -gt 10 && break
4779 done
4780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4782
4783 $ac_path_GREP_found && break 3
4784 done
4785 done
4786 done
4787 IFS=$as_save_IFS
4788 if test -z "$ac_cv_path_GREP"; then
4789 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 fi
4791 else
4792 ac_cv_path_GREP=$GREP
4793 fi
4794
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798 GREP="$ac_cv_path_GREP"
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807 then ac_cv_path_EGREP="$GREP -E"
4808 else
4809 if test -z "$EGREP"; then
4810 ac_path_EGREP_found=false
4811 # Loop through the user's path and test for each of PROGNAME-LIST
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4814 do
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_prog in egrep; do
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822 # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4826 *)
4827 ac_count=0
4828 $as_echo_n 0123456789 >"conftest.in"
4829 while :
4830 do
4831 cat "conftest.in" "conftest.in" >"conftest.tmp"
4832 mv "conftest.tmp" "conftest.in"
4833 cp "conftest.in" "conftest.nl"
4834 $as_echo 'EGREP' >> "conftest.nl"
4835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837 as_fn_arith $ac_count + 1 && ac_count=$as_val
4838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839 # Best one so far, save it but keep looking for a better one
4840 ac_cv_path_EGREP="$ac_path_EGREP"
4841 ac_path_EGREP_max=$ac_count
4842 fi
4843 # 10*(2^10) chars as input seems more than enough
4844 test $ac_count -gt 10 && break
4845 done
4846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4848
4849 $ac_path_EGREP_found && break 3
4850 done
4851 done
4852 done
4853 IFS=$as_save_IFS
4854 if test -z "$ac_cv_path_EGREP"; then
4855 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856 fi
4857 else
4858 ac_cv_path_EGREP=$EGREP
4859 fi
4860
4861 fi
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865 EGREP="$ac_cv_path_EGREP"
4866
4867
4868
4869 # Keep these sync'd with the list in Makefile.am. The first provides an
4870 # expandable list at autoconf time; the second provides an expandable list
4871 # (i.e., shell variable) at configure time.
4872
4873 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4874
4875 # These need to be absolute paths, yet at the same time need to
4876 # canonicalize only relative paths, because then amd will not unmount
4877 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878 glibcxx_builddir=`${PWDCMD-pwd}`
4879 case $srcdir in
4880 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882 esac
4883 toplevel_builddir=${glibcxx_builddir}/..
4884 toplevel_srcdir=${glibcxx_srcdir}/..
4885
4886
4887
4888
4889
4890 # We use these options to decide which functions to include. They are
4891 # set from the top level.
4892
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895 withval=$with_target_subdir;
4896 fi
4897
4898
4899
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902 withval=$with_cross_host;
4903 fi
4904
4905
4906
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909 withval=$with_newlib;
4910 fi
4911
4912
4913 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914 # available). Uncomment the next line to force a particular method.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4924 fi
4925
4926 #LN_S='cp -p'
4927
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$AS"; then
4937 ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_AS="${ac_tool_prefix}as"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4949 fi
4950 done
4951 done
4952 IFS=$as_save_IFS
4953
4954 fi
4955 fi
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 fi
4964
4965
4966 fi
4967 if test -z "$ac_cv_prog_AS"; then
4968 ac_ct_AS=$AS
4969 # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$ac_ct_AS"; then
4977 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4981 do
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_AS="as"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4989 fi
4990 done
4991 done
4992 IFS=$as_save_IFS
4993
4994 fi
4995 fi
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005 if test "x$ac_ct_AS" = x; then
5006 AS=""
5007 else
5008 case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014 AS=$ac_ct_AS
5015 fi
5016 else
5017 AS="$ac_cv_prog_AS"
5018 fi
5019
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5041 fi
5042 done
5043 done
5044 IFS=$as_save_IFS
5045
5046 fi
5047 fi
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 fi
5056
5057
5058 fi
5059 if test -z "$ac_cv_prog_AR"; then
5060 ac_ct_AR=$AR
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5081 fi
5082 done
5083 done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097 if test "x$ac_ct_AR" = x; then
5098 AR=""
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5107 fi
5108 else
5109 AR="$ac_cv_prog_AR"
5110 fi
5111
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$RANLIB"; then
5121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5125 do
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5133 fi
5134 done
5135 done
5136 IFS=$as_save_IFS
5137
5138 fi
5139 fi
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 fi
5148
5149
5150 fi
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152 ac_ct_RANLIB=$RANLIB
5153 # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_RANLIB"; then
5161 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5165 do
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_RANLIB="ranlib"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5173 fi
5174 done
5175 done
5176 IFS=$as_save_IFS
5177
5178 fi
5179 fi
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5187 fi
5188
5189 if test "x$ac_ct_RANLIB" = x; then
5190 RANLIB="ranlib-not-found-in-path-error"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 RANLIB=$ac_ct_RANLIB
5199 fi
5200 else
5201 RANLIB="$ac_cv_prog_RANLIB"
5202 fi
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208 # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212 USE_MAINTAINER_MODE=no
5213 fi
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5223 fi
5224
5225 MAINT=$MAINTAINER_MODE_TRUE
5226
5227
5228
5229 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230 # which are themselves conditionally expanded.
5231 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232 ## other macros from doing the same. This should be automated.) -pme
5233
5234 # Check for C library flavor since GNU/Linux platforms use different
5235 # configuration directories depending on the C library in use.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5238
5239 #include <stdio.h>
5240 #if __UCLIBC__
5241 _using_uclibc
5242 #endif
5243
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247 uclibc=yes
5248 else
5249 uclibc=no
5250 fi
5251 rm -f conftest*
5252
5253
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256
5257 #include <stdio.h>
5258 #if __BIONIC__
5259 _using_bionic
5260 #endif
5261
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265 bionic=yes
5266 else
5267 bionic=no
5268 fi
5269 rm -f conftest*
5270
5271
5272 # Find platform-specific directories containing configuration info.
5273 # Also possibly modify flags used elsewhere, as needed by the platform.
5274
5275 . $glibcxx_srcdir/configure.host
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5280
5281
5282
5283 if test "x${with_newlib}" != "xyes"; then
5284 enable_dlopen=yes
5285
5286
5287
5288 fi
5289 case `pwd` in
5290 *\ * | *\ *)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5294
5295
5296
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312 ltmain="$ac_aux_dir/ltmain.sh"
5313
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5317
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5320
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5324
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5327
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5330
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5334
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340 ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342 ECHO='printf %s\n'
5343 else
5344 # Use this function as a fallback that always works.
5345 func_fallback_echo ()
5346 {
5347 eval 'cat <<_LTECHO_EOF
5348 $1
5349 _LTECHO_EOF'
5350 }
5351 ECHO='func_fallback_echo'
5352 fi
5353
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5357 {
5358 $ECHO ""
5359 }
5360
5361 case "$ECHO" in
5362 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389 for ac_i in 1 2 3 4 5 6 7; do
5390 ac_script="$ac_script$as_nl$ac_script"
5391 done
5392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393 { ac_script=; unset ac_script;}
5394 if test -z "$SED"; then
5395 ac_path_SED_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in sed gsed; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407 # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5411 *)
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5415 do
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo '' >> "conftest.nl"
5420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_SED_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_SED="$ac_path_SED"
5426 ac_path_SED_max=$ac_count
5427 fi
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5433
5434 $ac_path_SED_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_SED"; then
5440 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5441 fi
5442 else
5443 ac_cv_path_SED=$SED
5444 fi
5445
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449 SED="$ac_cv_path_SED"
5450 rm -f conftest.sed
5451
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471 then ac_cv_path_FGREP="$GREP -F"
5472 else
5473 if test -z "$FGREP"; then
5474 ac_path_FGREP_found=false
5475 # Loop through the user's path and test for each of PROGNAME-LIST
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5478 do
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_prog in fgrep; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486 # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5490 *)
5491 ac_count=0
5492 $as_echo_n 0123456789 >"conftest.in"
5493 while :
5494 do
5495 cat "conftest.in" "conftest.in" >"conftest.tmp"
5496 mv "conftest.tmp" "conftest.in"
5497 cp "conftest.in" "conftest.nl"
5498 $as_echo 'FGREP' >> "conftest.nl"
5499 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501 as_fn_arith $ac_count + 1 && ac_count=$as_val
5502 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503 # Best one so far, save it but keep looking for a better one
5504 ac_cv_path_FGREP="$ac_path_FGREP"
5505 ac_path_FGREP_max=$ac_count
5506 fi
5507 # 10*(2^10) chars as input seems more than enough
5508 test $ac_count -gt 10 && break
5509 done
5510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5512
5513 $ac_path_FGREP_found && break 3
5514 done
5515 done
5516 done
5517 IFS=$as_save_IFS
5518 if test -z "$ac_cv_path_FGREP"; then
5519 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5520 fi
5521 else
5522 ac_cv_path_FGREP=$FGREP
5523 fi
5524
5525 fi
5526 fi
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5530
5531
5532 test -z "$GREP" && GREP=grep
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556 with_gnu_ld=no
5557 fi
5558
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561 # Check if gcc -print-prog-name=ld gives a path.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564 case $host in
5565 *-*-mingw*)
5566 # gcc leaves a trailing carriage return which upsets mingw
5567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5568 *)
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570 esac
5571 case $ac_prog in
5572 # Accept absolute paths.
5573 [\\/]* | ?:[\\/]*)
5574 re_direlt='/[^/][^/]*/\.\./'
5575 # Canonicalize the pathname of ld
5576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579 done
5580 test -z "$LD" && LD="$ac_prog"
5581 ;;
5582 "")
5583 # If it fails, then pretend we aren't using GCC.
5584 ac_prog=ld
5585 ;;
5586 *)
5587 # If it is relative, then search for the first ld in PATH.
5588 with_gnu_ld=unknown
5589 ;;
5590 esac
5591 elif test "$with_gnu_ld" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5597 fi
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -z "$LD"; then
5602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS="$lt_save_ifs"
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD="$ac_dir/$ac_prog"
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test "$with_gnu_ld" != no && break
5614 ;;
5615 *)
5616 test "$with_gnu_ld" != yes && break
5617 ;;
5618 esac
5619 fi
5620 done
5621 IFS="$lt_save_ifs"
5622 else
5623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5624 fi
5625 fi
5626
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644 lt_cv_prog_gnu_ld=yes
5645 ;;
5646 *)
5647 lt_cv_prog_gnu_ld=no
5648 ;;
5649 esac
5650 fi
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$NM"; then
5669 # Let the user override the test.
5670 lt_cv_path_NM="$NM"
5671 else
5672 lt_nm_to_check="${ac_tool_prefix}nm"
5673 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674 lt_nm_to_check="$lt_nm_to_check nm"
5675 fi
5676 for lt_tmp_nm in $lt_nm_to_check; do
5677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679 IFS="$lt_save_ifs"
5680 test -z "$ac_dir" && ac_dir=.
5681 tmp_nm="$ac_dir/$lt_tmp_nm"
5682 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683 # Check to see if the nm accepts a BSD-compat flag.
5684 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685 # nm: unknown option "B" ignored
5686 # Tru64's nm complains that /dev/null is an invalid object file
5687 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688 */dev/null* | *'Invalid file or object type'*)
5689 lt_cv_path_NM="$tmp_nm -B"
5690 break
5691 ;;
5692 *)
5693 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694 */dev/null*)
5695 lt_cv_path_NM="$tmp_nm -p"
5696 break
5697 ;;
5698 *)
5699 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700 continue # so that we can try to find one that supports BSD flags
5701 ;;
5702 esac
5703 ;;
5704 esac
5705 fi
5706 done
5707 IFS="$lt_save_ifs"
5708 done
5709 : ${lt_cv_path_NM=no}
5710 fi
5711 fi
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715 NM="$lt_cv_path_NM"
5716 else
5717 # Didn't find any BSD compatible name lister, look for dumpbin.
5718 if test -n "$DUMPBIN"; then :
5719 # Let the user override the test.
5720 else
5721 if test -n "$ac_tool_prefix"; then
5722 for ac_prog in dumpbin "link -dump"
5723 do
5724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$DUMPBIN"; then
5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5744 fi
5745 done
5746 done
5747 IFS=$as_save_IFS
5748
5749 fi
5750 fi
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 fi
5759
5760
5761 test -n "$DUMPBIN" && break
5762 done
5763 fi
5764 if test -z "$DUMPBIN"; then
5765 ac_ct_DUMPBIN=$DUMPBIN
5766 for ac_prog in dumpbin "link -dump"
5767 do
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_DUMPBIN"; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5788 fi
5789 done
5790 done
5791 IFS=$as_save_IFS
5792
5793 fi
5794 fi
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 fi
5803
5804
5805 test -n "$ac_ct_DUMPBIN" && break
5806 done
5807
5808 if test "x$ac_ct_DUMPBIN" = x; then
5809 DUMPBIN=":"
5810 else
5811 case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817 DUMPBIN=$ac_ct_DUMPBIN
5818 fi
5819 fi
5820
5821 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822 *COFF*)
5823 DUMPBIN="$DUMPBIN -symbols"
5824 ;;
5825 *)
5826 DUMPBIN=:
5827 ;;
5828 esac
5829 fi
5830
5831 if test "$DUMPBIN" != ":"; then
5832 NM="$DUMPBIN"
5833 fi
5834 fi
5835 test -z "$NM" && NM=nm
5836
5837
5838
5839
5840
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_nm_interface="BSD nm"
5848 echo "int some_variable = 0;" > conftest.$ac_ext
5849 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850 (eval "$ac_compile" 2>conftest.err)
5851 cat conftest.err >&5
5852 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856 cat conftest.out >&5
5857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858 lt_cv_nm_interface="MS dumpbin"
5859 fi
5860 rm -f conftest*
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5864
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 i=0
5872 teststring="ABCD"
5873
5874 case $build_os in
5875 msdosdjgpp*)
5876 # On DJGPP, this test can blow up pretty badly due to problems in libc
5877 # (any single argument exceeding 2000 bytes causes a buffer overrun
5878 # during glob expansion). Even if it were fixed, the result of this
5879 # check would be larger than it should be.
5880 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5881 ;;
5882
5883 gnu*)
5884 # Under GNU Hurd, this test is not required because there is
5885 # no limit to the length of command line arguments.
5886 # Libtool will interpret -1 as no limit whatsoever
5887 lt_cv_sys_max_cmd_len=-1;
5888 ;;
5889
5890 cygwin* | mingw* | cegcc*)
5891 # On Win9x/ME, this test blows up -- it succeeds, but takes
5892 # about 5 minutes as the teststring grows exponentially.
5893 # Worse, since 9x/ME are not pre-emptively multitasking,
5894 # you end up with a "frozen" computer, even though with patience
5895 # the test eventually succeeds (with a max line length of 256k).
5896 # Instead, let's just punt: use the minimum linelength reported by
5897 # all of the supported platforms: 8192 (on NT/2K/XP).
5898 lt_cv_sys_max_cmd_len=8192;
5899 ;;
5900
5901 mint*)
5902 # On MiNT this can take a long time and run out of memory.
5903 lt_cv_sys_max_cmd_len=8192;
5904 ;;
5905
5906 amigaos*)
5907 # On AmigaOS with pdksh, this test takes hours, literally.
5908 # So we just punt and use a minimum line length of 8192.
5909 lt_cv_sys_max_cmd_len=8192;
5910 ;;
5911
5912 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913 # This has been around since 386BSD, at least. Likely further.
5914 if test -x /sbin/sysctl; then
5915 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916 elif test -x /usr/sbin/sysctl; then
5917 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918 else
5919 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5920 fi
5921 # And add a safety zone
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924 ;;
5925
5926 interix*)
5927 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928 lt_cv_sys_max_cmd_len=196608
5929 ;;
5930
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5937 #
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5942 fi
5943 ;;
5944 sco3.2v5*)
5945 lt_cv_sys_max_cmd_len=102400
5946 ;;
5947 sysv5* | sco5v6* | sysv4.2uw2*)
5948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949 if test -n "$kargmax"; then
5950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 else
5952 lt_cv_sys_max_cmd_len=32768
5953 fi
5954 ;;
5955 *)
5956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957 if test -n "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 else
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8 ; do
5964 teststring=$teststring$teststring
5965 done
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5969 # we can't tell.
5970 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test $i != 17 # 1/2 MB should be enough
5973 do
5974 i=`expr $i + 1`
5975 teststring=$teststring$teststring
5976 done
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979 teststring=
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5984 fi
5985 ;;
5986 esac
5987
5988 fi
5989
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5996 fi
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
5998
5999
6000
6001
6002
6003
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6007
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014 = c,a/b,, \
6015 && eval 'test $(( 1 + 1 )) -eq 2 \
6016 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017 && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026 >/dev/null 2>&1 \
6027 && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6030
6031
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 lt_unset=unset
6034 else
6035 lt_unset=false
6036 fi
6037
6038
6039
6040
6041
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044 A) # ASCII based system
6045 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046 lt_SP2NL='tr \040 \012'
6047 lt_NL2SP='tr \015\012 \040\040'
6048 ;;
6049 *) # EBCDIC based system
6050 lt_SP2NL='tr \100 \n'
6051 lt_NL2SP='tr \r\n \100\100'
6052 ;;
6053 esac
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 lt_cv_ld_reload_flag='-r'
6069 fi
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079 darwin*)
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 fi
6085 ;;
6086 esac
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6109 do
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6117 fi
6118 done
6119 done
6120 IFS=$as_save_IFS
6121
6122 fi
6123 fi
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 fi
6132
6133
6134 fi
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6157 fi
6158 done
6159 done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6183 fi
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6186 fi
6187
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6216
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6220 ;;
6221
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6224 ;;
6225
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6230 ;;
6231
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6236 ;;
6237
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6246 else
6247 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 fi
6250 ;;
6251
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 ;;
6257
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6260 ;;
6261
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6271 ;;
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6275 fi
6276 ;;
6277
6278 gnu*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 haiku*)
6283 lt_cv_deplibs_check_method=pass_all
6284 ;;
6285
6286 hpux10.20* | hpux11*)
6287 lt_cv_file_magic_cmd=/usr/bin/file
6288 case $host_cpu in
6289 ia64*)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6292 ;;
6293 hppa*64*)
6294 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]'
6295 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6296 ;;
6297 *)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6300 ;;
6301 esac
6302 ;;
6303
6304 interix[3-9]*)
6305 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6307 ;;
6308
6309 irix5* | irix6* | nonstopux*)
6310 case $LD in
6311 *-32|*"-32 ") libmagic=32-bit;;
6312 *-n32|*"-n32 ") libmagic=N32;;
6313 *-64|*"-64 ") libmagic=64-bit;;
6314 *) libmagic=never-match;;
6315 esac
6316 lt_cv_deplibs_check_method=pass_all
6317 ;;
6318
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321 lt_cv_deplibs_check_method=pass_all
6322 ;;
6323
6324 netbsd*)
6325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327 else
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6329 fi
6330 ;;
6331
6332 newos6*)
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334 lt_cv_file_magic_cmd=/usr/bin/file
6335 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6336 ;;
6337
6338 *nto* | *qnx*)
6339 lt_cv_deplibs_check_method=pass_all
6340 ;;
6341
6342 openbsd*)
6343 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345 else
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 fi
6348 ;;
6349
6350 osf3* | osf4* | osf5*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 rdos*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 solaris*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 sysv4 | sysv4.3*)
6367 case $host_vendor in
6368 motorola)
6369 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]'
6370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6371 ;;
6372 ncr)
6373 lt_cv_deplibs_check_method=pass_all
6374 ;;
6375 sequent)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6378 ;;
6379 sni)
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382 lt_cv_file_magic_test_file=/lib/libc.so
6383 ;;
6384 siemens)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387 pc)
6388 lt_cv_deplibs_check_method=pass_all
6389 ;;
6390 esac
6391 ;;
6392
6393 tpf*)
6394 lt_cv_deplibs_check_method=pass_all
6395 ;;
6396 esac
6397
6398 fi
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if test -n "$AR"; then
6425 ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6429 do
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_AR="${ac_tool_prefix}ar"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 break 2
6437 fi
6438 done
6439 done
6440 IFS=$as_save_IFS
6441
6442 fi
6443 fi
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6451 fi
6452
6453
6454 fi
6455 if test -z "$ac_cv_prog_AR"; then
6456 ac_ct_AR=$AR
6457 # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$ac_ct_AR"; then
6465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6469 do
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_AR="ar"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6477 fi
6478 done
6479 done
6480 IFS=$as_save_IFS
6481
6482 fi
6483 fi
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6491 fi
6492
6493 if test "x$ac_ct_AR" = x; then
6494 AR="false"
6495 else
6496 case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502 AR=$ac_ct_AR
6503 fi
6504 else
6505 AR="$ac_cv_prog_AR"
6506 fi
6507
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$STRIP"; then
6530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6542 fi
6543 done
6544 done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_STRIP"; then
6561 ac_ct_STRIP=$STRIP
6562 # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$ac_ct_STRIP"; then
6570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_STRIP="strip"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6582 fi
6583 done
6584 done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598 if test "x$ac_ct_STRIP" = x; then
6599 STRIP=":"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607 STRIP=$ac_ct_STRIP
6608 fi
6609 else
6610 STRIP="$ac_cv_prog_STRIP"
6611 fi
6612
6613 test -z "$STRIP" && STRIP=:
6614
6615
6616
6617
6618
6619
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RANLIB"; then
6629 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6633 do
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6641 fi
6642 done
6643 done
6644 IFS=$as_save_IFS
6645
6646 fi
6647 fi
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6655 fi
6656
6657
6658 fi
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660 ac_ct_RANLIB=$RANLIB
6661 # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_RANLIB"; then
6669 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_RANLIB="ranlib"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6681 fi
6682 done
6683 done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697 if test "x$ac_ct_RANLIB" = x; then
6698 RANLIB=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 RANLIB=$ac_ct_RANLIB
6707 fi
6708 else
6709 RANLIB="$ac_cv_prog_RANLIB"
6710 fi
6711
6712 test -z "$RANLIB" && RANLIB=:
6713
6714
6715
6716
6717
6718
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6723
6724 if test -n "$RANLIB"; then
6725 case $host_os in
6726 openbsd*)
6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6728 ;;
6729 *)
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6731 ;;
6732 esac
6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6734 fi
6735
6736 case $host_os in
6737 darwin*)
6738 lock_old_archive_extraction=yes ;;
6739 *)
6740 lock_old_archive_extraction=no ;;
6741 esac
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6783
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6786
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6789
6790
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6800
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6803
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6806
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810 symcode='[BCDT]'
6811 ;;
6812 cygwin* | mingw* | pw32* | cegcc*)
6813 symcode='[ABCDGISTW]'
6814 ;;
6815 hpux*)
6816 if test "$host_cpu" = ia64; then
6817 symcode='[ABCDEGRST]'
6818 fi
6819 ;;
6820 irix* | nonstopux*)
6821 symcode='[BCDEGRST]'
6822 ;;
6823 osf*)
6824 symcode='[BCDEGQRST]'
6825 ;;
6826 solaris*)
6827 symcode='[BDRT]'
6828 ;;
6829 sco3.2v5*)
6830 symcode='[DT]'
6831 ;;
6832 sysv4.2uw2*)
6833 symcode='[DT]'
6834 ;;
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836 symcode='[ABDT]'
6837 ;;
6838 sysv4)
6839 symcode='[DFNSTU]'
6840 ;;
6841 esac
6842
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846 symcode='[ABCDGIRSTW]' ;;
6847 esac
6848
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6853
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6856 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'"
6857
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6863 ;;
6864 esac
6865
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6868
6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870 symxfrm="\\1 $ac_symprfx\\2 \\2"
6871
6872 # Write the raw and C identifiers.
6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874 # Fake it for dumpbin and say T for any non-static function
6875 # and D for any global variable.
6876 # Also find C++ and __fastcall symbols from MSVC++,
6877 # which start with @ or ?.
6878 lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 " {last_section=section; section=\$ 3};"\
6880 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 " \$ 0!~/External *\|/{next};"\
6882 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 " {if(hide[section]) next};"\
6884 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 " ' prfx=^$ac_symprfx"
6889 else
6890 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6891 fi
6892
6893 # Check to see that the pipe works correctly.
6894 pipe_works=no
6895
6896 rm -f conftest*
6897 cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6905 }
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6909
6910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911 (eval $ac_compile) 2>&5
6912 ac_status=$?
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }; then
6915 # Now try to grab the symbols.
6916 nlist=conftest.nm
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; } && test -s "$nlist"; then
6922 # Try sorting and uniquifying the output.
6923 if sort "$nlist" | uniq > "$nlist"T; then
6924 mv -f "$nlist"T "$nlist"
6925 else
6926 rm -f "$nlist"T
6927 fi
6928
6929 # Make sure that we snagged all the symbols we need.
6930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932 cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6936
6937 _LT_EOF
6938 # Now generate the symbol file.
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6940
6941 cat <<_LT_EOF >> conftest.$ac_ext
6942
6943 /* The mapping between symbol names and symbols. */
6944 const struct {
6945 const char *name;
6946 void *address;
6947 }
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6949 {
6950 { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953 cat <<\_LT_EOF >> conftest.$ac_ext
6954 {0, (void *) 0}
6955 };
6956
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960 return lt__PROGRAM__LTX_preloaded_symbols;
6961 }
6962 #endif
6963
6964 #ifdef __cplusplus
6965 }
6966 #endif
6967 _LT_EOF
6968 # Now try linking the two files.
6969 mv conftest.$ac_objext conftstm.$ac_objext
6970 lt_save_LIBS="$LIBS"
6971 lt_save_CFLAGS="$CFLAGS"
6972 LIBS="conftstm.$ac_objext"
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975 (eval $ac_link) 2>&5
6976 ac_status=$?
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979 pipe_works=yes
6980 fi
6981 LIBS="$lt_save_LIBS"
6982 CFLAGS="$lt_save_CFLAGS"
6983 else
6984 echo "cannot find nm_test_func in $nlist" >&5
6985 fi
6986 else
6987 echo "cannot find nm_test_var in $nlist" >&5
6988 fi
6989 else
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6991 fi
6992 else
6993 echo "$progname: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6995 fi
6996 rm -rf conftest* conftst*
6997
6998 # Do not use the global_symbol_pipe unless it works.
6999 if test "$pipe_works" = yes; then
7000 break
7001 else
7002 lt_cv_sys_global_symbol_pipe=
7003 fi
7004 done
7005
7006 fi
7007
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009 lt_cv_sys_global_symbol_to_cdecl=
7010 fi
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7017 fi
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042 enableval=$enable_libtool_lock;
7043 fi
7044
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7046
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7055 ac_status=$?
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.$ac_objext` in
7059 *ELF-32*)
7060 HPUX_IA64_MODE="32"
7061 ;;
7062 *ELF-64*)
7063 HPUX_IA64_MODE="64"
7064 ;;
7065 esac
7066 fi
7067 rm -rf conftest*
7068 ;;
7069 *-*-irix6*)
7070 # Find out which ABI we are using.
7071 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073 (eval $ac_compile) 2>&5
7074 ac_status=$?
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 if test "$lt_cv_prog_gnu_ld" = yes; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -melf32bsmip"
7081 ;;
7082 *N32*)
7083 LD="${LD-ld} -melf32bmipn32"
7084 ;;
7085 *64-bit*)
7086 LD="${LD-ld} -melf64bmip"
7087 ;;
7088 esac
7089 else
7090 case `/usr/bin/file conftest.$ac_objext` in
7091 *32-bit*)
7092 LD="${LD-ld} -32"
7093 ;;
7094 *N32*)
7095 LD="${LD-ld} -n32"
7096 ;;
7097 *64-bit*)
7098 LD="${LD-ld} -64"
7099 ;;
7100 esac
7101 fi
7102 fi
7103 rm -rf conftest*
7104 ;;
7105
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108 # Find out which ABI we are using.
7109 echo 'int i;' > conftest.$ac_ext
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111 (eval $ac_compile) 2>&5
7112 ac_status=$?
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; }; then
7115 case `/usr/bin/file conftest.o` in
7116 *32-bit*)
7117 case $host in
7118 x86_64-*kfreebsd*-gnu)
7119 LD="${LD-ld} -m elf_i386_fbsd"
7120 ;;
7121 x86_64-*linux*)
7122 LD="${LD-ld} -m elf_i386"
7123 ;;
7124 ppc64-*linux*|powerpc64-*linux*)
7125 LD="${LD-ld} -m elf32ppclinux"
7126 ;;
7127 s390x-*linux*)
7128 LD="${LD-ld} -m elf_s390"
7129 ;;
7130 sparc64-*linux*)
7131 LD="${LD-ld} -m elf32_sparc"
7132 ;;
7133 esac
7134 ;;
7135 *64-bit*)
7136 case $host in
7137 x86_64-*kfreebsd*-gnu)
7138 LD="${LD-ld} -m elf_x86_64_fbsd"
7139 ;;
7140 x86_64-*linux*)
7141 LD="${LD-ld} -m elf_x86_64"
7142 ;;
7143 ppc*-*linux*|powerpc*-*linux*)
7144 LD="${LD-ld} -m elf64ppc"
7145 ;;
7146 s390*-*linux*|s390*-*tpf*)
7147 LD="${LD-ld} -m elf64_s390"
7148 ;;
7149 sparc*-*linux*)
7150 LD="${LD-ld} -m elf64_sparc"
7151 ;;
7152 esac
7153 ;;
7154 esac
7155 fi
7156 rm -rf conftest*
7157 ;;
7158
7159 *-*-sco3.2v5*)
7160 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7161 SAVE_CFLAGS="$CFLAGS"
7162 CFLAGS="$CFLAGS -belf"
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7164 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7165 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7166 $as_echo_n "(cached) " >&6
7167 else
7168 ac_ext=c
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173
7174 if test x$gcc_no_link = xyes; then
7175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7176 fi
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179
7180 int
7181 main ()
7182 {
7183
7184 ;
7185 return 0;
7186 }
7187 _ACEOF
7188 if ac_fn_c_try_link "$LINENO"; then :
7189 lt_cv_cc_needs_belf=yes
7190 else
7191 lt_cv_cc_needs_belf=no
7192 fi
7193 rm -f core conftest.err conftest.$ac_objext \
7194 conftest$ac_exeext conftest.$ac_ext
7195 ac_ext=c
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7201 fi
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7203 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7204 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7205 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7206 CFLAGS="$SAVE_CFLAGS"
7207 fi
7208 ;;
7209 sparc*-*solaris*)
7210 # Find out which ABI we are using.
7211 echo 'int i;' > conftest.$ac_ext
7212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213 (eval $ac_compile) 2>&5
7214 ac_status=$?
7215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216 test $ac_status = 0; }; then
7217 case `/usr/bin/file conftest.o` in
7218 *64-bit*)
7219 case $lt_cv_prog_gnu_ld in
7220 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7221 *)
7222 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7223 LD="${LD-ld} -64"
7224 fi
7225 ;;
7226 esac
7227 ;;
7228 esac
7229 fi
7230 rm -rf conftest*
7231 ;;
7232 esac
7233
7234 need_locks="$enable_libtool_lock"
7235
7236
7237 case $host_os in
7238 rhapsody* | darwin*)
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$DSYMUTIL"; then
7248 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7252 do
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7260 fi
7261 done
7262 done
7263 IFS=$as_save_IFS
7264
7265 fi
7266 fi
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 fi
7275
7276
7277 fi
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279 ac_ct_DSYMUTIL=$DSYMUTIL
7280 # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7292 do
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7300 fi
7301 done
7302 done
7303 IFS=$as_save_IFS
7304
7305 fi
7306 fi
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316 if test "x$ac_ct_DSYMUTIL" = x; then
7317 DSYMUTIL=":"
7318 else
7319 case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325 DSYMUTIL=$ac_ct_DSYMUTIL
7326 fi
7327 else
7328 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7329 fi
7330
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7338 else
7339 if test -n "$NMEDIT"; then
7340 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7344 do
7345 IFS=$as_save_IFS
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 break 2
7352 fi
7353 done
7354 done
7355 IFS=$as_save_IFS
7356
7357 fi
7358 fi
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7363 else
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7366 fi
7367
7368
7369 fi
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371 ac_ct_NMEDIT=$NMEDIT
7372 # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 if test -n "$ac_ct_NMEDIT"; then
7380 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 break 2
7392 fi
7393 done
7394 done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7403 else
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408 if test "x$ac_ct_NMEDIT" = x; then
7409 NMEDIT=":"
7410 else
7411 case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417 NMEDIT=$ac_ct_NMEDIT
7418 fi
7419 else
7420 NMEDIT="$ac_cv_prog_NMEDIT"
7421 fi
7422
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_LIPO+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 if test -n "$LIPO"; then
7432 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7436 do
7437 IFS=$as_save_IFS
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 break 2
7444 fi
7445 done
7446 done
7447 IFS=$as_save_IFS
7448
7449 fi
7450 fi
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7455 else
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7458 fi
7459
7460
7461 fi
7462 if test -z "$ac_cv_prog_LIPO"; then
7463 ac_ct_LIPO=$LIPO
7464 # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 if test -n "$ac_ct_LIPO"; then
7472 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7476 do
7477 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_LIPO="lipo"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 break 2
7484 fi
7485 done
7486 done
7487 IFS=$as_save_IFS
7488
7489 fi
7490 fi
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7495 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7498 fi
7499
7500 if test "x$ac_ct_LIPO" = x; then
7501 LIPO=":"
7502 else
7503 case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509 LIPO=$ac_ct_LIPO
7510 fi
7511 else
7512 LIPO="$ac_cv_prog_LIPO"
7513 fi
7514
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 if test -n "$OTOOL"; then
7524 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7528 do
7529 IFS=$as_save_IFS
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 break 2
7536 fi
7537 done
7538 done
7539 IFS=$as_save_IFS
7540
7541 fi
7542 fi
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7547 else
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7550 fi
7551
7552
7553 fi
7554 if test -z "$ac_cv_prog_OTOOL"; then
7555 ac_ct_OTOOL=$OTOOL
7556 # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7561 $as_echo_n "(cached) " >&6
7562 else
7563 if test -n "$ac_ct_OTOOL"; then
7564 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7568 do
7569 IFS=$as_save_IFS
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_ac_ct_OTOOL="otool"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 break 2
7576 fi
7577 done
7578 done
7579 IFS=$as_save_IFS
7580
7581 fi
7582 fi
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7587 else
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7590 fi
7591
7592 if test "x$ac_ct_OTOOL" = x; then
7593 OTOOL=":"
7594 else
7595 case $cross_compiling:$ac_tool_warned in
7596 yes:)
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7600 esac
7601 OTOOL=$ac_ct_OTOOL
7602 fi
7603 else
7604 OTOOL="$ac_cv_prog_OTOOL"
7605 fi
7606
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 if test -n "$OTOOL64"; then
7616 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7620 do
7621 IFS=$as_save_IFS
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 break 2
7628 fi
7629 done
7630 done
7631 IFS=$as_save_IFS
7632
7633 fi
7634 fi
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7639 else
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7642 fi
7643
7644
7645 fi
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647 ac_ct_OTOOL64=$OTOOL64
7648 # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7653 $as_echo_n "(cached) " >&6
7654 else
7655 if test -n "$ac_ct_OTOOL64"; then
7656 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661 IFS=$as_save_IFS
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_ac_ct_OTOOL64="otool64"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 break 2
7668 fi
7669 done
7670 done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7679 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684 if test "x$ac_ct_OTOOL64" = x; then
7685 OTOOL64=":"
7686 else
7687 case $cross_compiling:$ac_tool_warned in
7688 yes:)
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7692 esac
7693 OTOOL64=$ac_ct_OTOOL64
7694 fi
7695 else
7696 OTOOL64="$ac_cv_prog_OTOOL64"
7697 fi
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7728 $as_echo_n "(cached) " >&6
7729 else
7730 lt_cv_apple_cc_single_mod=no
7731 if test -z "${LT_MULTI_MODULE}"; then
7732 # By default we will add the -single_module flag. You can override
7733 # by either setting the environment variable LT_MULTI_MODULE
7734 # non-empty at configure time, or by adding -multi_module to the
7735 # link flags.
7736 rm -rf libconftest.dylib*
7737 echo "int foo(void){return 1;}" > conftest.c
7738 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7742 _lt_result=$?
7743 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744 lt_cv_apple_cc_single_mod=yes
7745 else
7746 cat conftest.err >&5
7747 fi
7748 rm -rf libconftest.dylib*
7749 rm -f conftest.*
7750 fi
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_ld_exported_symbols_list=no
7760 save_LDFLAGS=$LDFLAGS
7761 echo "_main" > conftest.sym
7762 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763 if test x$gcc_no_link = xyes; then
7764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7765 fi
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768
7769 int
7770 main ()
7771 {
7772
7773 ;
7774 return 0;
7775 }
7776 _ACEOF
7777 if ac_fn_c_try_link "$LINENO"; then :
7778 lt_cv_ld_exported_symbols_list=yes
7779 else
7780 lt_cv_ld_exported_symbols_list=no
7781 fi
7782 rm -f core conftest.err conftest.$ac_objext \
7783 conftest$ac_exeext conftest.$ac_ext
7784 LDFLAGS="$save_LDFLAGS"
7785
7786 fi
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7788 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7790 $as_echo_n "checking for -force_load linker flag... " >&6; }
7791 if test "${lt_cv_ld_force_load+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7793 else
7794 lt_cv_ld_force_load=no
7795 cat > conftest.c << _LT_EOF
7796 int forced_loaded() { return 2;}
7797 _LT_EOF
7798 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7799 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7800 echo "$AR cru libconftest.a conftest.o" >&5
7801 $AR cru libconftest.a conftest.o 2>&5
7802 cat > conftest.c << _LT_EOF
7803 int main() { return 0;}
7804 _LT_EOF
7805 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7806 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807 _lt_result=$?
7808 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7809 lt_cv_ld_force_load=yes
7810 else
7811 cat conftest.err >&5
7812 fi
7813 rm -f conftest.err libconftest.a conftest conftest.c
7814 rm -rf conftest.dSYM
7815
7816 fi
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7818 $as_echo "$lt_cv_ld_force_load" >&6; }
7819 case $host_os in
7820 rhapsody* | darwin1.[012])
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822 darwin1.*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 darwin*) # darwin 5.x on
7825 # if running on 10.5 or later, the deployment target defaults
7826 # to the OS version, if on x86, and 10.4, the deployment
7827 # target defaults to 10.4. Don't you love it?
7828 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7829 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7830 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831 10.[012]*)
7832 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833 10.*)
7834 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7835 esac
7836 ;;
7837 esac
7838 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7839 _lt_dar_single_mod='$single_module'
7840 fi
7841 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7842 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843 else
7844 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7845 fi
7846 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7847 _lt_dsymutil='~$DSYMUTIL $lib || :'
7848 else
7849 _lt_dsymutil=
7850 fi
7851 ;;
7852 esac
7853
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7855 $as_echo_n "checking for ANSI C header files... " >&6; }
7856 if test "${ac_cv_header_stdc+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 #include <stdlib.h>
7862 #include <stdarg.h>
7863 #include <string.h>
7864 #include <float.h>
7865
7866 int
7867 main ()
7868 {
7869
7870 ;
7871 return 0;
7872 }
7873 _ACEOF
7874 if ac_fn_c_try_compile "$LINENO"; then :
7875 ac_cv_header_stdc=yes
7876 else
7877 ac_cv_header_stdc=no
7878 fi
7879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7880
7881 if test $ac_cv_header_stdc = yes; then
7882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885 #include <string.h>
7886
7887 _ACEOF
7888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7889 $EGREP "memchr" >/dev/null 2>&1; then :
7890
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f conftest*
7895
7896 fi
7897
7898 if test $ac_cv_header_stdc = yes; then
7899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7903
7904 _ACEOF
7905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7906 $EGREP "free" >/dev/null 2>&1; then :
7907
7908 else
7909 ac_cv_header_stdc=no
7910 fi
7911 rm -f conftest*
7912
7913 fi
7914
7915 if test $ac_cv_header_stdc = yes; then
7916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7917 if test "$cross_compiling" = yes; then :
7918 :
7919 else
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 #include <ctype.h>
7923 #include <stdlib.h>
7924 #if ((' ' & 0x0FF) == 0x020)
7925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7927 #else
7928 # define ISLOWER(c) \
7929 (('a' <= (c) && (c) <= 'i') \
7930 || ('j' <= (c) && (c) <= 'r') \
7931 || ('s' <= (c) && (c) <= 'z'))
7932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7933 #endif
7934
7935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7936 int
7937 main ()
7938 {
7939 int i;
7940 for (i = 0; i < 256; i++)
7941 if (XOR (islower (i), ISLOWER (i))
7942 || toupper (i) != TOUPPER (i))
7943 return 2;
7944 return 0;
7945 }
7946 _ACEOF
7947 if ac_fn_c_try_run "$LINENO"; then :
7948
7949 else
7950 ac_cv_header_stdc=no
7951 fi
7952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7953 conftest.$ac_objext conftest.beam conftest.$ac_ext
7954 fi
7955
7956 fi
7957 fi
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7959 $as_echo "$ac_cv_header_stdc" >&6; }
7960 if test $ac_cv_header_stdc = yes; then
7961
7962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7963
7964 fi
7965
7966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7968 inttypes.h stdint.h unistd.h
7969 do :
7970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7972 "
7973 eval as_val=\$$as_ac_Header
7974 if test "x$as_val" = x""yes; then :
7975 cat >>confdefs.h <<_ACEOF
7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7977 _ACEOF
7978
7979 fi
7980
7981 done
7982
7983
7984 for ac_header in dlfcn.h
7985 do :
7986 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7987 "
7988 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7989 cat >>confdefs.h <<_ACEOF
7990 #define HAVE_DLFCN_H 1
7991 _ACEOF
7992
7993 fi
7994
7995 done
7996
7997
7998
7999
8000
8001
8002 # Set options
8003
8004
8005
8006
8007 enable_win32_dll=no
8008
8009
8010 # Check whether --enable-shared was given.
8011 if test "${enable_shared+set}" = set; then :
8012 enableval=$enable_shared; p=${PACKAGE-default}
8013 case $enableval in
8014 yes) enable_shared=yes ;;
8015 no) enable_shared=no ;;
8016 *)
8017 enable_shared=no
8018 # Look at the argument we got. We use all the common list separators.
8019 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8020 for pkg in $enableval; do
8021 IFS="$lt_save_ifs"
8022 if test "X$pkg" = "X$p"; then
8023 enable_shared=yes
8024 fi
8025 done
8026 IFS="$lt_save_ifs"
8027 ;;
8028 esac
8029 else
8030 enable_shared=yes
8031 fi
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041 # Check whether --enable-static was given.
8042 if test "${enable_static+set}" = set; then :
8043 enableval=$enable_static; p=${PACKAGE-default}
8044 case $enableval in
8045 yes) enable_static=yes ;;
8046 no) enable_static=no ;;
8047 *)
8048 enable_static=no
8049 # Look at the argument we got. We use all the common list separators.
8050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8051 for pkg in $enableval; do
8052 IFS="$lt_save_ifs"
8053 if test "X$pkg" = "X$p"; then
8054 enable_static=yes
8055 fi
8056 done
8057 IFS="$lt_save_ifs"
8058 ;;
8059 esac
8060 else
8061 enable_static=yes
8062 fi
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 # Check whether --with-pic was given.
8074 if test "${with_pic+set}" = set; then :
8075 withval=$with_pic; pic_mode="$withval"
8076 else
8077 pic_mode=default
8078 fi
8079
8080
8081 test -z "$pic_mode" && pic_mode=default
8082
8083
8084
8085
8086
8087
8088
8089 # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091 enableval=$enable_fast_install; p=${PACKAGE-default}
8092 case $enableval in
8093 yes) enable_fast_install=yes ;;
8094 no) enable_fast_install=no ;;
8095 *)
8096 enable_fast_install=no
8097 # Look at the argument we got. We use all the common list separators.
8098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099 for pkg in $enableval; do
8100 IFS="$lt_save_ifs"
8101 if test "X$pkg" = "X$p"; then
8102 enable_fast_install=yes
8103 fi
8104 done
8105 IFS="$lt_save_ifs"
8106 ;;
8107 esac
8108 else
8109 enable_fast_install=yes
8110 fi
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8124
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153 test -z "$LN_S" && LN_S="ln -s"
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 if test -n "${ZSH_VERSION+set}" ; then
8169 setopt NO_GLOB_SUBST
8170 fi
8171
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8173 $as_echo_n "checking for objdir... " >&6; }
8174 if test "${lt_cv_objdir+set}" = set; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 rm -f .libs 2>/dev/null
8178 mkdir .libs 2>/dev/null
8179 if test -d .libs; then
8180 lt_cv_objdir=.libs
8181 else
8182 # MS-DOS does not allow filenames that begin with a dot.
8183 lt_cv_objdir=_libs
8184 fi
8185 rmdir .libs 2>/dev/null
8186 fi
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8188 $as_echo "$lt_cv_objdir" >&6; }
8189 objdir=$lt_cv_objdir
8190
8191
8192
8193
8194
8195 cat >>confdefs.h <<_ACEOF
8196 #define LT_OBJDIR "$lt_cv_objdir/"
8197 _ACEOF
8198
8199
8200
8201
8202 case $host_os in
8203 aix3*)
8204 # AIX sometimes has problems with the GCC collect2 program. For some
8205 # reason, if we set the COLLECT_NAMES environment variable, the problems
8206 # vanish in a puff of smoke.
8207 if test "X${COLLECT_NAMES+set}" != Xset; then
8208 COLLECT_NAMES=
8209 export COLLECT_NAMES
8210 fi
8211 ;;
8212 esac
8213
8214 # Global variables:
8215 ofile=libtool
8216 can_build_shared=yes
8217
8218 # All known linkers require a `.a' archive for static linking (except MSVC,
8219 # which needs '.lib').
8220 libext=a
8221
8222 with_gnu_ld="$lt_cv_prog_gnu_ld"
8223
8224 old_CC="$CC"
8225 old_CFLAGS="$CFLAGS"
8226
8227 # Set sane defaults for various variables
8228 test -z "$CC" && CC=cc
8229 test -z "$LTCC" && LTCC=$CC
8230 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8231 test -z "$LD" && LD=ld
8232 test -z "$ac_objext" && ac_objext=o
8233
8234 for cc_temp in $compiler""; do
8235 case $cc_temp in
8236 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8237 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8238 \-*) ;;
8239 *) break;;
8240 esac
8241 done
8242 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8243
8244
8245 # Only perform the check for file, if the check method requires it
8246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8247 case $deplibs_check_method in
8248 file_magic*)
8249 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 case $MAGIC_CMD in
8256 [\\/*] | ?:[\\/]*)
8257 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8258 ;;
8259 *)
8260 lt_save_MAGIC_CMD="$MAGIC_CMD"
8261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8262 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8263 for ac_dir in $ac_dummy; do
8264 IFS="$lt_save_ifs"
8265 test -z "$ac_dir" && ac_dir=.
8266 if test -f $ac_dir/${ac_tool_prefix}file; then
8267 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8268 if test -n "$file_magic_test_file"; then
8269 case $deplibs_check_method in
8270 "file_magic "*)
8271 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8274 $EGREP "$file_magic_regex" > /dev/null; then
8275 :
8276 else
8277 cat <<_LT_EOF 1>&2
8278
8279 *** Warning: the command libtool uses to detect shared libraries,
8280 *** $file_magic_cmd, produces output that libtool cannot recognize.
8281 *** The result is that libtool may fail to recognize shared libraries
8282 *** as such. This will affect the creation of libtool libraries that
8283 *** depend on shared libraries, but programs linked with such libtool
8284 *** libraries will work regardless of this problem. Nevertheless, you
8285 *** may want to report the problem to your system manager and/or to
8286 *** bug-libtool@gnu.org
8287
8288 _LT_EOF
8289 fi ;;
8290 esac
8291 fi
8292 break
8293 fi
8294 done
8295 IFS="$lt_save_ifs"
8296 MAGIC_CMD="$lt_save_MAGIC_CMD"
8297 ;;
8298 esac
8299 fi
8300
8301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302 if test -n "$MAGIC_CMD"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8304 $as_echo "$MAGIC_CMD" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8308 fi
8309
8310
8311
8312
8313
8314 if test -z "$lt_cv_path_MAGIC_CMD"; then
8315 if test -n "$ac_tool_prefix"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8317 $as_echo_n "checking for file... " >&6; }
8318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 case $MAGIC_CMD in
8322 [\\/*] | ?:[\\/]*)
8323 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8324 ;;
8325 *)
8326 lt_save_MAGIC_CMD="$MAGIC_CMD"
8327 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8328 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8329 for ac_dir in $ac_dummy; do
8330 IFS="$lt_save_ifs"
8331 test -z "$ac_dir" && ac_dir=.
8332 if test -f $ac_dir/file; then
8333 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8334 if test -n "$file_magic_test_file"; then
8335 case $deplibs_check_method in
8336 "file_magic "*)
8337 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8339 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8340 $EGREP "$file_magic_regex" > /dev/null; then
8341 :
8342 else
8343 cat <<_LT_EOF 1>&2
8344
8345 *** Warning: the command libtool uses to detect shared libraries,
8346 *** $file_magic_cmd, produces output that libtool cannot recognize.
8347 *** The result is that libtool may fail to recognize shared libraries
8348 *** as such. This will affect the creation of libtool libraries that
8349 *** depend on shared libraries, but programs linked with such libtool
8350 *** libraries will work regardless of this problem. Nevertheless, you
8351 *** may want to report the problem to your system manager and/or to
8352 *** bug-libtool@gnu.org
8353
8354 _LT_EOF
8355 fi ;;
8356 esac
8357 fi
8358 break
8359 fi
8360 done
8361 IFS="$lt_save_ifs"
8362 MAGIC_CMD="$lt_save_MAGIC_CMD"
8363 ;;
8364 esac
8365 fi
8366
8367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368 if test -n "$MAGIC_CMD"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8370 $as_echo "$MAGIC_CMD" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 fi
8375
8376
8377 else
8378 MAGIC_CMD=:
8379 fi
8380 fi
8381
8382 fi
8383 ;;
8384 esac
8385
8386 # Use C for the default configuration in the libtool script
8387
8388 lt_save_CC="$CC"
8389 ac_ext=c
8390 ac_cpp='$CPP $CPPFLAGS'
8391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8394
8395
8396 # Source file extension for C test sources.
8397 ac_ext=c
8398
8399 # Object file extension for compiled C test sources.
8400 objext=o
8401 objext=$objext
8402
8403 # Code to be used in simple compile tests
8404 lt_simple_compile_test_code="int some_variable = 0;"
8405
8406 # Code to be used in simple link tests
8407 lt_simple_link_test_code='int main(){return(0);}'
8408
8409
8410
8411
8412
8413
8414
8415 # If no C compiler was specified, use CC.
8416 LTCC=${LTCC-"$CC"}
8417
8418 # If no C compiler flags were specified, use CFLAGS.
8419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8420
8421 # Allow CC to be a program name with arguments.
8422 compiler=$CC
8423
8424 # Save the default compiler, since it gets overwritten when the other
8425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8426 compiler_DEFAULT=$CC
8427
8428 # save warnings/boilerplate of simple test code
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8432 _lt_compiler_boilerplate=`cat conftest.err`
8433 $RM conftest*
8434
8435 ac_outfile=conftest.$ac_objext
8436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8438 _lt_linker_boilerplate=`cat conftest.err`
8439 $RM -r conftest*
8440
8441
8442 ## CAVEAT EMPTOR:
8443 ## There is no encapsulation within the following macros, do not change
8444 ## the running order or otherwise move them around unless you know exactly
8445 ## what you are doing...
8446 if test -n "$compiler"; then
8447
8448 lt_prog_compiler_no_builtin_flag=
8449
8450 if test "$GCC" = yes; then
8451 case $cc_basename in
8452 nvcc*)
8453 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8454 *)
8455 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8456 esac
8457
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 lt_cv_prog_compiler_rtti_exceptions=no
8464 ac_outfile=conftest.$ac_objext
8465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8466 lt_compiler_flag="-fno-rtti -fno-exceptions"
8467 # Insert the option either (1) after the last *FLAGS variable, or
8468 # (2) before a word containing "conftest.", or (3) at the end.
8469 # Note that $ac_compile itself does not contain backslashes and begins
8470 # with a dollar sign (not a hyphen), so the echo should work correctly.
8471 # The option is referenced via a variable to avoid confusing sed.
8472 lt_compile=`echo "$ac_compile" | $SED \
8473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8475 -e 's:$: $lt_compiler_flag:'`
8476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8477 (eval "$lt_compile" 2>conftest.err)
8478 ac_status=$?
8479 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 if (exit $ac_status) && test -s "$ac_outfile"; then
8482 # The compiler can only warn and ignore the option if not recognized
8483 # So say no if there are warnings other than the usual output.
8484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8487 lt_cv_prog_compiler_rtti_exceptions=yes
8488 fi
8489 fi
8490 $RM conftest*
8491
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8495
8496 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8497 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8498 else
8499 :
8500 fi
8501
8502 fi
8503
8504
8505
8506
8507
8508
8509 lt_prog_compiler_wl=
8510 lt_prog_compiler_pic=
8511 lt_prog_compiler_static=
8512
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8515
8516 if test "$GCC" = yes; then
8517 lt_prog_compiler_wl='-Wl,'
8518 lt_prog_compiler_static='-static'
8519
8520 case $host_os in
8521 aix*)
8522 # All AIX code is PIC.
8523 if test "$host_cpu" = ia64; then
8524 # AIX 5 now supports IA64 processor
8525 lt_prog_compiler_static='-Bstatic'
8526 fi
8527 ;;
8528
8529 amigaos*)
8530 case $host_cpu in
8531 powerpc)
8532 # see comment about AmigaOS4 .so support
8533 lt_prog_compiler_pic='-fPIC'
8534 ;;
8535 m68k)
8536 # FIXME: we need at least 68020 code to build shared libraries, but
8537 # adding the `-m68020' flag to GCC prevents building anything better,
8538 # like `-m68040'.
8539 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8540 ;;
8541 esac
8542 ;;
8543
8544 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8545 # PIC is the default for these OSes.
8546 ;;
8547
8548 mingw* | cygwin* | pw32* | os2* | cegcc*)
8549 # This hack is so that the source file can tell whether it is being
8550 # built for inclusion in a dll (and should export symbols for example).
8551 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8552 # (--disable-auto-import) libraries
8553 lt_prog_compiler_pic='-DDLL_EXPORT'
8554 ;;
8555
8556 darwin* | rhapsody*)
8557 # PIC is the default on this platform
8558 # Common symbols not allowed in MH_DYLIB files
8559 lt_prog_compiler_pic='-fno-common'
8560 ;;
8561
8562 haiku*)
8563 # PIC is the default for Haiku.
8564 # The "-static" flag exists, but is broken.
8565 lt_prog_compiler_static=
8566 ;;
8567
8568 hpux*)
8569 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8570 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8571 # sets the default TLS model and affects inlining.
8572 case $host_cpu in
8573 hppa*64*)
8574 # +Z the default
8575 ;;
8576 *)
8577 lt_prog_compiler_pic='-fPIC'
8578 ;;
8579 esac
8580 ;;
8581
8582 interix[3-9]*)
8583 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8584 # Instead, we relocate shared libraries at runtime.
8585 ;;
8586
8587 msdosdjgpp*)
8588 # Just because we use GCC doesn't mean we suddenly get shared libraries
8589 # on systems that don't support them.
8590 lt_prog_compiler_can_build_shared=no
8591 enable_shared=no
8592 ;;
8593
8594 *nto* | *qnx*)
8595 # QNX uses GNU C++, but need to define -shared option too, otherwise
8596 # it will coredump.
8597 lt_prog_compiler_pic='-fPIC -shared'
8598 ;;
8599
8600 sysv4*MP*)
8601 if test -d /usr/nec; then
8602 lt_prog_compiler_pic=-Kconform_pic
8603 fi
8604 ;;
8605
8606 *)
8607 lt_prog_compiler_pic='-fPIC'
8608 ;;
8609 esac
8610
8611 case $cc_basename in
8612 nvcc*) # Cuda Compiler Driver 2.2
8613 lt_prog_compiler_wl='-Xlinker '
8614 lt_prog_compiler_pic='-Xcompiler -fPIC'
8615 ;;
8616 esac
8617 else
8618 # PORTME Check for flag to pass linker flags through the system compiler.
8619 case $host_os in
8620 aix*)
8621 lt_prog_compiler_wl='-Wl,'
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8625 else
8626 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8627 fi
8628 ;;
8629
8630 mingw* | cygwin* | pw32* | os2* | cegcc*)
8631 # This hack is so that the source file can tell whether it is being
8632 # built for inclusion in a dll (and should export symbols for example).
8633 lt_prog_compiler_pic='-DDLL_EXPORT'
8634 ;;
8635
8636 hpux9* | hpux10* | hpux11*)
8637 lt_prog_compiler_wl='-Wl,'
8638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8639 # not for PA HP-UX.
8640 case $host_cpu in
8641 hppa*64*|ia64*)
8642 # +Z the default
8643 ;;
8644 *)
8645 lt_prog_compiler_pic='+Z'
8646 ;;
8647 esac
8648 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8649 lt_prog_compiler_static='${wl}-a ${wl}archive'
8650 ;;
8651
8652 irix5* | irix6* | nonstopux*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC (with -KPIC) is the default.
8655 lt_prog_compiler_static='-non_shared'
8656 ;;
8657
8658 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8659 case $cc_basename in
8660 # old Intel for x86_64 which still supported -KPIC.
8661 ecc*)
8662 lt_prog_compiler_wl='-Wl,'
8663 lt_prog_compiler_pic='-KPIC'
8664 lt_prog_compiler_static='-static'
8665 ;;
8666 # icc used to be incompatible with GCC.
8667 # ICC 10 doesn't accept -KPIC any more.
8668 icc* | ifort*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-fPIC'
8671 lt_prog_compiler_static='-static'
8672 ;;
8673 # Lahey Fortran 8.1.
8674 lf95*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='--shared'
8677 lt_prog_compiler_static='--static'
8678 ;;
8679 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8680 # Portland Group compilers (*not* the Pentium gcc compiler,
8681 # which looks to be a dead project)
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='-fpic'
8684 lt_prog_compiler_static='-Bstatic'
8685 ;;
8686 ccc*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # All Alpha code is PIC.
8689 lt_prog_compiler_static='-non_shared'
8690 ;;
8691 xl* | bgxl* | bgf* | mpixl*)
8692 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8693 lt_prog_compiler_wl='-Wl,'
8694 lt_prog_compiler_pic='-qpic'
8695 lt_prog_compiler_static='-qstaticlink'
8696 ;;
8697 *)
8698 case `$CC -V 2>&1 | sed 5q` in
8699 *Sun\ F* | *Sun*Fortran*)
8700 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8701 lt_prog_compiler_pic='-KPIC'
8702 lt_prog_compiler_static='-Bstatic'
8703 lt_prog_compiler_wl=''
8704 ;;
8705 *Sun\ C*)
8706 # Sun C 5.9
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8709 lt_prog_compiler_wl='-Wl,'
8710 ;;
8711 esac
8712 ;;
8713 esac
8714 ;;
8715
8716 newsos6)
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 ;;
8720
8721 *nto* | *qnx*)
8722 # QNX uses GNU C++, but need to define -shared option too, otherwise
8723 # it will coredump.
8724 lt_prog_compiler_pic='-fPIC -shared'
8725 ;;
8726
8727 osf3* | osf4* | osf5*)
8728 lt_prog_compiler_wl='-Wl,'
8729 # All OSF/1 code is PIC.
8730 lt_prog_compiler_static='-non_shared'
8731 ;;
8732
8733 rdos*)
8734 lt_prog_compiler_static='-non_shared'
8735 ;;
8736
8737 solaris*)
8738 lt_prog_compiler_pic='-KPIC'
8739 lt_prog_compiler_static='-Bstatic'
8740 case $cc_basename in
8741 f77* | f90* | f95*)
8742 lt_prog_compiler_wl='-Qoption ld ';;
8743 *)
8744 lt_prog_compiler_wl='-Wl,';;
8745 esac
8746 ;;
8747
8748 sunos4*)
8749 lt_prog_compiler_wl='-Qoption ld '
8750 lt_prog_compiler_pic='-PIC'
8751 lt_prog_compiler_static='-Bstatic'
8752 ;;
8753
8754 sysv4 | sysv4.2uw2* | sysv4.3*)
8755 lt_prog_compiler_wl='-Wl,'
8756 lt_prog_compiler_pic='-KPIC'
8757 lt_prog_compiler_static='-Bstatic'
8758 ;;
8759
8760 sysv4*MP*)
8761 if test -d /usr/nec ;then
8762 lt_prog_compiler_pic='-Kconform_pic'
8763 lt_prog_compiler_static='-Bstatic'
8764 fi
8765 ;;
8766
8767 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-KPIC'
8770 lt_prog_compiler_static='-Bstatic'
8771 ;;
8772
8773 unicos*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_can_build_shared=no
8776 ;;
8777
8778 uts4*)
8779 lt_prog_compiler_pic='-pic'
8780 lt_prog_compiler_static='-Bstatic'
8781 ;;
8782
8783 *)
8784 lt_prog_compiler_can_build_shared=no
8785 ;;
8786 esac
8787 fi
8788
8789 case $host_os in
8790 # For platforms which do not support PIC, -DPIC is meaningless:
8791 *djgpp*)
8792 lt_prog_compiler_pic=
8793 ;;
8794 *)
8795 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8796 ;;
8797 esac
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8799 $as_echo "$lt_prog_compiler_pic" >&6; }
8800
8801
8802
8803
8804
8805
8806 #
8807 # Check to make sure the PIC flag actually works.
8808 #
8809 if test -n "$lt_prog_compiler_pic"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8811 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8812 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 lt_cv_prog_compiler_pic_works=no
8816 ac_outfile=conftest.$ac_objext
8817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8818 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8819 # Insert the option either (1) after the last *FLAGS variable, or
8820 # (2) before a word containing "conftest.", or (3) at the end.
8821 # Note that $ac_compile itself does not contain backslashes and begins
8822 # with a dollar sign (not a hyphen), so the echo should work correctly.
8823 # The option is referenced via a variable to avoid confusing sed.
8824 lt_compile=`echo "$ac_compile" | $SED \
8825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8827 -e 's:$: $lt_compiler_flag:'`
8828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8829 (eval "$lt_compile" 2>conftest.err)
8830 ac_status=$?
8831 cat conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 if (exit $ac_status) && test -s "$ac_outfile"; then
8834 # The compiler can only warn and ignore the option if not recognized
8835 # So say no if there are warnings other than the usual output.
8836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8837 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8838 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8839 lt_cv_prog_compiler_pic_works=yes
8840 fi
8841 fi
8842 $RM conftest*
8843
8844 fi
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8846 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8847
8848 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8849 case $lt_prog_compiler_pic in
8850 "" | " "*) ;;
8851 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8852 esac
8853 else
8854 lt_prog_compiler_pic=
8855 lt_prog_compiler_can_build_shared=no
8856 fi
8857
8858 fi
8859
8860
8861
8862
8863
8864
8865 #
8866 # Check to make sure the static flag actually works.
8867 #
8868 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8870 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8871 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 lt_cv_prog_compiler_static_works=no
8875 save_LDFLAGS="$LDFLAGS"
8876 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8877 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8878 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8879 # The linker can only warn and ignore the option if not recognized
8880 # So say no if there are warnings
8881 if test -s conftest.err; then
8882 # Append any errors to the config.log.
8883 cat conftest.err 1>&5
8884 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8885 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886 if diff conftest.exp conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_static_works=yes
8888 fi
8889 else
8890 lt_cv_prog_compiler_static_works=yes
8891 fi
8892 fi
8893 $RM -r conftest*
8894 LDFLAGS="$save_LDFLAGS"
8895
8896 fi
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8898 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8899
8900 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8901 :
8902 else
8903 lt_prog_compiler_static=
8904 fi
8905
8906
8907
8908
8909
8910
8911
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8913 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8914 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 lt_cv_prog_compiler_c_o=no
8918 $RM -r conftest 2>/dev/null
8919 mkdir conftest
8920 cd conftest
8921 mkdir out
8922 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
8924 lt_compiler_flag="-o out/conftest2.$ac_objext"
8925 # Insert the option either (1) after the last *FLAGS variable, or
8926 # (2) before a word containing "conftest.", or (3) at the end.
8927 # Note that $ac_compile itself does not contain backslashes and begins
8928 # with a dollar sign (not a hyphen), so the echo should work correctly.
8929 lt_compile=`echo "$ac_compile" | $SED \
8930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932 -e 's:$: $lt_compiler_flag:'`
8933 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8934 (eval "$lt_compile" 2>out/conftest.err)
8935 ac_status=$?
8936 cat out/conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8939 then
8940 # The compiler can only warn and ignore the option if not recognized
8941 # So say no if there are warnings
8942 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8943 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8944 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8945 lt_cv_prog_compiler_c_o=yes
8946 fi
8947 fi
8948 chmod u+w . 2>&5
8949 $RM conftest*
8950 # SGI C++ compiler will create directory out/ii_files/ for
8951 # template instantiation
8952 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8953 $RM out/* && rmdir out
8954 cd ..
8955 $RM -r conftest
8956 $RM conftest*
8957
8958 fi
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8960 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8961
8962
8963
8964
8965
8966
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8969 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 lt_cv_prog_compiler_c_o=no
8973 $RM -r conftest 2>/dev/null
8974 mkdir conftest
8975 cd conftest
8976 mkdir out
8977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8978
8979 lt_compiler_flag="-o out/conftest2.$ac_objext"
8980 # Insert the option either (1) after the last *FLAGS variable, or
8981 # (2) before a word containing "conftest.", or (3) at the end.
8982 # Note that $ac_compile itself does not contain backslashes and begins
8983 # with a dollar sign (not a hyphen), so the echo should work correctly.
8984 lt_compile=`echo "$ac_compile" | $SED \
8985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8987 -e 's:$: $lt_compiler_flag:'`
8988 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8989 (eval "$lt_compile" 2>out/conftest.err)
8990 ac_status=$?
8991 cat out/conftest.err >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8994 then
8995 # The compiler can only warn and ignore the option if not recognized
8996 # So say no if there are warnings
8997 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8998 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8999 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9000 lt_cv_prog_compiler_c_o=yes
9001 fi
9002 fi
9003 chmod u+w . 2>&5
9004 $RM conftest*
9005 # SGI C++ compiler will create directory out/ii_files/ for
9006 # template instantiation
9007 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9008 $RM out/* && rmdir out
9009 cd ..
9010 $RM -r conftest
9011 $RM conftest*
9012
9013 fi
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9015 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9016
9017
9018
9019
9020 hard_links="nottested"
9021 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9022 # do not overwrite the value of need_locks provided by the user
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9024 $as_echo_n "checking if we can lock with hard links... " >&6; }
9025 hard_links=yes
9026 $RM conftest*
9027 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9028 touch conftest.a
9029 ln conftest.a conftest.b 2>&5 || hard_links=no
9030 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9032 $as_echo "$hard_links" >&6; }
9033 if test "$hard_links" = no; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9035 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9036 need_locks=warn
9037 fi
9038 else
9039 need_locks=no
9040 fi
9041
9042
9043
9044
9045
9046
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9049
9050 runpath_var=
9051 allow_undefined_flag=
9052 always_export_symbols=no
9053 archive_cmds=
9054 archive_expsym_cmds=
9055 compiler_needs_object=no
9056 enable_shared_with_static_runtimes=no
9057 export_dynamic_flag_spec=
9058 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9059 hardcode_automatic=no
9060 hardcode_direct=no
9061 hardcode_direct_absolute=no
9062 hardcode_libdir_flag_spec=
9063 hardcode_libdir_flag_spec_ld=
9064 hardcode_libdir_separator=
9065 hardcode_minus_L=no
9066 hardcode_shlibpath_var=unsupported
9067 inherit_rpath=no
9068 link_all_deplibs=unknown
9069 module_cmds=
9070 module_expsym_cmds=
9071 old_archive_from_new_cmds=
9072 old_archive_from_expsyms_cmds=
9073 thread_safe_flag_spec=
9074 whole_archive_flag_spec=
9075 # include_expsyms should be a list of space-separated symbols to be *always*
9076 # included in the symbol list
9077 include_expsyms=
9078 # exclude_expsyms can be an extended regexp of symbols to exclude
9079 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9080 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9081 # as well as any symbol that contains `d'.
9082 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9083 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9084 # platforms (ab)use it in PIC code, but their linkers get confused if
9085 # the symbol is explicitly referenced. Since portable code cannot
9086 # rely on this symbol name, it's probably fine to never include it in
9087 # preloaded symbol tables.
9088 # Exclude shared library initialization/finalization symbols.
9089 extract_expsyms_cmds=
9090
9091 case $host_os in
9092 cygwin* | mingw* | pw32* | cegcc*)
9093 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9094 # When not using gcc, we currently assume that we are using
9095 # Microsoft Visual C++.
9096 if test "$GCC" != yes; then
9097 with_gnu_ld=no
9098 fi
9099 ;;
9100 interix*)
9101 # we just hope/assume this is gcc and not c89 (= MSVC++)
9102 with_gnu_ld=yes
9103 ;;
9104 openbsd*)
9105 with_gnu_ld=no
9106 ;;
9107 esac
9108
9109 ld_shlibs=yes
9110
9111 # On some targets, GNU ld is compatible enough with the native linker
9112 # that we're better off using the native interface for both.
9113 lt_use_gnu_ld_interface=no
9114 if test "$with_gnu_ld" = yes; then
9115 case $host_os in
9116 aix*)
9117 # The AIX port of GNU ld has always aspired to compatibility
9118 # with the native linker. However, as the warning in the GNU ld
9119 # block says, versions before 2.19.5* couldn't really create working
9120 # shared libraries, regardless of the interface used.
9121 case `$LD -v 2>&1` in
9122 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9123 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9124 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9125 *)
9126 lt_use_gnu_ld_interface=yes
9127 ;;
9128 esac
9129 ;;
9130 *)
9131 lt_use_gnu_ld_interface=yes
9132 ;;
9133 esac
9134 fi
9135
9136 if test "$lt_use_gnu_ld_interface" = yes; then
9137 # If archive_cmds runs LD, not CC, wlarc should be empty
9138 wlarc='${wl}'
9139
9140 # Set some defaults for GNU ld with shared library support. These
9141 # are reset later if shared libraries are not supported. Putting them
9142 # here allows them to be overridden if necessary.
9143 runpath_var=LD_RUN_PATH
9144 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145 export_dynamic_flag_spec='${wl}--export-dynamic'
9146 # ancient GNU ld didn't support --whole-archive et. al.
9147 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9148 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9149 else
9150 whole_archive_flag_spec=
9151 fi
9152 supports_anon_versioning=no
9153 case `$LD -v 2>&1` in
9154 *GNU\ gold*) supports_anon_versioning=yes ;;
9155 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9156 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9157 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9158 *\ 2.11.*) ;; # other 2.11 versions
9159 *) supports_anon_versioning=yes ;;
9160 esac
9161
9162 # See if GNU ld supports shared libraries.
9163 case $host_os in
9164 aix[3-9]*)
9165 # On AIX/PPC, the GNU linker is very broken
9166 if test "$host_cpu" != ia64; then
9167 ld_shlibs=no
9168 cat <<_LT_EOF 1>&2
9169
9170 *** Warning: the GNU linker, at least up to release 2.19, is reported
9171 *** to be unable to reliably create shared libraries on AIX.
9172 *** Therefore, libtool is disabling shared libraries support. If you
9173 *** really care for shared libraries, you may want to install binutils
9174 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9175 *** You will then need to restart the configuration process.
9176
9177 _LT_EOF
9178 fi
9179 ;;
9180
9181 amigaos*)
9182 case $host_cpu in
9183 powerpc)
9184 # see comment about AmigaOS4 .so support
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds=''
9187 ;;
9188 m68k)
9189 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)'
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 hardcode_minus_L=yes
9192 ;;
9193 esac
9194 ;;
9195
9196 beos*)
9197 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9198 allow_undefined_flag=unsupported
9199 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9200 # support --undefined. This deserves some investigation. FIXME
9201 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 else
9203 ld_shlibs=no
9204 fi
9205 ;;
9206
9207 cygwin* | mingw* | pw32* | cegcc*)
9208 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9209 # as there is no search path for DLLs.
9210 hardcode_libdir_flag_spec='-L$libdir'
9211 export_dynamic_flag_spec='${wl}--export-all-symbols'
9212 allow_undefined_flag=unsupported
9213 always_export_symbols=no
9214 enable_shared_with_static_runtimes=yes
9215 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9216
9217 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 # If the export-symbols file already is a .def file (1st line
9220 # is EXPORTS), use it as is; otherwise, prepend...
9221 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9222 cp $export_symbols $output_objdir/$soname.def;
9223 else
9224 echo EXPORTS > $output_objdir/$soname.def;
9225 cat $export_symbols >> $output_objdir/$soname.def;
9226 fi~
9227 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9228 else
9229 ld_shlibs=no
9230 fi
9231 ;;
9232
9233 haiku*)
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 link_all_deplibs=yes
9236 ;;
9237
9238 interix[3-9]*)
9239 hardcode_direct=no
9240 hardcode_shlibpath_var=no
9241 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9242 export_dynamic_flag_spec='${wl}-E'
9243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244 # Instead, shared libraries are loaded at an image base (0x10000000 by
9245 # default) and relocated if they conflict, which is a slow very memory
9246 # consuming and fragmenting process. To avoid this, we pick a random,
9247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250 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'
9251 ;;
9252
9253 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9254 tmp_diet=no
9255 if test "$host_os" = linux-dietlibc; then
9256 case $cc_basename in
9257 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9258 esac
9259 fi
9260 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9261 && test "$tmp_diet" = no
9262 then
9263 tmp_addflag=
9264 tmp_sharedflag='-shared'
9265 case $cc_basename,$host_cpu in
9266 pgcc*) # Portland Group C compiler
9267 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'
9268 tmp_addflag=' $pic_flag'
9269 ;;
9270 pgf77* | pgf90* | pgf95* | pgfortran*)
9271 # Portland Group f77 and f90 compilers
9272 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'
9273 tmp_addflag=' $pic_flag -Mnomain' ;;
9274 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9275 tmp_addflag=' -i_dynamic' ;;
9276 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9277 tmp_addflag=' -i_dynamic -nofor_main' ;;
9278 ifc* | ifort*) # Intel Fortran compiler
9279 tmp_addflag=' -nofor_main' ;;
9280 lf95*) # Lahey Fortran 8.1
9281 whole_archive_flag_spec=
9282 tmp_sharedflag='--shared' ;;
9283 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9284 tmp_sharedflag='-qmkshrobj'
9285 tmp_addflag= ;;
9286 nvcc*) # Cuda Compiler Driver 2.2
9287 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'
9288 compiler_needs_object=yes
9289 ;;
9290 esac
9291 case `$CC -V 2>&1 | sed 5q` in
9292 *Sun\ C*) # Sun C 5.9
9293 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'
9294 compiler_needs_object=yes
9295 tmp_sharedflag='-G' ;;
9296 *Sun\ F*) # Sun Fortran 8.3
9297 tmp_sharedflag='-G' ;;
9298 esac
9299 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300
9301 if test "x$supports_anon_versioning" = xyes; then
9302 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9304 echo "local: *; };" >> $output_objdir/$libname.ver~
9305 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9306 fi
9307
9308 case $cc_basename in
9309 xlf* | bgf* | bgxlf* | mpixlf*)
9310 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9311 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9312 hardcode_libdir_flag_spec=
9313 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9314 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9315 if test "x$supports_anon_versioning" = xyes; then
9316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318 echo "local: *; };" >> $output_objdir/$libname.ver~
9319 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320 fi
9321 ;;
9322 esac
9323 else
9324 ld_shlibs=no
9325 fi
9326 ;;
9327
9328 netbsd*)
9329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9330 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9331 wlarc=
9332 else
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335 fi
9336 ;;
9337
9338 solaris*)
9339 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9340 ld_shlibs=no
9341 cat <<_LT_EOF 1>&2
9342
9343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9344 *** create shared libraries on Solaris systems. Therefore, libtool
9345 *** is disabling shared libraries support. We urge you to upgrade GNU
9346 *** binutils to release 2.9.1 or newer. Another option is to modify
9347 *** your PATH or compiler configuration so that the native linker is
9348 *** used, and then restart.
9349
9350 _LT_EOF
9351 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 else
9355 ld_shlibs=no
9356 fi
9357 ;;
9358
9359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9360 case `$LD -v 2>&1` in
9361 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9362 ld_shlibs=no
9363 cat <<_LT_EOF 1>&2
9364
9365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9366 *** reliably create shared libraries on SCO systems. Therefore, libtool
9367 *** is disabling shared libraries support. We urge you to upgrade GNU
9368 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9371
9372 _LT_EOF
9373 ;;
9374 *)
9375 # For security reasons, it is highly recommended that you always
9376 # use absolute paths for naming shared libraries, and exclude the
9377 # DT_RUNPATH tag from executables and libraries. But doing so
9378 # requires that you compile everything twice, which is a pain.
9379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9385 fi
9386 ;;
9387 esac
9388 ;;
9389
9390 sunos4*)
9391 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9392 wlarc=
9393 hardcode_direct=yes
9394 hardcode_shlibpath_var=no
9395 ;;
9396
9397 *)
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401 else
9402 ld_shlibs=no
9403 fi
9404 ;;
9405 esac
9406
9407 if test "$ld_shlibs" = no; then
9408 runpath_var=
9409 hardcode_libdir_flag_spec=
9410 export_dynamic_flag_spec=
9411 whole_archive_flag_spec=
9412 fi
9413 else
9414 # PORTME fill in a description of your system's linker (not GNU ld)
9415 case $host_os in
9416 aix3*)
9417 allow_undefined_flag=unsupported
9418 always_export_symbols=yes
9419 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'
9420 # Note: this linker hardcodes the directories in LIBPATH if there
9421 # are no directories specified by -L.
9422 hardcode_minus_L=yes
9423 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9424 # Neither direct hardcoding nor static linking is supported with a
9425 # broken collect2.
9426 hardcode_direct=unsupported
9427 fi
9428 ;;
9429
9430 aix[4-9]*)
9431 if test "$host_cpu" = ia64; then
9432 # On IA64, the linker does run time linking by default, so we don't
9433 # have to do anything special.
9434 aix_use_runtimelinking=no
9435 exp_sym_flag='-Bexport'
9436 no_entry_flag=""
9437 else
9438 # If we're using GNU nm, then we don't want the "-C" option.
9439 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9440 # Also, AIX nm treats weak defined symbols like other global
9441 # defined symbols, whereas GNU nm marks them as "W".
9442 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9443 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'
9444 else
9445 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'
9446 fi
9447 aix_use_runtimelinking=no
9448
9449 # Test if we are trying to use run time linking or normal
9450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9451 # need to do runtime linking.
9452 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9453 for ld_flag in $LDFLAGS; do
9454 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9455 aix_use_runtimelinking=yes
9456 break
9457 fi
9458 done
9459 ;;
9460 esac
9461
9462 exp_sym_flag='-bexport'
9463 no_entry_flag='-bnoentry'
9464 fi
9465
9466 # When large executables or shared objects are built, AIX ld can
9467 # have problems creating the table of contents. If linking a library
9468 # or program results in "error TOC overflow" add -mminimal-toc to
9469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9471
9472 archive_cmds=''
9473 hardcode_direct=yes
9474 hardcode_direct_absolute=yes
9475 hardcode_libdir_separator=':'
9476 link_all_deplibs=yes
9477 file_list_spec='${wl}-f,'
9478
9479 if test "$GCC" = yes; then
9480 case $host_os in aix4.[012]|aix4.[012].*)
9481 # We only want to do this on AIX 4.2 and lower, the check
9482 # below for broken collect2 doesn't work under 4.3+
9483 collect2name=`${CC} -print-prog-name=collect2`
9484 if test -f "$collect2name" &&
9485 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9486 then
9487 # We have reworked collect2
9488 :
9489 else
9490 # We have old collect2
9491 hardcode_direct=unsupported
9492 # It fails to find uninstalled libraries when the uninstalled
9493 # path is not listed in the libpath. Setting hardcode_minus_L
9494 # to unsupported forces relinking
9495 hardcode_minus_L=yes
9496 hardcode_libdir_flag_spec='-L$libdir'
9497 hardcode_libdir_separator=
9498 fi
9499 ;;
9500 esac
9501 shared_flag='-shared'
9502 if test "$aix_use_runtimelinking" = yes; then
9503 shared_flag="$shared_flag "'${wl}-G'
9504 fi
9505 else
9506 # not using gcc
9507 if test "$host_cpu" = ia64; then
9508 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9509 # chokes on -Wl,-G. The following line is correct:
9510 shared_flag='-G'
9511 else
9512 if test "$aix_use_runtimelinking" = yes; then
9513 shared_flag='${wl}-G'
9514 else
9515 shared_flag='${wl}-bM:SRE'
9516 fi
9517 fi
9518 fi
9519
9520 export_dynamic_flag_spec='${wl}-bexpall'
9521 # It seems that -bexpall does not export symbols beginning with
9522 # underscore (_), so it is better to generate a list of symbols to export.
9523 always_export_symbols=yes
9524 if test "$aix_use_runtimelinking" = yes; then
9525 # Warning - without using the other runtime loading flags (-brtl),
9526 # -berok will link without error, but may produce a broken library.
9527 allow_undefined_flag='-berok'
9528 # Determine the default libpath from the value encoded in an
9529 # empty executable.
9530 if test x$gcc_no_link = xyes; then
9531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9532 fi
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9535
9536 int
9537 main ()
9538 {
9539
9540 ;
9541 return 0;
9542 }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545
9546 lt_aix_libpath_sed='
9547 /Import File Strings/,/^$/ {
9548 /^0/ {
9549 s/^0 *\(.*\)$/\1/
9550 p
9551 }
9552 }'
9553 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554 # Check for a 64-bit object if we didn't find anything.
9555 if test -z "$aix_libpath"; then
9556 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 fi
9558 fi
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9562
9563 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9564 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"
9565 else
9566 if test "$host_cpu" = ia64; then
9567 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9568 allow_undefined_flag="-z nodefs"
9569 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"
9570 else
9571 # Determine the default libpath from the value encoded in an
9572 # empty executable.
9573 if test x$gcc_no_link = xyes; then
9574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9575 fi
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578
9579 int
9580 main ()
9581 {
9582
9583 ;
9584 return 0;
9585 }
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588
9589 lt_aix_libpath_sed='
9590 /Import File Strings/,/^$/ {
9591 /^0/ {
9592 s/^0 *\(.*\)$/\1/
9593 p
9594 }
9595 }'
9596 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 # Check for a 64-bit object if we didn't find anything.
9598 if test -z "$aix_libpath"; then
9599 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 fi
9601 fi
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605
9606 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607 # Warning - without using the other run time loading flags,
9608 # -berok will link without error, but may produce a broken library.
9609 no_undefined_flag=' ${wl}-bernotok'
9610 allow_undefined_flag=' ${wl}-berok'
9611 if test "$with_gnu_ld" = yes; then
9612 # We only use this code for GNU lds that support --whole-archive.
9613 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9614 else
9615 # Exported symbols can be pulled into shared objects from archives
9616 whole_archive_flag_spec='$convenience'
9617 fi
9618 archive_cmds_need_lc=yes
9619 # This is similar to how AIX traditionally builds its shared libraries.
9620 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'
9621 fi
9622 fi
9623 ;;
9624
9625 amigaos*)
9626 case $host_cpu in
9627 powerpc)
9628 # see comment about AmigaOS4 .so support
9629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 archive_expsym_cmds=''
9631 ;;
9632 m68k)
9633 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)'
9634 hardcode_libdir_flag_spec='-L$libdir'
9635 hardcode_minus_L=yes
9636 ;;
9637 esac
9638 ;;
9639
9640 bsdi[45]*)
9641 export_dynamic_flag_spec=-rdynamic
9642 ;;
9643
9644 cygwin* | mingw* | pw32* | cegcc*)
9645 # When not using gcc, we currently assume that we are using
9646 # Microsoft Visual C++.
9647 # hardcode_libdir_flag_spec is actually meaningless, as there is
9648 # no search path for DLLs.
9649 hardcode_libdir_flag_spec=' '
9650 allow_undefined_flag=unsupported
9651 # Tell ltmain to make .lib files, not .a files.
9652 libext=lib
9653 # Tell ltmain to make .dll files, not .so files.
9654 shrext_cmds=".dll"
9655 # FIXME: Setting linknames here is a bad hack.
9656 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9657 # The linker will automatically build a .lib file if we build a DLL.
9658 old_archive_from_new_cmds='true'
9659 # FIXME: Should let the user specify the lib program.
9660 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9661 fix_srcfile_path='`cygpath -w "$srcfile"`'
9662 enable_shared_with_static_runtimes=yes
9663 ;;
9664
9665 darwin* | rhapsody*)
9666
9667
9668 archive_cmds_need_lc=no
9669 hardcode_direct=no
9670 hardcode_automatic=yes
9671 hardcode_shlibpath_var=unsupported
9672 if test "$lt_cv_ld_force_load" = "yes"; then
9673 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\"`'
9674 else
9675 whole_archive_flag_spec=''
9676 fi
9677 link_all_deplibs=yes
9678 allow_undefined_flag="$_lt_dar_allow_undefined"
9679 case $cc_basename in
9680 ifort*) _lt_dar_can_shared=yes ;;
9681 *) _lt_dar_can_shared=$GCC ;;
9682 esac
9683 if test "$_lt_dar_can_shared" = "yes"; then
9684 output_verbose_link_cmd=func_echo_all
9685 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9686 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9687 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}"
9688 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}"
9689
9690 else
9691 ld_shlibs=no
9692 fi
9693
9694 ;;
9695
9696 dgux*)
9697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698 hardcode_libdir_flag_spec='-L$libdir'
9699 hardcode_shlibpath_var=no
9700 ;;
9701
9702 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9703 # support. Future versions do this automatically, but an explicit c++rt0.o
9704 # does not break anything, and helps significantly (at the cost of a little
9705 # extra space).
9706 freebsd2.2*)
9707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9708 hardcode_libdir_flag_spec='-R$libdir'
9709 hardcode_direct=yes
9710 hardcode_shlibpath_var=no
9711 ;;
9712
9713 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9714 freebsd2.*)
9715 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_direct=yes
9717 hardcode_minus_L=yes
9718 hardcode_shlibpath_var=no
9719 ;;
9720
9721 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9722 freebsd* | dragonfly*)
9723 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 hpux9*)
9730 if test "$GCC" = yes; then
9731 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'
9732 else
9733 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'
9734 fi
9735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736 hardcode_libdir_separator=:
9737 hardcode_direct=yes
9738
9739 # hardcode_minus_L: Not really in the search PATH,
9740 # but as the default location of the library.
9741 hardcode_minus_L=yes
9742 export_dynamic_flag_spec='${wl}-E'
9743 ;;
9744
9745 hpux10*)
9746 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9748 else
9749 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9750 fi
9751 if test "$with_gnu_ld" = no; then
9752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9753 hardcode_libdir_flag_spec_ld='+b $libdir'
9754 hardcode_libdir_separator=:
9755 hardcode_direct=yes
9756 hardcode_direct_absolute=yes
9757 export_dynamic_flag_spec='${wl}-E'
9758 # hardcode_minus_L: Not really in the search PATH,
9759 # but as the default location of the library.
9760 hardcode_minus_L=yes
9761 fi
9762 ;;
9763
9764 hpux11*)
9765 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 ;;
9770 ia64*)
9771 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 *)
9774 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775 ;;
9776 esac
9777 else
9778 case $host_cpu in
9779 hppa*64*)
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9781 ;;
9782 ia64*)
9783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784 ;;
9785 *)
9786
9787 # Older versions of the 11.00 compiler do not understand -b yet
9788 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9790 $as_echo_n "checking if $CC understands -b... " >&6; }
9791 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 lt_cv_prog_compiler__b=no
9795 save_LDFLAGS="$LDFLAGS"
9796 LDFLAGS="$LDFLAGS -b"
9797 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9798 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9799 # The linker can only warn and ignore the option if not recognized
9800 # So say no if there are warnings
9801 if test -s conftest.err; then
9802 # Append any errors to the config.log.
9803 cat conftest.err 1>&5
9804 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9806 if diff conftest.exp conftest.er2 >/dev/null; then
9807 lt_cv_prog_compiler__b=yes
9808 fi
9809 else
9810 lt_cv_prog_compiler__b=yes
9811 fi
9812 fi
9813 $RM -r conftest*
9814 LDFLAGS="$save_LDFLAGS"
9815
9816 fi
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9819
9820 if test x"$lt_cv_prog_compiler__b" = xyes; then
9821 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9822 else
9823 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9824 fi
9825
9826 ;;
9827 esac
9828 fi
9829 if test "$with_gnu_ld" = no; then
9830 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_separator=:
9832
9833 case $host_cpu in
9834 hppa*64*|ia64*)
9835 hardcode_direct=no
9836 hardcode_shlibpath_var=no
9837 ;;
9838 *)
9839 hardcode_direct=yes
9840 hardcode_direct_absolute=yes
9841 export_dynamic_flag_spec='${wl}-E'
9842
9843 # hardcode_minus_L: Not really in the search PATH,
9844 # but as the default location of the library.
9845 hardcode_minus_L=yes
9846 ;;
9847 esac
9848 fi
9849 ;;
9850
9851 irix5* | irix6* | nonstopux*)
9852 if test "$GCC" = yes; then
9853 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'
9854 # Try to use the -exported_symbol ld option, if it does not
9855 # work, assume that -exports_file does not work either and
9856 # implicitly export all symbols.
9857 save_LDFLAGS="$LDFLAGS"
9858 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 if test x$gcc_no_link = xyes; then
9860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9861 fi
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int foo(void) {}
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 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'
9868
9869 fi
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LDFLAGS="$save_LDFLAGS"
9873 else
9874 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'
9875 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'
9876 fi
9877 archive_cmds_need_lc='no'
9878 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879 hardcode_libdir_separator=:
9880 inherit_rpath=yes
9881 link_all_deplibs=yes
9882 ;;
9883
9884 netbsd*)
9885 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9887 else
9888 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9889 fi
9890 hardcode_libdir_flag_spec='-R$libdir'
9891 hardcode_direct=yes
9892 hardcode_shlibpath_var=no
9893 ;;
9894
9895 newsos6)
9896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_direct=yes
9898 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899 hardcode_libdir_separator=:
9900 hardcode_shlibpath_var=no
9901 ;;
9902
9903 *nto* | *qnx*)
9904 ;;
9905
9906 openbsd*)
9907 if test -f /usr/libexec/ld.so; then
9908 hardcode_direct=yes
9909 hardcode_shlibpath_var=no
9910 hardcode_direct_absolute=yes
9911 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915 export_dynamic_flag_spec='${wl}-E'
9916 else
9917 case $host_os in
9918 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_libdir_flag_spec='-R$libdir'
9921 ;;
9922 *)
9923 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925 ;;
9926 esac
9927 fi
9928 else
9929 ld_shlibs=no
9930 fi
9931 ;;
9932
9933 os2*)
9934 hardcode_libdir_flag_spec='-L$libdir'
9935 hardcode_minus_L=yes
9936 allow_undefined_flag=unsupported
9937 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'
9938 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9939 ;;
9940
9941 osf3*)
9942 if test "$GCC" = yes; then
9943 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9944 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'
9945 else
9946 allow_undefined_flag=' -expect_unresolved \*'
9947 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'
9948 fi
9949 archive_cmds_need_lc='no'
9950 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 hardcode_libdir_separator=:
9952 ;;
9953
9954 osf4* | osf5*) # as osf3* with the addition of -msym flag
9955 if test "$GCC" = yes; then
9956 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9957 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'
9958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959 else
9960 allow_undefined_flag=' -expect_unresolved \*'
9961 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'
9962 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~
9963 $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'
9964
9965 # Both c and cxx compiler support -rpath directly
9966 hardcode_libdir_flag_spec='-rpath $libdir'
9967 fi
9968 archive_cmds_need_lc='no'
9969 hardcode_libdir_separator=:
9970 ;;
9971
9972 solaris*)
9973 no_undefined_flag=' -z defs'
9974 if test "$GCC" = yes; then
9975 wlarc='${wl}'
9976 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9978 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9979 else
9980 case `$CC -V 2>&1` in
9981 *"Compilers 5.0"*)
9982 wlarc=''
9983 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9986 ;;
9987 *)
9988 wlarc='${wl}'
9989 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9992 ;;
9993 esac
9994 fi
9995 hardcode_libdir_flag_spec='-R$libdir'
9996 hardcode_shlibpath_var=no
9997 case $host_os in
9998 solaris2.[0-5] | solaris2.[0-5].*) ;;
9999 *)
10000 # The compiler driver will combine and reorder linker options,
10001 # but understands `-z linker_flag'. GCC discards it without `$wl',
10002 # but is careful enough not to reorder.
10003 # Supported since Solaris 2.6 (maybe 2.5.1?)
10004 if test "$GCC" = yes; then
10005 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10006 else
10007 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10008 fi
10009 ;;
10010 esac
10011 link_all_deplibs=yes
10012 ;;
10013
10014 sunos4*)
10015 if test "x$host_vendor" = xsequent; then
10016 # Use $CC to link under sequent, because it throws in some extra .o
10017 # files that make .init and .fini sections work.
10018 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 else
10020 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10021 fi
10022 hardcode_libdir_flag_spec='-L$libdir'
10023 hardcode_direct=yes
10024 hardcode_minus_L=yes
10025 hardcode_shlibpath_var=no
10026 ;;
10027
10028 sysv4)
10029 case $host_vendor in
10030 sni)
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=yes # is this really true???
10033 ;;
10034 siemens)
10035 ## LD is ld it makes a PLAMLIB
10036 ## CC just makes a GrossModule.
10037 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10038 reload_cmds='$CC -r -o $output$reload_objs'
10039 hardcode_direct=no
10040 ;;
10041 motorola)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10044 ;;
10045 esac
10046 runpath_var='LD_RUN_PATH'
10047 hardcode_shlibpath_var=no
10048 ;;
10049
10050 sysv4.3*)
10051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 hardcode_shlibpath_var=no
10053 export_dynamic_flag_spec='-Bexport'
10054 ;;
10055
10056 sysv4*MP*)
10057 if test -d /usr/nec; then
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var=no
10060 runpath_var=LD_RUN_PATH
10061 hardcode_runpath_var=yes
10062 ld_shlibs=yes
10063 fi
10064 ;;
10065
10066 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10067 no_undefined_flag='${wl}-z,text'
10068 archive_cmds_need_lc=no
10069 hardcode_shlibpath_var=no
10070 runpath_var='LD_RUN_PATH'
10071
10072 if test "$GCC" = yes; then
10073 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 else
10076 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 fi
10079 ;;
10080
10081 sysv5* | sco3.2v5* | sco5v6*)
10082 # Note: We can NOT use -z defs as we might desire, because we do not
10083 # link with -lc, and that would cause any symbols used from libc to
10084 # always be unresolved, which means just about no library would
10085 # ever link correctly. If we're not using GNU ld we use -z text
10086 # though, which does catch some bad symbols but isn't as heavy-handed
10087 # as -z defs.
10088 no_undefined_flag='${wl}-z,text'
10089 allow_undefined_flag='${wl}-z,nodefs'
10090 archive_cmds_need_lc=no
10091 hardcode_shlibpath_var=no
10092 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10093 hardcode_libdir_separator=':'
10094 link_all_deplibs=yes
10095 export_dynamic_flag_spec='${wl}-Bexport'
10096 runpath_var='LD_RUN_PATH'
10097
10098 if test "$GCC" = yes; then
10099 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 else
10102 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 fi
10105 ;;
10106
10107 uts4*)
10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec='-L$libdir'
10110 hardcode_shlibpath_var=no
10111 ;;
10112
10113 *)
10114 ld_shlibs=no
10115 ;;
10116 esac
10117
10118 if test x$host_vendor = xsni; then
10119 case $host in
10120 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10121 export_dynamic_flag_spec='${wl}-Blargedynsym'
10122 ;;
10123 esac
10124 fi
10125 fi
10126
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10128 $as_echo "$ld_shlibs" >&6; }
10129 test "$ld_shlibs" = no && can_build_shared=no
10130
10131 with_gnu_ld=$with_gnu_ld
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147 #
10148 # Do we need to explicitly link libc?
10149 #
10150 case "x$archive_cmds_need_lc" in
10151 x|xyes)
10152 # Assume -lc should be added
10153 archive_cmds_need_lc=yes
10154
10155 if test "$enable_shared" = yes && test "$GCC" = yes; then
10156 case $archive_cmds in
10157 *'~'*)
10158 # FIXME: we may have to deal with multi-command sequences.
10159 ;;
10160 '$CC '*)
10161 # Test whether the compiler implicitly links with -lc since on some
10162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10163 # to ld, don't add -lc before -lgcc.
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10166 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 $RM conftest*
10170 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10171
10172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10173 (eval $ac_compile) 2>&5
10174 ac_status=$?
10175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10176 test $ac_status = 0; } 2>conftest.err; then
10177 soname=conftest
10178 lib=conftest
10179 libobjs=conftest.$ac_objext
10180 deplibs=
10181 wl=$lt_prog_compiler_wl
10182 pic_flag=$lt_prog_compiler_pic
10183 compiler_flags=-v
10184 linker_flags=-v
10185 verstring=
10186 output_objdir=.
10187 libname=conftest
10188 lt_save_allow_undefined_flag=$allow_undefined_flag
10189 allow_undefined_flag=
10190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10191 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10192 ac_status=$?
10193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194 test $ac_status = 0; }
10195 then
10196 lt_cv_archive_cmds_need_lc=no
10197 else
10198 lt_cv_archive_cmds_need_lc=yes
10199 fi
10200 allow_undefined_flag=$lt_save_allow_undefined_flag
10201 else
10202 cat conftest.err 1>&5
10203 fi
10204 $RM conftest*
10205
10206 fi
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10208 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10209 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10210 ;;
10211 esac
10212 fi
10213 ;;
10214 esac
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10373 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10374
10375 if test "$GCC" = yes; then
10376 case $host_os in
10377 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10378 *) lt_awk_arg="/^libraries:/" ;;
10379 esac
10380 case $host_os in
10381 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10382 *) lt_sed_strip_eq="s,=/,/,g" ;;
10383 esac
10384 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10385 case $lt_search_path_spec in
10386 *\;*)
10387 # if the path contains ";" then we assume it to be the separator
10388 # otherwise default to the standard path separator (i.e. ":") - it is
10389 # assumed that no part of a normal pathname contains ";" but that should
10390 # okay in the real world where ";" in dirpaths is itself problematic.
10391 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10392 ;;
10393 *)
10394 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10395 ;;
10396 esac
10397 # Ok, now we have the path, separated by spaces, we can step through it
10398 # and add multilib dir if necessary.
10399 lt_tmp_lt_search_path_spec=
10400 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10401 for lt_sys_path in $lt_search_path_spec; do
10402 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10403 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404 else
10405 test -d "$lt_sys_path" && \
10406 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10407 fi
10408 done
10409 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10410 BEGIN {RS=" "; FS="/|\n";} {
10411 lt_foo="";
10412 lt_count=0;
10413 for (lt_i = NF; lt_i > 0; lt_i--) {
10414 if ($lt_i != "" && $lt_i != ".") {
10415 if ($lt_i == "..") {
10416 lt_count++;
10417 } else {
10418 if (lt_count == 0) {
10419 lt_foo="/" $lt_i lt_foo;
10420 } else {
10421 lt_count--;
10422 }
10423 }
10424 }
10425 }
10426 if (lt_foo != "") { lt_freq[lt_foo]++; }
10427 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10428 }'`
10429 # AWK program above erroneously prepends '/' to C:/dos/paths
10430 # for these hosts.
10431 case $host_os in
10432 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10433 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434 esac
10435 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436 else
10437 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10438 fi
10439 library_names_spec=
10440 libname_spec='lib$name'
10441 soname_spec=
10442 shrext_cmds=".so"
10443 postinstall_cmds=
10444 postuninstall_cmds=
10445 finish_cmds=
10446 finish_eval=
10447 shlibpath_var=
10448 shlibpath_overrides_runpath=unknown
10449 version_type=none
10450 dynamic_linker="$host_os ld.so"
10451 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10452 need_lib_prefix=unknown
10453 hardcode_into_libs=no
10454
10455 # when you set need_version to no, make sure it does not cause -set_version
10456 # flags to be left without arguments
10457 need_version=unknown
10458
10459 case $host_os in
10460 aix3*)
10461 version_type=linux
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10463 shlibpath_var=LIBPATH
10464
10465 # AIX 3 has no versioning support, so we append a major version to the name.
10466 soname_spec='${libname}${release}${shared_ext}$major'
10467 ;;
10468
10469 aix[4-9]*)
10470 version_type=linux
10471 need_lib_prefix=no
10472 need_version=no
10473 hardcode_into_libs=yes
10474 if test "$host_cpu" = ia64; then
10475 # AIX 5 supports IA64
10476 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10477 shlibpath_var=LD_LIBRARY_PATH
10478 else
10479 # With GCC up to 2.95.x, collect2 would create an import file
10480 # for dependence libraries. The import file would start with
10481 # the line `#! .'. This would cause the generated library to
10482 # depend on `.', always an invalid library. This was fixed in
10483 # development snapshots of GCC prior to 3.0.
10484 case $host_os in
10485 aix4 | aix4.[01] | aix4.[01].*)
10486 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487 echo ' yes '
10488 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10489 :
10490 else
10491 can_build_shared=no
10492 fi
10493 ;;
10494 esac
10495 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10496 # soname into executable. Probably we can add versioning support to
10497 # collect2, so additional links can be useful in future.
10498 if test "$aix_use_runtimelinking" = yes; then
10499 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10500 # instead of lib<name>.a to let people know that these are not
10501 # typical AIX shared libraries.
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 else
10504 # We preserve .a as extension for shared libraries through AIX4.2
10505 # and later when we are not doing run time linking.
10506 library_names_spec='${libname}${release}.a $libname.a'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 fi
10509 shlibpath_var=LIBPATH
10510 fi
10511 ;;
10512
10513 amigaos*)
10514 case $host_cpu in
10515 powerpc)
10516 # Since July 2007 AmigaOS4 officially supports .so libraries.
10517 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 ;;
10520 m68k)
10521 library_names_spec='$libname.ixlibrary $libname.a'
10522 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10523 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'
10524 ;;
10525 esac
10526 ;;
10527
10528 beos*)
10529 library_names_spec='${libname}${shared_ext}'
10530 dynamic_linker="$host_os ld.so"
10531 shlibpath_var=LIBRARY_PATH
10532 ;;
10533
10534 bsdi[45]*)
10535 version_type=linux
10536 need_version=no
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10540 shlibpath_var=LD_LIBRARY_PATH
10541 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10542 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10543 # the default ld.so.conf also contains /usr/contrib/lib and
10544 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10545 # libtool to hard-code these into programs
10546 ;;
10547
10548 cygwin* | mingw* | pw32* | cegcc*)
10549 version_type=windows
10550 shrext_cmds=".dll"
10551 need_version=no
10552 need_lib_prefix=no
10553
10554 case $GCC,$host_os in
10555 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10556 library_names_spec='$libname.dll.a'
10557 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558 postinstall_cmds='base_file=`basename \${file}`~
10559 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560 dldir=$destdir/`dirname \$dlpath`~
10561 test -d \$dldir || mkdir -p \$dldir~
10562 $install_prog $dir/$dlname \$dldir/$dlname~
10563 chmod a+x \$dldir/$dlname~
10564 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10566 fi'
10567 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568 dlpath=$dir/\$dldll~
10569 $RM \$dlpath'
10570 shlibpath_overrides_runpath=yes
10571
10572 case $host_os in
10573 cygwin*)
10574 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10578 ;;
10579 mingw* | cegcc*)
10580 # MinGW DLLs use traditional 'lib' prefix
10581 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582 ;;
10583 pw32*)
10584 # pw32 DLLs use 'pw' prefix rather than 'lib'
10585 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586 ;;
10587 esac
10588 ;;
10589
10590 *)
10591 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10592 ;;
10593 esac
10594 dynamic_linker='Win32 ld.exe'
10595 # FIXME: first we should search . and the directory the executable is in
10596 shlibpath_var=PATH
10597 ;;
10598
10599 darwin* | rhapsody*)
10600 dynamic_linker="$host_os dyld"
10601 version_type=darwin
10602 need_lib_prefix=no
10603 need_version=no
10604 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10605 soname_spec='${libname}${release}${major}$shared_ext'
10606 shlibpath_overrides_runpath=yes
10607 shlibpath_var=DYLD_LIBRARY_PATH
10608 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10609
10610 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10611 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10612 ;;
10613
10614 dgux*)
10615 version_type=linux
10616 need_lib_prefix=no
10617 need_version=no
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LD_LIBRARY_PATH
10621 ;;
10622
10623 freebsd* | dragonfly*)
10624 # DragonFly does not have aout. When/if they implement a new
10625 # versioning mechanism, adjust this.
10626 if test -x /usr/bin/objformat; then
10627 objformat=`/usr/bin/objformat`
10628 else
10629 case $host_os in
10630 freebsd[23].*) objformat=aout ;;
10631 *) objformat=elf ;;
10632 esac
10633 fi
10634 version_type=freebsd-$objformat
10635 case $version_type in
10636 freebsd-elf*)
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10638 need_version=no
10639 need_lib_prefix=no
10640 ;;
10641 freebsd-*)
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10643 need_version=yes
10644 ;;
10645 esac
10646 shlibpath_var=LD_LIBRARY_PATH
10647 case $host_os in
10648 freebsd2.*)
10649 shlibpath_overrides_runpath=yes
10650 ;;
10651 freebsd3.[01]* | freebsdelf3.[01]*)
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10654 ;;
10655 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10656 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10657 shlibpath_overrides_runpath=no
10658 hardcode_into_libs=yes
10659 ;;
10660 *) # from 4.6 on, and DragonFly
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10663 ;;
10664 esac
10665 ;;
10666
10667 gnu*)
10668 version_type=linux
10669 need_lib_prefix=no
10670 need_version=no
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 hardcode_into_libs=yes
10675 ;;
10676
10677 haiku*)
10678 version_type=linux
10679 need_lib_prefix=no
10680 need_version=no
10681 dynamic_linker="$host_os runtime_loader"
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 shlibpath_var=LIBRARY_PATH
10685 shlibpath_overrides_runpath=yes
10686 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10687 hardcode_into_libs=yes
10688 ;;
10689
10690 hpux9* | hpux10* | hpux11*)
10691 # Give a soname corresponding to the major version so that dld.sl refuses to
10692 # link against other versions.
10693 version_type=sunos
10694 need_lib_prefix=no
10695 need_version=no
10696 case $host_cpu in
10697 ia64*)
10698 shrext_cmds='.so'
10699 hardcode_into_libs=yes
10700 dynamic_linker="$host_os dld.so"
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 if test "X$HPUX_IA64_MODE" = X32; then
10706 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10707 else
10708 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10709 fi
10710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10711 ;;
10712 hppa*64*)
10713 shrext_cmds='.sl'
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.sl"
10716 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10721 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10722 ;;
10723 *)
10724 shrext_cmds='.sl'
10725 dynamic_linker="$host_os dld.sl"
10726 shlibpath_var=SHLIB_PATH
10727 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 ;;
10731 esac
10732 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10733 postinstall_cmds='chmod 555 $lib'
10734 # or fails outright, so override atomically:
10735 install_override_mode=555
10736 ;;
10737
10738 interix[3-9]*)
10739 version_type=linux
10740 need_lib_prefix=no
10741 need_version=no
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10747 hardcode_into_libs=yes
10748 ;;
10749
10750 irix5* | irix6* | nonstopux*)
10751 case $host_os in
10752 nonstopux*) version_type=nonstopux ;;
10753 *)
10754 if test "$lt_cv_prog_gnu_ld" = yes; then
10755 version_type=linux
10756 else
10757 version_type=irix
10758 fi ;;
10759 esac
10760 need_lib_prefix=no
10761 need_version=no
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10764 case $host_os in
10765 irix5* | nonstopux*)
10766 libsuff= shlibsuff=
10767 ;;
10768 *)
10769 case $LD in # libtool.m4 will add one of these switches to LD
10770 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10771 libsuff= shlibsuff= libmagic=32-bit;;
10772 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10773 libsuff=32 shlibsuff=N32 libmagic=N32;;
10774 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10775 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10776 *) libsuff= shlibsuff= libmagic=never-match;;
10777 esac
10778 ;;
10779 esac
10780 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10781 shlibpath_overrides_runpath=no
10782 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10783 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 # No shared lib support for Linux oldld, aout, or coff.
10788 linux*oldld* | linux*aout* | linux*coff*)
10789 dynamic_linker=no
10790 ;;
10791
10792 # This must be Linux ELF.
10793 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10794 version_type=linux
10795 need_lib_prefix=no
10796 need_version=no
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=no
10802
10803 # Some binutils ld are patched to set DT_RUNPATH
10804 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 lt_cv_shlibpath_overrides_runpath=no
10808 save_LDFLAGS=$LDFLAGS
10809 save_libdir=$libdir
10810 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10811 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10812 if test x$gcc_no_link = xyes; then
10813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10814 fi
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817
10818 int
10819 main ()
10820 {
10821
10822 ;
10823 return 0;
10824 }
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10828 lt_cv_shlibpath_overrides_runpath=yes
10829 fi
10830 fi
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LDFLAGS=$save_LDFLAGS
10834 libdir=$save_libdir
10835
10836 fi
10837
10838 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10839
10840 # This implies no fast_install, which is unacceptable.
10841 # Some rework will be needed to allow for fast_install
10842 # before this can be enabled.
10843 hardcode_into_libs=yes
10844
10845 # Append ld.so.conf contents to the search path
10846 if test -f /etc/ld.so.conf; then
10847 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' ' '`
10848 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10849 fi
10850
10851 # We used to test for /lib/ld.so.1 and disable shared libraries on
10852 # powerpc, because MkLinux only supported shared libraries with the
10853 # GNU dynamic linker. Since this was broken with cross compilers,
10854 # most powerpc-linux boxes support dynamic linking these days and
10855 # people can always --disable-shared, the test was removed, and we
10856 # assume the GNU/Linux dynamic linker is in use.
10857 dynamic_linker='GNU/Linux ld.so'
10858 ;;
10859
10860 netbsd*)
10861 version_type=sunos
10862 need_lib_prefix=no
10863 need_version=no
10864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10867 dynamic_linker='NetBSD (a.out) ld.so'
10868 else
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 dynamic_linker='NetBSD ld.elf_so'
10872 fi
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10875 hardcode_into_libs=yes
10876 ;;
10877
10878 newsos6)
10879 version_type=linux
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes
10883 ;;
10884
10885 *nto* | *qnx*)
10886 version_type=qnx
10887 need_lib_prefix=no
10888 need_version=no
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath=no
10893 hardcode_into_libs=yes
10894 dynamic_linker='ldqnx.so'
10895 ;;
10896
10897 openbsd*)
10898 version_type=sunos
10899 sys_lib_dlsearch_path_spec="/usr/lib"
10900 need_lib_prefix=no
10901 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10902 case $host_os in
10903 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10904 *) need_version=no ;;
10905 esac
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10910 case $host_os in
10911 openbsd2.[89] | openbsd2.[89].*)
10912 shlibpath_overrides_runpath=no
10913 ;;
10914 *)
10915 shlibpath_overrides_runpath=yes
10916 ;;
10917 esac
10918 else
10919 shlibpath_overrides_runpath=yes
10920 fi
10921 ;;
10922
10923 os2*)
10924 libname_spec='$name'
10925 shrext_cmds=".dll"
10926 need_lib_prefix=no
10927 library_names_spec='$libname${shared_ext} $libname.a'
10928 dynamic_linker='OS/2 ld.exe'
10929 shlibpath_var=LIBPATH
10930 ;;
10931
10932 osf3* | osf4* | osf5*)
10933 version_type=osf
10934 need_lib_prefix=no
10935 need_version=no
10936 soname_spec='${libname}${release}${shared_ext}$major'
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10940 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10941 ;;
10942
10943 rdos*)
10944 dynamic_linker=no
10945 ;;
10946
10947 solaris*)
10948 version_type=linux
10949 need_lib_prefix=no
10950 need_version=no
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=yes
10955 hardcode_into_libs=yes
10956 # ldd complains unless libraries are executable
10957 postinstall_cmds='chmod +x $lib'
10958 ;;
10959
10960 sunos4*)
10961 version_type=sunos
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath=yes
10966 if test "$with_gnu_ld" = yes; then
10967 need_lib_prefix=no
10968 fi
10969 need_version=yes
10970 ;;
10971
10972 sysv4 | sysv4.3*)
10973 version_type=linux
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 case $host_vendor in
10978 sni)
10979 shlibpath_overrides_runpath=no
10980 need_lib_prefix=no
10981 runpath_var=LD_RUN_PATH
10982 ;;
10983 siemens)
10984 need_lib_prefix=no
10985 ;;
10986 motorola)
10987 need_lib_prefix=no
10988 need_version=no
10989 shlibpath_overrides_runpath=no
10990 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10991 ;;
10992 esac
10993 ;;
10994
10995 sysv4*MP*)
10996 if test -d /usr/nec ;then
10997 version_type=linux
10998 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10999 soname_spec='$libname${shared_ext}.$major'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 fi
11002 ;;
11003
11004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11005 version_type=freebsd-elf
11006 need_lib_prefix=no
11007 need_version=no
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 hardcode_into_libs=yes
11013 if test "$with_gnu_ld" = yes; then
11014 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11015 else
11016 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11017 case $host_os in
11018 sco3.2v5*)
11019 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11020 ;;
11021 esac
11022 fi
11023 sys_lib_dlsearch_path_spec='/usr/lib'
11024 ;;
11025
11026 tpf*)
11027 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11028 version_type=linux
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=no
11034 hardcode_into_libs=yes
11035 ;;
11036
11037 uts4*)
11038 version_type=linux
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 shlibpath_var=LD_LIBRARY_PATH
11042 ;;
11043
11044 *)
11045 dynamic_linker=no
11046 ;;
11047 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11049 $as_echo "$dynamic_linker" >&6; }
11050 test "$dynamic_linker" = no && can_build_shared=no
11051
11052 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11053 if test "$GCC" = yes; then
11054 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11055 fi
11056
11057 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11058 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11059 fi
11060 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11061 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11062 fi
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11157 hardcode_action=
11158 if test -n "$hardcode_libdir_flag_spec" ||
11159 test -n "$runpath_var" ||
11160 test "X$hardcode_automatic" = "Xyes" ; then
11161
11162 # We can hardcode non-existent directories.
11163 if test "$hardcode_direct" != no &&
11164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11165 # have to relink, otherwise we might link with an installed library
11166 # when we should be linking with a yet-to-be-installed one
11167 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11168 test "$hardcode_minus_L" != no; then
11169 # Linking always hardcodes the temporary library directory.
11170 hardcode_action=relink
11171 else
11172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11173 hardcode_action=immediate
11174 fi
11175 else
11176 # We cannot hardcode anything, or else we can only hardcode existing
11177 # directories.
11178 hardcode_action=unsupported
11179 fi
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11181 $as_echo "$hardcode_action" >&6; }
11182
11183 if test "$hardcode_action" = relink ||
11184 test "$inherit_rpath" = yes; then
11185 # Fast installation is not supported
11186 enable_fast_install=no
11187 elif test "$shlibpath_overrides_runpath" = yes ||
11188 test "$enable_shared" = no; then
11189 # Fast installation is not necessary
11190 enable_fast_install=needless
11191 fi
11192
11193
11194
11195
11196
11197
11198 if test "x$enable_dlopen" != xyes; then
11199 enable_dlopen=unknown
11200 enable_dlopen_self=unknown
11201 enable_dlopen_self_static=unknown
11202 else
11203 lt_cv_dlopen=no
11204 lt_cv_dlopen_libs=
11205
11206 case $host_os in
11207 beos*)
11208 lt_cv_dlopen="load_add_on"
11209 lt_cv_dlopen_libs=
11210 lt_cv_dlopen_self=yes
11211 ;;
11212
11213 mingw* | pw32* | cegcc*)
11214 lt_cv_dlopen="LoadLibrary"
11215 lt_cv_dlopen_libs=
11216 ;;
11217
11218 cygwin*)
11219 lt_cv_dlopen="dlopen"
11220 lt_cv_dlopen_libs=
11221 ;;
11222
11223 darwin*)
11224 # if libdl is installed we need to link against it
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldl $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11234 fi
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char dlopen ();
11245 int
11246 main ()
11247 {
11248 return dlopen ();
11249 ;
11250 return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_dl_dlopen=yes
11255 else
11256 ac_cv_lib_dl_dlopen=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11265 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11266 else
11267
11268 lt_cv_dlopen="dyld"
11269 lt_cv_dlopen_libs=
11270 lt_cv_dlopen_self=yes
11271
11272 fi
11273
11274 ;;
11275
11276 *)
11277 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11278 if test "x$ac_cv_func_shl_load" = x""yes; then :
11279 lt_cv_dlopen="shl_load"
11280 else
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11282 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11283 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-ldld $LIBS"
11288 if test x$gcc_no_link = xyes; then
11289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11290 fi
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char shl_load ();
11301 int
11302 main ()
11303 {
11304 return shl_load ();
11305 ;
11306 return 0;
11307 }
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_dld_shl_load=yes
11311 else
11312 ac_cv_lib_dld_shl_load=no
11313 fi
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11317 fi
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11320 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11322 else
11323 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11324 if test "x$ac_cv_func_dlopen" = x""yes; then :
11325 lt_cv_dlopen="dlopen"
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-ldl $LIBS"
11334 if test x$gcc_no_link = xyes; then
11335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 fi
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char dlopen ();
11347 int
11348 main ()
11349 {
11350 return dlopen ();
11351 ;
11352 return 0;
11353 }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_dl_dlopen=yes
11357 else
11358 ac_cv_lib_dl_dlopen=no
11359 fi
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11363 fi
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11366 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11370 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11371 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lsvld $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 fi
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11389 int
11390 main ()
11391 {
11392 return dlopen ();
11393 ;
11394 return 0;
11395 }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_svld_dlopen=yes
11399 else
11400 ac_cv_lib_svld_dlopen=no
11401 fi
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11405 fi
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11407 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11408 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11412 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11413 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-ldld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11420 fi
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dld_link ();
11431 int
11432 main ()
11433 {
11434 return dld_link ();
11435 ;
11436 return 0;
11437 }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_dld_dld_link=yes
11441 else
11442 ac_cv_lib_dld_dld_link=no
11443 fi
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11449 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11450 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11451 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460
11461 fi
11462
11463
11464 fi
11465
11466
11467 fi
11468
11469 ;;
11470 esac
11471
11472 if test "x$lt_cv_dlopen" != xno; then
11473 enable_dlopen=yes
11474 else
11475 enable_dlopen=no
11476 fi
11477
11478 case $lt_cv_dlopen in
11479 dlopen)
11480 save_CPPFLAGS="$CPPFLAGS"
11481 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11482
11483 save_LDFLAGS="$LDFLAGS"
11484 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11485
11486 save_LIBS="$LIBS"
11487 LIBS="$lt_cv_dlopen_libs $LIBS"
11488
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11490 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11491 if test "${lt_cv_dlopen_self+set}" = set; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 if test "$cross_compiling" = yes; then :
11495 lt_cv_dlopen_self=cross
11496 else
11497 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11498 lt_status=$lt_dlunknown
11499 cat > conftest.$ac_ext <<_LT_EOF
11500 #line 11500 "configure"
11501 #include "confdefs.h"
11502
11503 #if HAVE_DLFCN_H
11504 #include <dlfcn.h>
11505 #endif
11506
11507 #include <stdio.h>
11508
11509 #ifdef RTLD_GLOBAL
11510 # define LT_DLGLOBAL RTLD_GLOBAL
11511 #else
11512 # ifdef DL_GLOBAL
11513 # define LT_DLGLOBAL DL_GLOBAL
11514 # else
11515 # define LT_DLGLOBAL 0
11516 # endif
11517 #endif
11518
11519 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11520 find out it does not work in some platform. */
11521 #ifndef LT_DLLAZY_OR_NOW
11522 # ifdef RTLD_LAZY
11523 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11524 # else
11525 # ifdef DL_LAZY
11526 # define LT_DLLAZY_OR_NOW DL_LAZY
11527 # else
11528 # ifdef RTLD_NOW
11529 # define LT_DLLAZY_OR_NOW RTLD_NOW
11530 # else
11531 # ifdef DL_NOW
11532 # define LT_DLLAZY_OR_NOW DL_NOW
11533 # else
11534 # define LT_DLLAZY_OR_NOW 0
11535 # endif
11536 # endif
11537 # endif
11538 # endif
11539 #endif
11540
11541 /* When -fvisbility=hidden is used, assume the code has been annotated
11542 correspondingly for the symbols needed. */
11543 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11544 void fnord () __attribute__((visibility("default")));
11545 #endif
11546
11547 void fnord () { int i=42; }
11548 int main ()
11549 {
11550 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11551 int status = $lt_dlunknown;
11552
11553 if (self)
11554 {
11555 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11556 else
11557 {
11558 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11559 else puts (dlerror ());
11560 }
11561 /* dlclose (self); */
11562 }
11563 else
11564 puts (dlerror ());
11565
11566 return status;
11567 }
11568 _LT_EOF
11569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11570 (eval $ac_link) 2>&5
11571 ac_status=$?
11572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11573 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11574 (./conftest; exit; ) >&5 2>/dev/null
11575 lt_status=$?
11576 case x$lt_status in
11577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11579 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11580 esac
11581 else :
11582 # compilation failed
11583 lt_cv_dlopen_self=no
11584 fi
11585 fi
11586 rm -fr conftest*
11587
11588
11589 fi
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11591 $as_echo "$lt_cv_dlopen_self" >&6; }
11592
11593 if test "x$lt_cv_dlopen_self" = xyes; then
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11596 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11597 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11598 $as_echo_n "(cached) " >&6
11599 else
11600 if test "$cross_compiling" = yes; then :
11601 lt_cv_dlopen_self_static=cross
11602 else
11603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11604 lt_status=$lt_dlunknown
11605 cat > conftest.$ac_ext <<_LT_EOF
11606 #line 11606 "configure"
11607 #include "confdefs.h"
11608
11609 #if HAVE_DLFCN_H
11610 #include <dlfcn.h>
11611 #endif
11612
11613 #include <stdio.h>
11614
11615 #ifdef RTLD_GLOBAL
11616 # define LT_DLGLOBAL RTLD_GLOBAL
11617 #else
11618 # ifdef DL_GLOBAL
11619 # define LT_DLGLOBAL DL_GLOBAL
11620 # else
11621 # define LT_DLGLOBAL 0
11622 # endif
11623 #endif
11624
11625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11626 find out it does not work in some platform. */
11627 #ifndef LT_DLLAZY_OR_NOW
11628 # ifdef RTLD_LAZY
11629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11630 # else
11631 # ifdef DL_LAZY
11632 # define LT_DLLAZY_OR_NOW DL_LAZY
11633 # else
11634 # ifdef RTLD_NOW
11635 # define LT_DLLAZY_OR_NOW RTLD_NOW
11636 # else
11637 # ifdef DL_NOW
11638 # define LT_DLLAZY_OR_NOW DL_NOW
11639 # else
11640 # define LT_DLLAZY_OR_NOW 0
11641 # endif
11642 # endif
11643 # endif
11644 # endif
11645 #endif
11646
11647 /* When -fvisbility=hidden is used, assume the code has been annotated
11648 correspondingly for the symbols needed. */
11649 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11650 void fnord () __attribute__((visibility("default")));
11651 #endif
11652
11653 void fnord () { int i=42; }
11654 int main ()
11655 {
11656 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11657 int status = $lt_dlunknown;
11658
11659 if (self)
11660 {
11661 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11662 else
11663 {
11664 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11665 else puts (dlerror ());
11666 }
11667 /* dlclose (self); */
11668 }
11669 else
11670 puts (dlerror ());
11671
11672 return status;
11673 }
11674 _LT_EOF
11675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11676 (eval $ac_link) 2>&5
11677 ac_status=$?
11678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11679 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11680 (./conftest; exit; ) >&5 2>/dev/null
11681 lt_status=$?
11682 case x$lt_status in
11683 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11684 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11685 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11686 esac
11687 else :
11688 # compilation failed
11689 lt_cv_dlopen_self_static=no
11690 fi
11691 fi
11692 rm -fr conftest*
11693
11694
11695 fi
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11697 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11698 fi
11699
11700 CPPFLAGS="$save_CPPFLAGS"
11701 LDFLAGS="$save_LDFLAGS"
11702 LIBS="$save_LIBS"
11703 ;;
11704 esac
11705
11706 case $lt_cv_dlopen_self in
11707 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11708 *) enable_dlopen_self=unknown ;;
11709 esac
11710
11711 case $lt_cv_dlopen_self_static in
11712 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11713 *) enable_dlopen_self_static=unknown ;;
11714 esac
11715 fi
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733 striplib=
11734 old_striplib=
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11736 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11737 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11738 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11739 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 # FIXME - insert some real tests, host_os isn't really good enough
11744 case $host_os in
11745 darwin*)
11746 if test -n "$STRIP" ; then
11747 striplib="$STRIP -x"
11748 old_striplib="$STRIP -S"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754 fi
11755 ;;
11756 *)
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11759 ;;
11760 esac
11761 fi
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774 # Report which library types will actually be built
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11776 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11778 $as_echo "$can_build_shared" >&6; }
11779
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11781 $as_echo_n "checking whether to build shared libraries... " >&6; }
11782 test "$can_build_shared" = "no" && enable_shared=no
11783
11784 # On AIX, shared libraries and static libraries use the same namespace, and
11785 # are all built from PIC.
11786 case $host_os in
11787 aix3*)
11788 test "$enable_shared" = yes && enable_static=no
11789 if test -n "$RANLIB"; then
11790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11791 postinstall_cmds='$RANLIB $lib'
11792 fi
11793 ;;
11794
11795 aix[4-9]*)
11796 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11797 test "$enable_shared" = yes && enable_static=no
11798 fi
11799 ;;
11800 esac
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11802 $as_echo "$enable_shared" >&6; }
11803
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11805 $as_echo_n "checking whether to build static libraries... " >&6; }
11806 # Make sure either enable_shared or enable_static is yes.
11807 test "$enable_shared" = yes || enable_static=yes
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11809 $as_echo "$enable_static" >&6; }
11810
11811
11812
11813
11814 fi
11815 ac_ext=c
11816 ac_cpp='$CPP $CPPFLAGS'
11817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11820
11821 CC="$lt_save_CC"
11822
11823 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11824 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11825 (test "X$CXX" != "Xg++"))) ; then
11826 ac_ext=cpp
11827 ac_cpp='$CXXCPP $CPPFLAGS'
11828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11832 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11833 if test -z "$CXXCPP"; then
11834 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 # Double quotes because CXXCPP needs to be expanded
11838 for CXXCPP in "$CXX -E" "/lib/cpp"
11839 do
11840 ac_preproc_ok=false
11841 for ac_cxx_preproc_warn_flag in '' yes
11842 do
11843 # Use a header file that comes with gcc, so configuring glibc
11844 # with a fresh cross-compiler works.
11845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846 # <limits.h> exists even on freestanding compilers.
11847 # On the NeXT, cc -E runs the code through the compiler's parser,
11848 # not just through cpp. "Syntax error" is here to catch this case.
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11851 #ifdef __STDC__
11852 # include <limits.h>
11853 #else
11854 # include <assert.h>
11855 #endif
11856 Syntax error
11857 _ACEOF
11858 if ac_fn_cxx_try_cpp "$LINENO"; then :
11859
11860 else
11861 # Broken: fails on valid input.
11862 continue
11863 fi
11864 rm -f conftest.err conftest.$ac_ext
11865
11866 # OK, works on sane cases. Now check whether nonexistent headers
11867 # can be detected and how.
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 #include <ac_nonexistent.h>
11871 _ACEOF
11872 if ac_fn_cxx_try_cpp "$LINENO"; then :
11873 # Broken: success on invalid input.
11874 continue
11875 else
11876 # Passes both tests.
11877 ac_preproc_ok=:
11878 break
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 done
11883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11884 rm -f conftest.err conftest.$ac_ext
11885 if $ac_preproc_ok; then :
11886 break
11887 fi
11888
11889 done
11890 ac_cv_prog_CXXCPP=$CXXCPP
11891
11892 fi
11893 CXXCPP=$ac_cv_prog_CXXCPP
11894 else
11895 ac_cv_prog_CXXCPP=$CXXCPP
11896 fi
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11898 $as_echo "$CXXCPP" >&6; }
11899 ac_preproc_ok=false
11900 for ac_cxx_preproc_warn_flag in '' yes
11901 do
11902 # Use a header file that comes with gcc, so configuring glibc
11903 # with a fresh cross-compiler works.
11904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11905 # <limits.h> exists even on freestanding compilers.
11906 # On the NeXT, cc -E runs the code through the compiler's parser,
11907 # not just through cpp. "Syntax error" is here to catch this case.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #ifdef __STDC__
11911 # include <limits.h>
11912 #else
11913 # include <assert.h>
11914 #endif
11915 Syntax error
11916 _ACEOF
11917 if ac_fn_cxx_try_cpp "$LINENO"; then :
11918
11919 else
11920 # Broken: fails on valid input.
11921 continue
11922 fi
11923 rm -f conftest.err conftest.$ac_ext
11924
11925 # OK, works on sane cases. Now check whether nonexistent headers
11926 # can be detected and how.
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <ac_nonexistent.h>
11930 _ACEOF
11931 if ac_fn_cxx_try_cpp "$LINENO"; then :
11932 # Broken: success on invalid input.
11933 continue
11934 else
11935 # Passes both tests.
11936 ac_preproc_ok=:
11937 break
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 done
11942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11943 rm -f conftest.err conftest.$ac_ext
11944 if $ac_preproc_ok; then :
11945
11946 else
11947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11949 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11950 See \`config.log' for more details." "$LINENO" 5; }
11951 fi
11952
11953 ac_ext=c
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958
11959 else
11960 _lt_caught_CXX_error=yes
11961 fi
11962
11963 ac_ext=cpp
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11968
11969 archive_cmds_need_lc_CXX=no
11970 allow_undefined_flag_CXX=
11971 always_export_symbols_CXX=no
11972 archive_expsym_cmds_CXX=
11973 compiler_needs_object_CXX=no
11974 export_dynamic_flag_spec_CXX=
11975 hardcode_direct_CXX=no
11976 hardcode_direct_absolute_CXX=no
11977 hardcode_libdir_flag_spec_CXX=
11978 hardcode_libdir_flag_spec_ld_CXX=
11979 hardcode_libdir_separator_CXX=
11980 hardcode_minus_L_CXX=no
11981 hardcode_shlibpath_var_CXX=unsupported
11982 hardcode_automatic_CXX=no
11983 inherit_rpath_CXX=no
11984 module_cmds_CXX=
11985 module_expsym_cmds_CXX=
11986 link_all_deplibs_CXX=unknown
11987 old_archive_cmds_CXX=$old_archive_cmds
11988 reload_flag_CXX=$reload_flag
11989 reload_cmds_CXX=$reload_cmds
11990 no_undefined_flag_CXX=
11991 whole_archive_flag_spec_CXX=
11992 enable_shared_with_static_runtimes_CXX=no
11993
11994 # Source file extension for C++ test sources.
11995 ac_ext=cpp
11996
11997 # Object file extension for compiled C++ test sources.
11998 objext=o
11999 objext_CXX=$objext
12000
12001 # No sense in running all these tests if we already determined that
12002 # the CXX compiler isn't working. Some variables (like enable_shared)
12003 # are currently assumed to apply to all compilers on this platform,
12004 # and will be corrupted by setting them based on a non-working compiler.
12005 if test "$_lt_caught_CXX_error" != yes; then
12006 # Code to be used in simple compile tests
12007 lt_simple_compile_test_code="int some_variable = 0;"
12008
12009 # Code to be used in simple link tests
12010 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12011
12012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12013
12014
12015
12016
12017
12018
12019 # If no C compiler was specified, use CC.
12020 LTCC=${LTCC-"$CC"}
12021
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12024
12025 # Allow CC to be a program name with arguments.
12026 compiler=$CC
12027
12028
12029 # save warnings/boilerplate of simple test code
12030 ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12034 $RM conftest*
12035
12036 ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12040 $RM -r conftest*
12041
12042
12043 # Allow CC to be a program name with arguments.
12044 lt_save_CC=$CC
12045 lt_save_LD=$LD
12046 lt_save_GCC=$GCC
12047 GCC=$GXX
12048 lt_save_with_gnu_ld=$with_gnu_ld
12049 lt_save_path_LD=$lt_cv_path_LD
12050 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12051 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12052 else
12053 $as_unset lt_cv_prog_gnu_ld
12054 fi
12055 if test -n "${lt_cv_path_LDCXX+set}"; then
12056 lt_cv_path_LD=$lt_cv_path_LDCXX
12057 else
12058 $as_unset lt_cv_path_LD
12059 fi
12060 test -z "${LDCXX+set}" || LD=$LDCXX
12061 CC=${CXX-"c++"}
12062 compiler=$CC
12063 compiler_CXX=$CC
12064 for cc_temp in $compiler""; do
12065 case $cc_temp in
12066 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12067 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12068 \-*) ;;
12069 *) break;;
12070 esac
12071 done
12072 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12073
12074
12075 if test -n "$compiler"; then
12076 # We don't want -fno-exception when compiling C++ code, so set the
12077 # no_builtin_flag separately
12078 if test "$GXX" = yes; then
12079 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12080 else
12081 lt_prog_compiler_no_builtin_flag_CXX=
12082 fi
12083
12084 if test "$GXX" = yes; then
12085 # Set up default GNU C++ configuration
12086
12087
12088
12089 # Check whether --with-gnu-ld was given.
12090 if test "${with_gnu_ld+set}" = set; then :
12091 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12092 else
12093 with_gnu_ld=no
12094 fi
12095
12096 ac_prog=ld
12097 if test "$GCC" = yes; then
12098 # Check if gcc -print-prog-name=ld gives a path.
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12100 $as_echo_n "checking for ld used by $CC... " >&6; }
12101 case $host in
12102 *-*-mingw*)
12103 # gcc leaves a trailing carriage return which upsets mingw
12104 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12105 *)
12106 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12107 esac
12108 case $ac_prog in
12109 # Accept absolute paths.
12110 [\\/]* | ?:[\\/]*)
12111 re_direlt='/[^/][^/]*/\.\./'
12112 # Canonicalize the pathname of ld
12113 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12114 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12115 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12116 done
12117 test -z "$LD" && LD="$ac_prog"
12118 ;;
12119 "")
12120 # If it fails, then pretend we aren't using GCC.
12121 ac_prog=ld
12122 ;;
12123 *)
12124 # If it is relative, then search for the first ld in PATH.
12125 with_gnu_ld=unknown
12126 ;;
12127 esac
12128 elif test "$with_gnu_ld" = yes; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12130 $as_echo_n "checking for GNU ld... " >&6; }
12131 else
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12133 $as_echo_n "checking for non-GNU ld... " >&6; }
12134 fi
12135 if test "${lt_cv_path_LD+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 if test -z "$LD"; then
12139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12140 for ac_dir in $PATH; do
12141 IFS="$lt_save_ifs"
12142 test -z "$ac_dir" && ac_dir=.
12143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12144 lt_cv_path_LD="$ac_dir/$ac_prog"
12145 # Check to see if the program is GNU ld. I'd rather use --version,
12146 # but apparently some variants of GNU ld only accept -v.
12147 # Break only if it was the GNU/non-GNU ld that we prefer.
12148 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12149 *GNU* | *'with BFD'*)
12150 test "$with_gnu_ld" != no && break
12151 ;;
12152 *)
12153 test "$with_gnu_ld" != yes && break
12154 ;;
12155 esac
12156 fi
12157 done
12158 IFS="$lt_save_ifs"
12159 else
12160 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12161 fi
12162 fi
12163
12164 LD="$lt_cv_path_LD"
12165 if test -n "$LD"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12167 $as_echo "$LD" >&6; }
12168 else
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12171 fi
12172 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12174 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12175 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12179 case `$LD -v 2>&1 </dev/null` in
12180 *GNU* | *'with BFD'*)
12181 lt_cv_prog_gnu_ld=yes
12182 ;;
12183 *)
12184 lt_cv_prog_gnu_ld=no
12185 ;;
12186 esac
12187 fi
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12189 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12190 with_gnu_ld=$lt_cv_prog_gnu_ld
12191
12192
12193
12194
12195
12196
12197
12198 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12199 # archiving commands below assume that GNU ld is being used.
12200 if test "$with_gnu_ld" = yes; then
12201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12203
12204 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12205 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12206
12207 # If archive_cmds runs LD, not CC, wlarc should be empty
12208 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12209 # investigate it a little bit more. (MM)
12210 wlarc='${wl}'
12211
12212 # ancient GNU ld didn't support --whole-archive et. al.
12213 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12214 $GREP 'no-whole-archive' > /dev/null; then
12215 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12216 else
12217 whole_archive_flag_spec_CXX=
12218 fi
12219 else
12220 with_gnu_ld=no
12221 wlarc=
12222
12223 # A generic and very simple default shared library creation
12224 # command for GNU C++ for the case where it uses the native
12225 # linker, instead of GNU ld. If possible, this setting should
12226 # overridden to take advantage of the native linker features on
12227 # the platform it is being used on.
12228 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12229 fi
12230
12231 # Commands to make compiler produce verbose output that lists
12232 # what "hidden" libraries, object files and flags are used when
12233 # linking a shared library.
12234 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12235
12236 else
12237 GXX=no
12238 with_gnu_ld=no
12239 wlarc=
12240 fi
12241
12242 # PORTME: fill in a description of your system's C++ link characteristics
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12245 ld_shlibs_CXX=yes
12246 case $host_os in
12247 aix3*)
12248 # FIXME: insert proper C++ library support
12249 ld_shlibs_CXX=no
12250 ;;
12251 aix[4-9]*)
12252 if test "$host_cpu" = ia64; then
12253 # On IA64, the linker does run time linking by default, so we don't
12254 # have to do anything special.
12255 aix_use_runtimelinking=no
12256 exp_sym_flag='-Bexport'
12257 no_entry_flag=""
12258 else
12259 aix_use_runtimelinking=no
12260
12261 # Test if we are trying to use run time linking or normal
12262 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12263 # need to do runtime linking.
12264 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12265 for ld_flag in $LDFLAGS; do
12266 case $ld_flag in
12267 *-brtl*)
12268 aix_use_runtimelinking=yes
12269 break
12270 ;;
12271 esac
12272 done
12273 ;;
12274 esac
12275
12276 exp_sym_flag='-bexport'
12277 no_entry_flag='-bnoentry'
12278 fi
12279
12280 # When large executables or shared objects are built, AIX ld can
12281 # have problems creating the table of contents. If linking a library
12282 # or program results in "error TOC overflow" add -mminimal-toc to
12283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12285
12286 archive_cmds_CXX=''
12287 hardcode_direct_CXX=yes
12288 hardcode_direct_absolute_CXX=yes
12289 hardcode_libdir_separator_CXX=':'
12290 link_all_deplibs_CXX=yes
12291 file_list_spec_CXX='${wl}-f,'
12292
12293 if test "$GXX" = yes; then
12294 case $host_os in aix4.[012]|aix4.[012].*)
12295 # We only want to do this on AIX 4.2 and lower, the check
12296 # below for broken collect2 doesn't work under 4.3+
12297 collect2name=`${CC} -print-prog-name=collect2`
12298 if test -f "$collect2name" &&
12299 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12300 then
12301 # We have reworked collect2
12302 :
12303 else
12304 # We have old collect2
12305 hardcode_direct_CXX=unsupported
12306 # It fails to find uninstalled libraries when the uninstalled
12307 # path is not listed in the libpath. Setting hardcode_minus_L
12308 # to unsupported forces relinking
12309 hardcode_minus_L_CXX=yes
12310 hardcode_libdir_flag_spec_CXX='-L$libdir'
12311 hardcode_libdir_separator_CXX=
12312 fi
12313 esac
12314 shared_flag='-shared'
12315 if test "$aix_use_runtimelinking" = yes; then
12316 shared_flag="$shared_flag "'${wl}-G'
12317 fi
12318 else
12319 # not using gcc
12320 if test "$host_cpu" = ia64; then
12321 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12322 # chokes on -Wl,-G. The following line is correct:
12323 shared_flag='-G'
12324 else
12325 if test "$aix_use_runtimelinking" = yes; then
12326 shared_flag='${wl}-G'
12327 else
12328 shared_flag='${wl}-bM:SRE'
12329 fi
12330 fi
12331 fi
12332
12333 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12334 # It seems that -bexpall does not export symbols beginning with
12335 # underscore (_), so it is better to generate a list of symbols to
12336 # export.
12337 always_export_symbols_CXX=yes
12338 if test "$aix_use_runtimelinking" = yes; then
12339 # Warning - without using the other runtime loading flags (-brtl),
12340 # -berok will link without error, but may produce a broken library.
12341 allow_undefined_flag_CXX='-berok'
12342 # Determine the default libpath from the value encoded in an empty
12343 # executable.
12344 if test x$gcc_no_link = xyes; then
12345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12346 fi
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12349
12350 int
12351 main ()
12352 {
12353
12354 ;
12355 return 0;
12356 }
12357 _ACEOF
12358 if ac_fn_cxx_try_link "$LINENO"; then :
12359
12360 lt_aix_libpath_sed='
12361 /Import File Strings/,/^$/ {
12362 /^0/ {
12363 s/^0 *\(.*\)$/\1/
12364 p
12365 }
12366 }'
12367 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12368 # Check for a 64-bit object if we didn't find anything.
12369 if test -z "$aix_libpath"; then
12370 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12371 fi
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext
12375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12376
12377 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12378
12379 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"
12380 else
12381 if test "$host_cpu" = ia64; then
12382 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12383 allow_undefined_flag_CXX="-z nodefs"
12384 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"
12385 else
12386 # Determine the default libpath from the value encoded in an
12387 # empty executable.
12388 if test x$gcc_no_link = xyes; then
12389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12390 fi
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393
12394 int
12395 main ()
12396 {
12397
12398 ;
12399 return 0;
12400 }
12401 _ACEOF
12402 if ac_fn_cxx_try_link "$LINENO"; then :
12403
12404 lt_aix_libpath_sed='
12405 /Import File Strings/,/^$/ {
12406 /^0/ {
12407 s/^0 *\(.*\)$/\1/
12408 p
12409 }
12410 }'
12411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12412 # Check for a 64-bit object if we didn't find anything.
12413 if test -z "$aix_libpath"; then
12414 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 fi
12416 fi
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12420
12421 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12422 # Warning - without using the other run time loading flags,
12423 # -berok will link without error, but may produce a broken library.
12424 no_undefined_flag_CXX=' ${wl}-bernotok'
12425 allow_undefined_flag_CXX=' ${wl}-berok'
12426 if test "$with_gnu_ld" = yes; then
12427 # We only use this code for GNU lds that support --whole-archive.
12428 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12429 else
12430 # Exported symbols can be pulled into shared objects from archives
12431 whole_archive_flag_spec_CXX='$convenience'
12432 fi
12433 archive_cmds_need_lc_CXX=yes
12434 # This is similar to how AIX traditionally builds its shared
12435 # libraries.
12436 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'
12437 fi
12438 fi
12439 ;;
12440
12441 beos*)
12442 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12443 allow_undefined_flag_CXX=unsupported
12444 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12445 # support --undefined. This deserves some investigation. FIXME
12446 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447 else
12448 ld_shlibs_CXX=no
12449 fi
12450 ;;
12451
12452 chorus*)
12453 case $cc_basename in
12454 *)
12455 # FIXME: insert proper C++ library support
12456 ld_shlibs_CXX=no
12457 ;;
12458 esac
12459 ;;
12460
12461 cygwin* | mingw* | pw32* | cegcc*)
12462 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12463 # as there is no search path for DLLs.
12464 hardcode_libdir_flag_spec_CXX='-L$libdir'
12465 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12466 allow_undefined_flag_CXX=unsupported
12467 always_export_symbols_CXX=no
12468 enable_shared_with_static_runtimes_CXX=yes
12469
12470 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12471 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'
12472 # If the export-symbols file already is a .def file (1st line
12473 # is EXPORTS), use it as is; otherwise, prepend...
12474 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12475 cp $export_symbols $output_objdir/$soname.def;
12476 else
12477 echo EXPORTS > $output_objdir/$soname.def;
12478 cat $export_symbols >> $output_objdir/$soname.def;
12479 fi~
12480 $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'
12481 else
12482 ld_shlibs_CXX=no
12483 fi
12484 ;;
12485 darwin* | rhapsody*)
12486
12487
12488 archive_cmds_need_lc_CXX=no
12489 hardcode_direct_CXX=no
12490 hardcode_automatic_CXX=yes
12491 hardcode_shlibpath_var_CXX=unsupported
12492 if test "$lt_cv_ld_force_load" = "yes"; then
12493 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\"`'
12494 else
12495 whole_archive_flag_spec_CXX=''
12496 fi
12497 link_all_deplibs_CXX=yes
12498 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12499 case $cc_basename in
12500 ifort*) _lt_dar_can_shared=yes ;;
12501 *) _lt_dar_can_shared=$GCC ;;
12502 esac
12503 if test "$_lt_dar_can_shared" = "yes"; then
12504 output_verbose_link_cmd=func_echo_all
12505 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}"
12506 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12507 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}"
12508 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}"
12509 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12510 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}"
12511 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}"
12512 fi
12513
12514 else
12515 ld_shlibs_CXX=no
12516 fi
12517
12518 ;;
12519
12520 dgux*)
12521 case $cc_basename in
12522 ec++*)
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12525 ;;
12526 ghcx*)
12527 # Green Hills C++ Compiler
12528 # FIXME: insert proper C++ library support
12529 ld_shlibs_CXX=no
12530 ;;
12531 *)
12532 # FIXME: insert proper C++ library support
12533 ld_shlibs_CXX=no
12534 ;;
12535 esac
12536 ;;
12537
12538 freebsd2.*)
12539 # C++ shared libraries reported to be fairly broken before
12540 # switch to ELF
12541 ld_shlibs_CXX=no
12542 ;;
12543
12544 freebsd-elf*)
12545 archive_cmds_need_lc_CXX=no
12546 ;;
12547
12548 freebsd* | dragonfly*)
12549 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12550 # conventions
12551 ld_shlibs_CXX=yes
12552 ;;
12553
12554 gnu*)
12555 ;;
12556
12557 haiku*)
12558 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559 link_all_deplibs_CXX=yes
12560 ;;
12561
12562 hpux9*)
12563 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12564 hardcode_libdir_separator_CXX=:
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12566 hardcode_direct_CXX=yes
12567 hardcode_minus_L_CXX=yes # Not in the search PATH,
12568 # but as the default
12569 # location of the library.
12570
12571 case $cc_basename in
12572 CC*)
12573 # FIXME: insert proper C++ library support
12574 ld_shlibs_CXX=no
12575 ;;
12576 aCC*)
12577 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'
12578 # Commands to make compiler produce verbose output that lists
12579 # what "hidden" libraries, object files and flags are used when
12580 # linking a shared library.
12581 #
12582 # There doesn't appear to be a way to prevent this compiler from
12583 # explicitly linking system object files so we need to strip them
12584 # from the output so that they don't get included in the library
12585 # dependencies.
12586 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"'
12587 ;;
12588 *)
12589 if test "$GXX" = yes; then
12590 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'
12591 else
12592 # FIXME: insert proper C++ library support
12593 ld_shlibs_CXX=no
12594 fi
12595 ;;
12596 esac
12597 ;;
12598
12599 hpux10*|hpux11*)
12600 if test $with_gnu_ld = no; then
12601 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12602 hardcode_libdir_separator_CXX=:
12603
12604 case $host_cpu in
12605 hppa*64*|ia64*)
12606 ;;
12607 *)
12608 export_dynamic_flag_spec_CXX='${wl}-E'
12609 ;;
12610 esac
12611 fi
12612 case $host_cpu in
12613 hppa*64*|ia64*)
12614 hardcode_direct_CXX=no
12615 hardcode_shlibpath_var_CXX=no
12616 ;;
12617 *)
12618 hardcode_direct_CXX=yes
12619 hardcode_direct_absolute_CXX=yes
12620 hardcode_minus_L_CXX=yes # Not in the search PATH,
12621 # but as the default
12622 # location of the library.
12623 ;;
12624 esac
12625
12626 case $cc_basename in
12627 CC*)
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12630 ;;
12631 aCC*)
12632 case $host_cpu in
12633 hppa*64*)
12634 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 ;;
12636 ia64*)
12637 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638 ;;
12639 *)
12640 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12641 ;;
12642 esac
12643 # Commands to make compiler produce verbose output that lists
12644 # what "hidden" libraries, object files and flags are used when
12645 # linking a shared library.
12646 #
12647 # There doesn't appear to be a way to prevent this compiler from
12648 # explicitly linking system object files so we need to strip them
12649 # from the output so that they don't get included in the library
12650 # dependencies.
12651 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"'
12652 ;;
12653 *)
12654 if test "$GXX" = yes; then
12655 if test $with_gnu_ld = no; then
12656 case $host_cpu in
12657 hppa*64*)
12658 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12659 ;;
12660 ia64*)
12661 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12662 ;;
12663 *)
12664 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'
12665 ;;
12666 esac
12667 fi
12668 else
12669 # FIXME: insert proper C++ library support
12670 ld_shlibs_CXX=no
12671 fi
12672 ;;
12673 esac
12674 ;;
12675
12676 interix[3-9]*)
12677 hardcode_direct_CXX=no
12678 hardcode_shlibpath_var_CXX=no
12679 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12680 export_dynamic_flag_spec_CXX='${wl}-E'
12681 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12682 # Instead, shared libraries are loaded at an image base (0x10000000 by
12683 # default) and relocated if they conflict, which is a slow very memory
12684 # consuming and fragmenting process. To avoid this, we pick a random,
12685 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12686 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12687 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'
12688 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'
12689 ;;
12690 irix5* | irix6*)
12691 case $cc_basename in
12692 CC*)
12693 # SGI C++
12694 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'
12695
12696 # Archives containing C++ object files must be created using
12697 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12698 # necessary to make sure instantiated templates are included
12699 # in the archive.
12700 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12701 ;;
12702 *)
12703 if test "$GXX" = yes; then
12704 if test "$with_gnu_ld" = no; then
12705 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'
12706 else
12707 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'
12708 fi
12709 fi
12710 link_all_deplibs_CXX=yes
12711 ;;
12712 esac
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12714 hardcode_libdir_separator_CXX=:
12715 inherit_rpath_CXX=yes
12716 ;;
12717
12718 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12719 case $cc_basename in
12720 KCC*)
12721 # Kuck and Associates, Inc. (KAI) C++ Compiler
12722
12723 # KCC will only create a shared library if the output file
12724 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12725 # to its proper name (with version) after linking.
12726 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'
12727 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'
12728 # Commands to make compiler produce verbose output that lists
12729 # what "hidden" libraries, object files and flags are used when
12730 # linking a shared library.
12731 #
12732 # There doesn't appear to be a way to prevent this compiler from
12733 # explicitly linking system object files so we need to strip them
12734 # from the output so that they don't get included in the library
12735 # dependencies.
12736 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"'
12737
12738 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12740
12741 # Archives containing C++ object files must be created using
12742 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12743 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12744 ;;
12745 icpc* | ecpc* )
12746 # Intel C++
12747 with_gnu_ld=yes
12748 # version 8.0 and above of icpc choke on multiply defined symbols
12749 # if we add $predep_objects and $postdep_objects, however 7.1 and
12750 # earlier do not add the objects themselves.
12751 case `$CC -V 2>&1` in
12752 *"Version 7."*)
12753 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12755 ;;
12756 *) # Version 8.0 or newer
12757 tmp_idyn=
12758 case $host_cpu in
12759 ia64*) tmp_idyn=' -i_dynamic';;
12760 esac
12761 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12763 ;;
12764 esac
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12767 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12769 ;;
12770 pgCC* | pgcpp*)
12771 # Portland Group C++ compiler
12772 case `$CC -V` in
12773 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12774 prelink_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12777 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12778 old_archive_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12781 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12782 $RANLIB $oldlib'
12783 archive_cmds_CXX='tpldir=Template.dir~
12784 rm -rf $tpldir~
12785 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12786 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12787 archive_expsym_cmds_CXX='tpldir=Template.dir~
12788 rm -rf $tpldir~
12789 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12790 $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'
12791 ;;
12792 *) # Version 6 and above use weak symbols
12793 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794 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'
12795 ;;
12796 esac
12797
12798 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12799 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12800 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'
12801 ;;
12802 cxx*)
12803 # Compaq C++
12804 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12805 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'
12806
12807 runpath_var=LD_RUN_PATH
12808 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12809 hardcode_libdir_separator_CXX=:
12810
12811 # Commands to make compiler produce verbose output that lists
12812 # what "hidden" libraries, object files and flags are used when
12813 # linking a shared library.
12814 #
12815 # There doesn't appear to be a way to prevent this compiler from
12816 # explicitly linking system object files so we need to strip them
12817 # from the output so that they don't get included in the library
12818 # dependencies.
12819 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'
12820 ;;
12821 xl* | mpixl* | bgxl*)
12822 # IBM XL 8.0 on PPC, with GNU ld
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12825 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12826 if test "x$supports_anon_versioning" = xyes; then
12827 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12828 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12829 echo "local: *; };" >> $output_objdir/$libname.ver~
12830 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12831 fi
12832 ;;
12833 *)
12834 case `$CC -V 2>&1 | sed 5q` in
12835 *Sun\ C*)
12836 # Sun C++ 5.9
12837 no_undefined_flag_CXX=' -zdefs'
12838 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839 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'
12840 hardcode_libdir_flag_spec_CXX='-R$libdir'
12841 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'
12842 compiler_needs_object_CXX=yes
12843
12844 # Not sure whether something based on
12845 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12846 # would be better.
12847 output_verbose_link_cmd='func_echo_all'
12848
12849 # Archives containing C++ object files must be created using
12850 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12851 # necessary to make sure instantiated templates are included
12852 # in the archive.
12853 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12854 ;;
12855 esac
12856 ;;
12857 esac
12858 ;;
12859
12860 lynxos*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12863 ;;
12864
12865 m88k*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12868 ;;
12869
12870 mvs*)
12871 case $cc_basename in
12872 cxx*)
12873 # FIXME: insert proper C++ library support
12874 ld_shlibs_CXX=no
12875 ;;
12876 *)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880 esac
12881 ;;
12882
12883 netbsd*)
12884 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12885 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12886 wlarc=
12887 hardcode_libdir_flag_spec_CXX='-R$libdir'
12888 hardcode_direct_CXX=yes
12889 hardcode_shlibpath_var_CXX=no
12890 fi
12891 # Workaround some broken pre-1.5 toolchains
12892 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12893 ;;
12894
12895 *nto* | *qnx*)
12896 ld_shlibs_CXX=yes
12897 ;;
12898
12899 openbsd2*)
12900 # C++ shared libraries are fairly broken
12901 ld_shlibs_CXX=no
12902 ;;
12903
12904 openbsd*)
12905 if test -f /usr/libexec/ld.so; then
12906 hardcode_direct_CXX=yes
12907 hardcode_shlibpath_var_CXX=no
12908 hardcode_direct_absolute_CXX=yes
12909 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12911 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12912 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12915 fi
12916 output_verbose_link_cmd=func_echo_all
12917 else
12918 ld_shlibs_CXX=no
12919 fi
12920 ;;
12921
12922 osf3* | osf4* | osf5*)
12923 case $cc_basename in
12924 KCC*)
12925 # Kuck and Associates, Inc. (KAI) C++ Compiler
12926
12927 # KCC will only create a shared library if the output file
12928 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12929 # to its proper name (with version) after linking.
12930 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'
12931
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933 hardcode_libdir_separator_CXX=:
12934
12935 # Archives containing C++ object files must be created using
12936 # the KAI C++ compiler.
12937 case $host in
12938 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12939 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12940 esac
12941 ;;
12942 RCC*)
12943 # Rational C++ 2.4.1
12944 # FIXME: insert proper C++ library support
12945 ld_shlibs_CXX=no
12946 ;;
12947 cxx*)
12948 case $host in
12949 osf3*)
12950 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951 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'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12953 ;;
12954 *)
12955 allow_undefined_flag_CXX=' -expect_unresolved \*'
12956 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'
12957 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12958 echo "-hidden">> $lib.exp~
12959 $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~
12960 $RM $lib.exp'
12961 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12962 ;;
12963 esac
12964
12965 hardcode_libdir_separator_CXX=:
12966
12967 # Commands to make compiler produce verbose output that lists
12968 # what "hidden" libraries, object files and flags are used when
12969 # linking a shared library.
12970 #
12971 # There doesn't appear to be a way to prevent this compiler from
12972 # explicitly linking system object files so we need to strip them
12973 # from the output so that they don't get included in the library
12974 # dependencies.
12975 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"'
12976 ;;
12977 *)
12978 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 case $host in
12981 osf3*)
12982 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'
12983 ;;
12984 *)
12985 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'
12986 ;;
12987 esac
12988
12989 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12990 hardcode_libdir_separator_CXX=:
12991
12992 # Commands to make compiler produce verbose output that lists
12993 # what "hidden" libraries, object files and flags are used when
12994 # linking a shared library.
12995 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12996
12997 else
12998 # FIXME: insert proper C++ library support
12999 ld_shlibs_CXX=no
13000 fi
13001 ;;
13002 esac
13003 ;;
13004
13005 psos*)
13006 # FIXME: insert proper C++ library support
13007 ld_shlibs_CXX=no
13008 ;;
13009
13010 sunos4*)
13011 case $cc_basename in
13012 CC*)
13013 # Sun C++ 4.x
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 ;;
13017 lcc*)
13018 # Lucid
13019 # FIXME: insert proper C++ library support
13020 ld_shlibs_CXX=no
13021 ;;
13022 *)
13023 # FIXME: insert proper C++ library support
13024 ld_shlibs_CXX=no
13025 ;;
13026 esac
13027 ;;
13028
13029 solaris*)
13030 case $cc_basename in
13031 CC*)
13032 # Sun C++ 4.2, 5.x and Centerline C++
13033 archive_cmds_need_lc_CXX=yes
13034 no_undefined_flag_CXX=' -zdefs'
13035 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13036 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037 $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'
13038
13039 hardcode_libdir_flag_spec_CXX='-R$libdir'
13040 hardcode_shlibpath_var_CXX=no
13041 case $host_os in
13042 solaris2.[0-5] | solaris2.[0-5].*) ;;
13043 *)
13044 # The compiler driver will combine and reorder linker options,
13045 # but understands `-z linker_flag'.
13046 # Supported since Solaris 2.6 (maybe 2.5.1?)
13047 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13048 ;;
13049 esac
13050 link_all_deplibs_CXX=yes
13051
13052 output_verbose_link_cmd='func_echo_all'
13053
13054 # Archives containing C++ object files must be created using
13055 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13056 # necessary to make sure instantiated templates are included
13057 # in the archive.
13058 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13059 ;;
13060 gcx*)
13061 # Green Hills C++ Compiler
13062 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13063
13064 # The C++ compiler must be used to create the archive.
13065 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13066 ;;
13067 *)
13068 # GNU C++ compiler with Solaris linker
13069 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13070 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13071 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13072 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080 else
13081 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13082 # platform.
13083 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13084 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13085 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13086
13087 # Commands to make compiler produce verbose output that lists
13088 # what "hidden" libraries, object files and flags are used when
13089 # linking a shared library.
13090 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13091 fi
13092
13093 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13094 case $host_os in
13095 solaris2.[0-5] | solaris2.[0-5].*) ;;
13096 *)
13097 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13098 ;;
13099 esac
13100 fi
13101 ;;
13102 esac
13103 ;;
13104
13105 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13106 no_undefined_flag_CXX='${wl}-z,text'
13107 archive_cmds_need_lc_CXX=no
13108 hardcode_shlibpath_var_CXX=no
13109 runpath_var='LD_RUN_PATH'
13110
13111 case $cc_basename in
13112 CC*)
13113 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 ;;
13116 *)
13117 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119 ;;
13120 esac
13121 ;;
13122
13123 sysv5* | sco3.2v5* | sco5v6*)
13124 # Note: We can NOT use -z defs as we might desire, because we do not
13125 # link with -lc, and that would cause any symbols used from libc to
13126 # always be unresolved, which means just about no library would
13127 # ever link correctly. If we're not using GNU ld we use -z text
13128 # though, which does catch some bad symbols but isn't as heavy-handed
13129 # as -z defs.
13130 no_undefined_flag_CXX='${wl}-z,text'
13131 allow_undefined_flag_CXX='${wl}-z,nodefs'
13132 archive_cmds_need_lc_CXX=no
13133 hardcode_shlibpath_var_CXX=no
13134 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13135 hardcode_libdir_separator_CXX=':'
13136 link_all_deplibs_CXX=yes
13137 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13138 runpath_var='LD_RUN_PATH'
13139
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13145 '"$old_archive_cmds_CXX"
13146 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13147 '"$reload_cmds_CXX"
13148 ;;
13149 *)
13150 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 ;;
13153 esac
13154 ;;
13155
13156 tandem*)
13157 case $cc_basename in
13158 NCC*)
13159 # NonStop-UX NCC 3.20
13160 # FIXME: insert proper C++ library support
13161 ld_shlibs_CXX=no
13162 ;;
13163 *)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13166 ;;
13167 esac
13168 ;;
13169
13170 vxworks*)
13171 # FIXME: insert proper C++ library support
13172 ld_shlibs_CXX=no
13173 ;;
13174
13175 *)
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 esac
13180
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13182 $as_echo "$ld_shlibs_CXX" >&6; }
13183 test "$ld_shlibs_CXX" = no && can_build_shared=no
13184
13185 GCC_CXX="$GXX"
13186 LD_CXX="$LD"
13187
13188 ## CAVEAT EMPTOR:
13189 ## There is no encapsulation within the following macros, do not change
13190 ## the running order or otherwise move them around unless you know exactly
13191 ## what you are doing...
13192 # Dependencies to place before and after the object being linked:
13193 predep_objects_CXX=
13194 postdep_objects_CXX=
13195 predeps_CXX=
13196 postdeps_CXX=
13197 compiler_lib_search_path_CXX=
13198
13199 cat > conftest.$ac_ext <<_LT_EOF
13200 class Foo
13201 {
13202 public:
13203 Foo (void) { a = 0; }
13204 private:
13205 int a;
13206 };
13207 _LT_EOF
13208
13209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13210 (eval $ac_compile) 2>&5
13211 ac_status=$?
13212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213 test $ac_status = 0; }; then
13214 # Parse the compiler output and extract the necessary
13215 # objects, libraries and library flags.
13216
13217 # Sentinel used to keep track of whether or not we are before
13218 # the conftest object file.
13219 pre_test_object_deps_done=no
13220
13221 for p in `eval "$output_verbose_link_cmd"`; do
13222 case $p in
13223
13224 -L* | -R* | -l*)
13225 # Some compilers place space between "-{L,R}" and the path.
13226 # Remove the space.
13227 if test $p = "-L" ||
13228 test $p = "-R"; then
13229 prev=$p
13230 continue
13231 else
13232 prev=
13233 fi
13234
13235 if test "$pre_test_object_deps_done" = no; then
13236 case $p in
13237 -L* | -R*)
13238 # Internal compiler library paths should come after those
13239 # provided the user. The postdeps already come after the
13240 # user supplied libs so there is no need to process them.
13241 if test -z "$compiler_lib_search_path_CXX"; then
13242 compiler_lib_search_path_CXX="${prev}${p}"
13243 else
13244 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13245 fi
13246 ;;
13247 # The "-l" case would never come before the object being
13248 # linked, so don't bother handling this case.
13249 esac
13250 else
13251 if test -z "$postdeps_CXX"; then
13252 postdeps_CXX="${prev}${p}"
13253 else
13254 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13255 fi
13256 fi
13257 ;;
13258
13259 *.$objext)
13260 # This assumes that the test object file only shows up
13261 # once in the compiler output.
13262 if test "$p" = "conftest.$objext"; then
13263 pre_test_object_deps_done=yes
13264 continue
13265 fi
13266
13267 if test "$pre_test_object_deps_done" = no; then
13268 if test -z "$predep_objects_CXX"; then
13269 predep_objects_CXX="$p"
13270 else
13271 predep_objects_CXX="$predep_objects_CXX $p"
13272 fi
13273 else
13274 if test -z "$postdep_objects_CXX"; then
13275 postdep_objects_CXX="$p"
13276 else
13277 postdep_objects_CXX="$postdep_objects_CXX $p"
13278 fi
13279 fi
13280 ;;
13281
13282 *) ;; # Ignore the rest.
13283
13284 esac
13285 done
13286
13287 # Clean up.
13288 rm -f a.out a.exe
13289 else
13290 echo "libtool.m4: error: problem compiling CXX test program"
13291 fi
13292
13293 $RM -f confest.$objext
13294
13295 # PORTME: override above test on systems where it is broken
13296 case $host_os in
13297 interix[3-9]*)
13298 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13299 # hack all around it, let's just trust "g++" to DTRT.
13300 predep_objects_CXX=
13301 postdep_objects_CXX=
13302 postdeps_CXX=
13303 ;;
13304
13305 linux*)
13306 case `$CC -V 2>&1 | sed 5q` in
13307 *Sun\ C*)
13308 # Sun C++ 5.9
13309
13310 # The more standards-conforming stlport4 library is
13311 # incompatible with the Cstd library. Avoid specifying
13312 # it if it's in CXXFLAGS. Ignore libCrun as
13313 # -library=stlport4 depends on it.
13314 case " $CXX $CXXFLAGS " in
13315 *" -library=stlport4 "*)
13316 solaris_use_stlport4=yes
13317 ;;
13318 esac
13319
13320 if test "$solaris_use_stlport4" != yes; then
13321 postdeps_CXX='-library=Cstd -library=Crun'
13322 fi
13323 ;;
13324 esac
13325 ;;
13326
13327 solaris*)
13328 case $cc_basename in
13329 CC*)
13330 # The more standards-conforming stlport4 library is
13331 # incompatible with the Cstd library. Avoid specifying
13332 # it if it's in CXXFLAGS. Ignore libCrun as
13333 # -library=stlport4 depends on it.
13334 case " $CXX $CXXFLAGS " in
13335 *" -library=stlport4 "*)
13336 solaris_use_stlport4=yes
13337 ;;
13338 esac
13339
13340 # Adding this requires a known-good setup of shared libraries for
13341 # Sun compiler versions before 5.6, else PIC objects from an old
13342 # archive will be linked into the output, leading to subtle bugs.
13343 if test "$solaris_use_stlport4" != yes; then
13344 postdeps_CXX='-library=Cstd -library=Crun'
13345 fi
13346 ;;
13347 esac
13348 ;;
13349 esac
13350
13351
13352 case " $postdeps_CXX " in
13353 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13354 esac
13355 compiler_lib_search_dirs_CXX=
13356 if test -n "${compiler_lib_search_path_CXX}"; then
13357 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13358 fi
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390 lt_prog_compiler_wl_CXX=
13391 lt_prog_compiler_pic_CXX=
13392 lt_prog_compiler_static_CXX=
13393
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13395 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13396
13397 # C++ specific cases for pic, static, wl, etc.
13398 if test "$GXX" = yes; then
13399 lt_prog_compiler_wl_CXX='-Wl,'
13400 lt_prog_compiler_static_CXX='-static'
13401
13402 case $host_os in
13403 aix*)
13404 # All AIX code is PIC.
13405 if test "$host_cpu" = ia64; then
13406 # AIX 5 now supports IA64 processor
13407 lt_prog_compiler_static_CXX='-Bstatic'
13408 fi
13409 ;;
13410
13411 amigaos*)
13412 case $host_cpu in
13413 powerpc)
13414 # see comment about AmigaOS4 .so support
13415 lt_prog_compiler_pic_CXX='-fPIC'
13416 ;;
13417 m68k)
13418 # FIXME: we need at least 68020 code to build shared libraries, but
13419 # adding the `-m68020' flag to GCC prevents building anything better,
13420 # like `-m68040'.
13421 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13422 ;;
13423 esac
13424 ;;
13425
13426 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13427 # PIC is the default for these OSes.
13428 ;;
13429 mingw* | cygwin* | os2* | pw32* | cegcc*)
13430 # This hack is so that the source file can tell whether it is being
13431 # built for inclusion in a dll (and should export symbols for example).
13432 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13433 # (--disable-auto-import) libraries
13434 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13435 ;;
13436 darwin* | rhapsody*)
13437 # PIC is the default on this platform
13438 # Common symbols not allowed in MH_DYLIB files
13439 lt_prog_compiler_pic_CXX='-fno-common'
13440 ;;
13441 *djgpp*)
13442 # DJGPP does not support shared libraries at all
13443 lt_prog_compiler_pic_CXX=
13444 ;;
13445 haiku*)
13446 # PIC is the default for Haiku.
13447 # The "-static" flag exists, but is broken.
13448 lt_prog_compiler_static_CXX=
13449 ;;
13450 interix[3-9]*)
13451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13452 # Instead, we relocate shared libraries at runtime.
13453 ;;
13454 sysv4*MP*)
13455 if test -d /usr/nec; then
13456 lt_prog_compiler_pic_CXX=-Kconform_pic
13457 fi
13458 ;;
13459 hpux*)
13460 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13461 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13462 # sets the default TLS model and affects inlining.
13463 case $host_cpu in
13464 hppa*64*)
13465 ;;
13466 *)
13467 lt_prog_compiler_pic_CXX='-fPIC'
13468 ;;
13469 esac
13470 ;;
13471 *qnx* | *nto*)
13472 # QNX uses GNU C++, but need to define -shared option too, otherwise
13473 # it will coredump.
13474 lt_prog_compiler_pic_CXX='-fPIC -shared'
13475 ;;
13476 *)
13477 lt_prog_compiler_pic_CXX='-fPIC'
13478 ;;
13479 esac
13480 else
13481 case $host_os in
13482 aix[4-9]*)
13483 # All AIX code is PIC.
13484 if test "$host_cpu" = ia64; then
13485 # AIX 5 now supports IA64 processor
13486 lt_prog_compiler_static_CXX='-Bstatic'
13487 else
13488 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13489 fi
13490 ;;
13491 chorus*)
13492 case $cc_basename in
13493 cxch68*)
13494 # Green Hills C++ Compiler
13495 # _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"
13496 ;;
13497 esac
13498 ;;
13499 dgux*)
13500 case $cc_basename in
13501 ec++*)
13502 lt_prog_compiler_pic_CXX='-KPIC'
13503 ;;
13504 ghcx*)
13505 # Green Hills C++ Compiler
13506 lt_prog_compiler_pic_CXX='-pic'
13507 ;;
13508 *)
13509 ;;
13510 esac
13511 ;;
13512 freebsd* | dragonfly*)
13513 # FreeBSD uses GNU C++
13514 ;;
13515 hpux9* | hpux10* | hpux11*)
13516 case $cc_basename in
13517 CC*)
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13520 if test "$host_cpu" != ia64; then
13521 lt_prog_compiler_pic_CXX='+Z'
13522 fi
13523 ;;
13524 aCC*)
13525 lt_prog_compiler_wl_CXX='-Wl,'
13526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 case $host_cpu in
13528 hppa*64*|ia64*)
13529 # +Z the default
13530 ;;
13531 *)
13532 lt_prog_compiler_pic_CXX='+Z'
13533 ;;
13534 esac
13535 ;;
13536 *)
13537 ;;
13538 esac
13539 ;;
13540 interix*)
13541 # This is c89, which is MS Visual C++ (no shared libs)
13542 # Anyone wants to do a port?
13543 ;;
13544 irix5* | irix6* | nonstopux*)
13545 case $cc_basename in
13546 CC*)
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_static_CXX='-non_shared'
13549 # CC pic flag -KPIC is the default.
13550 ;;
13551 *)
13552 ;;
13553 esac
13554 ;;
13555 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13556 case $cc_basename in
13557 KCC*)
13558 # KAI C++ Compiler
13559 lt_prog_compiler_wl_CXX='--backend -Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13561 ;;
13562 ecpc* )
13563 # old Intel C++ for x86_64 which still supported -KPIC.
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_pic_CXX='-KPIC'
13566 lt_prog_compiler_static_CXX='-static'
13567 ;;
13568 icpc* )
13569 # Intel C++, used to be incompatible with GCC.
13570 # ICC 10 doesn't accept -KPIC any more.
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_pic_CXX='-fPIC'
13573 lt_prog_compiler_static_CXX='-static'
13574 ;;
13575 pgCC* | pgcpp*)
13576 # Portland Group C++ compiler
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_pic_CXX='-fpic'
13579 lt_prog_compiler_static_CXX='-Bstatic'
13580 ;;
13581 cxx*)
13582 # Compaq C++
13583 # Make sure the PIC flag is empty. It appears that all Alpha
13584 # Linux and Compaq Tru64 Unix objects are PIC.
13585 lt_prog_compiler_pic_CXX=
13586 lt_prog_compiler_static_CXX='-non_shared'
13587 ;;
13588 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13589 # IBM XL 8.0, 9.0 on PPC and BlueGene
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_pic_CXX='-qpic'
13592 lt_prog_compiler_static_CXX='-qstaticlink'
13593 ;;
13594 *)
13595 case `$CC -V 2>&1 | sed 5q` in
13596 *Sun\ C*)
13597 # Sun C++ 5.9
13598 lt_prog_compiler_pic_CXX='-KPIC'
13599 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_wl_CXX='-Qoption ld '
13601 ;;
13602 esac
13603 ;;
13604 esac
13605 ;;
13606 lynxos*)
13607 ;;
13608 m88k*)
13609 ;;
13610 mvs*)
13611 case $cc_basename in
13612 cxx*)
13613 lt_prog_compiler_pic_CXX='-W c,exportall'
13614 ;;
13615 *)
13616 ;;
13617 esac
13618 ;;
13619 netbsd*)
13620 ;;
13621 *qnx* | *nto*)
13622 # QNX uses GNU C++, but need to define -shared option too, otherwise
13623 # it will coredump.
13624 lt_prog_compiler_pic_CXX='-fPIC -shared'
13625 ;;
13626 osf3* | osf4* | osf5*)
13627 case $cc_basename in
13628 KCC*)
13629 lt_prog_compiler_wl_CXX='--backend -Wl,'
13630 ;;
13631 RCC*)
13632 # Rational C++ 2.4.1
13633 lt_prog_compiler_pic_CXX='-pic'
13634 ;;
13635 cxx*)
13636 # Digital/Compaq C++
13637 lt_prog_compiler_wl_CXX='-Wl,'
13638 # Make sure the PIC flag is empty. It appears that all Alpha
13639 # Linux and Compaq Tru64 Unix objects are PIC.
13640 lt_prog_compiler_pic_CXX=
13641 lt_prog_compiler_static_CXX='-non_shared'
13642 ;;
13643 *)
13644 ;;
13645 esac
13646 ;;
13647 psos*)
13648 ;;
13649 solaris*)
13650 case $cc_basename in
13651 CC*)
13652 # Sun C++ 4.2, 5.x and Centerline C++
13653 lt_prog_compiler_pic_CXX='-KPIC'
13654 lt_prog_compiler_static_CXX='-Bstatic'
13655 lt_prog_compiler_wl_CXX='-Qoption ld '
13656 ;;
13657 gcx*)
13658 # Green Hills C++ Compiler
13659 lt_prog_compiler_pic_CXX='-PIC'
13660 ;;
13661 *)
13662 ;;
13663 esac
13664 ;;
13665 sunos4*)
13666 case $cc_basename in
13667 CC*)
13668 # Sun C++ 4.x
13669 lt_prog_compiler_pic_CXX='-pic'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13671 ;;
13672 lcc*)
13673 # Lucid
13674 lt_prog_compiler_pic_CXX='-pic'
13675 ;;
13676 *)
13677 ;;
13678 esac
13679 ;;
13680 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13681 case $cc_basename in
13682 CC*)
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 lt_prog_compiler_static_CXX='-Bstatic'
13686 ;;
13687 esac
13688 ;;
13689 tandem*)
13690 case $cc_basename in
13691 NCC*)
13692 # NonStop-UX NCC 3.20
13693 lt_prog_compiler_pic_CXX='-KPIC'
13694 ;;
13695 *)
13696 ;;
13697 esac
13698 ;;
13699 vxworks*)
13700 ;;
13701 *)
13702 lt_prog_compiler_can_build_shared_CXX=no
13703 ;;
13704 esac
13705 fi
13706
13707 case $host_os in
13708 # For platforms which do not support PIC, -DPIC is meaningless:
13709 *djgpp*)
13710 lt_prog_compiler_pic_CXX=
13711 ;;
13712 *)
13713 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13714 ;;
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13717 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13718
13719
13720
13721 #
13722 # Check to make sure the PIC flag actually works.
13723 #
13724 if test -n "$lt_prog_compiler_pic_CXX"; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13726 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13727 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 lt_cv_prog_compiler_pic_works_CXX=no
13731 ac_outfile=conftest.$ac_objext
13732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13733 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13734 # Insert the option either (1) after the last *FLAGS variable, or
13735 # (2) before a word containing "conftest.", or (3) at the end.
13736 # Note that $ac_compile itself does not contain backslashes and begins
13737 # with a dollar sign (not a hyphen), so the echo should work correctly.
13738 # The option is referenced via a variable to avoid confusing sed.
13739 lt_compile=`echo "$ac_compile" | $SED \
13740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13742 -e 's:$: $lt_compiler_flag:'`
13743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13744 (eval "$lt_compile" 2>conftest.err)
13745 ac_status=$?
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 if (exit $ac_status) && test -s "$ac_outfile"; then
13749 # The compiler can only warn and ignore the option if not recognized
13750 # So say no if there are warnings other than the usual output.
13751 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13754 lt_cv_prog_compiler_pic_works_CXX=yes
13755 fi
13756 fi
13757 $RM conftest*
13758
13759 fi
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13761 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13762
13763 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13764 case $lt_prog_compiler_pic_CXX in
13765 "" | " "*) ;;
13766 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13767 esac
13768 else
13769 lt_prog_compiler_pic_CXX=
13770 lt_prog_compiler_can_build_shared_CXX=no
13771 fi
13772
13773 fi
13774
13775
13776
13777 #
13778 # Check to make sure the static flag actually works.
13779 #
13780 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13782 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13783 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 lt_cv_prog_compiler_static_works_CXX=no
13787 save_LDFLAGS="$LDFLAGS"
13788 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13791 # The linker can only warn and ignore the option if not recognized
13792 # So say no if there are warnings
13793 if test -s conftest.err; then
13794 # Append any errors to the config.log.
13795 cat conftest.err 1>&5
13796 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13798 if diff conftest.exp conftest.er2 >/dev/null; then
13799 lt_cv_prog_compiler_static_works_CXX=yes
13800 fi
13801 else
13802 lt_cv_prog_compiler_static_works_CXX=yes
13803 fi
13804 fi
13805 $RM -r conftest*
13806 LDFLAGS="$save_LDFLAGS"
13807
13808 fi
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13810 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13811
13812 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13813 :
13814 else
13815 lt_prog_compiler_static_CXX=
13816 fi
13817
13818
13819
13820
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13822 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13823 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 lt_cv_prog_compiler_c_o_CXX=no
13827 $RM -r conftest 2>/dev/null
13828 mkdir conftest
13829 cd conftest
13830 mkdir out
13831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13832
13833 lt_compiler_flag="-o out/conftest2.$ac_objext"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 lt_compile=`echo "$ac_compile" | $SED \
13839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13841 -e 's:$: $lt_compiler_flag:'`
13842 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13843 (eval "$lt_compile" 2>out/conftest.err)
13844 ac_status=$?
13845 cat out/conftest.err >&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13848 then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13852 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13853 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_c_o_CXX=yes
13855 fi
13856 fi
13857 chmod u+w . 2>&5
13858 $RM conftest*
13859 # SGI C++ compiler will create directory out/ii_files/ for
13860 # template instantiation
13861 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13862 $RM out/* && rmdir out
13863 cd ..
13864 $RM -r conftest
13865 $RM conftest*
13866
13867 fi
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13869 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13870
13871
13872
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13875 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 lt_cv_prog_compiler_c_o_CXX=no
13879 $RM -r conftest 2>/dev/null
13880 mkdir conftest
13881 cd conftest
13882 mkdir out
13883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13884
13885 lt_compiler_flag="-o out/conftest2.$ac_objext"
13886 # Insert the option either (1) after the last *FLAGS variable, or
13887 # (2) before a word containing "conftest.", or (3) at the end.
13888 # Note that $ac_compile itself does not contain backslashes and begins
13889 # with a dollar sign (not a hyphen), so the echo should work correctly.
13890 lt_compile=`echo "$ac_compile" | $SED \
13891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13893 -e 's:$: $lt_compiler_flag:'`
13894 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13895 (eval "$lt_compile" 2>out/conftest.err)
13896 ac_status=$?
13897 cat out/conftest.err >&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13900 then
13901 # The compiler can only warn and ignore the option if not recognized
13902 # So say no if there are warnings
13903 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13904 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13905 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13906 lt_cv_prog_compiler_c_o_CXX=yes
13907 fi
13908 fi
13909 chmod u+w . 2>&5
13910 $RM conftest*
13911 # SGI C++ compiler will create directory out/ii_files/ for
13912 # template instantiation
13913 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13914 $RM out/* && rmdir out
13915 cd ..
13916 $RM -r conftest
13917 $RM conftest*
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13922
13923
13924
13925
13926 hard_links="nottested"
13927 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13928 # do not overwrite the value of need_locks provided by the user
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13930 $as_echo_n "checking if we can lock with hard links... " >&6; }
13931 hard_links=yes
13932 $RM conftest*
13933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13934 touch conftest.a
13935 ln conftest.a conftest.b 2>&5 || hard_links=no
13936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13938 $as_echo "$hard_links" >&6; }
13939 if test "$hard_links" = no; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13941 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13942 need_locks=warn
13943 fi
13944 else
13945 need_locks=no
13946 fi
13947
13948
13949
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13951 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13952
13953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13954 case $host_os in
13955 aix[4-9]*)
13956 # If we're using GNU nm, then we don't want the "-C" option.
13957 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13958 # Also, AIX nm treats weak defined symbols like other global defined
13959 # symbols, whereas GNU nm marks them as "W".
13960 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13961 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'
13962 else
13963 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'
13964 fi
13965 ;;
13966 pw32*)
13967 export_symbols_cmds_CXX="$ltdll_cmds"
13968 ;;
13969 cygwin* | mingw* | cegcc*)
13970 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'
13971 ;;
13972 *)
13973 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13974 ;;
13975 esac
13976 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13977
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13979 $as_echo "$ld_shlibs_CXX" >&6; }
13980 test "$ld_shlibs_CXX" = no && can_build_shared=no
13981
13982 with_gnu_ld_CXX=$with_gnu_ld
13983
13984
13985
13986
13987
13988
13989 #
13990 # Do we need to explicitly link libc?
13991 #
13992 case "x$archive_cmds_need_lc_CXX" in
13993 x|xyes)
13994 # Assume -lc should be added
13995 archive_cmds_need_lc_CXX=yes
13996
13997 if test "$enable_shared" = yes && test "$GCC" = yes; then
13998 case $archive_cmds_CXX in
13999 *'~'*)
14000 # FIXME: we may have to deal with multi-command sequences.
14001 ;;
14002 '$CC '*)
14003 # Test whether the compiler implicitly links with -lc since on some
14004 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14005 # to ld, don't add -lc before -lgcc.
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14008 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 $RM conftest*
14012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14013
14014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14015 (eval $ac_compile) 2>&5
14016 ac_status=$?
14017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14018 test $ac_status = 0; } 2>conftest.err; then
14019 soname=conftest
14020 lib=conftest
14021 libobjs=conftest.$ac_objext
14022 deplibs=
14023 wl=$lt_prog_compiler_wl_CXX
14024 pic_flag=$lt_prog_compiler_pic_CXX
14025 compiler_flags=-v
14026 linker_flags=-v
14027 verstring=
14028 output_objdir=.
14029 libname=conftest
14030 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14031 allow_undefined_flag_CXX=
14032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14033 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14034 ac_status=$?
14035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14036 test $ac_status = 0; }
14037 then
14038 lt_cv_archive_cmds_need_lc_CXX=no
14039 else
14040 lt_cv_archive_cmds_need_lc_CXX=yes
14041 fi
14042 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14043 else
14044 cat conftest.err 1>&5
14045 fi
14046 $RM conftest*
14047
14048 fi
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14050 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14051 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14052 ;;
14053 esac
14054 fi
14055 ;;
14056 esac
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14122 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14123
14124 library_names_spec=
14125 libname_spec='lib$name'
14126 soname_spec=
14127 shrext_cmds=".so"
14128 postinstall_cmds=
14129 postuninstall_cmds=
14130 finish_cmds=
14131 finish_eval=
14132 shlibpath_var=
14133 shlibpath_overrides_runpath=unknown
14134 version_type=none
14135 dynamic_linker="$host_os ld.so"
14136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14137 need_lib_prefix=unknown
14138 hardcode_into_libs=no
14139
14140 # when you set need_version to no, make sure it does not cause -set_version
14141 # flags to be left without arguments
14142 need_version=unknown
14143
14144 case $host_os in
14145 aix3*)
14146 version_type=linux
14147 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14148 shlibpath_var=LIBPATH
14149
14150 # AIX 3 has no versioning support, so we append a major version to the name.
14151 soname_spec='${libname}${release}${shared_ext}$major'
14152 ;;
14153
14154 aix[4-9]*)
14155 version_type=linux
14156 need_lib_prefix=no
14157 need_version=no
14158 hardcode_into_libs=yes
14159 if test "$host_cpu" = ia64; then
14160 # AIX 5 supports IA64
14161 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14162 shlibpath_var=LD_LIBRARY_PATH
14163 else
14164 # With GCC up to 2.95.x, collect2 would create an import file
14165 # for dependence libraries. The import file would start with
14166 # the line `#! .'. This would cause the generated library to
14167 # depend on `.', always an invalid library. This was fixed in
14168 # development snapshots of GCC prior to 3.0.
14169 case $host_os in
14170 aix4 | aix4.[01] | aix4.[01].*)
14171 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14172 echo ' yes '
14173 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14174 :
14175 else
14176 can_build_shared=no
14177 fi
14178 ;;
14179 esac
14180 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14181 # soname into executable. Probably we can add versioning support to
14182 # collect2, so additional links can be useful in future.
14183 if test "$aix_use_runtimelinking" = yes; then
14184 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14185 # instead of lib<name>.a to let people know that these are not
14186 # typical AIX shared libraries.
14187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188 else
14189 # We preserve .a as extension for shared libraries through AIX4.2
14190 # and later when we are not doing run time linking.
14191 library_names_spec='${libname}${release}.a $libname.a'
14192 soname_spec='${libname}${release}${shared_ext}$major'
14193 fi
14194 shlibpath_var=LIBPATH
14195 fi
14196 ;;
14197
14198 amigaos*)
14199 case $host_cpu in
14200 powerpc)
14201 # Since July 2007 AmigaOS4 officially supports .so libraries.
14202 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 ;;
14205 m68k)
14206 library_names_spec='$libname.ixlibrary $libname.a'
14207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14208 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'
14209 ;;
14210 esac
14211 ;;
14212
14213 beos*)
14214 library_names_spec='${libname}${shared_ext}'
14215 dynamic_linker="$host_os ld.so"
14216 shlibpath_var=LIBRARY_PATH
14217 ;;
14218
14219 bsdi[45]*)
14220 version_type=linux
14221 need_version=no
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 soname_spec='${libname}${release}${shared_ext}$major'
14224 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14225 shlibpath_var=LD_LIBRARY_PATH
14226 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14227 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14228 # the default ld.so.conf also contains /usr/contrib/lib and
14229 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14230 # libtool to hard-code these into programs
14231 ;;
14232
14233 cygwin* | mingw* | pw32* | cegcc*)
14234 version_type=windows
14235 shrext_cmds=".dll"
14236 need_version=no
14237 need_lib_prefix=no
14238
14239 case $GCC,$host_os in
14240 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14241 library_names_spec='$libname.dll.a'
14242 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14243 postinstall_cmds='base_file=`basename \${file}`~
14244 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14245 dldir=$destdir/`dirname \$dlpath`~
14246 test -d \$dldir || mkdir -p \$dldir~
14247 $install_prog $dir/$dlname \$dldir/$dlname~
14248 chmod a+x \$dldir/$dlname~
14249 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14250 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14251 fi'
14252 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14253 dlpath=$dir/\$dldll~
14254 $RM \$dlpath'
14255 shlibpath_overrides_runpath=yes
14256
14257 case $host_os in
14258 cygwin*)
14259 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14260 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261
14262 ;;
14263 mingw* | cegcc*)
14264 # MinGW DLLs use traditional 'lib' prefix
14265 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14266 ;;
14267 pw32*)
14268 # pw32 DLLs use 'pw' prefix rather than 'lib'
14269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14270 ;;
14271 esac
14272 ;;
14273
14274 *)
14275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14276 ;;
14277 esac
14278 dynamic_linker='Win32 ld.exe'
14279 # FIXME: first we should search . and the directory the executable is in
14280 shlibpath_var=PATH
14281 ;;
14282
14283 darwin* | rhapsody*)
14284 dynamic_linker="$host_os dyld"
14285 version_type=darwin
14286 need_lib_prefix=no
14287 need_version=no
14288 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14289 soname_spec='${libname}${release}${major}$shared_ext'
14290 shlibpath_overrides_runpath=yes
14291 shlibpath_var=DYLD_LIBRARY_PATH
14292 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14293
14294 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14295 ;;
14296
14297 dgux*)
14298 version_type=linux
14299 need_lib_prefix=no
14300 need_version=no
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LD_LIBRARY_PATH
14304 ;;
14305
14306 freebsd* | dragonfly*)
14307 # DragonFly does not have aout. When/if they implement a new
14308 # versioning mechanism, adjust this.
14309 if test -x /usr/bin/objformat; then
14310 objformat=`/usr/bin/objformat`
14311 else
14312 case $host_os in
14313 freebsd[23].*) objformat=aout ;;
14314 *) objformat=elf ;;
14315 esac
14316 fi
14317 version_type=freebsd-$objformat
14318 case $version_type in
14319 freebsd-elf*)
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14321 need_version=no
14322 need_lib_prefix=no
14323 ;;
14324 freebsd-*)
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14326 need_version=yes
14327 ;;
14328 esac
14329 shlibpath_var=LD_LIBRARY_PATH
14330 case $host_os in
14331 freebsd2.*)
14332 shlibpath_overrides_runpath=yes
14333 ;;
14334 freebsd3.[01]* | freebsdelf3.[01]*)
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14337 ;;
14338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14340 shlibpath_overrides_runpath=no
14341 hardcode_into_libs=yes
14342 ;;
14343 *) # from 4.6 on, and DragonFly
14344 shlibpath_overrides_runpath=yes
14345 hardcode_into_libs=yes
14346 ;;
14347 esac
14348 ;;
14349
14350 gnu*)
14351 version_type=linux
14352 need_lib_prefix=no
14353 need_version=no
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 hardcode_into_libs=yes
14358 ;;
14359
14360 haiku*)
14361 version_type=linux
14362 need_lib_prefix=no
14363 need_version=no
14364 dynamic_linker="$host_os runtime_loader"
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 shlibpath_var=LIBRARY_PATH
14368 shlibpath_overrides_runpath=yes
14369 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14370 hardcode_into_libs=yes
14371 ;;
14372
14373 hpux9* | hpux10* | hpux11*)
14374 # Give a soname corresponding to the major version so that dld.sl refuses to
14375 # link against other versions.
14376 version_type=sunos
14377 need_lib_prefix=no
14378 need_version=no
14379 case $host_cpu in
14380 ia64*)
14381 shrext_cmds='.so'
14382 hardcode_into_libs=yes
14383 dynamic_linker="$host_os dld.so"
14384 shlibpath_var=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 if test "X$HPUX_IA64_MODE" = X32; then
14389 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14390 else
14391 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14392 fi
14393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14394 ;;
14395 hppa*64*)
14396 shrext_cmds='.sl'
14397 hardcode_into_libs=yes
14398 dynamic_linker="$host_os dld.sl"
14399 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14404 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14405 ;;
14406 *)
14407 shrext_cmds='.sl'
14408 dynamic_linker="$host_os dld.sl"
14409 shlibpath_var=SHLIB_PATH
14410 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 ;;
14414 esac
14415 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14416 postinstall_cmds='chmod 555 $lib'
14417 # or fails outright, so override atomically:
14418 install_override_mode=555
14419 ;;
14420
14421 interix[3-9]*)
14422 version_type=linux
14423 need_lib_prefix=no
14424 need_version=no
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=no
14430 hardcode_into_libs=yes
14431 ;;
14432
14433 irix5* | irix6* | nonstopux*)
14434 case $host_os in
14435 nonstopux*) version_type=nonstopux ;;
14436 *)
14437 if test "$lt_cv_prog_gnu_ld" = yes; then
14438 version_type=linux
14439 else
14440 version_type=irix
14441 fi ;;
14442 esac
14443 need_lib_prefix=no
14444 need_version=no
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14447 case $host_os in
14448 irix5* | nonstopux*)
14449 libsuff= shlibsuff=
14450 ;;
14451 *)
14452 case $LD in # libtool.m4 will add one of these switches to LD
14453 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14454 libsuff= shlibsuff= libmagic=32-bit;;
14455 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14456 libsuff=32 shlibsuff=N32 libmagic=N32;;
14457 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14458 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14459 *) libsuff= shlibsuff= libmagic=never-match;;
14460 esac
14461 ;;
14462 esac
14463 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14464 shlibpath_overrides_runpath=no
14465 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14466 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14467 hardcode_into_libs=yes
14468 ;;
14469
14470 # No shared lib support for Linux oldld, aout, or coff.
14471 linux*oldld* | linux*aout* | linux*coff*)
14472 dynamic_linker=no
14473 ;;
14474
14475 # This must be Linux ELF.
14476 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14477 version_type=linux
14478 need_lib_prefix=no
14479 need_version=no
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 shlibpath_overrides_runpath=no
14485
14486 # Some binutils ld are patched to set DT_RUNPATH
14487 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 lt_cv_shlibpath_overrides_runpath=no
14491 save_LDFLAGS=$LDFLAGS
14492 save_libdir=$libdir
14493 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14494 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14495 if test x$gcc_no_link = xyes; then
14496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14497 fi
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500
14501 int
14502 main ()
14503 {
14504
14505 ;
14506 return 0;
14507 }
14508 _ACEOF
14509 if ac_fn_cxx_try_link "$LINENO"; then :
14510 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14511 lt_cv_shlibpath_overrides_runpath=yes
14512 fi
14513 fi
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LDFLAGS=$save_LDFLAGS
14517 libdir=$save_libdir
14518
14519 fi
14520
14521 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14522
14523 # This implies no fast_install, which is unacceptable.
14524 # Some rework will be needed to allow for fast_install
14525 # before this can be enabled.
14526 hardcode_into_libs=yes
14527
14528 # Append ld.so.conf contents to the search path
14529 if test -f /etc/ld.so.conf; then
14530 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' ' '`
14531 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14532 fi
14533
14534 # We used to test for /lib/ld.so.1 and disable shared libraries on
14535 # powerpc, because MkLinux only supported shared libraries with the
14536 # GNU dynamic linker. Since this was broken with cross compilers,
14537 # most powerpc-linux boxes support dynamic linking these days and
14538 # people can always --disable-shared, the test was removed, and we
14539 # assume the GNU/Linux dynamic linker is in use.
14540 dynamic_linker='GNU/Linux ld.so'
14541 ;;
14542
14543 netbsd*)
14544 version_type=sunos
14545 need_lib_prefix=no
14546 need_version=no
14547 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14549 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14550 dynamic_linker='NetBSD (a.out) ld.so'
14551 else
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 dynamic_linker='NetBSD ld.elf_so'
14555 fi
14556 shlibpath_var=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath=yes
14558 hardcode_into_libs=yes
14559 ;;
14560
14561 newsos6)
14562 version_type=linux
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 shlibpath_var=LD_LIBRARY_PATH
14565 shlibpath_overrides_runpath=yes
14566 ;;
14567
14568 *nto* | *qnx*)
14569 version_type=qnx
14570 need_lib_prefix=no
14571 need_version=no
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573 soname_spec='${libname}${release}${shared_ext}$major'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath=no
14576 hardcode_into_libs=yes
14577 dynamic_linker='ldqnx.so'
14578 ;;
14579
14580 openbsd*)
14581 version_type=sunos
14582 sys_lib_dlsearch_path_spec="/usr/lib"
14583 need_lib_prefix=no
14584 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14585 case $host_os in
14586 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14587 *) need_version=no ;;
14588 esac
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14593 case $host_os in
14594 openbsd2.[89] | openbsd2.[89].*)
14595 shlibpath_overrides_runpath=no
14596 ;;
14597 *)
14598 shlibpath_overrides_runpath=yes
14599 ;;
14600 esac
14601 else
14602 shlibpath_overrides_runpath=yes
14603 fi
14604 ;;
14605
14606 os2*)
14607 libname_spec='$name'
14608 shrext_cmds=".dll"
14609 need_lib_prefix=no
14610 library_names_spec='$libname${shared_ext} $libname.a'
14611 dynamic_linker='OS/2 ld.exe'
14612 shlibpath_var=LIBPATH
14613 ;;
14614
14615 osf3* | osf4* | osf5*)
14616 version_type=osf
14617 need_lib_prefix=no
14618 need_version=no
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14623 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14624 ;;
14625
14626 rdos*)
14627 dynamic_linker=no
14628 ;;
14629
14630 solaris*)
14631 version_type=linux
14632 need_lib_prefix=no
14633 need_version=no
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 hardcode_into_libs=yes
14639 # ldd complains unless libraries are executable
14640 postinstall_cmds='chmod +x $lib'
14641 ;;
14642
14643 sunos4*)
14644 version_type=sunos
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 shlibpath_overrides_runpath=yes
14649 if test "$with_gnu_ld" = yes; then
14650 need_lib_prefix=no
14651 fi
14652 need_version=yes
14653 ;;
14654
14655 sysv4 | sysv4.3*)
14656 version_type=linux
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14660 case $host_vendor in
14661 sni)
14662 shlibpath_overrides_runpath=no
14663 need_lib_prefix=no
14664 runpath_var=LD_RUN_PATH
14665 ;;
14666 siemens)
14667 need_lib_prefix=no
14668 ;;
14669 motorola)
14670 need_lib_prefix=no
14671 need_version=no
14672 shlibpath_overrides_runpath=no
14673 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14674 ;;
14675 esac
14676 ;;
14677
14678 sysv4*MP*)
14679 if test -d /usr/nec ;then
14680 version_type=linux
14681 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14682 soname_spec='$libname${shared_ext}.$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 fi
14685 ;;
14686
14687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14688 version_type=freebsd-elf
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14692 soname_spec='${libname}${release}${shared_ext}$major'
14693 shlibpath_var=LD_LIBRARY_PATH
14694 shlibpath_overrides_runpath=yes
14695 hardcode_into_libs=yes
14696 if test "$with_gnu_ld" = yes; then
14697 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14698 else
14699 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14700 case $host_os in
14701 sco3.2v5*)
14702 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14703 ;;
14704 esac
14705 fi
14706 sys_lib_dlsearch_path_spec='/usr/lib'
14707 ;;
14708
14709 tpf*)
14710 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14711 version_type=linux
14712 need_lib_prefix=no
14713 need_version=no
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath=no
14717 hardcode_into_libs=yes
14718 ;;
14719
14720 uts4*)
14721 version_type=linux
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 soname_spec='${libname}${release}${shared_ext}$major'
14724 shlibpath_var=LD_LIBRARY_PATH
14725 ;;
14726
14727 *)
14728 dynamic_linker=no
14729 ;;
14730 esac
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14732 $as_echo "$dynamic_linker" >&6; }
14733 test "$dynamic_linker" = no && can_build_shared=no
14734
14735 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14736 if test "$GCC" = yes; then
14737 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14738 fi
14739
14740 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14741 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14742 fi
14743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14744 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14745 fi
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14786 hardcode_action_CXX=
14787 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14788 test -n "$runpath_var_CXX" ||
14789 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14790
14791 # We can hardcode non-existent directories.
14792 if test "$hardcode_direct_CXX" != no &&
14793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14794 # have to relink, otherwise we might link with an installed library
14795 # when we should be linking with a yet-to-be-installed one
14796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14797 test "$hardcode_minus_L_CXX" != no; then
14798 # Linking always hardcodes the temporary library directory.
14799 hardcode_action_CXX=relink
14800 else
14801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14802 hardcode_action_CXX=immediate
14803 fi
14804 else
14805 # We cannot hardcode anything, or else we can only hardcode existing
14806 # directories.
14807 hardcode_action_CXX=unsupported
14808 fi
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14810 $as_echo "$hardcode_action_CXX" >&6; }
14811
14812 if test "$hardcode_action_CXX" = relink ||
14813 test "$inherit_rpath_CXX" = yes; then
14814 # Fast installation is not supported
14815 enable_fast_install=no
14816 elif test "$shlibpath_overrides_runpath" = yes ||
14817 test "$enable_shared" = no; then
14818 # Fast installation is not necessary
14819 enable_fast_install=needless
14820 fi
14821
14822
14823
14824
14825
14826
14827
14828 fi # test -n "$compiler"
14829
14830 CC=$lt_save_CC
14831 LDCXX=$LD
14832 LD=$lt_save_LD
14833 GCC=$lt_save_GCC
14834 with_gnu_ld=$lt_save_with_gnu_ld
14835 lt_cv_path_LDCXX=$lt_cv_path_LD
14836 lt_cv_path_LD=$lt_save_path_LD
14837 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14838 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14839 fi # test "$_lt_caught_CXX_error" != yes
14840
14841 ac_ext=c
14842 ac_cpp='$CPP $CPPFLAGS'
14843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859 ac_config_commands="$ac_config_commands libtool"
14860
14861
14862
14863
14864 # Only expand once:
14865
14866
14867
14868
14869
14870 case $host in
14871 *-cygwin* | *-mingw*)
14872 # 'host' will be top-level target in the case of a target lib,
14873 # we must compare to with_cross_host to decide if this is a native
14874 # or cross-compiler and select where to install dlls appropriately.
14875 if test -n "$with_cross_host" &&
14876 test x"$with_cross_host" != x"no"; then
14877 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14878 else
14879 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14880 fi
14881 ;;
14882 *)
14883 lt_host_flags=
14884 ;;
14885 esac
14886
14887
14888
14889
14890
14891
14892 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14893 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14894
14895 # Possibly disable most of the library.
14896 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14897 ## than just ignoring the results. Faster /and/ more correct, win win.
14898
14899 # Check whether --enable-hosted-libstdcxx was given.
14900 if test "${enable_hosted_libstdcxx+set}" = set; then :
14901 enableval=$enable_hosted_libstdcxx;
14902 else
14903 case "$host" in
14904 arm*-*-symbianelf*)
14905 enable_hosted_libstdcxx=no
14906 ;;
14907 *)
14908 enable_hosted_libstdcxx=yes
14909 ;;
14910 esac
14911 fi
14912
14913 if test "$enable_hosted_libstdcxx" = no; then
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14915 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14916 is_hosted=no
14917 hosted_define=0
14918 enable_abi_check=no
14919 enable_libstdcxx_pch=no
14920 else
14921 is_hosted=yes
14922 hosted_define=1
14923 fi
14924
14925
14926 cat >>confdefs.h <<_ACEOF
14927 #define _GLIBCXX_HOSTED $hosted_define
14928 _ACEOF
14929
14930
14931
14932 # Enable compiler support that doesn't require linking.
14933
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14935 $as_echo_n "checking for exception model to use... " >&6; }
14936
14937 ac_ext=cpp
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14942
14943 # Check whether --enable-sjlj-exceptions was given.
14944 if test "${enable_sjlj_exceptions+set}" = set; then :
14945 enableval=$enable_sjlj_exceptions;
14946 case "$enableval" in
14947 yes|no|auto) ;;
14948 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14949 esac
14950
14951 else
14952 enable_sjlj_exceptions=auto
14953 fi
14954
14955
14956
14957 if test $enable_sjlj_exceptions = auto; then
14958 # Botheration. Now we've got to detect the exception model. Link tests
14959 # against libgcc.a are problematic since we've not been given proper -L
14960 # bits for single-tree newlib and libgloss.
14961 #
14962 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14963 cat > conftest.$ac_ext << EOF
14964 #line 14964 "configure"
14965 struct S { ~S(); };
14966 void bar();
14967 void foo()
14968 {
14969 S s;
14970 bar();
14971 }
14972 EOF
14973 old_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS=-S
14975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14976 (eval $ac_compile) 2>&5
14977 ac_status=$?
14978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14979 test $ac_status = 0; }; then
14980 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14981 enable_sjlj_exceptions=yes
14982 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14983 enable_sjlj_exceptions=no
14984 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14985 enable_sjlj_exceptions=no
14986 fi
14987 fi
14988 CXXFLAGS="$old_CXXFLAGS"
14989 rm -f conftest*
14990 fi
14991
14992 # This is a tad weird, for hysterical raisins. We have to map
14993 # enable/disable to two different models.
14994 case $enable_sjlj_exceptions in
14995 yes)
14996
14997 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14998
14999 ac_exception_model_name=sjlj
15000 ;;
15001 no)
15002 ac_exception_model_name="call frame"
15003 ;;
15004 *)
15005 as_fn_error "unable to detect exception model" "$LINENO" 5
15006 ;;
15007 esac
15008 ac_ext=c
15009 ac_cpp='$CPP $CPPFLAGS'
15010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15013
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15015 $as_echo "$ac_exception_model_name" >&6; }
15016
15017
15018 # Check whether --enable-libstdcxx-pch was given.
15019 if test "${enable_libstdcxx_pch+set}" = set; then :
15020 enableval=$enable_libstdcxx_pch;
15021 case "$enableval" in
15022 yes|no) ;;
15023 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15024 esac
15025
15026 else
15027 enable_libstdcxx_pch=$is_hosted
15028 fi
15029
15030
15031 if test $enable_libstdcxx_pch = yes; then
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15033 $as_echo_n "checking for compiler with PCH support... " >&6; }
15034 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_save_CXXFLAGS="$CXXFLAGS"
15038 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15039
15040 ac_ext=cpp
15041 ac_cpp='$CXXCPP $CPPFLAGS'
15042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15045
15046 echo '#include <math.h>' > conftest.h
15047 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15048 -o conftest.h.gch 1>&5 2>&1 &&
15049 echo '#error "pch failed"' > conftest.h &&
15050 echo '#include "conftest.h"' > conftest.cc &&
15051 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15052 then
15053 glibcxx_cv_prog_CXX_pch=yes
15054 else
15055 glibcxx_cv_prog_CXX_pch=no
15056 fi
15057 rm -f conftest*
15058 CXXFLAGS=$ac_save_CXXFLAGS
15059 ac_ext=c
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15064
15065
15066 fi
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15068 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15069 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15070 fi
15071
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15073 $as_echo_n "checking for enabled PCH... " >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15075 $as_echo "$enable_libstdcxx_pch" >&6; }
15076
15077
15078 if test $enable_libstdcxx_pch = yes; then
15079 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15080 else
15081 glibcxx_PCHFLAGS=""
15082 fi
15083
15084
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15087 $as_echo_n "checking for thread model used by GCC... " >&6; }
15088 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15090 $as_echo "$target_thread_file" >&6; }
15091
15092
15093
15094 ac_ext=cpp
15095 ac_cpp='$CXXCPP $CPPFLAGS'
15096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15099
15100 old_CXXFLAGS="$CXXFLAGS"
15101
15102 # Do link tests if possible, instead asm tests, limited to some platforms
15103 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15104 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15105 atomic_builtins_link_tests=no
15106 if test x$gcc_no_link != xyes; then
15107 # Can do link tests. Limit to some tested platforms
15108 case "$host" in
15109 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15110 atomic_builtins_link_tests=yes
15111 ;;
15112 esac
15113 fi
15114
15115 if test x$atomic_builtins_link_tests = xyes; then
15116
15117 # Do link tests.
15118
15119 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15120
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15122 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15123 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126
15127 if test x$gcc_no_link = xyes; then
15128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15129 fi
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132
15133 int
15134 main ()
15135 {
15136 typedef bool atomic_type;
15137 atomic_type c1;
15138 atomic_type c2;
15139 atomic_type c3(0);
15140 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15141 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15142 __ATOMIC_RELAXED);
15143 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15144 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15145
15146 ;
15147 return 0;
15148 }
15149 _ACEOF
15150 if ac_fn_cxx_try_link "$LINENO"; then :
15151 glibcxx_cv_atomic_bool=yes
15152 else
15153 glibcxx_cv_atomic_bool=no
15154 fi
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157
15158 fi
15159
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15161 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15162
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15164 $as_echo_n "checking for atomic builtins for short... " >&6; }
15165 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168
15169 if test x$gcc_no_link = xyes; then
15170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15171 fi
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15174
15175 int
15176 main ()
15177 {
15178 typedef short atomic_type;
15179 atomic_type c1;
15180 atomic_type c2;
15181 atomic_type c3(0);
15182 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15183 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15184 __ATOMIC_RELAXED);
15185 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15186 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 if ac_fn_cxx_try_link "$LINENO"; then :
15193 glibcxx_cv_atomic_short=yes
15194 else
15195 glibcxx_cv_atomic_short=no
15196 fi
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199
15200 fi
15201
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15203 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15204
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15206 $as_echo_n "checking for atomic builtins for int... " >&6; }
15207 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15210
15211 if test x$gcc_no_link = xyes; then
15212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15213 fi
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216
15217 int
15218 main ()
15219 {
15220 typedef int atomic_type;
15221 atomic_type c1;
15222 atomic_type c2;
15223 atomic_type c3(0);
15224 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15225 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15226 __ATOMIC_RELAXED);
15227 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15228 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235 glibcxx_cv_atomic_int=yes
15236 else
15237 glibcxx_cv_atomic_int=no
15238 fi
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241
15242 fi
15243
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15245 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15246
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15248 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15249 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252
15253 if test x$gcc_no_link = xyes; then
15254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15255 fi
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15258
15259 int
15260 main ()
15261 {
15262 typedef long long atomic_type;
15263 atomic_type c1;
15264 atomic_type c2;
15265 atomic_type c3(0);
15266 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15267 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15268 __ATOMIC_RELAXED);
15269 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15270 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15271
15272 ;
15273 return 0;
15274 }
15275 _ACEOF
15276 if ac_fn_cxx_try_link "$LINENO"; then :
15277 glibcxx_cv_atomic_long_long=yes
15278 else
15279 glibcxx_cv_atomic_long_long=no
15280 fi
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15283
15284 fi
15285
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15287 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15288
15289 else
15290
15291 # Do asm tests.
15292
15293 # Compile unoptimized.
15294 CXXFLAGS='-O0 -S'
15295
15296 # Fake what AC_TRY_COMPILE does.
15297
15298 cat > conftest.$ac_ext << EOF
15299 #line 15299 "configure"
15300 int main()
15301 {
15302 typedef bool atomic_type;
15303 atomic_type c1;
15304 atomic_type c2;
15305 atomic_type c3(0);
15306 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15307 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15308 __ATOMIC_RELAXED);
15309 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15310 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15311
15312 return 0;
15313 }
15314 EOF
15315
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15317 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15319 (eval $ac_compile) 2>&5
15320 ac_status=$?
15321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 test $ac_status = 0; }; then
15323 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15324 glibcxx_cv_atomic_bool=no
15325 else
15326 glibcxx_cv_atomic_bool=yes
15327 fi
15328 fi
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15330 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15331 rm -f conftest*
15332
15333 cat > conftest.$ac_ext << EOF
15334 #line 15334 "configure"
15335 int main()
15336 {
15337 typedef short atomic_type;
15338 atomic_type c1;
15339 atomic_type c2;
15340 atomic_type c3(0);
15341 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15342 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15343 __ATOMIC_RELAXED);
15344 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15345 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15346
15347 return 0;
15348 }
15349 EOF
15350
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15352 $as_echo_n "checking for atomic builtins for short... " >&6; }
15353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15354 (eval $ac_compile) 2>&5
15355 ac_status=$?
15356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 test $ac_status = 0; }; then
15358 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15359 glibcxx_cv_atomic_short=no
15360 else
15361 glibcxx_cv_atomic_short=yes
15362 fi
15363 fi
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15365 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15366 rm -f conftest*
15367
15368 cat > conftest.$ac_ext << EOF
15369 #line 15369 "configure"
15370 int main()
15371 {
15372 // NB: _Atomic_word not necessarily int.
15373 typedef int atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382
15383 return 0;
15384 }
15385 EOF
15386
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15388 $as_echo_n "checking for atomic builtins for int... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_int=no
15396 else
15397 glibcxx_cv_atomic_int=yes
15398 fi
15399 fi
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15401 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15402 rm -f conftest*
15403
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15407 {
15408 typedef long long atomic_type;
15409 atomic_type c1;
15410 atomic_type c2;
15411 atomic_type c3(0);
15412 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414 __ATOMIC_RELAXED);
15415 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15417
15418 return 0;
15419 }
15420 EOF
15421
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428 test $ac_status = 0; }; then
15429 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430 glibcxx_cv_atomic_long_long=no
15431 else
15432 glibcxx_cv_atomic_long_long=yes
15433 fi
15434 fi
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15436 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15437 rm -f conftest*
15438
15439 fi
15440
15441 CXXFLAGS="$old_CXXFLAGS"
15442 ac_ext=c
15443 ac_cpp='$CPP $CPPFLAGS'
15444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447
15448
15449 # Set atomicity_dir to builtins if all of above tests pass.
15450 if test $glibcxx_cv_atomic_bool = yes \
15451 && test $glibcxx_cv_atomic_short = yes \
15452 && test $glibcxx_cv_atomic_int = yes \
15453 && test $glibcxx_cv_atomic_long_long = yes ; then
15454
15455 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15456
15457 atomicity_dir=cpu/generic/atomicity_builtins
15458 fi
15459
15460 # If still generic, set to mutex.
15461 if test $atomicity_dir = "cpu/generic" ; then
15462 atomicity_dir=cpu/generic/atomicity_mutex
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15464 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15465 if test "x$target_thread_file" = xsingle; then
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15467 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15469 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15470 else
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15472 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15474 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15475 fi
15476 fi
15477
15478
15479
15480
15481 # Fake what AC_TRY_COMPILE does, without linking as this is
15482 # unnecessary for this test.
15483
15484 cat > conftest.$ac_ext << EOF
15485 #line 15485 "configure"
15486 int main()
15487 {
15488 _Decimal32 d1;
15489 _Decimal64 d2;
15490 _Decimal128 d3;
15491 return 0;
15492 }
15493 EOF
15494
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15496 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502
15503 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15504
15505 enable_dfp=yes
15506 else
15507 enable_dfp=no
15508 fi
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15510 $as_echo "$enable_dfp" >&6; }
15511 rm -f conftest*
15512
15513
15514
15515
15516 ac_ext=cpp
15517 ac_cpp='$CXXCPP $CPPFLAGS'
15518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15521
15522
15523 # Fake what AC_TRY_COMPILE does, without linking as this is
15524 # unnecessary for this test.
15525
15526 cat > conftest.$ac_ext << EOF
15527 #line 15527 "configure"
15528 template<typename T1, typename T2>
15529 struct same
15530 { typedef T2 type; };
15531
15532 template<typename T>
15533 struct same<T, T>;
15534
15535 int main()
15536 {
15537 typename same<long, __int128>::type i1;
15538 typename same<long long, __int128>::type i2;
15539 }
15540 EOF
15541
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15543 $as_echo_n "checking for __int128... " >&6; }
15544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15545 (eval $ac_compile) 2>&5
15546 ac_status=$?
15547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15548 test $ac_status = 0; }; then
15549
15550 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15551
15552 enable_int128=yes
15553 else
15554 enable_int128=no
15555 fi
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15557 $as_echo "$enable_int128" >&6; }
15558 rm -f conftest*
15559
15560 cat > conftest.$ac_ext << EOF
15561 #line 15561 "configure"
15562 template<typename T1, typename T2>
15563 struct same
15564 { typedef T2 type; };
15565
15566 template<typename T>
15567 struct same<T, T>;
15568
15569 int main()
15570 {
15571 typename same<double, __float128>::type f1;
15572 typename same<long double, __float128>::type f2;
15573 }
15574 EOF
15575
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15577 $as_echo_n "checking for __float128... " >&6; }
15578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15579 (eval $ac_compile) 2>&5
15580 ac_status=$?
15581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15582 test $ac_status = 0; }; then
15583
15584 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15585
15586 enable_float128=yes
15587 else
15588 enable_float128=no
15589 fi
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15591 $as_echo "$enable_float128" >&6; }
15592 rm -f conftest*
15593
15594 ac_ext=c
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
15600
15601
15602 # Checks for compiler support that doesn't require linking.
15603
15604 # All these tests are for C++; save the language and the compiler flags.
15605 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15606 # found in GLIBCXX_CONFIGURE.
15607
15608 ac_ext=cpp
15609 ac_cpp='$CXXCPP $CPPFLAGS'
15610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15613
15614 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15615 ac_save_CXXFLAGS="$CXXFLAGS"
15616
15617 # Check for maintainer-mode bits.
15618 if test x"$USE_MAINTAINER_MODE" = xno; then
15619 WERROR=''
15620 else
15621 WERROR='-Werror'
15622 fi
15623
15624 # Check for -ffunction-sections -fdata-sections
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15626 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15627 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15630 int foo; void bar() { };
15631 int
15632 main ()
15633 {
15634
15635 ;
15636 return 0;
15637 }
15638 _ACEOF
15639 if ac_fn_cxx_try_compile "$LINENO"; then :
15640 ac_fdsections=yes
15641 else
15642 ac_fdsections=no
15643 fi
15644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15645 if test "$ac_test_CXXFLAGS" = set; then
15646 CXXFLAGS="$ac_save_CXXFLAGS"
15647 else
15648 # this is the suspicious part
15649 CXXFLAGS=''
15650 fi
15651 if test x"$ac_fdsections" = x"yes"; then
15652 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15653 fi
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15655 $as_echo "$ac_fdsections" >&6; }
15656
15657 ac_ext=c
15658 ac_cpp='$CPP $CPPFLAGS'
15659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15662
15663
15664
15665
15666
15667 # Enable all the variable C++ runtime options that don't require linking.
15668
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15670 $as_echo_n "checking for underlying I/O to use... " >&6; }
15671 # Check whether --enable-cstdio was given.
15672 if test "${enable_cstdio+set}" = set; then :
15673 enableval=$enable_cstdio;
15674 case "$enableval" in
15675 stdio) ;;
15676 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15677 esac
15678
15679 else
15680 enable_cstdio=stdio
15681 fi
15682
15683
15684
15685 # Now that libio has been removed, you can have any color you want as long
15686 # as it's black. This is one big no-op until other packages are added, but
15687 # showing the framework never hurts.
15688 case ${enable_cstdio} in
15689 stdio)
15690 CSTDIO_H=config/io/c_io_stdio.h
15691 BASIC_FILE_H=config/io/basic_file_stdio.h
15692 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15694 $as_echo "stdio" >&6; }
15695 ;;
15696 esac
15697
15698
15699
15700
15701
15702
15703 # Check whether --enable-clocale was given.
15704 if test "${enable_clocale+set}" = set; then :
15705 enableval=$enable_clocale;
15706 case "$enableval" in
15707 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15708 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15709 esac
15710
15711 else
15712 enable_clocale=auto
15713 fi
15714
15715
15716
15717 # Deal with gettext issues. Default to not using it (=no) until we detect
15718 # support for it later. Let the user turn it off via --e/d, but let that
15719 # default to on for easier handling.
15720 USE_NLS=no
15721 # Check whether --enable-nls was given.
15722 if test "${enable_nls+set}" = set; then :
15723 enableval=$enable_nls;
15724 else
15725 enable_nls=yes
15726 fi
15727
15728
15729 # Either a known package, or "auto"
15730 if test $enable_clocale = no || test $enable_clocale = yes; then
15731 enable_clocale=auto
15732 fi
15733 enable_clocale_flag=$enable_clocale
15734
15735 # Probe for locale model to use if none specified.
15736 # Default to "generic".
15737 if test $enable_clocale_flag = auto; then
15738 case ${target_os} in
15739 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15740 enable_clocale_flag=gnu
15741 ;;
15742 darwin* | freebsd*)
15743 enable_clocale_flag=darwin
15744 ;;
15745 *)
15746 if test x"$with_newlib" = x"yes"; then
15747 enable_clocale_flag=newlib
15748 else
15749 enable_clocale_flag=generic
15750 fi
15751 ;;
15752 esac
15753 fi
15754
15755 # Sanity check model, and test for special functionality.
15756 if test $enable_clocale_flag = gnu; then
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759
15760 #include <features.h>
15761 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15762 _GLIBCXX_ok
15763 #endif
15764
15765 _ACEOF
15766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15767 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15768 enable_clocale_flag=gnu
15769 else
15770 enable_clocale_flag=generic
15771 fi
15772 rm -f conftest*
15773
15774
15775 # Set it to scream when it hurts.
15776 ac_save_CFLAGS="$CFLAGS"
15777 CFLAGS="-Wimplicit-function-declaration -Werror"
15778
15779 # Use strxfrm_l if available.
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15782 #define _GNU_SOURCE 1
15783 #include <string.h>
15784 #include <locale.h>
15785 int
15786 main ()
15787 {
15788 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15789 ;
15790 return 0;
15791 }
15792 _ACEOF
15793 if ac_fn_c_try_compile "$LINENO"; then :
15794
15795 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15796
15797 fi
15798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799
15800 # Use strerror_l if available.
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #define _GNU_SOURCE 1
15804 #include <string.h>
15805 #include <locale.h>
15806 int
15807 main ()
15808 {
15809 __locale_t loc; strerror_l(5, loc);
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 if ac_fn_c_try_compile "$LINENO"; then :
15815
15816 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15817
15818 fi
15819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820
15821 CFLAGS="$ac_save_CFLAGS"
15822 fi
15823
15824 # Perhaps use strerror_r if available, and strerror_l isn't.
15825 ac_save_CFLAGS="$CFLAGS"
15826 CFLAGS="-Wimplicit-function-declaration -Werror"
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15829 #define _GNU_SOURCE 1
15830 #include <string.h>
15831 #include <locale.h>
15832 int
15833 main ()
15834 {
15835 char s[128]; strerror_r(5, s, 128);
15836 ;
15837 return 0;
15838 }
15839 _ACEOF
15840 if ac_fn_c_try_compile "$LINENO"; then :
15841
15842 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15843
15844 fi
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846 CFLAGS="$ac_save_CFLAGS"
15847
15848 # Set configure bits for specified locale package
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15850 $as_echo_n "checking for C locale to use... " >&6; }
15851 case ${enable_clocale_flag} in
15852 generic)
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15854 $as_echo "generic" >&6; }
15855
15856 CLOCALE_H=config/locale/generic/c_locale.h
15857 CLOCALE_CC=config/locale/generic/c_locale.cc
15858 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15859 CCOLLATE_CC=config/locale/generic/collate_members.cc
15860 CCTYPE_CC=config/locale/generic/ctype_members.cc
15861 CMESSAGES_H=config/locale/generic/messages_members.h
15862 CMESSAGES_CC=config/locale/generic/messages_members.cc
15863 CMONEY_CC=config/locale/generic/monetary_members.cc
15864 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15865 CTIME_H=config/locale/generic/time_members.h
15866 CTIME_CC=config/locale/generic/time_members.cc
15867 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15868 ;;
15869 darwin)
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15871 $as_echo "darwin or freebsd" >&6; }
15872
15873 CLOCALE_H=config/locale/generic/c_locale.h
15874 CLOCALE_CC=config/locale/generic/c_locale.cc
15875 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15876 CCOLLATE_CC=config/locale/generic/collate_members.cc
15877 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15878 CMESSAGES_H=config/locale/generic/messages_members.h
15879 CMESSAGES_CC=config/locale/generic/messages_members.cc
15880 CMONEY_CC=config/locale/generic/monetary_members.cc
15881 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15882 CTIME_H=config/locale/generic/time_members.h
15883 CTIME_CC=config/locale/generic/time_members.cc
15884 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15885 ;;
15886
15887 gnu)
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15889 $as_echo "gnu" >&6; }
15890
15891 # Declare intention to use gettext, and add support for specific
15892 # languages.
15893 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15894 ALL_LINGUAS="de fr"
15895
15896 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15897 # Extract the first word of "msgfmt", so it can be a program name with args.
15898 set dummy msgfmt; ac_word=$2
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15900 $as_echo_n "checking for $ac_word... " >&6; }
15901 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 if test -n "$check_msgfmt"; then
15905 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15906 else
15907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15908 for as_dir in $PATH
15909 do
15910 IFS=$as_save_IFS
15911 test -z "$as_dir" && as_dir=.
15912 for ac_exec_ext in '' $ac_executable_extensions; do
15913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15914 ac_cv_prog_check_msgfmt="yes"
15915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15916 break 2
15917 fi
15918 done
15919 done
15920 IFS=$as_save_IFS
15921
15922 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15923 fi
15924 fi
15925 check_msgfmt=$ac_cv_prog_check_msgfmt
15926 if test -n "$check_msgfmt"; then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15928 $as_echo "$check_msgfmt" >&6; }
15929 else
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15931 $as_echo "no" >&6; }
15932 fi
15933
15934
15935 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15936 USE_NLS=yes
15937 fi
15938 # Export the build objects.
15939 for ling in $ALL_LINGUAS; do \
15940 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15941 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15942 done
15943
15944
15945
15946 CLOCALE_H=config/locale/gnu/c_locale.h
15947 CLOCALE_CC=config/locale/gnu/c_locale.cc
15948 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15949 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15950 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15951 CMESSAGES_H=config/locale/gnu/messages_members.h
15952 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15953 CMONEY_CC=config/locale/gnu/monetary_members.cc
15954 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15955 CTIME_H=config/locale/gnu/time_members.h
15956 CTIME_CC=config/locale/gnu/time_members.cc
15957 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15958 ;;
15959 ieee_1003.1-2001)
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15961 $as_echo "IEEE 1003.1" >&6; }
15962
15963 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15964 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15965 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15966 CCOLLATE_CC=config/locale/generic/collate_members.cc
15967 CCTYPE_CC=config/locale/generic/ctype_members.cc
15968 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15969 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15970 CMONEY_CC=config/locale/generic/monetary_members.cc
15971 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15972 CTIME_H=config/locale/generic/time_members.h
15973 CTIME_CC=config/locale/generic/time_members.cc
15974 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15975 ;;
15976 newlib)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15978 $as_echo "newlib" >&6; }
15979
15980 CLOCALE_H=config/locale/generic/c_locale.h
15981 CLOCALE_CC=config/locale/generic/c_locale.cc
15982 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15983 CCOLLATE_CC=config/locale/generic/collate_members.cc
15984 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15985 CMESSAGES_H=config/locale/generic/messages_members.h
15986 CMESSAGES_CC=config/locale/generic/messages_members.cc
15987 CMONEY_CC=config/locale/generic/monetary_members.cc
15988 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15989 CTIME_H=config/locale/generic/time_members.h
15990 CTIME_CC=config/locale/generic/time_members.cc
15991 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15992 ;;
15993 esac
15994
15995 # This is where the testsuite looks for locale catalogs, using the
15996 # -DLOCALEDIR define during testsuite compilation.
15997 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15998
15999
16000 # A standalone libintl (e.g., GNU libintl) may be in use.
16001 if test $USE_NLS = yes; then
16002 for ac_header in libintl.h
16003 do :
16004 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16005 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_LIBINTL_H 1
16008 _ACEOF
16009
16010 else
16011 USE_NLS=no
16012 fi
16013
16014 done
16015
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16017 $as_echo_n "checking for library containing gettext... " >&6; }
16018 if test "${ac_cv_search_gettext+set}" = set; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_func_search_save_LIBS=$LIBS
16022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16024
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16028 #ifdef __cplusplus
16029 extern "C"
16030 #endif
16031 char gettext ();
16032 int
16033 main ()
16034 {
16035 return gettext ();
16036 ;
16037 return 0;
16038 }
16039 _ACEOF
16040 for ac_lib in '' intl; do
16041 if test -z "$ac_lib"; then
16042 ac_res="none required"
16043 else
16044 ac_res=-l$ac_lib
16045 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16046 fi
16047 if test x$gcc_no_link = xyes; then
16048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16049 fi
16050 if ac_fn_c_try_link "$LINENO"; then :
16051 ac_cv_search_gettext=$ac_res
16052 fi
16053 rm -f core conftest.err conftest.$ac_objext \
16054 conftest$ac_exeext
16055 if test "${ac_cv_search_gettext+set}" = set; then :
16056 break
16057 fi
16058 done
16059 if test "${ac_cv_search_gettext+set}" = set; then :
16060
16061 else
16062 ac_cv_search_gettext=no
16063 fi
16064 rm conftest.$ac_ext
16065 LIBS=$ac_func_search_save_LIBS
16066 fi
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16068 $as_echo "$ac_cv_search_gettext" >&6; }
16069 ac_res=$ac_cv_search_gettext
16070 if test "$ac_res" != no; then :
16071 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16072
16073 else
16074 USE_NLS=no
16075 fi
16076
16077 fi
16078 if test $USE_NLS = yes; then
16079
16080 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16081
16082 fi
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16100 $as_echo_n "checking for std::allocator base class... " >&6; }
16101 # Check whether --enable-libstdcxx-allocator was given.
16102 if test "${enable_libstdcxx_allocator+set}" = set; then :
16103 enableval=$enable_libstdcxx_allocator;
16104 case "$enableval" in
16105 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16106 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16107 esac
16108
16109 else
16110 enable_libstdcxx_allocator=auto
16111 fi
16112
16113
16114
16115 # If they didn't use this option switch, or if they specified --enable
16116 # with no specific model, we'll have to look for one. If they
16117 # specified --disable (???), do likewise.
16118 if test $enable_libstdcxx_allocator = no ||
16119 test $enable_libstdcxx_allocator = yes;
16120 then
16121 enable_libstdcxx_allocator=auto
16122 fi
16123
16124 # Either a known package, or "auto". Auto implies the default choice
16125 # for a particular platform.
16126 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16127
16128 # Probe for host-specific support if no specific model is specified.
16129 # Default to "new".
16130 if test $enable_libstdcxx_allocator_flag = auto; then
16131 case ${target_os} in
16132 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16133 enable_libstdcxx_allocator_flag=new
16134 ;;
16135 *)
16136 enable_libstdcxx_allocator_flag=new
16137 ;;
16138 esac
16139 fi
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16141 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16142
16143
16144 # Set configure bits for specified locale package
16145 case ${enable_libstdcxx_allocator_flag} in
16146 bitmap)
16147 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16148 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16149 ;;
16150 malloc)
16151 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16152 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16153 ;;
16154 mt)
16155 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16156 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16157 ;;
16158 new)
16159 ALLOCATOR_H=config/allocator/new_allocator_base.h
16160 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16161 ;;
16162 pool)
16163 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16164 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16165 ;;
16166 esac
16167
16168
16169
16170
16171
16172 # Check whether --enable-cheaders was given.
16173 if test "${enable_cheaders+set}" = set; then :
16174 enableval=$enable_cheaders;
16175 case "$enableval" in
16176 c|c_std|c_global) ;;
16177 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16178 esac
16179
16180 else
16181 enable_cheaders=$c_model
16182 fi
16183
16184
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16186 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16187
16188 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16189
16190 # Allow overrides to configure.host here.
16191 if test $enable_cheaders = c_global; then
16192 c_compatibility=yes
16193 fi
16194
16195
16196
16197
16198
16199
16200
16201 # Check whether --enable-long-long was given.
16202 if test "${enable_long_long+set}" = set; then :
16203 enableval=$enable_long_long;
16204 case "$enableval" in
16205 yes|no) ;;
16206 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16207 esac
16208
16209 else
16210 enable_long_long=yes
16211 fi
16212
16213
16214 if test $enable_long_long = yes; then
16215
16216 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16217
16218 fi
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16220 $as_echo_n "checking for enabled long long specializations... " >&6; }
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16222 $as_echo "$enable_long_long" >&6; }
16223
16224
16225 # Check whether --enable-wchar_t was given.
16226 if test "${enable_wchar_t+set}" = set; then :
16227 enableval=$enable_wchar_t;
16228 case "$enableval" in
16229 yes|no) ;;
16230 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16231 esac
16232
16233 else
16234 enable_wchar_t=yes
16235 fi
16236
16237
16238
16239 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16240 for ac_header in wchar.h
16241 do :
16242 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16243 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_WCHAR_H 1
16246 _ACEOF
16247 ac_has_wchar_h=yes
16248 else
16249 ac_has_wchar_h=no
16250 fi
16251
16252 done
16253
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16255 $as_echo_n "checking for mbstate_t... " >&6; }
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16258 #include <wchar.h>
16259 int
16260 main ()
16261 {
16262 mbstate_t teststate;
16263 ;
16264 return 0;
16265 }
16266 _ACEOF
16267 if ac_fn_c_try_compile "$LINENO"; then :
16268 have_mbstate_t=yes
16269 else
16270 have_mbstate_t=no
16271 fi
16272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16274 $as_echo "$have_mbstate_t" >&6; }
16275 if test x"$have_mbstate_t" = xyes; then
16276
16277 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16278
16279 fi
16280
16281 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16282 # ac_has_wchar_h.
16283 for ac_header in wctype.h
16284 do :
16285 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16286 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_WCTYPE_H 1
16289 _ACEOF
16290 ac_has_wctype_h=yes
16291 else
16292 ac_has_wctype_h=no
16293 fi
16294
16295 done
16296
16297
16298 if test x"$enable_wchar_t" = x"yes"; then
16299
16300
16301 ac_ext=cpp
16302 ac_cpp='$CXXCPP $CPPFLAGS'
16303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16306
16307
16308 if test x"$ac_has_wchar_h" = xyes &&
16309 test x"$ac_has_wctype_h" = xyes; then
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16312 #include <wchar.h>
16313 #include <stddef.h>
16314 wint_t i;
16315 long l = WEOF;
16316 long j = WCHAR_MIN;
16317 long k = WCHAR_MAX;
16318 namespace test
16319 {
16320 using ::btowc;
16321 using ::fgetwc;
16322 using ::fgetws;
16323 using ::fputwc;
16324 using ::fputws;
16325 using ::fwide;
16326 using ::fwprintf;
16327 using ::fwscanf;
16328 using ::getwc;
16329 using ::getwchar;
16330 using ::mbrlen;
16331 using ::mbrtowc;
16332 using ::mbsinit;
16333 using ::mbsrtowcs;
16334 using ::putwc;
16335 using ::putwchar;
16336 using ::swprintf;
16337 using ::swscanf;
16338 using ::ungetwc;
16339 using ::vfwprintf;
16340 using ::vswprintf;
16341 using ::vwprintf;
16342 using ::wcrtomb;
16343 using ::wcscat;
16344 using ::wcschr;
16345 using ::wcscmp;
16346 using ::wcscoll;
16347 using ::wcscpy;
16348 using ::wcscspn;
16349 using ::wcsftime;
16350 using ::wcslen;
16351 using ::wcsncat;
16352 using ::wcsncmp;
16353 using ::wcsncpy;
16354 using ::wcspbrk;
16355 using ::wcsrchr;
16356 using ::wcsrtombs;
16357 using ::wcsspn;
16358 using ::wcsstr;
16359 using ::wcstod;
16360 using ::wcstok;
16361 using ::wcstol;
16362 using ::wcstoul;
16363 using ::wcsxfrm;
16364 using ::wctob;
16365 using ::wmemchr;
16366 using ::wmemcmp;
16367 using ::wmemcpy;
16368 using ::wmemmove;
16369 using ::wmemset;
16370 using ::wprintf;
16371 using ::wscanf;
16372 }
16373
16374 int
16375 main ()
16376 {
16377
16378 ;
16379 return 0;
16380 }
16381 _ACEOF
16382 if ac_fn_cxx_try_compile "$LINENO"; then :
16383
16384 else
16385 enable_wchar_t=no
16386 fi
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 else
16389 enable_wchar_t=no
16390 fi
16391
16392 ac_ext=c
16393 ac_cpp='$CPP $CPPFLAGS'
16394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16397
16398 fi
16399
16400 if test x"$enable_wchar_t" = x"yes"; then
16401
16402 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16403
16404 fi
16405
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16407 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16409 $as_echo "$enable_wchar_t" >&6; }
16410
16411
16412
16413 # Check whether --enable-c99 was given.
16414 if test "${enable_c99+set}" = set; then :
16415 enableval=$enable_c99;
16416 case "$enableval" in
16417 yes|no) ;;
16418 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16419 esac
16420
16421 else
16422 enable_c99=yes
16423 fi
16424
16425
16426
16427 if test x"$enable_c99" = x"yes"; then
16428
16429
16430 ac_ext=cpp
16431 ac_cpp='$CXXCPP $CPPFLAGS'
16432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16435
16436
16437 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16438 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16439 # spuriously enabled.
16440 # Long term, -std=c++0x could be even better, could manage to explicitely
16441 # request C99 facilities to the underlying C headers.
16442 ac_save_CXXFLAGS="$CXXFLAGS"
16443 CXXFLAGS="$CXXFLAGS -std=c++98"
16444 ac_save_LIBS="$LIBS"
16445 ac_save_gcc_no_link="$gcc_no_link"
16446
16447 if test x$gcc_no_link != xyes; then
16448 # Use -fno-exceptions to that the C driver can link these tests without
16449 # hitting undefined references to personality routines.
16450 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16452 $as_echo_n "checking for sin in -lm... " >&6; }
16453 if test "${ac_cv_lib_m_sin+set}" = set; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 ac_check_lib_save_LIBS=$LIBS
16457 LIBS="-lm $LIBS"
16458 if test x$gcc_no_link = xyes; then
16459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16460 fi
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463
16464 /* Override any GCC internal prototype to avoid an error.
16465 Use char because int might match the return type of a GCC
16466 builtin and then its argument prototype would still apply. */
16467 #ifdef __cplusplus
16468 extern "C"
16469 #endif
16470 char sin ();
16471 int
16472 main ()
16473 {
16474 return sin ();
16475 ;
16476 return 0;
16477 }
16478 _ACEOF
16479 if ac_fn_cxx_try_link "$LINENO"; then :
16480 ac_cv_lib_m_sin=yes
16481 else
16482 ac_cv_lib_m_sin=no
16483 fi
16484 rm -f core conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext conftest.$ac_ext
16486 LIBS=$ac_check_lib_save_LIBS
16487 fi
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16489 $as_echo "$ac_cv_lib_m_sin" >&6; }
16490 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16491
16492 LIBS="$LIBS -lm"
16493
16494 else
16495
16496 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16497 gcc_no_link=yes
16498
16499 fi
16500
16501 fi
16502
16503 # Check for the existence of <math.h> functions used if C99 is enabled.
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16505 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16506 if test "${glibcxx_cv_c99_math+set}" = set; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509
16510 if test x$gcc_no_link = xyes; then
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #include <math.h>
16514 volatile double d1, d2;
16515 volatile int i;
16516 int
16517 main ()
16518 {
16519 i = fpclassify(d1);
16520 i = isfinite(d1);
16521 i = isinf(d1);
16522 i = isnan(d1);
16523 i = isnormal(d1);
16524 i = signbit(d1);
16525 i = isgreater(d1, d2);
16526 i = isgreaterequal(d1, d2);
16527 i = isless(d1, d2);
16528 i = islessequal(d1, d2);
16529 i = islessgreater(d1, d2);
16530 i = islessgreater(d1, d2);
16531 i = isunordered(d1, d2);
16532
16533 ;
16534 return 0;
16535 }
16536 _ACEOF
16537 if ac_fn_cxx_try_compile "$LINENO"; then :
16538 glibcxx_cv_c99_math=yes
16539 else
16540 glibcxx_cv_c99_math=no
16541 fi
16542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16543 else
16544 if test x$gcc_no_link = xyes; then
16545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16546 fi
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #include <math.h>
16550 volatile double d1, d2;
16551 volatile int i;
16552 int
16553 main ()
16554 {
16555 i = fpclassify(d1);
16556 i = isfinite(d1);
16557 i = isinf(d1);
16558 i = isnan(d1);
16559 i = isnormal(d1);
16560 i = signbit(d1);
16561 i = isgreater(d1, d2);
16562 i = isgreaterequal(d1, d2);
16563 i = isless(d1, d2);
16564 i = islessequal(d1, d2);
16565 i = islessgreater(d1, d2);
16566 i = islessgreater(d1, d2);
16567 i = isunordered(d1, d2);
16568
16569 ;
16570 return 0;
16571 }
16572 _ACEOF
16573 if ac_fn_cxx_try_link "$LINENO"; then :
16574 glibcxx_cv_c99_math=yes
16575 else
16576 glibcxx_cv_c99_math=no
16577 fi
16578 rm -f core conftest.err conftest.$ac_objext \
16579 conftest$ac_exeext conftest.$ac_ext
16580 fi
16581
16582 fi
16583
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16585 $as_echo "$glibcxx_cv_c99_math" >&6; }
16586 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16587
16588 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16589
16590 fi
16591
16592 # Check for the existence of <complex.h> complex math functions.
16593 # This is necessary even though libstdc++ uses the builtin versions
16594 # of these functions, because if the builtin cannot be used, a reference
16595 # to the library function is emitted.
16596 for ac_header in tgmath.h
16597 do :
16598 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16599 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_TGMATH_H 1
16602 _ACEOF
16603 ac_has_tgmath_h=yes
16604 else
16605 ac_has_tgmath_h=no
16606 fi
16607
16608 done
16609
16610 for ac_header in complex.h
16611 do :
16612 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16613 if test "x$ac_cv_header_complex_h" = x""yes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_COMPLEX_H 1
16616 _ACEOF
16617 ac_has_complex_h=yes
16618 else
16619 ac_has_complex_h=no
16620 fi
16621
16622 done
16623
16624 glibcxx_cv_c99_complex=no;
16625 if test x"$ac_has_complex_h" = x"yes"; then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16627 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16628 if test x$gcc_no_link = xyes; then
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #include <complex.h>
16632 typedef __complex__ float float_type;
16633 typedef __complex__ double double_type;
16634 typedef __complex__ long double ld_type;
16635 volatile float_type tmpf;
16636 volatile double_type tmpd;
16637 volatile ld_type tmpld;
16638 volatile float f;
16639 volatile double d;
16640 volatile long double ld;
16641 int
16642 main ()
16643 {
16644 f = cabsf(tmpf);
16645 f = cargf(tmpf);
16646 tmpf = ccosf(tmpf);
16647 tmpf = ccoshf(tmpf);
16648 tmpf = cexpf(tmpf);
16649 tmpf = clogf(tmpf);
16650 tmpf = csinf(tmpf);
16651 tmpf = csinhf(tmpf);
16652 tmpf = csqrtf(tmpf);
16653 tmpf = ctanf(tmpf);
16654 tmpf = ctanhf(tmpf);
16655 tmpf = cpowf(tmpf, tmpf);
16656 tmpf = cprojf(tmpf);
16657 d = cabs(tmpd);
16658 d = carg(tmpd);
16659 tmpd = ccos(tmpd);
16660 tmpd = ccosh(tmpd);
16661 tmpd = cexp(tmpd);
16662 tmpd = clog(tmpd);
16663 tmpd = csin(tmpd);
16664 tmpd = csinh(tmpd);
16665 tmpd = csqrt(tmpd);
16666 tmpd = ctan(tmpd);
16667 tmpd = ctanh(tmpd);
16668 tmpd = cpow(tmpd, tmpd);
16669 tmpd = cproj(tmpd);
16670 ld = cabsl(tmpld);
16671 ld = cargl(tmpld);
16672 tmpld = ccosl(tmpld);
16673 tmpld = ccoshl(tmpld);
16674 tmpld = cexpl(tmpld);
16675 tmpld = clogl(tmpld);
16676 tmpld = csinl(tmpld);
16677 tmpld = csinhl(tmpld);
16678 tmpld = csqrtl(tmpld);
16679 tmpld = ctanl(tmpld);
16680 tmpld = ctanhl(tmpld);
16681 tmpld = cpowl(tmpld, tmpld);
16682 tmpld = cprojl(tmpld);
16683
16684 ;
16685 return 0;
16686 }
16687 _ACEOF
16688 if ac_fn_cxx_try_compile "$LINENO"; then :
16689 glibcxx_cv_c99_complex=yes
16690 else
16691 glibcxx_cv_c99_complex=no
16692 fi
16693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16694 else
16695 if test x$gcc_no_link = xyes; then
16696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16697 fi
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #include <complex.h>
16701 typedef __complex__ float float_type;
16702 typedef __complex__ double double_type;
16703 typedef __complex__ long double ld_type;
16704 volatile float_type tmpf;
16705 volatile double_type tmpd;
16706 volatile ld_type tmpld;
16707 volatile float f;
16708 volatile double d;
16709 volatile long double ld;
16710 int
16711 main ()
16712 {
16713 f = cabsf(tmpf);
16714 f = cargf(tmpf);
16715 tmpf = ccosf(tmpf);
16716 tmpf = ccoshf(tmpf);
16717 tmpf = cexpf(tmpf);
16718 tmpf = clogf(tmpf);
16719 tmpf = csinf(tmpf);
16720 tmpf = csinhf(tmpf);
16721 tmpf = csqrtf(tmpf);
16722 tmpf = ctanf(tmpf);
16723 tmpf = ctanhf(tmpf);
16724 tmpf = cpowf(tmpf, tmpf);
16725 tmpf = cprojf(tmpf);
16726 d = cabs(tmpd);
16727 d = carg(tmpd);
16728 tmpd = ccos(tmpd);
16729 tmpd = ccosh(tmpd);
16730 tmpd = cexp(tmpd);
16731 tmpd = clog(tmpd);
16732 tmpd = csin(tmpd);
16733 tmpd = csinh(tmpd);
16734 tmpd = csqrt(tmpd);
16735 tmpd = ctan(tmpd);
16736 tmpd = ctanh(tmpd);
16737 tmpd = cpow(tmpd, tmpd);
16738 tmpd = cproj(tmpd);
16739 ld = cabsl(tmpld);
16740 ld = cargl(tmpld);
16741 tmpld = ccosl(tmpld);
16742 tmpld = ccoshl(tmpld);
16743 tmpld = cexpl(tmpld);
16744 tmpld = clogl(tmpld);
16745 tmpld = csinl(tmpld);
16746 tmpld = csinhl(tmpld);
16747 tmpld = csqrtl(tmpld);
16748 tmpld = ctanl(tmpld);
16749 tmpld = ctanhl(tmpld);
16750 tmpld = cpowl(tmpld, tmpld);
16751 tmpld = cprojl(tmpld);
16752
16753 ;
16754 return 0;
16755 }
16756 _ACEOF
16757 if ac_fn_cxx_try_link "$LINENO"; then :
16758 glibcxx_cv_c99_complex=yes
16759 else
16760 glibcxx_cv_c99_complex=no
16761 fi
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 fi
16765 fi
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16767 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16768 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16769
16770 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16771
16772 fi
16773
16774 # Check for the existence in <stdio.h> of vscanf, et. al.
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16776 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16777 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780
16781 if test x$gcc_no_link = xyes; then
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16784 #include <stdio.h>
16785 #include <stdarg.h>
16786 void foo(char* fmt, ...)
16787 {
16788 va_list args; va_start(args, fmt);
16789 vfscanf(stderr, "%i", args);
16790 vscanf("%i", args);
16791 vsnprintf(fmt, 0, "%i", args);
16792 vsscanf(fmt, "%i", args);
16793 }
16794 int
16795 main ()
16796 {
16797 snprintf("12", 0, "%i");
16798 ;
16799 return 0;
16800 }
16801 _ACEOF
16802 if ac_fn_cxx_try_compile "$LINENO"; then :
16803 glibcxx_cv_c99_stdio=yes
16804 else
16805 glibcxx_cv_c99_stdio=no
16806 fi
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 else
16809 if test x$gcc_no_link = xyes; then
16810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16811 fi
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <stdio.h>
16815 #include <stdarg.h>
16816 void foo(char* fmt, ...)
16817 {
16818 va_list args; va_start(args, fmt);
16819 vfscanf(stderr, "%i", args);
16820 vscanf("%i", args);
16821 vsnprintf(fmt, 0, "%i", args);
16822 vsscanf(fmt, "%i", args);
16823 }
16824 int
16825 main ()
16826 {
16827 snprintf("12", 0, "%i");
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 if ac_fn_cxx_try_link "$LINENO"; then :
16833 glibcxx_cv_c99_stdio=yes
16834 else
16835 glibcxx_cv_c99_stdio=no
16836 fi
16837 rm -f core conftest.err conftest.$ac_objext \
16838 conftest$ac_exeext conftest.$ac_ext
16839 fi
16840
16841 fi
16842
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16844 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16845
16846 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16848 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16849 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16850 $as_echo_n "(cached) " >&6
16851 else
16852
16853 if test x$gcc_no_link = xyes; then
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #include <stdlib.h>
16857 volatile float f;
16858 volatile long double ld;
16859 volatile unsigned long long ll;
16860 lldiv_t mydivt;
16861 int
16862 main ()
16863 {
16864 char* tmp;
16865 f = strtof("gnu", &tmp);
16866 ld = strtold("gnu", &tmp);
16867 ll = strtoll("gnu", &tmp, 10);
16868 ll = strtoull("gnu", &tmp, 10);
16869 ll = llabs(10);
16870 mydivt = lldiv(10,1);
16871 ll = mydivt.quot;
16872 ll = mydivt.rem;
16873 ll = atoll("10");
16874 _Exit(0);
16875
16876 ;
16877 return 0;
16878 }
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16881 glibcxx_cv_c99_stdlib=yes
16882 else
16883 glibcxx_cv_c99_stdlib=no
16884 fi
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 else
16887 if test x$gcc_no_link = xyes; then
16888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 fi
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892 #include <stdlib.h>
16893 volatile float f;
16894 volatile long double ld;
16895 volatile unsigned long long ll;
16896 lldiv_t mydivt;
16897 int
16898 main ()
16899 {
16900 char* tmp;
16901 f = strtof("gnu", &tmp);
16902 ld = strtold("gnu", &tmp);
16903 ll = strtoll("gnu", &tmp, 10);
16904 ll = strtoull("gnu", &tmp, 10);
16905 ll = llabs(10);
16906 mydivt = lldiv(10,1);
16907 ll = mydivt.quot;
16908 ll = mydivt.rem;
16909 ll = atoll("10");
16910 _Exit(0);
16911
16912 ;
16913 return 0;
16914 }
16915 _ACEOF
16916 if ac_fn_cxx_try_link "$LINENO"; then :
16917 glibcxx_cv_c99_stdlib=yes
16918 else
16919 glibcxx_cv_c99_stdlib=no
16920 fi
16921 rm -f core conftest.err conftest.$ac_objext \
16922 conftest$ac_exeext conftest.$ac_ext
16923 fi
16924
16925 fi
16926
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16928 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16929
16930 # Check for the existence in <wchar.h> of wcstold, etc.
16931 glibcxx_cv_c99_wchar=no;
16932 if test x"$ac_has_wchar_h" = xyes &&
16933 test x"$ac_has_wctype_h" = xyes; then
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16935 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <wchar.h>
16939 namespace test
16940 {
16941 using ::wcstold;
16942 using ::wcstoll;
16943 using ::wcstoull;
16944 }
16945
16946 int
16947 main ()
16948 {
16949
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16955 glibcxx_cv_c99_wchar=yes
16956 else
16957 glibcxx_cv_c99_wchar=no
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961 # Checks for wide character functions that may not be present.
16962 # Injection of these is wrapped with guard macros.
16963 # NB: only put functions here, instead of immediately above, if
16964 # absolutely necessary.
16965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16967 #include <wchar.h>
16968 namespace test { using ::vfwscanf; }
16969 int
16970 main ()
16971 {
16972
16973 ;
16974 return 0;
16975 }
16976 _ACEOF
16977 if ac_fn_cxx_try_compile "$LINENO"; then :
16978
16979 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16980
16981 fi
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <wchar.h>
16987 namespace test { using ::vswscanf; }
16988 int
16989 main ()
16990 {
16991
16992 ;
16993 return 0;
16994 }
16995 _ACEOF
16996 if ac_fn_cxx_try_compile "$LINENO"; then :
16997
16998 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16999
17000 fi
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #include <wchar.h>
17006 namespace test { using ::vwscanf; }
17007 int
17008 main ()
17009 {
17010
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 if ac_fn_cxx_try_compile "$LINENO"; then :
17016
17017 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17018
17019 fi
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #include <wchar.h>
17025 namespace test { using ::wcstof; }
17026 int
17027 main ()
17028 {
17029
17030 ;
17031 return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_cxx_try_compile "$LINENO"; then :
17035
17036 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17037
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17043 #include <wctype.h>
17044 int
17045 main ()
17046 {
17047 wint_t t; int i = iswblank(t);
17048 ;
17049 return 0;
17050 }
17051 _ACEOF
17052 if ac_fn_cxx_try_compile "$LINENO"; then :
17053
17054 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17055
17056 fi
17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17058
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17060 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17061 fi
17062
17063 # Option parsed, now set things appropriately.
17064 if test x"$glibcxx_cv_c99_math" = x"no" ||
17065 test x"$glibcxx_cv_c99_complex" = x"no" ||
17066 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17067 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17068 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17069 enable_c99=no;
17070 else
17071
17072 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17073
17074 fi
17075
17076 gcc_no_link="$ac_save_gcc_no_link"
17077 LIBS="$ac_save_LIBS"
17078 CXXFLAGS="$ac_save_CXXFLAGS"
17079 ac_ext=c
17080 ac_cpp='$CPP $CPPFLAGS'
17081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17084
17085 fi
17086
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17088 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17090 $as_echo "$enable_c99" >&6; }
17091
17092
17093 # Check whether --enable-concept-checks was given.
17094 if test "${enable_concept_checks+set}" = set; then :
17095 enableval=$enable_concept_checks;
17096 case "$enableval" in
17097 yes|no) ;;
17098 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17099 esac
17100
17101 else
17102 enable_concept_checks=no
17103 fi
17104
17105
17106 if test $enable_concept_checks = yes; then
17107
17108 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17109
17110 fi
17111
17112
17113 # Check whether --enable-libstdcxx-debug-flags was given.
17114 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17115 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17116 xno | x) enable_libstdcxx_debug_flags= ;;
17117 x-*) ;;
17118 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17119 esac
17120 else
17121 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17122 fi
17123
17124
17125
17126 # Option parsed, now set things appropriately
17127 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17128
17129
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17131 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17132
17133
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17135 $as_echo_n "checking for additional debug build... " >&6; }
17136 # Check whether --enable-libstdcxx-debug was given.
17137 if test "${enable_libstdcxx_debug+set}" = set; then :
17138 enableval=$enable_libstdcxx_debug;
17139 case "$enableval" in
17140 yes|no) ;;
17141 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17142 esac
17143
17144 else
17145 enable_libstdcxx_debug=no
17146 fi
17147
17148
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17150 $as_echo "$enable_libstdcxx_debug" >&6; }
17151
17152
17153
17154
17155 enable_parallel=no;
17156
17157 # See if configured libgomp/omp.h exists. (libgomp may be in
17158 # noconfigdirs but not explicitly disabled.)
17159 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17160 enable_parallel=yes;
17161 else
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17163 $as_echo "$as_me: target-libgomp not built" >&6;}
17164 fi
17165
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17167 $as_echo_n "checking for parallel mode support... " >&6; }
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17169 $as_echo "$enable_parallel" >&6; }
17170
17171
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17173 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17174 # Check whether --enable-cxx-flags was given.
17175 if test "${enable_cxx_flags+set}" = set; then :
17176 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17177 xno | x) enable_cxx_flags= ;;
17178 x-*) ;;
17179 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17180 esac
17181 else
17182 enable_cxx_flags=
17183 fi
17184
17185
17186
17187 # Run through flags (either default or command-line) and set anything
17188 # extra (e.g., #defines) that must accompany particular g++ options.
17189 if test -n "$enable_cxx_flags"; then
17190 for f in $enable_cxx_flags; do
17191 case "$f" in
17192 -fhonor-std) ;;
17193 -*) ;;
17194 *) # and we're trying to pass /what/ exactly?
17195 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17196 esac
17197 done
17198 fi
17199
17200 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17202 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17203
17204
17205
17206 # Check whether --enable-fully-dynamic-string was given.
17207 if test "${enable_fully_dynamic_string+set}" = set; then :
17208 enableval=$enable_fully_dynamic_string;
17209 case "$enableval" in
17210 yes|no) ;;
17211 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17212 esac
17213
17214 else
17215 enable_fully_dynamic_string=no
17216 fi
17217
17218
17219 if test $enable_fully_dynamic_string = yes; then
17220 enable_fully_dynamic_string_def=1
17221 else
17222 enable_fully_dynamic_string_def=0
17223 fi
17224
17225 cat >>confdefs.h <<_ACEOF
17226 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17227 _ACEOF
17228
17229
17230
17231
17232 # Check whether --enable-extern-template was given.
17233 if test "${enable_extern_template+set}" = set; then :
17234 enableval=$enable_extern_template;
17235 case "$enableval" in
17236 yes|no) ;;
17237 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17238 esac
17239
17240 else
17241 enable_extern_template=yes
17242 fi
17243
17244
17245
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17247 $as_echo_n "checking for extern template support... " >&6; }
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17249 $as_echo "$enable_extern_template" >&6; }
17250
17251
17252
17253
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17256 $as_echo_n "checking for custom python install directory... " >&6; }
17257
17258 # Check whether --with-python-dir was given.
17259 if test "${with_python_dir+set}" = set; then :
17260 withval=$with_python_dir; with_python_dir=$withval
17261 else
17262 with_python_dir="no"
17263 fi
17264
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17266 $as_echo "${with_python_dir}" >&6; }
17267
17268 # Needed for installing Python modules during make install.
17269 python_mod_dir="${with_python_dir}"
17270
17271
17272
17273
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17275 $as_echo_n "checking for -Werror... " >&6; }
17276 # Check whether --enable-werror was given.
17277 if test "${enable_werror+set}" = set; then :
17278 enableval=$enable_werror;
17279 case "$enableval" in
17280 yes|no) ;;
17281 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17282 esac
17283
17284 else
17285 enable_werror=yes
17286 fi
17287
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17290 $as_echo "$enable_werror" >&6; }
17291
17292
17293
17294 # Checks for operating systems support that doesn't require linking.
17295
17296
17297
17298 ac_ext=cpp
17299 ac_cpp='$CXXCPP $CPPFLAGS'
17300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17303
17304
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17306 $as_echo_n "checking for gets declaration... " >&6; }
17307 if test "${glibcxx_cv_gets+set}" = set; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #include <stdio.h>
17314 namespace test
17315 {
17316 using ::gets;
17317 }
17318
17319 _ACEOF
17320 if ac_fn_cxx_try_compile "$LINENO"; then :
17321 glibcxx_cv_gets=yes
17322 else
17323 glibcxx_cv_gets=no
17324
17325 fi
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 fi
17328
17329
17330 if test $glibcxx_cv_gets = yes; then
17331
17332 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17333
17334 fi
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17336 $as_echo "$glibcxx_cv_gets" >&6; }
17337
17338 ac_ext=c
17339 ac_cpp='$CPP $CPPFLAGS'
17340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17343
17344
17345
17346
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17348 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17349 if test "${glibcxx_cv_system_error1+set}" = set; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #include <errno.h>
17356 int
17357 main ()
17358 {
17359 int i = EOWNERDEAD;
17360 ;
17361 return 0;
17362 }
17363 _ACEOF
17364 if ac_fn_c_try_compile "$LINENO"; then :
17365 glibcxx_cv_system_error1=yes
17366 else
17367 glibcxx_cv_system_error1=no
17368 fi
17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370
17371 fi
17372
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17374 $as_echo "$glibcxx_cv_system_error1" >&6; }
17375 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17376
17377 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17378
17379 fi
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17381 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17382 if test "${glibcxx_cv_system_error2+set}" = set; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #include <errno.h>
17389 int
17390 main ()
17391 {
17392 int i = ENOTRECOVERABLE;
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 if ac_fn_c_try_compile "$LINENO"; then :
17398 glibcxx_cv_system_error2=yes
17399 else
17400 glibcxx_cv_system_error2=no
17401 fi
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403
17404 fi
17405
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17407 $as_echo "$glibcxx_cv_system_error2" >&6; }
17408 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17409
17410 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17411
17412 fi
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17414 $as_echo_n "checking for ENOLINK... " >&6; }
17415 if test "${glibcxx_cv_system_error3+set}" = set; then :
17416 $as_echo_n "(cached) " >&6
17417 else
17418
17419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17421 #include <errno.h>
17422 int
17423 main ()
17424 {
17425 int i = ENOLINK;
17426 ;
17427 return 0;
17428 }
17429 _ACEOF
17430 if ac_fn_c_try_compile "$LINENO"; then :
17431 glibcxx_cv_system_error3=yes
17432 else
17433 glibcxx_cv_system_error3=no
17434 fi
17435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436
17437 fi
17438
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17440 $as_echo "$glibcxx_cv_system_error3" >&6; }
17441 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17442
17443 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17444
17445 fi
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17447 $as_echo_n "checking for EPROTO... " >&6; }
17448 if test "${glibcxx_cv_system_error4+set}" = set; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #include <errno.h>
17455 int
17456 main ()
17457 {
17458 int i = EPROTO;
17459 ;
17460 return 0;
17461 }
17462 _ACEOF
17463 if ac_fn_c_try_compile "$LINENO"; then :
17464 glibcxx_cv_system_error4=yes
17465 else
17466 glibcxx_cv_system_error4=no
17467 fi
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469
17470 fi
17471
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17473 $as_echo "$glibcxx_cv_system_error4" >&6; }
17474 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17475
17476 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17477
17478 fi
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17480 $as_echo_n "checking for ENODATA... " >&6; }
17481 if test "${glibcxx_cv_system_error5+set}" = set; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <errno.h>
17488 int
17489 main ()
17490 {
17491 int i = ENODATA;
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 if ac_fn_c_try_compile "$LINENO"; then :
17497 glibcxx_cv_system_error5=yes
17498 else
17499 glibcxx_cv_system_error5=no
17500 fi
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502
17503 fi
17504
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17506 $as_echo "$glibcxx_cv_system_error5" >&6; }
17507 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17508
17509 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17510
17511 fi
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17513 $as_echo_n "checking for ENOSR... " >&6; }
17514 if test "${glibcxx_cv_system_error6+set}" = set; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17520 #include <errno.h>
17521 int
17522 main ()
17523 {
17524 int i = ENOSR;
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 if ac_fn_c_try_compile "$LINENO"; then :
17530 glibcxx_cv_system_error6=yes
17531 else
17532 glibcxx_cv_system_error6=no
17533 fi
17534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535
17536 fi
17537
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17539 $as_echo "$glibcxx_cv_system_error6" >&6; }
17540 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17541
17542 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17543
17544 fi
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17546 $as_echo_n "checking for ENOSTR... " >&6; }
17547 if test "${glibcxx_cv_system_error7+set}" = set; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 #include <errno.h>
17554 int
17555 main ()
17556 {
17557 int i = ENOSTR;
17558 ;
17559 return 0;
17560 }
17561 _ACEOF
17562 if ac_fn_c_try_compile "$LINENO"; then :
17563 glibcxx_cv_system_error7=yes
17564 else
17565 glibcxx_cv_system_error7=no
17566 fi
17567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568
17569 fi
17570
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17572 $as_echo "$glibcxx_cv_system_error7" >&6; }
17573 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17574
17575 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17576
17577 fi
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17579 $as_echo_n "checking for ETIME... " >&6; }
17580 if test "${glibcxx_cv_system_error8+set}" = set; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17583
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586 #include <errno.h>
17587 int
17588 main ()
17589 {
17590 int i = ETIME;
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 if ac_fn_c_try_compile "$LINENO"; then :
17596 glibcxx_cv_system_error8=yes
17597 else
17598 glibcxx_cv_system_error8=no
17599 fi
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601
17602 fi
17603
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17605 $as_echo "$glibcxx_cv_system_error8" >&6; }
17606 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17607
17608 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17609
17610 fi
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17612 $as_echo_n "checking for EBADMSG... " >&6; }
17613 if test "${glibcxx_cv_system_error9+set}" = set; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <errno.h>
17620 int
17621 main ()
17622 {
17623 int i = EBADMSG;
17624 ;
17625 return 0;
17626 }
17627 _ACEOF
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 glibcxx_cv_system_error9=yes
17630 else
17631 glibcxx_cv_system_error9=no
17632 fi
17633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634
17635 fi
17636
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17638 $as_echo "$glibcxx_cv_system_error9" >&6; }
17639 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17640
17641 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17642
17643 fi
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17645 $as_echo_n "checking for ECANCELED... " >&6; }
17646 if test "${glibcxx_cv_system_error10+set}" = set; then :
17647 $as_echo_n "(cached) " >&6
17648 else
17649
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 #include <errno.h>
17653 int
17654 main ()
17655 {
17656 int i = ECANCELED;
17657 ;
17658 return 0;
17659 }
17660 _ACEOF
17661 if ac_fn_c_try_compile "$LINENO"; then :
17662 glibcxx_cv_system_error10=yes
17663 else
17664 glibcxx_cv_system_error10=no
17665 fi
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667
17668 fi
17669
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17671 $as_echo "$glibcxx_cv_system_error10" >&6; }
17672 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17673
17674 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17675
17676 fi
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17678 $as_echo_n "checking for EOVERFLOW... " >&6; }
17679 if test "${glibcxx_cv_system_error11+set}" = set; then :
17680 $as_echo_n "(cached) " >&6
17681 else
17682
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17685 #include <errno.h>
17686 int
17687 main ()
17688 {
17689 int i = EOVERFLOW;
17690 ;
17691 return 0;
17692 }
17693 _ACEOF
17694 if ac_fn_c_try_compile "$LINENO"; then :
17695 glibcxx_cv_system_error11=yes
17696 else
17697 glibcxx_cv_system_error11=no
17698 fi
17699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700
17701 fi
17702
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17704 $as_echo "$glibcxx_cv_system_error11" >&6; }
17705 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17706
17707 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17708
17709 fi
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17711 $as_echo_n "checking for ENOTSUP... " >&6; }
17712 if test "${glibcxx_cv_system_error12+set}" = set; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17715
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17718 #include <errno.h>
17719 int
17720 main ()
17721 {
17722 int i = ENOTSUP;
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 if ac_fn_c_try_compile "$LINENO"; then :
17728 glibcxx_cv_system_error12=yes
17729 else
17730 glibcxx_cv_system_error12=no
17731 fi
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733
17734 fi
17735
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17737 $as_echo "$glibcxx_cv_system_error12" >&6; }
17738 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17739
17740 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17741
17742 fi
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17744 $as_echo_n "checking for EIDRM... " >&6; }
17745 if test "${glibcxx_cv_system_error13+set}" = set; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <errno.h>
17752 int
17753 main ()
17754 {
17755 int i = EIDRM;
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 if ac_fn_c_try_compile "$LINENO"; then :
17761 glibcxx_cv_system_error13=yes
17762 else
17763 glibcxx_cv_system_error13=no
17764 fi
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766
17767 fi
17768
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17770 $as_echo "$glibcxx_cv_system_error13" >&6; }
17771 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17772
17773 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17774
17775 fi
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17777 $as_echo_n "checking for ETXTBSY... " >&6; }
17778 if test "${glibcxx_cv_system_error14+set}" = set; then :
17779 $as_echo_n "(cached) " >&6
17780 else
17781
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <errno.h>
17785 int
17786 main ()
17787 {
17788 int i = ETXTBSY;
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 if ac_fn_c_try_compile "$LINENO"; then :
17794 glibcxx_cv_system_error14=yes
17795 else
17796 glibcxx_cv_system_error14=no
17797 fi
17798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17799
17800 fi
17801
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17803 $as_echo "$glibcxx_cv_system_error14" >&6; }
17804 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17805
17806 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17807
17808 fi
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17810 $as_echo_n "checking for ECHILD... " >&6; }
17811 if test "${glibcxx_cv_system_error15+set}" = set; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #include <errno.h>
17818 int
17819 main ()
17820 {
17821 int i = ECHILD;
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 if ac_fn_c_try_compile "$LINENO"; then :
17827 glibcxx_cv_system_error15=yes
17828 else
17829 glibcxx_cv_system_error15=no
17830 fi
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832
17833 fi
17834
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17836 $as_echo "$glibcxx_cv_system_error15" >&6; }
17837 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17838
17839 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17840
17841 fi
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17843 $as_echo_n "checking for ENOSPC... " >&6; }
17844 if test "${glibcxx_cv_system_error16+set}" = set; then :
17845 $as_echo_n "(cached) " >&6
17846 else
17847
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 #include <errno.h>
17851 int
17852 main ()
17853 {
17854 int i = ENOSPC;
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 if ac_fn_c_try_compile "$LINENO"; then :
17860 glibcxx_cv_system_error16=yes
17861 else
17862 glibcxx_cv_system_error16=no
17863 fi
17864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865
17866 fi
17867
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17869 $as_echo "$glibcxx_cv_system_error16" >&6; }
17870 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17871
17872 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17873
17874 fi
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17876 $as_echo_n "checking for EPERM... " >&6; }
17877 if test "${glibcxx_cv_system_error17+set}" = set; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17883 #include <errno.h>
17884 int
17885 main ()
17886 {
17887 int i = EPERM;
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 if ac_fn_c_try_compile "$LINENO"; then :
17893 glibcxx_cv_system_error17=yes
17894 else
17895 glibcxx_cv_system_error17=no
17896 fi
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898
17899 fi
17900
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17902 $as_echo "$glibcxx_cv_system_error17" >&6; }
17903 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17904
17905 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17906
17907 fi
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17909 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17910 if test "${glibcxx_cv_system_error18+set}" = set; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 #include <errno.h>
17917 int
17918 main ()
17919 {
17920 int i = ETIMEDOUT;
17921 ;
17922 return 0;
17923 }
17924 _ACEOF
17925 if ac_fn_c_try_compile "$LINENO"; then :
17926 glibcxx_cv_system_error18=yes
17927 else
17928 glibcxx_cv_system_error18=no
17929 fi
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931
17932 fi
17933
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17935 $as_echo "$glibcxx_cv_system_error18" >&6; }
17936 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17937
17938 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17939
17940 fi
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17942 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17943 if test "${glibcxx_cv_system_error19+set}" = set; then :
17944 $as_echo_n "(cached) " >&6
17945 else
17946
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17949 #include <errno.h>
17950 int
17951 main ()
17952 {
17953 int i = EWOULDBLOCK;
17954 ;
17955 return 0;
17956 }
17957 _ACEOF
17958 if ac_fn_c_try_compile "$LINENO"; then :
17959 glibcxx_cv_system_error19=yes
17960 else
17961 glibcxx_cv_system_error19=no
17962 fi
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964
17965 fi
17966
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17968 $as_echo "$glibcxx_cv_system_error19" >&6; }
17969 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17970
17971 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17972
17973 fi
17974
17975
17976
17977 # For the streamoff typedef.
17978
17979
17980
17981 ac_ext=cpp
17982 ac_cpp='$CXXCPP $CPPFLAGS'
17983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17986
17987
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17989 $as_echo_n "checking for int64_t... " >&6; }
17990 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17991 $as_echo_n "(cached) " >&6
17992 else
17993
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <stdint.h>
17997 int
17998 main ()
17999 {
18000 int64_t var;
18001 ;
18002 return 0;
18003 }
18004 _ACEOF
18005 if ac_fn_cxx_try_compile "$LINENO"; then :
18006 glibcxx_cv_INT64_T=yes
18007 else
18008 glibcxx_cv_INT64_T=no
18009 fi
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011
18012 fi
18013
18014
18015 if test $glibcxx_cv_INT64_T = yes; then
18016
18017 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18018
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18020 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18023 $as_echo_n "checking for int64_t as long... " >&6; }
18024 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18030 #include <stdint.h>
18031 template<typename, typename> struct same { enum { value = -1 }; };
18032 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18033 int array[same<int64_t, long>::value];
18034 int
18035 main ()
18036 {
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 if ac_fn_cxx_try_compile "$LINENO"; then :
18043 glibcxx_cv_int64_t_long=yes
18044 else
18045 glibcxx_cv_int64_t_long=no
18046 fi
18047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18048
18049 fi
18050
18051
18052 if test $glibcxx_cv_int64_t_long = yes; then
18053
18054 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18055
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18057 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18058 fi
18059
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18061 $as_echo_n "checking for int64_t as long long... " >&6; }
18062 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <stdint.h>
18069 template<typename, typename> struct same { enum { value = -1 }; };
18070 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18071 int array[same<int64_t, long long>::value];
18072 int
18073 main ()
18074 {
18075
18076 ;
18077 return 0;
18078 }
18079 _ACEOF
18080 if ac_fn_cxx_try_compile "$LINENO"; then :
18081 glibcxx_cv_int64_t_long_long=yes
18082 else
18083 glibcxx_cv_int64_t_long_long=no
18084 fi
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18086
18087 fi
18088
18089
18090 if test $glibcxx_cv_int64_t_long_long = yes; then
18091
18092 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18093
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18095 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18096 fi
18097 fi
18098
18099 ac_ext=c
18100 ac_cpp='$CPP $CPPFLAGS'
18101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18104
18105
18106
18107 # For LFS support.
18108
18109
18110 ac_ext=cpp
18111 ac_cpp='$CXXCPP $CPPFLAGS'
18112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18115
18116 ac_save_CXXFLAGS="$CXXFLAGS"
18117 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18119 $as_echo_n "checking for LFS support... " >&6; }
18120 if test "${glibcxx_cv_LFS+set}" = set; then :
18121 $as_echo_n "(cached) " >&6
18122 else
18123
18124 if test x$gcc_no_link = xyes; then
18125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18127 #include <unistd.h>
18128 #include <stdio.h>
18129 #include <sys/stat.h>
18130
18131 int
18132 main ()
18133 {
18134 FILE* fp;
18135 fopen64("t", "w");
18136 fseeko64(fp, 0, SEEK_CUR);
18137 ftello64(fp);
18138 lseek64(1, 0, SEEK_CUR);
18139 struct stat64 buf;
18140 fstat64(1, &buf);
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 if ac_fn_cxx_try_compile "$LINENO"; then :
18146 glibcxx_cv_LFS=yes
18147 else
18148 glibcxx_cv_LFS=no
18149 fi
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 else
18152 if test x$gcc_no_link = xyes; then
18153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18154 fi
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <unistd.h>
18158 #include <stdio.h>
18159 #include <sys/stat.h>
18160
18161 int
18162 main ()
18163 {
18164 FILE* fp;
18165 fopen64("t", "w");
18166 fseeko64(fp, 0, SEEK_CUR);
18167 ftello64(fp);
18168 lseek64(1, 0, SEEK_CUR);
18169 struct stat64 buf;
18170 fstat64(1, &buf);
18171 ;
18172 return 0;
18173 }
18174 _ACEOF
18175 if ac_fn_cxx_try_link "$LINENO"; then :
18176 glibcxx_cv_LFS=yes
18177 else
18178 glibcxx_cv_LFS=no
18179 fi
18180 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18182 fi
18183
18184 fi
18185
18186 if test $glibcxx_cv_LFS = yes; then
18187
18188 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18189
18190 fi
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18192 $as_echo "$glibcxx_cv_LFS" >&6; }
18193 CXXFLAGS="$ac_save_CXXFLAGS"
18194 ac_ext=c
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18199
18200
18201
18202 # For showmanyc_helper().
18203 for ac_header in sys/ioctl.h sys/filio.h
18204 do :
18205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18206 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18207 eval as_val=\$$as_ac_Header
18208 if test "x$as_val" = x""yes; then :
18209 cat >>confdefs.h <<_ACEOF
18210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18211 _ACEOF
18212
18213 fi
18214
18215 done
18216
18217
18218
18219
18220 ac_ext=cpp
18221 ac_cpp='$CXXCPP $CPPFLAGS'
18222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18225
18226 ac_save_CXXFLAGS="$CXXFLAGS"
18227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18228
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18230 $as_echo_n "checking for poll... " >&6; }
18231 if test "${glibcxx_cv_POLL+set}" = set; then :
18232 $as_echo_n "(cached) " >&6
18233 else
18234
18235 if test x$gcc_no_link = xyes; then
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #include <poll.h>
18239 int
18240 main ()
18241 {
18242 struct pollfd pfd[1];
18243 pfd[0].events = POLLIN;
18244 poll(pfd, 1, 0);
18245 ;
18246 return 0;
18247 }
18248 _ACEOF
18249 if ac_fn_cxx_try_compile "$LINENO"; then :
18250 glibcxx_cv_POLL=yes
18251 else
18252 glibcxx_cv_POLL=no
18253 fi
18254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18255 else
18256 if test x$gcc_no_link = xyes; then
18257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18258 fi
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18261 #include <poll.h>
18262 int
18263 main ()
18264 {
18265 struct pollfd pfd[1];
18266 pfd[0].events = POLLIN;
18267 poll(pfd, 1, 0);
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 if ac_fn_cxx_try_link "$LINENO"; then :
18273 glibcxx_cv_POLL=yes
18274 else
18275 glibcxx_cv_POLL=no
18276 fi
18277 rm -f core conftest.err conftest.$ac_objext \
18278 conftest$ac_exeext conftest.$ac_ext
18279 fi
18280
18281 fi
18282
18283 if test $glibcxx_cv_POLL = yes; then
18284
18285 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18286
18287 fi
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18289 $as_echo "$glibcxx_cv_POLL" >&6; }
18290
18291 CXXFLAGS="$ac_save_CXXFLAGS"
18292 ac_ext=c
18293 ac_cpp='$CPP $CPPFLAGS'
18294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18297
18298
18299
18300
18301
18302 ac_ext=cpp
18303 ac_cpp='$CXXCPP $CPPFLAGS'
18304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18307
18308 ac_save_CXXFLAGS="$CXXFLAGS"
18309 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18310
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18312 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18313 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18316
18317 if test x$gcc_no_link = xyes; then
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18320 #include <sys/stat.h>
18321 int
18322 main ()
18323 {
18324 struct stat buffer;
18325 fstat(0, &buffer);
18326 S_ISREG(buffer.st_mode);
18327 ;
18328 return 0;
18329 }
18330 _ACEOF
18331 if ac_fn_cxx_try_compile "$LINENO"; then :
18332 glibcxx_cv_S_ISREG=yes
18333 else
18334 glibcxx_cv_S_ISREG=no
18335 fi
18336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 else
18338 if test x$gcc_no_link = xyes; then
18339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18340 fi
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #include <sys/stat.h>
18344 int
18345 main ()
18346 {
18347 struct stat buffer;
18348 fstat(0, &buffer);
18349 S_ISREG(buffer.st_mode);
18350 ;
18351 return 0;
18352 }
18353 _ACEOF
18354 if ac_fn_cxx_try_link "$LINENO"; then :
18355 glibcxx_cv_S_ISREG=yes
18356 else
18357 glibcxx_cv_S_ISREG=no
18358 fi
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext conftest.$ac_ext
18361 fi
18362
18363 fi
18364
18365 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18366 $as_echo_n "(cached) " >&6
18367 else
18368
18369 if test x$gcc_no_link = xyes; then
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18372 #include <sys/stat.h>
18373 int
18374 main ()
18375 {
18376 struct stat buffer;
18377 fstat(0, &buffer);
18378 S_IFREG & buffer.st_mode;
18379 ;
18380 return 0;
18381 }
18382 _ACEOF
18383 if ac_fn_cxx_try_compile "$LINENO"; then :
18384 glibcxx_cv_S_IFREG=yes
18385 else
18386 glibcxx_cv_S_IFREG=no
18387 fi
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18389 else
18390 if test x$gcc_no_link = xyes; then
18391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18392 fi
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18395 #include <sys/stat.h>
18396 int
18397 main ()
18398 {
18399 struct stat buffer;
18400 fstat(0, &buffer);
18401 S_IFREG & buffer.st_mode;
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 if ac_fn_cxx_try_link "$LINENO"; then :
18407 glibcxx_cv_S_IFREG=yes
18408 else
18409 glibcxx_cv_S_IFREG=no
18410 fi
18411 rm -f core conftest.err conftest.$ac_objext \
18412 conftest$ac_exeext conftest.$ac_ext
18413 fi
18414
18415 fi
18416
18417 res=no
18418 if test $glibcxx_cv_S_ISREG = yes; then
18419
18420 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18421
18422 res=S_ISREG
18423 elif test $glibcxx_cv_S_IFREG = yes; then
18424
18425 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18426
18427 res=S_IFREG
18428 fi
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18430 $as_echo "$res" >&6; }
18431
18432 CXXFLAGS="$ac_save_CXXFLAGS"
18433 ac_ext=c
18434 ac_cpp='$CPP $CPPFLAGS'
18435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18438
18439
18440
18441 # For xsputn_2().
18442 for ac_header in sys/uio.h
18443 do :
18444 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18445 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_SYS_UIO_H 1
18448 _ACEOF
18449
18450 fi
18451
18452 done
18453
18454
18455
18456
18457 ac_ext=cpp
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463 ac_save_CXXFLAGS="$CXXFLAGS"
18464 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18465
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18467 $as_echo_n "checking for writev... " >&6; }
18468 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18471
18472 if test x$gcc_no_link = xyes; then
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 #include <sys/uio.h>
18476 int
18477 main ()
18478 {
18479 struct iovec iov[2];
18480 writev(0, iov, 0);
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486 glibcxx_cv_WRITEV=yes
18487 else
18488 glibcxx_cv_WRITEV=no
18489 fi
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 else
18492 if test x$gcc_no_link = xyes; then
18493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18494 fi
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 #include <sys/uio.h>
18498 int
18499 main ()
18500 {
18501 struct iovec iov[2];
18502 writev(0, iov, 0);
18503 ;
18504 return 0;
18505 }
18506 _ACEOF
18507 if ac_fn_cxx_try_link "$LINENO"; then :
18508 glibcxx_cv_WRITEV=yes
18509 else
18510 glibcxx_cv_WRITEV=no
18511 fi
18512 rm -f core conftest.err conftest.$ac_objext \
18513 conftest$ac_exeext conftest.$ac_ext
18514 fi
18515
18516 fi
18517
18518 if test $glibcxx_cv_WRITEV = yes; then
18519
18520 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18521
18522 fi
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18524 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18525
18526 CXXFLAGS="$ac_save_CXXFLAGS"
18527 ac_ext=c
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18532
18533
18534
18535 # For C99 support to TR1.
18536
18537
18538
18539 ac_ext=cpp
18540 ac_cpp='$CXXCPP $CPPFLAGS'
18541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18544
18545
18546 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18547 # undefined and fake C99 facilities may be spuriously enabled.
18548 ac_save_CXXFLAGS="$CXXFLAGS"
18549 CXXFLAGS="$CXXFLAGS -std=c++98"
18550
18551 # Check for the existence of <complex.h> complex math functions used
18552 # by tr1/complex.
18553 for ac_header in complex.h
18554 do :
18555 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18556 if test "x$ac_cv_header_complex_h" = x""yes; then :
18557 cat >>confdefs.h <<_ACEOF
18558 #define HAVE_COMPLEX_H 1
18559 _ACEOF
18560 ac_has_complex_h=yes
18561 else
18562 ac_has_complex_h=no
18563 fi
18564
18565 done
18566
18567 ac_c99_complex_tr1=no;
18568 if test x"$ac_has_complex_h" = x"yes"; then
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18570 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 #include <complex.h>
18574 int
18575 main ()
18576 {
18577 typedef __complex__ float float_type; float_type tmpf;
18578 cacosf(tmpf);
18579 casinf(tmpf);
18580 catanf(tmpf);
18581 cacoshf(tmpf);
18582 casinhf(tmpf);
18583 catanhf(tmpf);
18584 typedef __complex__ double double_type; double_type tmpd;
18585 cacos(tmpd);
18586 casin(tmpd);
18587 catan(tmpd);
18588 cacosh(tmpd);
18589 casinh(tmpd);
18590 catanh(tmpd);
18591 typedef __complex__ long double ld_type; ld_type tmpld;
18592 cacosl(tmpld);
18593 casinl(tmpld);
18594 catanl(tmpld);
18595 cacoshl(tmpld);
18596 casinhl(tmpld);
18597 catanhl(tmpld);
18598
18599 ;
18600 return 0;
18601 }
18602 _ACEOF
18603 if ac_fn_cxx_try_compile "$LINENO"; then :
18604 ac_c99_complex_tr1=yes
18605 else
18606 ac_c99_complex_tr1=no
18607 fi
18608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 fi
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18611 $as_echo "$ac_c99_complex_tr1" >&6; }
18612 if test x"$ac_c99_complex_tr1" = x"yes"; then
18613
18614 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18615
18616 fi
18617
18618 # Check for the existence of <ctype.h> functions.
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18620 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18621 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18624
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <ctype.h>
18628 int
18629 main ()
18630 {
18631 int ch;
18632 int ret;
18633 ret = isblank(ch);
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 if ac_fn_cxx_try_compile "$LINENO"; then :
18640 glibcxx_cv_c99_ctype_tr1=yes
18641 else
18642 glibcxx_cv_c99_ctype_tr1=no
18643 fi
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645
18646 fi
18647
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18649 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18650 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18651
18652 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18653
18654 fi
18655
18656 # Check for the existence of <fenv.h> functions.
18657 for ac_header in fenv.h
18658 do :
18659 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18660 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18661 cat >>confdefs.h <<_ACEOF
18662 #define HAVE_FENV_H 1
18663 _ACEOF
18664 ac_has_fenv_h=yes
18665 else
18666 ac_has_fenv_h=no
18667 fi
18668
18669 done
18670
18671 ac_c99_fenv_tr1=no;
18672 if test x"$ac_has_fenv_h" = x"yes"; then
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18674 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <fenv.h>
18678 int
18679 main ()
18680 {
18681 int except, mode;
18682 fexcept_t* pflag;
18683 fenv_t* penv;
18684 int ret;
18685 ret = feclearexcept(except);
18686 ret = fegetexceptflag(pflag, except);
18687 ret = feraiseexcept(except);
18688 ret = fesetexceptflag(pflag, except);
18689 ret = fetestexcept(except);
18690 ret = fegetround();
18691 ret = fesetround(mode);
18692 ret = fegetenv(penv);
18693 ret = feholdexcept(penv);
18694 ret = fesetenv(penv);
18695 ret = feupdateenv(penv);
18696
18697 ;
18698 return 0;
18699 }
18700 _ACEOF
18701 if ac_fn_cxx_try_compile "$LINENO"; then :
18702 ac_c99_fenv_tr1=yes
18703 else
18704 ac_c99_fenv_tr1=no
18705 fi
18706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 fi
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18709 $as_echo "$ac_c99_fenv_tr1" >&6; }
18710 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18711
18712 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18713
18714 fi
18715
18716 # Check for the existence of <stdint.h> types.
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18718 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18719 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18720 $as_echo_n "(cached) " >&6
18721 else
18722
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 #define __STDC_LIMIT_MACROS
18726 #define __STDC_CONSTANT_MACROS
18727 #include <stdint.h>
18728 int
18729 main ()
18730 {
18731 typedef int8_t my_int8_t;
18732 my_int8_t i8 = INT8_MIN;
18733 i8 = INT8_MAX;
18734 typedef int16_t my_int16_t;
18735 my_int16_t i16 = INT16_MIN;
18736 i16 = INT16_MAX;
18737 typedef int32_t my_int32_t;
18738 my_int32_t i32 = INT32_MIN;
18739 i32 = INT32_MAX;
18740 typedef int64_t my_int64_t;
18741 my_int64_t i64 = INT64_MIN;
18742 i64 = INT64_MAX;
18743 typedef int_fast8_t my_int_fast8_t;
18744 my_int_fast8_t if8 = INT_FAST8_MIN;
18745 if8 = INT_FAST8_MAX;
18746 typedef int_fast16_t my_int_fast16_t;
18747 my_int_fast16_t if16 = INT_FAST16_MIN;
18748 if16 = INT_FAST16_MAX;
18749 typedef int_fast32_t my_int_fast32_t;
18750 my_int_fast32_t if32 = INT_FAST32_MIN;
18751 if32 = INT_FAST32_MAX;
18752 typedef int_fast64_t my_int_fast64_t;
18753 my_int_fast64_t if64 = INT_FAST64_MIN;
18754 if64 = INT_FAST64_MAX;
18755 typedef int_least8_t my_int_least8_t;
18756 my_int_least8_t il8 = INT_LEAST8_MIN;
18757 il8 = INT_LEAST8_MAX;
18758 typedef int_least16_t my_int_least16_t;
18759 my_int_least16_t il16 = INT_LEAST16_MIN;
18760 il16 = INT_LEAST16_MAX;
18761 typedef int_least32_t my_int_least32_t;
18762 my_int_least32_t il32 = INT_LEAST32_MIN;
18763 il32 = INT_LEAST32_MAX;
18764 typedef int_least64_t my_int_least64_t;
18765 my_int_least64_t il64 = INT_LEAST64_MIN;
18766 il64 = INT_LEAST64_MAX;
18767 typedef intmax_t my_intmax_t;
18768 my_intmax_t im = INTMAX_MAX;
18769 im = INTMAX_MIN;
18770 typedef intptr_t my_intptr_t;
18771 my_intptr_t ip = INTPTR_MAX;
18772 ip = INTPTR_MIN;
18773 typedef uint8_t my_uint8_t;
18774 my_uint8_t ui8 = UINT8_MAX;
18775 ui8 = UINT8_MAX;
18776 typedef uint16_t my_uint16_t;
18777 my_uint16_t ui16 = UINT16_MAX;
18778 ui16 = UINT16_MAX;
18779 typedef uint32_t my_uint32_t;
18780 my_uint32_t ui32 = UINT32_MAX;
18781 ui32 = UINT32_MAX;
18782 typedef uint64_t my_uint64_t;
18783 my_uint64_t ui64 = UINT64_MAX;
18784 ui64 = UINT64_MAX;
18785 typedef uint_fast8_t my_uint_fast8_t;
18786 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18787 uif8 = UINT_FAST8_MAX;
18788 typedef uint_fast16_t my_uint_fast16_t;
18789 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18790 uif16 = UINT_FAST16_MAX;
18791 typedef uint_fast32_t my_uint_fast32_t;
18792 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18793 uif32 = UINT_FAST32_MAX;
18794 typedef uint_fast64_t my_uint_fast64_t;
18795 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18796 uif64 = UINT_FAST64_MAX;
18797 typedef uint_least8_t my_uint_least8_t;
18798 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18799 uil8 = UINT_LEAST8_MAX;
18800 typedef uint_least16_t my_uint_least16_t;
18801 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18802 uil16 = UINT_LEAST16_MAX;
18803 typedef uint_least32_t my_uint_least32_t;
18804 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18805 uil32 = UINT_LEAST32_MAX;
18806 typedef uint_least64_t my_uint_least64_t;
18807 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18808 uil64 = UINT_LEAST64_MAX;
18809 typedef uintmax_t my_uintmax_t;
18810 my_uintmax_t uim = UINTMAX_MAX;
18811 uim = UINTMAX_MAX;
18812 typedef uintptr_t my_uintptr_t;
18813 my_uintptr_t uip = UINTPTR_MAX;
18814 uip = UINTPTR_MAX;
18815
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 if ac_fn_cxx_try_compile "$LINENO"; then :
18821 glibcxx_cv_c99_stdint_tr1=yes
18822 else
18823 glibcxx_cv_c99_stdint_tr1=no
18824 fi
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826
18827 fi
18828
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18830 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18831 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18832
18833 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18834
18835 fi
18836
18837 # Check for the existence of <math.h> functions.
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18839 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18840 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18841 $as_echo_n "(cached) " >&6
18842 else
18843
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18846 #include <math.h>
18847 int
18848 main ()
18849 {
18850 typedef double_t my_double_t;
18851 typedef float_t my_float_t;
18852 acosh(0.0);
18853 acoshf(0.0f);
18854 acoshl(0.0l);
18855 asinh(0.0);
18856 asinhf(0.0f);
18857 asinhl(0.0l);
18858 atanh(0.0);
18859 atanhf(0.0f);
18860 atanhl(0.0l);
18861 cbrt(0.0);
18862 cbrtf(0.0f);
18863 cbrtl(0.0l);
18864 copysign(0.0, 0.0);
18865 copysignf(0.0f, 0.0f);
18866 copysignl(0.0l, 0.0l);
18867 erf(0.0);
18868 erff(0.0f);
18869 erfl(0.0l);
18870 erfc(0.0);
18871 erfcf(0.0f);
18872 erfcl(0.0l);
18873 exp2(0.0);
18874 exp2f(0.0f);
18875 exp2l(0.0l);
18876 expm1(0.0);
18877 expm1f(0.0f);
18878 expm1l(0.0l);
18879 fdim(0.0, 0.0);
18880 fdimf(0.0f, 0.0f);
18881 fdiml(0.0l, 0.0l);
18882 fma(0.0, 0.0, 0.0);
18883 fmaf(0.0f, 0.0f, 0.0f);
18884 fmal(0.0l, 0.0l, 0.0l);
18885 fmax(0.0, 0.0);
18886 fmaxf(0.0f, 0.0f);
18887 fmaxl(0.0l, 0.0l);
18888 fmin(0.0, 0.0);
18889 fminf(0.0f, 0.0f);
18890 fminl(0.0l, 0.0l);
18891 hypot(0.0, 0.0);
18892 hypotf(0.0f, 0.0f);
18893 hypotl(0.0l, 0.0l);
18894 ilogb(0.0);
18895 ilogbf(0.0f);
18896 ilogbl(0.0l);
18897 lgamma(0.0);
18898 lgammaf(0.0f);
18899 lgammal(0.0l);
18900 llrint(0.0);
18901 llrintf(0.0f);
18902 llrintl(0.0l);
18903 llround(0.0);
18904 llroundf(0.0f);
18905 llroundl(0.0l);
18906 log1p(0.0);
18907 log1pf(0.0f);
18908 log1pl(0.0l);
18909 log2(0.0);
18910 log2f(0.0f);
18911 log2l(0.0l);
18912 logb(0.0);
18913 logbf(0.0f);
18914 logbl(0.0l);
18915 lrint(0.0);
18916 lrintf(0.0f);
18917 lrintl(0.0l);
18918 lround(0.0);
18919 lroundf(0.0f);
18920 lroundl(0.0l);
18921 nan(0);
18922 nanf(0);
18923 nanl(0);
18924 nearbyint(0.0);
18925 nearbyintf(0.0f);
18926 nearbyintl(0.0l);
18927 nextafter(0.0, 0.0);
18928 nextafterf(0.0f, 0.0f);
18929 nextafterl(0.0l, 0.0l);
18930 nexttoward(0.0, 0.0);
18931 nexttowardf(0.0f, 0.0f);
18932 nexttowardl(0.0l, 0.0l);
18933 remainder(0.0, 0.0);
18934 remainderf(0.0f, 0.0f);
18935 remainderl(0.0l, 0.0l);
18936 remquo(0.0, 0.0, 0);
18937 remquof(0.0f, 0.0f, 0);
18938 remquol(0.0l, 0.0l, 0);
18939 rint(0.0);
18940 rintf(0.0f);
18941 rintl(0.0l);
18942 round(0.0);
18943 roundf(0.0f);
18944 roundl(0.0l);
18945 scalbln(0.0, 0l);
18946 scalblnf(0.0f, 0l);
18947 scalblnl(0.0l, 0l);
18948 scalbn(0.0, 0);
18949 scalbnf(0.0f, 0);
18950 scalbnl(0.0l, 0);
18951 tgamma(0.0);
18952 tgammaf(0.0f);
18953 tgammal(0.0l);
18954 trunc(0.0);
18955 truncf(0.0f);
18956 truncl(0.0l);
18957
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 if ac_fn_cxx_try_compile "$LINENO"; then :
18963 glibcxx_cv_c99_math_tr1=yes
18964 else
18965 glibcxx_cv_c99_math_tr1=no
18966 fi
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968
18969 fi
18970
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18972 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18973 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18974
18975 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18976
18977 fi
18978
18979 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18980 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18981 ac_c99_inttypes_tr1=no;
18982 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18984 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <inttypes.h>
18988 int
18989 main ()
18990 {
18991 intmax_t i, numer, denom, base;
18992 const char* s;
18993 char** endptr;
18994 intmax_t ret = imaxabs(i);
18995 imaxdiv_t dret = imaxdiv(numer, denom);
18996 ret = strtoimax(s, endptr, base);
18997 uintmax_t uret = strtoumax(s, endptr, base);
18998
18999 ;
19000 return 0;
19001 }
19002 _ACEOF
19003 if ac_fn_cxx_try_compile "$LINENO"; then :
19004 ac_c99_inttypes_tr1=yes
19005 else
19006 ac_c99_inttypes_tr1=no
19007 fi
19008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 fi
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19011 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19012 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19013
19014 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19015
19016 fi
19017
19018 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19019 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19020 ac_c99_inttypes_wchar_t_tr1=no;
19021 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19023 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <inttypes.h>
19027 int
19028 main ()
19029 {
19030 intmax_t base;
19031 const wchar_t* s;
19032 wchar_t** endptr;
19033 intmax_t ret = wcstoimax(s, endptr, base);
19034 uintmax_t uret = wcstoumax(s, endptr, base);
19035
19036 ;
19037 return 0;
19038 }
19039 _ACEOF
19040 if ac_fn_cxx_try_compile "$LINENO"; then :
19041 ac_c99_inttypes_wchar_t_tr1=yes
19042 else
19043 ac_c99_inttypes_wchar_t_tr1=no
19044 fi
19045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 fi
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19048 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19049 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19050
19051 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19052
19053 fi
19054
19055 # Check for the existence of the <stdbool.h> header.
19056 for ac_header in stdbool.h
19057 do :
19058 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19059 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STDBOOL_H 1
19062 _ACEOF
19063
19064 fi
19065
19066 done
19067
19068
19069 # Check for the existence of the <stdalign.h> header.
19070 for ac_header in stdalign.h
19071 do :
19072 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19073 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STDALIGN_H 1
19076 _ACEOF
19077
19078 fi
19079
19080 done
19081
19082
19083 CXXFLAGS="$ac_save_CXXFLAGS"
19084 ac_ext=c
19085 ac_cpp='$CPP $CPPFLAGS'
19086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19089
19090
19091
19092 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19093
19094
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19096 $as_echo_n "checking for the value of EOF... " >&6; }
19097 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19098 $as_echo_n "(cached) " >&6
19099 else
19100
19101 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19102
19103 else
19104 as_fn_error "computing EOF failed" "$LINENO" 5
19105 fi
19106
19107
19108 fi
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19110 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19111
19112 cat >>confdefs.h <<_ACEOF
19113 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19114 _ACEOF
19115
19116
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19118 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19119 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19120 $as_echo_n "(cached) " >&6
19121 else
19122
19123 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19124
19125 else
19126 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19127 fi
19128
19129
19130 fi
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19132 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19133
19134 cat >>confdefs.h <<_ACEOF
19135 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19136 _ACEOF
19137
19138
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19140 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19141 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19142 $as_echo_n "(cached) " >&6
19143 else
19144
19145 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19146
19147 else
19148 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19149 fi
19150
19151
19152 fi
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19154 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19155
19156 cat >>confdefs.h <<_ACEOF
19157 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19158 _ACEOF
19159
19160
19161
19162 # For gettimeofday support.
19163
19164
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19166 $as_echo_n "checking for gettimeofday... " >&6; }
19167
19168
19169 ac_ext=cpp
19170 ac_cpp='$CXXCPP $CPPFLAGS'
19171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19174
19175 ac_save_CXXFLAGS="$CXXFLAGS"
19176 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19177
19178 ac_has_gettimeofday=no;
19179 for ac_header in sys/time.h
19180 do :
19181 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19182 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_SYS_TIME_H 1
19185 _ACEOF
19186 ac_has_sys_time_h=yes
19187 else
19188 ac_has_sys_time_h=no
19189 fi
19190
19191 done
19192
19193 if test x"$ac_has_sys_time_h" = x"yes"; then
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19195 $as_echo_n "checking for gettimeofday... " >&6; }
19196 if test x$gcc_no_link = xyes; then
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #include <sys/time.h>
19200 int
19201 main ()
19202 {
19203 timeval tv; gettimeofday(&tv, 0);
19204 ;
19205 return 0;
19206 }
19207 _ACEOF
19208 if ac_fn_cxx_try_compile "$LINENO"; then :
19209 ac_has_gettimeofday=yes
19210 else
19211 ac_has_gettimeofday=no
19212 fi
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214 else
19215 if test x$gcc_no_link = xyes; then
19216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19217 fi
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 #include <sys/time.h>
19221 int
19222 main ()
19223 {
19224 timeval tv; gettimeofday(&tv, 0);
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 if ac_fn_cxx_try_link "$LINENO"; then :
19230 ac_has_gettimeofday=yes
19231 else
19232 ac_has_gettimeofday=no
19233 fi
19234 rm -f core conftest.err conftest.$ac_objext \
19235 conftest$ac_exeext conftest.$ac_ext
19236 fi
19237
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19239 $as_echo "$ac_has_gettimeofday" >&6; }
19240 fi
19241
19242 if test x"$ac_has_gettimeofday" = x"yes"; then
19243
19244 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19245
19246 fi
19247
19248 CXXFLAGS="$ac_save_CXXFLAGS"
19249 ac_ext=c
19250 ac_cpp='$CPP $CPPFLAGS'
19251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19254
19255
19256
19257 # For clock_gettime, nanosleep and sched_yield support.
19258 # NB: The default is [no], because otherwise it requires linking.
19259
19260
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19262 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19263 # Check whether --enable-libstdcxx-time was given.
19264 if test "${enable_libstdcxx_time+set}" = set; then :
19265 enableval=$enable_libstdcxx_time;
19266 case "$enableval" in
19267 yes|no|rt) ;;
19268 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19269 esac
19270
19271 else
19272 enable_libstdcxx_time=no
19273 fi
19274
19275
19276
19277
19278 ac_ext=cpp
19279 ac_cpp='$CXXCPP $CPPFLAGS'
19280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19283
19284 ac_save_CXXFLAGS="$CXXFLAGS"
19285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19286 ac_save_LIBS="$LIBS"
19287
19288 ac_has_clock_monotonic=no
19289 ac_has_clock_realtime=no
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19291 $as_echo "$enable_libstdcxx_time" >&6; }
19292
19293 if test x"$enable_libstdcxx_time" != x"no"; then
19294
19295 if test x"$enable_libstdcxx_time" = x"rt"; then
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19297 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19298 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19299 $as_echo_n "(cached) " >&6
19300 else
19301 ac_func_search_save_LIBS=$LIBS
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304
19305 /* Override any GCC internal prototype to avoid an error.
19306 Use char because int might match the return type of a GCC
19307 builtin and then its argument prototype would still apply. */
19308 #ifdef __cplusplus
19309 extern "C"
19310 #endif
19311 char clock_gettime ();
19312 int
19313 main ()
19314 {
19315 return clock_gettime ();
19316 ;
19317 return 0;
19318 }
19319 _ACEOF
19320 for ac_lib in '' rt posix4; do
19321 if test -z "$ac_lib"; then
19322 ac_res="none required"
19323 else
19324 ac_res=-l$ac_lib
19325 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19326 fi
19327 if test x$gcc_no_link = xyes; then
19328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 fi
19330 if ac_fn_cxx_try_link "$LINENO"; then :
19331 ac_cv_search_clock_gettime=$ac_res
19332 fi
19333 rm -f core conftest.err conftest.$ac_objext \
19334 conftest$ac_exeext
19335 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19336 break
19337 fi
19338 done
19339 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19340
19341 else
19342 ac_cv_search_clock_gettime=no
19343 fi
19344 rm conftest.$ac_ext
19345 LIBS=$ac_func_search_save_LIBS
19346 fi
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19348 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19349 ac_res=$ac_cv_search_clock_gettime
19350 if test "$ac_res" != no; then :
19351 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19352
19353 fi
19354
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19356 $as_echo_n "checking for library containing nanosleep... " >&6; }
19357 if test "${ac_cv_search_nanosleep+set}" = set; then :
19358 $as_echo_n "(cached) " >&6
19359 else
19360 ac_func_search_save_LIBS=$LIBS
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363
19364 /* Override any GCC internal prototype to avoid an error.
19365 Use char because int might match the return type of a GCC
19366 builtin and then its argument prototype would still apply. */
19367 #ifdef __cplusplus
19368 extern "C"
19369 #endif
19370 char nanosleep ();
19371 int
19372 main ()
19373 {
19374 return nanosleep ();
19375 ;
19376 return 0;
19377 }
19378 _ACEOF
19379 for ac_lib in '' rt posix4; do
19380 if test -z "$ac_lib"; then
19381 ac_res="none required"
19382 else
19383 ac_res=-l$ac_lib
19384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19385 fi
19386 if test x$gcc_no_link = xyes; then
19387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19388 fi
19389 if ac_fn_cxx_try_link "$LINENO"; then :
19390 ac_cv_search_nanosleep=$ac_res
19391 fi
19392 rm -f core conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext
19394 if test "${ac_cv_search_nanosleep+set}" = set; then :
19395 break
19396 fi
19397 done
19398 if test "${ac_cv_search_nanosleep+set}" = set; then :
19399
19400 else
19401 ac_cv_search_nanosleep=no
19402 fi
19403 rm conftest.$ac_ext
19404 LIBS=$ac_func_search_save_LIBS
19405 fi
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19407 $as_echo "$ac_cv_search_nanosleep" >&6; }
19408 ac_res=$ac_cv_search_nanosleep
19409 if test "$ac_res" != no; then :
19410 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19411
19412 fi
19413
19414 else
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19416 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19417 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19418 $as_echo_n "(cached) " >&6
19419 else
19420 ac_func_search_save_LIBS=$LIBS
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423
19424 /* Override any GCC internal prototype to avoid an error.
19425 Use char because int might match the return type of a GCC
19426 builtin and then its argument prototype would still apply. */
19427 #ifdef __cplusplus
19428 extern "C"
19429 #endif
19430 char clock_gettime ();
19431 int
19432 main ()
19433 {
19434 return clock_gettime ();
19435 ;
19436 return 0;
19437 }
19438 _ACEOF
19439 for ac_lib in '' posix4; do
19440 if test -z "$ac_lib"; then
19441 ac_res="none required"
19442 else
19443 ac_res=-l$ac_lib
19444 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19445 fi
19446 if test x$gcc_no_link = xyes; then
19447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19448 fi
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 ac_cv_search_clock_gettime=$ac_res
19451 fi
19452 rm -f core conftest.err conftest.$ac_objext \
19453 conftest$ac_exeext
19454 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19455 break
19456 fi
19457 done
19458 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19459
19460 else
19461 ac_cv_search_clock_gettime=no
19462 fi
19463 rm conftest.$ac_ext
19464 LIBS=$ac_func_search_save_LIBS
19465 fi
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19467 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19468 ac_res=$ac_cv_search_clock_gettime
19469 if test "$ac_res" != no; then :
19470 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19471
19472 fi
19473
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19475 $as_echo_n "checking for library containing nanosleep... " >&6; }
19476 if test "${ac_cv_search_nanosleep+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 ac_func_search_save_LIBS=$LIBS
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482
19483 /* Override any GCC internal prototype to avoid an error.
19484 Use char because int might match the return type of a GCC
19485 builtin and then its argument prototype would still apply. */
19486 #ifdef __cplusplus
19487 extern "C"
19488 #endif
19489 char nanosleep ();
19490 int
19491 main ()
19492 {
19493 return nanosleep ();
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 for ac_lib in '' posix4; do
19499 if test -z "$ac_lib"; then
19500 ac_res="none required"
19501 else
19502 ac_res=-l$ac_lib
19503 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19504 fi
19505 if test x$gcc_no_link = xyes; then
19506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19507 fi
19508 if ac_fn_cxx_try_link "$LINENO"; then :
19509 ac_cv_search_nanosleep=$ac_res
19510 fi
19511 rm -f core conftest.err conftest.$ac_objext \
19512 conftest$ac_exeext
19513 if test "${ac_cv_search_nanosleep+set}" = set; then :
19514 break
19515 fi
19516 done
19517 if test "${ac_cv_search_nanosleep+set}" = set; then :
19518
19519 else
19520 ac_cv_search_nanosleep=no
19521 fi
19522 rm conftest.$ac_ext
19523 LIBS=$ac_func_search_save_LIBS
19524 fi
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19526 $as_echo "$ac_cv_search_nanosleep" >&6; }
19527 ac_res=$ac_cv_search_nanosleep
19528 if test "$ac_res" != no; then :
19529 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19530
19531 fi
19532
19533 fi
19534
19535 case "$ac_cv_search_clock_gettime" in
19536 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19537 ;;
19538 esac
19539 case "$ac_cv_search_nanosleep" in
19540 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19541 ;;
19542 esac
19543
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19545 $as_echo_n "checking for library containing sched_yield... " >&6; }
19546 if test "${ac_cv_search_sched_yield+set}" = set; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 ac_func_search_save_LIBS=$LIBS
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552
19553 /* Override any GCC internal prototype to avoid an error.
19554 Use char because int might match the return type of a GCC
19555 builtin and then its argument prototype would still apply. */
19556 #ifdef __cplusplus
19557 extern "C"
19558 #endif
19559 char sched_yield ();
19560 int
19561 main ()
19562 {
19563 return sched_yield ();
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 for ac_lib in '' rt posix4; do
19569 if test -z "$ac_lib"; then
19570 ac_res="none required"
19571 else
19572 ac_res=-l$ac_lib
19573 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19574 fi
19575 if test x$gcc_no_link = xyes; then
19576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 fi
19578 if ac_fn_cxx_try_link "$LINENO"; then :
19579 ac_cv_search_sched_yield=$ac_res
19580 fi
19581 rm -f core conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext
19583 if test "${ac_cv_search_sched_yield+set}" = set; then :
19584 break
19585 fi
19586 done
19587 if test "${ac_cv_search_sched_yield+set}" = set; then :
19588
19589 else
19590 ac_cv_search_sched_yield=no
19591 fi
19592 rm conftest.$ac_ext
19593 LIBS=$ac_func_search_save_LIBS
19594 fi
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19596 $as_echo "$ac_cv_search_sched_yield" >&6; }
19597 ac_res=$ac_cv_search_sched_yield
19598 if test "$ac_res" != no; then :
19599 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19600
19601 fi
19602
19603
19604 case "$ac_cv_search_sched_yield" in
19605 -lposix4*)
19606 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19607
19608 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19609
19610 ;;
19611 -lrt*)
19612 if test x"$enable_libstdcxx_time" = x"rt"; then
19613 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19614
19615 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19616
19617 fi
19618 ;;
19619 *)
19620
19621 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19622
19623 ;;
19624 esac
19625
19626 for ac_header in unistd.h
19627 do :
19628 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19629 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19630 cat >>confdefs.h <<_ACEOF
19631 #define HAVE_UNISTD_H 1
19632 _ACEOF
19633 ac_has_unistd_h=yes
19634 else
19635 ac_has_unistd_h=no
19636 fi
19637
19638 done
19639
19640
19641 if test x"$ac_has_unistd_h" = x"yes"; then
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19643 $as_echo_n "checking for monotonic clock... " >&6; }
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19646 fi
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <unistd.h>
19650 #include <time.h>
19651
19652 int
19653 main ()
19654 {
19655 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19656 timespec tp;
19657 #endif
19658 clock_gettime(CLOCK_MONOTONIC, &tp);
19659
19660 ;
19661 return 0;
19662 }
19663 _ACEOF
19664 if ac_fn_cxx_try_link "$LINENO"; then :
19665 ac_has_clock_monotonic=yes
19666 else
19667 ac_has_clock_monotonic=no
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext conftest.$ac_ext
19671
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19673 $as_echo "$ac_has_clock_monotonic" >&6; }
19674
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19676 $as_echo_n "checking for realtime clock... " >&6; }
19677 if test x$gcc_no_link = xyes; then
19678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19679 fi
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19682 #include <unistd.h>
19683 #include <time.h>
19684
19685 int
19686 main ()
19687 {
19688 #if _POSIX_TIMERS > 0
19689 timespec tp;
19690 #endif
19691 clock_gettime(CLOCK_REALTIME, &tp);
19692
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 if ac_fn_cxx_try_link "$LINENO"; then :
19698 ac_has_clock_realtime=yes
19699 else
19700 ac_has_clock_realtime=no
19701 fi
19702 rm -f core conftest.err conftest.$ac_objext \
19703 conftest$ac_exeext conftest.$ac_ext
19704
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19706 $as_echo "$ac_has_clock_realtime" >&6; }
19707
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19709 $as_echo_n "checking for nanosleep... " >&6; }
19710 if test x$gcc_no_link = xyes; then
19711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19712 fi
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #include <unistd.h>
19716 #include <time.h>
19717
19718 int
19719 main ()
19720 {
19721 #if _POSIX_TIMERS > 0
19722 timespec tp;
19723 #endif
19724 nanosleep(&tp, 0);
19725
19726 ;
19727 return 0;
19728 }
19729 _ACEOF
19730 if ac_fn_cxx_try_link "$LINENO"; then :
19731 ac_has_nanosleep=yes
19732 else
19733 ac_has_nanosleep=no
19734 fi
19735 rm -f core conftest.err conftest.$ac_objext \
19736 conftest$ac_exeext conftest.$ac_ext
19737
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19739 $as_echo "$ac_has_nanosleep" >&6; }
19740 fi
19741 fi
19742
19743 if test x"$ac_has_clock_monotonic" = x"yes"; then
19744
19745 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19746
19747 fi
19748
19749 if test x"$ac_has_clock_realtime" = x"yes"; then
19750
19751 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19752
19753 fi
19754
19755 if test x"$ac_has_nanosleep" = x"yes"; then
19756
19757 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19758
19759 fi
19760
19761
19762
19763 CXXFLAGS="$ac_save_CXXFLAGS"
19764 LIBS="$ac_save_LIBS"
19765 ac_ext=c
19766 ac_cpp='$CPP $CPPFLAGS'
19767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19770
19771
19772
19773
19774 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19775 if test "x$ac_cv_header_locale_h" = x""yes; then :
19776
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19778 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19779 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #include <locale.h>
19785 int
19786 main ()
19787 {
19788 return LC_MESSAGES
19789 ;
19790 return 0;
19791 }
19792 _ACEOF
19793 if ac_fn_c_try_compile "$LINENO"; then :
19794 ac_cv_val_LC_MESSAGES=yes
19795 else
19796 ac_cv_val_LC_MESSAGES=no
19797 fi
19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 fi
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19801 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19802 if test $ac_cv_val_LC_MESSAGES = yes; then
19803
19804 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19805
19806 fi
19807
19808 fi
19809
19810
19811
19812
19813 # For hardware_concurrency
19814 for ac_header in sys/sysinfo.h
19815 do :
19816 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19817 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19818 cat >>confdefs.h <<_ACEOF
19819 #define HAVE_SYS_SYSINFO_H 1
19820 _ACEOF
19821
19822 fi
19823
19824 done
19825
19826
19827
19828
19829 ac_ext=cpp
19830 ac_cpp='$CXXCPP $CPPFLAGS'
19831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19834
19835 ac_save_CXXFLAGS="$CXXFLAGS"
19836 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19837
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19839 $as_echo_n "checking for get_nprocs... " >&6; }
19840 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19841 $as_echo_n "(cached) " >&6
19842 else
19843
19844 if test x$gcc_no_link = xyes; then
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include <sys/sysinfo.h>
19848 int
19849 main ()
19850 {
19851 int n = get_nprocs();
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_cxx_try_compile "$LINENO"; then :
19857 glibcxx_cv_GET_NPROCS=yes
19858 else
19859 glibcxx_cv_GET_NPROCS=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19862 else
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 fi
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <sys/sysinfo.h>
19869 int
19870 main ()
19871 {
19872 int n = get_nprocs();
19873 ;
19874 return 0;
19875 }
19876 _ACEOF
19877 if ac_fn_cxx_try_link "$LINENO"; then :
19878 glibcxx_cv_GET_NPROCS=yes
19879 else
19880 glibcxx_cv_GET_NPROCS=no
19881 fi
19882 rm -f core conftest.err conftest.$ac_objext \
19883 conftest$ac_exeext conftest.$ac_ext
19884 fi
19885
19886 fi
19887
19888 if test $glibcxx_cv_GET_NPROCS = yes; then
19889
19890 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19891
19892 fi
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19894 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19895
19896 CXXFLAGS="$ac_save_CXXFLAGS"
19897 ac_ext=c
19898 ac_cpp='$CPP $CPPFLAGS'
19899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19902
19903
19904 for ac_header in unistd.h
19905 do :
19906 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19907 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_UNISTD_H 1
19910 _ACEOF
19911
19912 fi
19913
19914 done
19915
19916
19917
19918
19919 ac_ext=cpp
19920 ac_cpp='$CXXCPP $CPPFLAGS'
19921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19924
19925 ac_save_CXXFLAGS="$CXXFLAGS"
19926 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19927
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19929 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19930 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19931 $as_echo_n "(cached) " >&6
19932 else
19933
19934 if test x$gcc_no_link = xyes; then
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19937 #include <unistd.h>
19938 int
19939 main ()
19940 {
19941 int n = sysconf(_SC_NPROCESSORS_ONLN);
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 if ac_fn_cxx_try_compile "$LINENO"; then :
19947 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19948 else
19949 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19950 fi
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952 else
19953 if test x$gcc_no_link = xyes; then
19954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19955 fi
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #include <unistd.h>
19959 int
19960 main ()
19961 {
19962 int n = sysconf(_SC_NPROCESSORS_ONLN);
19963 ;
19964 return 0;
19965 }
19966 _ACEOF
19967 if ac_fn_cxx_try_link "$LINENO"; then :
19968 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19969 else
19970 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19971 fi
19972 rm -f core conftest.err conftest.$ac_objext \
19973 conftest$ac_exeext conftest.$ac_ext
19974 fi
19975
19976 fi
19977
19978 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19979
19980 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19981
19982 fi
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19984 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19985
19986 CXXFLAGS="$ac_save_CXXFLAGS"
19987 ac_ext=c
19988 ac_cpp='$CPP $CPPFLAGS'
19989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19992
19993
19994
19995
19996
19997 ac_ext=cpp
19998 ac_cpp='$CXXCPP $CPPFLAGS'
19999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20002
20003 ac_save_CXXFLAGS="$CXXFLAGS"
20004 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20005
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20007 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20008 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20009 $as_echo_n "(cached) " >&6
20010 else
20011
20012 if test x$gcc_no_link = xyes; then
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20015 #include <unistd.h>
20016 int
20017 main ()
20018 {
20019 int n = sysconf(_SC_NPROC_ONLN);
20020 ;
20021 return 0;
20022 }
20023 _ACEOF
20024 if ac_fn_cxx_try_compile "$LINENO"; then :
20025 glibcxx_cv_SC_NPROC_ONLN=yes
20026 else
20027 glibcxx_cv_SC_NPROC_ONLN=no
20028 fi
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20030 else
20031 if test x$gcc_no_link = xyes; then
20032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20033 fi
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 #include <unistd.h>
20037 int
20038 main ()
20039 {
20040 int n = sysconf(_SC_NPROC_ONLN);
20041 ;
20042 return 0;
20043 }
20044 _ACEOF
20045 if ac_fn_cxx_try_link "$LINENO"; then :
20046 glibcxx_cv_SC_NPROC_ONLN=yes
20047 else
20048 glibcxx_cv_SC_NPROC_ONLN=no
20049 fi
20050 rm -f core conftest.err conftest.$ac_objext \
20051 conftest$ac_exeext conftest.$ac_ext
20052 fi
20053
20054 fi
20055
20056 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20057
20058 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20059
20060 fi
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20062 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20063
20064 CXXFLAGS="$ac_save_CXXFLAGS"
20065 ac_ext=c
20066 ac_cpp='$CPP $CPPFLAGS'
20067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20070
20071
20072
20073
20074
20075 ac_ext=cpp
20076 ac_cpp='$CXXCPP $CPPFLAGS'
20077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20080
20081 ac_save_CXXFLAGS="$CXXFLAGS"
20082 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20083
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20085 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20086 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20087 $as_echo_n "(cached) " >&6
20088 else
20089
20090 if test x$gcc_no_link = xyes; then
20091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20092 /* end confdefs.h. */
20093 #include <pthread.h>
20094 int
20095 main ()
20096 {
20097 int n = pthread_num_processors_np();
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 if ac_fn_cxx_try_compile "$LINENO"; then :
20103 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20104 else
20105 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20106 fi
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 else
20109 if test x$gcc_no_link = xyes; then
20110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20111 fi
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20114 #include <pthread.h>
20115 int
20116 main ()
20117 {
20118 int n = pthread_num_processors_np();
20119 ;
20120 return 0;
20121 }
20122 _ACEOF
20123 if ac_fn_cxx_try_link "$LINENO"; then :
20124 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20125 else
20126 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20127 fi
20128 rm -f core conftest.err conftest.$ac_objext \
20129 conftest$ac_exeext conftest.$ac_ext
20130 fi
20131
20132 fi
20133
20134 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20135
20136 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20137
20138 fi
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20140 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20141
20142 CXXFLAGS="$ac_save_CXXFLAGS"
20143 ac_ext=c
20144 ac_cpp='$CPP $CPPFLAGS'
20145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20148
20149
20150
20151
20152
20153 ac_ext=cpp
20154 ac_cpp='$CXXCPP $CPPFLAGS'
20155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158
20159 ac_save_CXXFLAGS="$CXXFLAGS"
20160 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20161
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20163 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20164 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20165 $as_echo_n "(cached) " >&6
20166 else
20167
20168 if test x$gcc_no_link = xyes; then
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171
20172 #include <stddef.h>
20173 #include <sys/sysctl.h>
20174
20175 int
20176 main ()
20177 {
20178
20179 int count;
20180 size_t size = sizeof(count);
20181 int mib[] = { CTL_HW, HW_NCPU };
20182 sysctl(mib, 2, &count, &size, NULL, 0);
20183
20184 ;
20185 return 0;
20186 }
20187 _ACEOF
20188 if ac_fn_cxx_try_compile "$LINENO"; then :
20189 glibcxx_cv_SYSCTL_HW_NCPU=yes
20190 else
20191 glibcxx_cv_SYSCTL_HW_NCPU=no
20192 fi
20193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20194 else
20195 if test x$gcc_no_link = xyes; then
20196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 fi
20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h. */
20200
20201 #include <stddef.h>
20202 #include <sys/sysctl.h>
20203
20204 int
20205 main ()
20206 {
20207
20208 int count;
20209 size_t size = sizeof(count);
20210 int mib[] = { CTL_HW, HW_NCPU };
20211 sysctl(mib, 2, &count, &size, NULL, 0);
20212
20213 ;
20214 return 0;
20215 }
20216 _ACEOF
20217 if ac_fn_cxx_try_link "$LINENO"; then :
20218 glibcxx_cv_SYSCTL_HW_NCPU=yes
20219 else
20220 glibcxx_cv_SYSCTL_HW_NCPU=no
20221 fi
20222 rm -f core conftest.err conftest.$ac_objext \
20223 conftest$ac_exeext conftest.$ac_ext
20224 fi
20225
20226 fi
20227
20228 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20229
20230 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20231
20232 fi
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20234 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20235
20236 CXXFLAGS="$ac_save_CXXFLAGS"
20237 ac_ext=c
20238 ac_cpp='$CPP $CPPFLAGS'
20239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20242
20243
20244
20245 # Check for available headers.
20246 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20247 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20248 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20249 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20250 wchar.h wctype.h
20251 do :
20252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20253 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20254 eval as_val=\$$as_ac_Header
20255 if test "x$as_val" = x""yes; then :
20256 cat >>confdefs.h <<_ACEOF
20257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20258 _ACEOF
20259
20260 fi
20261
20262 done
20263
20264
20265 # Only do link tests if native. Else, hardcode.
20266 if $GLIBCXX_IS_NATIVE; then
20267
20268 # We can do more elaborate tests that assume a working linker.
20269 CANADIAN=no
20270
20271
20272
20273 # Check whether --with-gnu-ld was given.
20274 if test "${with_gnu_ld+set}" = set; then :
20275 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20276 else
20277 with_gnu_ld=no
20278 fi
20279
20280 ac_prog=ld
20281 if test "$GCC" = yes; then
20282 # Check if gcc -print-prog-name=ld gives a path.
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20284 $as_echo_n "checking for ld used by $CC... " >&6; }
20285 case $host in
20286 *-*-mingw*)
20287 # gcc leaves a trailing carriage return which upsets mingw
20288 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20289 *)
20290 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20291 esac
20292 case $ac_prog in
20293 # Accept absolute paths.
20294 [\\/]* | ?:[\\/]*)
20295 re_direlt='/[^/][^/]*/\.\./'
20296 # Canonicalize the pathname of ld
20297 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20298 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20299 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20300 done
20301 test -z "$LD" && LD="$ac_prog"
20302 ;;
20303 "")
20304 # If it fails, then pretend we aren't using GCC.
20305 ac_prog=ld
20306 ;;
20307 *)
20308 # If it is relative, then search for the first ld in PATH.
20309 with_gnu_ld=unknown
20310 ;;
20311 esac
20312 elif test "$with_gnu_ld" = yes; then
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20314 $as_echo_n "checking for GNU ld... " >&6; }
20315 else
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20317 $as_echo_n "checking for non-GNU ld... " >&6; }
20318 fi
20319 if test "${lt_cv_path_LD+set}" = set; then :
20320 $as_echo_n "(cached) " >&6
20321 else
20322 if test -z "$LD"; then
20323 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20324 for ac_dir in $PATH; do
20325 IFS="$lt_save_ifs"
20326 test -z "$ac_dir" && ac_dir=.
20327 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20328 lt_cv_path_LD="$ac_dir/$ac_prog"
20329 # Check to see if the program is GNU ld. I'd rather use --version,
20330 # but apparently some variants of GNU ld only accept -v.
20331 # Break only if it was the GNU/non-GNU ld that we prefer.
20332 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20333 *GNU* | *'with BFD'*)
20334 test "$with_gnu_ld" != no && break
20335 ;;
20336 *)
20337 test "$with_gnu_ld" != yes && break
20338 ;;
20339 esac
20340 fi
20341 done
20342 IFS="$lt_save_ifs"
20343 else
20344 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20345 fi
20346 fi
20347
20348 LD="$lt_cv_path_LD"
20349 if test -n "$LD"; then
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20351 $as_echo "$LD" >&6; }
20352 else
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20354 $as_echo "no" >&6; }
20355 fi
20356 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20358 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20359 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20360 $as_echo_n "(cached) " >&6
20361 else
20362 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20363 case `$LD -v 2>&1 </dev/null` in
20364 *GNU* | *'with BFD'*)
20365 lt_cv_prog_gnu_ld=yes
20366 ;;
20367 *)
20368 lt_cv_prog_gnu_ld=no
20369 ;;
20370 esac
20371 fi
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20373 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20374 with_gnu_ld=$lt_cv_prog_gnu_ld
20375
20376
20377
20378
20379
20380
20381
20382 # If we're not using GNU ld, then there's no point in even trying these
20383 # tests. Check for that first. We should have already tested for gld
20384 # by now (in libtool), but require it now just to be safe...
20385 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20386 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20387
20388
20389
20390 # The name set by libtool depends on the version of libtool. Shame on us
20391 # for depending on an impl detail, but c'est la vie. Older versions used
20392 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20393 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20394 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20395 # set (hence we're using an older libtool), then set it.
20396 if test x${with_gnu_ld+set} != xset; then
20397 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20398 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20399 with_gnu_ld=no
20400 else
20401 with_gnu_ld=$ac_cv_prog_gnu_ld
20402 fi
20403 fi
20404
20405 # Start by getting the version number. I think the libtool test already
20406 # does some of this, but throws away the result.
20407 glibcxx_ld_is_gold=no
20408 if test x"$with_gnu_ld" = x"yes"; then
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20410 $as_echo_n "checking for ld version... " >&6; }
20411
20412 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20413 glibcxx_ld_is_gold=yes
20414 fi
20415 ldver=`$LD --version 2>/dev/null |
20416 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'`
20417
20418 glibcxx_gnu_ld_version=`echo $ldver | \
20419 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20421 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20422 fi
20423
20424 # Set --gc-sections.
20425 glibcxx_have_gc_sections=no
20426 if test "$glibcxx_ld_is_gold" = "yes"; then
20427 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20428 glibcxx_have_gc_sections=yes
20429 fi
20430 else
20431 glibcxx_gcsections_min_ld=21602
20432 if test x"$with_gnu_ld" = x"yes" &&
20433 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20434 glibcxx_have_gc_sections=yes
20435 fi
20436 fi
20437 if test "$glibcxx_have_gc_sections" = "yes"; then
20438 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20439 # NB: This flag only works reliably after 2.16.1. Configure tests
20440 # for this are difficult, so hard wire a value that should work.
20441
20442 ac_test_CFLAGS="${CFLAGS+set}"
20443 ac_save_CFLAGS="$CFLAGS"
20444 CFLAGS='-Wl,--gc-sections'
20445
20446 # Check for -Wl,--gc-sections
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20448 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20449 if test x$gcc_no_link = xyes; then
20450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20451 fi
20452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20453 /* end confdefs.h. */
20454 int one(void) { return 1; }
20455 int two(void) { return 2; }
20456
20457 int
20458 main ()
20459 {
20460 two();
20461 ;
20462 return 0;
20463 }
20464 _ACEOF
20465 if ac_fn_c_try_link "$LINENO"; then :
20466 ac_gcsections=yes
20467 else
20468 ac_gcsections=no
20469 fi
20470 rm -f core conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20472 if test "$ac_gcsections" = "yes"; then
20473 rm -f conftest.c
20474 touch conftest.c
20475 if $CC -c conftest.c; then
20476 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20477 grep "Warning: gc-sections option ignored" > /dev/null; then
20478 ac_gcsections=no
20479 fi
20480 fi
20481 rm -f conftest.c conftest.o conftest
20482 fi
20483 if test "$ac_gcsections" = "yes"; then
20484 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20485 fi
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20487 $as_echo "$ac_gcsections" >&6; }
20488
20489 if test "$ac_test_CFLAGS" = set; then
20490 CFLAGS="$ac_save_CFLAGS"
20491 else
20492 # this is the suspicious part
20493 CFLAGS=''
20494 fi
20495 fi
20496
20497 # Set -z,relro.
20498 # Note this is only for shared objects.
20499 ac_ld_relro=no
20500 if test x"$with_gnu_ld" = x"yes"; then
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20502 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20503 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20504 if test -n "$cxx_z_relo"; then
20505 OPT_LDFLAGS="-Wl,-z,relro"
20506 ac_ld_relro=yes
20507 fi
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20509 $as_echo "$ac_ld_relro" >&6; }
20510 fi
20511
20512 # Set linker optimization flags.
20513 if test x"$with_gnu_ld" = x"yes"; then
20514 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20515 fi
20516
20517
20518
20519
20520
20521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20522 ac_save_CXXFLAGS="$CXXFLAGS"
20523 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20526 $as_echo_n "checking for sin in -lm... " >&6; }
20527 if test "${ac_cv_lib_m_sin+set}" = set; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20530 ac_check_lib_save_LIBS=$LIBS
20531 LIBS="-lm $LIBS"
20532 if test x$gcc_no_link = xyes; then
20533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20534 fi
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20537
20538 /* Override any GCC internal prototype to avoid an error.
20539 Use char because int might match the return type of a GCC
20540 builtin and then its argument prototype would still apply. */
20541 #ifdef __cplusplus
20542 extern "C"
20543 #endif
20544 char sin ();
20545 int
20546 main ()
20547 {
20548 return sin ();
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 if ac_fn_c_try_link "$LINENO"; then :
20554 ac_cv_lib_m_sin=yes
20555 else
20556 ac_cv_lib_m_sin=no
20557 fi
20558 rm -f core conftest.err conftest.$ac_objext \
20559 conftest$ac_exeext conftest.$ac_ext
20560 LIBS=$ac_check_lib_save_LIBS
20561 fi
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20563 $as_echo "$ac_cv_lib_m_sin" >&6; }
20564 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20565 libm="-lm"
20566 fi
20567
20568 ac_save_LIBS="$LIBS"
20569 LIBS="$LIBS $libm"
20570
20571
20572
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20574 $as_echo_n "checking for isinf declaration... " >&6; }
20575 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20576 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20577 $as_echo_n "(cached) " >&6
20578 else
20579
20580
20581 ac_ext=cpp
20582 ac_cpp='$CXXCPP $CPPFLAGS'
20583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20586
20587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20589 #include <math.h>
20590 #ifdef HAVE_IEEEFP_H
20591 #include <ieeefp.h>
20592 #endif
20593
20594 int
20595 main ()
20596 {
20597 isinf(0);
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 if ac_fn_cxx_try_compile "$LINENO"; then :
20603 glibcxx_cv_func_isinf_use=yes
20604 else
20605 glibcxx_cv_func_isinf_use=no
20606 fi
20607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20608 ac_ext=c
20609 ac_cpp='$CPP $CPPFLAGS'
20610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20613
20614
20615 fi
20616
20617 fi
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20619 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20620
20621 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20622 for ac_func in isinf
20623 do :
20624 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20625 if test "x$ac_cv_func_isinf" = x""yes; then :
20626 cat >>confdefs.h <<_ACEOF
20627 #define HAVE_ISINF 1
20628 _ACEOF
20629
20630 fi
20631 done
20632
20633 else
20634
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20636 $as_echo_n "checking for _isinf declaration... " >&6; }
20637 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20638 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20639 $as_echo_n "(cached) " >&6
20640 else
20641
20642
20643 ac_ext=cpp
20644 ac_cpp='$CXXCPP $CPPFLAGS'
20645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20648
20649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20650 /* end confdefs.h. */
20651 #include <math.h>
20652 #ifdef HAVE_IEEEFP_H
20653 #include <ieeefp.h>
20654 #endif
20655
20656 int
20657 main ()
20658 {
20659 _isinf(0);
20660 ;
20661 return 0;
20662 }
20663 _ACEOF
20664 if ac_fn_cxx_try_compile "$LINENO"; then :
20665 glibcxx_cv_func__isinf_use=yes
20666 else
20667 glibcxx_cv_func__isinf_use=no
20668 fi
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 ac_ext=c
20671 ac_cpp='$CPP $CPPFLAGS'
20672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20675
20676
20677 fi
20678
20679 fi
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20681 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20682
20683 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20684 for ac_func in _isinf
20685 do :
20686 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20687 if test "x$ac_cv_func__isinf" = x""yes; then :
20688 cat >>confdefs.h <<_ACEOF
20689 #define HAVE__ISINF 1
20690 _ACEOF
20691
20692 fi
20693 done
20694
20695 fi
20696 fi
20697
20698
20699
20700
20701
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20703 $as_echo_n "checking for isnan declaration... " >&6; }
20704 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20705 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20706 $as_echo_n "(cached) " >&6
20707 else
20708
20709
20710 ac_ext=cpp
20711 ac_cpp='$CXXCPP $CPPFLAGS'
20712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715
20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717 /* end confdefs.h. */
20718 #include <math.h>
20719 #ifdef HAVE_IEEEFP_H
20720 #include <ieeefp.h>
20721 #endif
20722
20723 int
20724 main ()
20725 {
20726 isnan(0);
20727 ;
20728 return 0;
20729 }
20730 _ACEOF
20731 if ac_fn_cxx_try_compile "$LINENO"; then :
20732 glibcxx_cv_func_isnan_use=yes
20733 else
20734 glibcxx_cv_func_isnan_use=no
20735 fi
20736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20737 ac_ext=c
20738 ac_cpp='$CPP $CPPFLAGS'
20739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20742
20743
20744 fi
20745
20746 fi
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20748 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20749
20750 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20751 for ac_func in isnan
20752 do :
20753 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20754 if test "x$ac_cv_func_isnan" = x""yes; then :
20755 cat >>confdefs.h <<_ACEOF
20756 #define HAVE_ISNAN 1
20757 _ACEOF
20758
20759 fi
20760 done
20761
20762 else
20763
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20765 $as_echo_n "checking for _isnan declaration... " >&6; }
20766 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20767 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20768 $as_echo_n "(cached) " >&6
20769 else
20770
20771
20772 ac_ext=cpp
20773 ac_cpp='$CXXCPP $CPPFLAGS'
20774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20777
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20780 #include <math.h>
20781 #ifdef HAVE_IEEEFP_H
20782 #include <ieeefp.h>
20783 #endif
20784
20785 int
20786 main ()
20787 {
20788 _isnan(0);
20789 ;
20790 return 0;
20791 }
20792 _ACEOF
20793 if ac_fn_cxx_try_compile "$LINENO"; then :
20794 glibcxx_cv_func__isnan_use=yes
20795 else
20796 glibcxx_cv_func__isnan_use=no
20797 fi
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 ac_ext=c
20800 ac_cpp='$CPP $CPPFLAGS'
20801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20804
20805
20806 fi
20807
20808 fi
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20810 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20811
20812 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20813 for ac_func in _isnan
20814 do :
20815 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20816 if test "x$ac_cv_func__isnan" = x""yes; then :
20817 cat >>confdefs.h <<_ACEOF
20818 #define HAVE__ISNAN 1
20819 _ACEOF
20820
20821 fi
20822 done
20823
20824 fi
20825 fi
20826
20827
20828
20829
20830
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20832 $as_echo_n "checking for finite declaration... " >&6; }
20833 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20834 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20835 $as_echo_n "(cached) " >&6
20836 else
20837
20838
20839 ac_ext=cpp
20840 ac_cpp='$CXXCPP $CPPFLAGS'
20841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20844
20845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20847 #include <math.h>
20848 #ifdef HAVE_IEEEFP_H
20849 #include <ieeefp.h>
20850 #endif
20851
20852 int
20853 main ()
20854 {
20855 finite(0);
20856 ;
20857 return 0;
20858 }
20859 _ACEOF
20860 if ac_fn_cxx_try_compile "$LINENO"; then :
20861 glibcxx_cv_func_finite_use=yes
20862 else
20863 glibcxx_cv_func_finite_use=no
20864 fi
20865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20866 ac_ext=c
20867 ac_cpp='$CPP $CPPFLAGS'
20868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20871
20872
20873 fi
20874
20875 fi
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20877 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20878
20879 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20880 for ac_func in finite
20881 do :
20882 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20883 if test "x$ac_cv_func_finite" = x""yes; then :
20884 cat >>confdefs.h <<_ACEOF
20885 #define HAVE_FINITE 1
20886 _ACEOF
20887
20888 fi
20889 done
20890
20891 else
20892
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20894 $as_echo_n "checking for _finite declaration... " >&6; }
20895 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20896 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20897 $as_echo_n "(cached) " >&6
20898 else
20899
20900
20901 ac_ext=cpp
20902 ac_cpp='$CXXCPP $CPPFLAGS'
20903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20906
20907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h. */
20909 #include <math.h>
20910 #ifdef HAVE_IEEEFP_H
20911 #include <ieeefp.h>
20912 #endif
20913
20914 int
20915 main ()
20916 {
20917 _finite(0);
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 if ac_fn_cxx_try_compile "$LINENO"; then :
20923 glibcxx_cv_func__finite_use=yes
20924 else
20925 glibcxx_cv_func__finite_use=no
20926 fi
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20928 ac_ext=c
20929 ac_cpp='$CPP $CPPFLAGS'
20930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20933
20934
20935 fi
20936
20937 fi
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20939 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20940
20941 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20942 for ac_func in _finite
20943 do :
20944 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20945 if test "x$ac_cv_func__finite" = x""yes; then :
20946 cat >>confdefs.h <<_ACEOF
20947 #define HAVE__FINITE 1
20948 _ACEOF
20949
20950 fi
20951 done
20952
20953 fi
20954 fi
20955
20956
20957
20958
20959
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20961 $as_echo_n "checking for sincos declaration... " >&6; }
20962 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20963 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20964 $as_echo_n "(cached) " >&6
20965 else
20966
20967
20968 ac_ext=cpp
20969 ac_cpp='$CXXCPP $CPPFLAGS'
20970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20973
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20976 #include <math.h>
20977 int
20978 main ()
20979 {
20980 sincos(0, 0, 0);
20981 ;
20982 return 0;
20983 }
20984 _ACEOF
20985 if ac_fn_cxx_try_compile "$LINENO"; then :
20986 glibcxx_cv_func_sincos_use=yes
20987 else
20988 glibcxx_cv_func_sincos_use=no
20989 fi
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 ac_ext=c
20992 ac_cpp='$CPP $CPPFLAGS'
20993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20996
20997
20998 fi
20999
21000 fi
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21002 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21003
21004 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21005 for ac_func in sincos
21006 do :
21007 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21008 if test "x$ac_cv_func_sincos" = x""yes; then :
21009 cat >>confdefs.h <<_ACEOF
21010 #define HAVE_SINCOS 1
21011 _ACEOF
21012
21013 fi
21014 done
21015
21016 else
21017
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21019 $as_echo_n "checking for _sincos declaration... " >&6; }
21020 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21021 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21022 $as_echo_n "(cached) " >&6
21023 else
21024
21025
21026 ac_ext=cpp
21027 ac_cpp='$CXXCPP $CPPFLAGS'
21028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21031
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <math.h>
21035 int
21036 main ()
21037 {
21038 _sincos(0, 0, 0);
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 if ac_fn_cxx_try_compile "$LINENO"; then :
21044 glibcxx_cv_func__sincos_use=yes
21045 else
21046 glibcxx_cv_func__sincos_use=no
21047 fi
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 ac_ext=c
21050 ac_cpp='$CPP $CPPFLAGS'
21051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054
21055
21056 fi
21057
21058 fi
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21060 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21061
21062 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21063 for ac_func in _sincos
21064 do :
21065 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21066 if test "x$ac_cv_func__sincos" = x""yes; then :
21067 cat >>confdefs.h <<_ACEOF
21068 #define HAVE__SINCOS 1
21069 _ACEOF
21070
21071 fi
21072 done
21073
21074 fi
21075 fi
21076
21077
21078
21079
21080
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21082 $as_echo_n "checking for fpclass declaration... " >&6; }
21083 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21084 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21085 $as_echo_n "(cached) " >&6
21086 else
21087
21088
21089 ac_ext=cpp
21090 ac_cpp='$CXXCPP $CPPFLAGS'
21091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21094
21095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h. */
21097 #include <math.h>
21098 #ifdef HAVE_IEEEFP_H
21099 #include <ieeefp.h>
21100 #endif
21101
21102 int
21103 main ()
21104 {
21105 fpclass(0);
21106 ;
21107 return 0;
21108 }
21109 _ACEOF
21110 if ac_fn_cxx_try_compile "$LINENO"; then :
21111 glibcxx_cv_func_fpclass_use=yes
21112 else
21113 glibcxx_cv_func_fpclass_use=no
21114 fi
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 ac_ext=c
21117 ac_cpp='$CPP $CPPFLAGS'
21118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21121
21122
21123 fi
21124
21125 fi
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21127 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21128
21129 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21130 for ac_func in fpclass
21131 do :
21132 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21133 if test "x$ac_cv_func_fpclass" = x""yes; then :
21134 cat >>confdefs.h <<_ACEOF
21135 #define HAVE_FPCLASS 1
21136 _ACEOF
21137
21138 fi
21139 done
21140
21141 else
21142
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21144 $as_echo_n "checking for _fpclass declaration... " >&6; }
21145 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21146 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21147 $as_echo_n "(cached) " >&6
21148 else
21149
21150
21151 ac_ext=cpp
21152 ac_cpp='$CXXCPP $CPPFLAGS'
21153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21156
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159 #include <math.h>
21160 #ifdef HAVE_IEEEFP_H
21161 #include <ieeefp.h>
21162 #endif
21163
21164 int
21165 main ()
21166 {
21167 _fpclass(0);
21168 ;
21169 return 0;
21170 }
21171 _ACEOF
21172 if ac_fn_cxx_try_compile "$LINENO"; then :
21173 glibcxx_cv_func__fpclass_use=yes
21174 else
21175 glibcxx_cv_func__fpclass_use=no
21176 fi
21177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21178 ac_ext=c
21179 ac_cpp='$CPP $CPPFLAGS'
21180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21183
21184
21185 fi
21186
21187 fi
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21189 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21190
21191 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21192 for ac_func in _fpclass
21193 do :
21194 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21195 if test "x$ac_cv_func__fpclass" = x""yes; then :
21196 cat >>confdefs.h <<_ACEOF
21197 #define HAVE__FPCLASS 1
21198 _ACEOF
21199
21200 fi
21201 done
21202
21203 fi
21204 fi
21205
21206
21207
21208
21209
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21211 $as_echo_n "checking for qfpclass declaration... " >&6; }
21212 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21213 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21214 $as_echo_n "(cached) " >&6
21215 else
21216
21217
21218 ac_ext=cpp
21219 ac_cpp='$CXXCPP $CPPFLAGS'
21220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21223
21224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21226 #include <math.h>
21227 #ifdef HAVE_IEEEFP_H
21228 #include <ieeefp.h>
21229 #endif
21230
21231 int
21232 main ()
21233 {
21234 qfpclass(0);
21235 ;
21236 return 0;
21237 }
21238 _ACEOF
21239 if ac_fn_cxx_try_compile "$LINENO"; then :
21240 glibcxx_cv_func_qfpclass_use=yes
21241 else
21242 glibcxx_cv_func_qfpclass_use=no
21243 fi
21244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21245 ac_ext=c
21246 ac_cpp='$CPP $CPPFLAGS'
21247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21250
21251
21252 fi
21253
21254 fi
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21256 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21257
21258 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21259 for ac_func in qfpclass
21260 do :
21261 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21262 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21263 cat >>confdefs.h <<_ACEOF
21264 #define HAVE_QFPCLASS 1
21265 _ACEOF
21266
21267 fi
21268 done
21269
21270 else
21271
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21273 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21274 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21275 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21276 $as_echo_n "(cached) " >&6
21277 else
21278
21279
21280 ac_ext=cpp
21281 ac_cpp='$CXXCPP $CPPFLAGS'
21282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21285
21286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21287 /* end confdefs.h. */
21288 #include <math.h>
21289 #ifdef HAVE_IEEEFP_H
21290 #include <ieeefp.h>
21291 #endif
21292
21293 int
21294 main ()
21295 {
21296 _qfpclass(0);
21297 ;
21298 return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_cxx_try_compile "$LINENO"; then :
21302 glibcxx_cv_func__qfpclass_use=yes
21303 else
21304 glibcxx_cv_func__qfpclass_use=no
21305 fi
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21307 ac_ext=c
21308 ac_cpp='$CPP $CPPFLAGS'
21309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21312
21313
21314 fi
21315
21316 fi
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21318 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21319
21320 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21321 for ac_func in _qfpclass
21322 do :
21323 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21324 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21325 cat >>confdefs.h <<_ACEOF
21326 #define HAVE__QFPCLASS 1
21327 _ACEOF
21328
21329 fi
21330 done
21331
21332 fi
21333 fi
21334
21335
21336
21337
21338
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21340 $as_echo_n "checking for hypot declaration... " >&6; }
21341 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21342 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21343 $as_echo_n "(cached) " >&6
21344 else
21345
21346
21347 ac_ext=cpp
21348 ac_cpp='$CXXCPP $CPPFLAGS'
21349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21352
21353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h. */
21355 #include <math.h>
21356 int
21357 main ()
21358 {
21359 hypot(0, 0);
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 if ac_fn_cxx_try_compile "$LINENO"; then :
21365 glibcxx_cv_func_hypot_use=yes
21366 else
21367 glibcxx_cv_func_hypot_use=no
21368 fi
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21370 ac_ext=c
21371 ac_cpp='$CPP $CPPFLAGS'
21372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21375
21376
21377 fi
21378
21379 fi
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21381 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21382
21383 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21384 for ac_func in hypot
21385 do :
21386 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21387 if test "x$ac_cv_func_hypot" = x""yes; then :
21388 cat >>confdefs.h <<_ACEOF
21389 #define HAVE_HYPOT 1
21390 _ACEOF
21391
21392 fi
21393 done
21394
21395 else
21396
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21398 $as_echo_n "checking for _hypot declaration... " >&6; }
21399 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21400 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21401 $as_echo_n "(cached) " >&6
21402 else
21403
21404
21405 ac_ext=cpp
21406 ac_cpp='$CXXCPP $CPPFLAGS'
21407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410
21411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21412 /* end confdefs.h. */
21413 #include <math.h>
21414 int
21415 main ()
21416 {
21417 _hypot(0, 0);
21418 ;
21419 return 0;
21420 }
21421 _ACEOF
21422 if ac_fn_cxx_try_compile "$LINENO"; then :
21423 glibcxx_cv_func__hypot_use=yes
21424 else
21425 glibcxx_cv_func__hypot_use=no
21426 fi
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 ac_ext=c
21429 ac_cpp='$CPP $CPPFLAGS'
21430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21433
21434
21435 fi
21436
21437 fi
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21439 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21440
21441 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21442 for ac_func in _hypot
21443 do :
21444 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21445 if test "x$ac_cv_func__hypot" = x""yes; then :
21446 cat >>confdefs.h <<_ACEOF
21447 #define HAVE__HYPOT 1
21448 _ACEOF
21449
21450 fi
21451 done
21452
21453 fi
21454 fi
21455
21456
21457
21458
21459
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21461 $as_echo_n "checking for float trig functions... " >&6; }
21462 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21463 $as_echo_n "(cached) " >&6
21464 else
21465
21466
21467 ac_ext=cpp
21468 ac_cpp='$CXXCPP $CPPFLAGS'
21469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21472
21473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21475 #include <math.h>
21476 int
21477 main ()
21478 {
21479 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21480 ;
21481 return 0;
21482 }
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485 glibcxx_cv_func_float_trig_use=yes
21486 else
21487 glibcxx_cv_func_float_trig_use=no
21488 fi
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 ac_ext=c
21491 ac_cpp='$CPP $CPPFLAGS'
21492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495
21496 fi
21497
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21499 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21500 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21501 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21502 do :
21503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21505 eval as_val=\$$as_ac_var
21506 if test "x$as_val" = x""yes; then :
21507 cat >>confdefs.h <<_ACEOF
21508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21509 _ACEOF
21510
21511 fi
21512 done
21513
21514 else
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21516 $as_echo_n "checking for _float trig functions... " >&6; }
21517 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21518 $as_echo_n "(cached) " >&6
21519 else
21520
21521
21522 ac_ext=cpp
21523 ac_cpp='$CXXCPP $CPPFLAGS'
21524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21527
21528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21529 /* end confdefs.h. */
21530 #include <math.h>
21531 int
21532 main ()
21533 {
21534 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21535 ;
21536 return 0;
21537 }
21538 _ACEOF
21539 if ac_fn_cxx_try_compile "$LINENO"; then :
21540 glibcxx_cv_func__float_trig_use=yes
21541 else
21542 glibcxx_cv_func__float_trig_use=no
21543 fi
21544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21545 ac_ext=c
21546 ac_cpp='$CPP $CPPFLAGS'
21547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21550
21551 fi
21552
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21554 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21555 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21556 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21557 do :
21558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21560 eval as_val=\$$as_ac_var
21561 if test "x$as_val" = x""yes; then :
21562 cat >>confdefs.h <<_ACEOF
21563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21564 _ACEOF
21565
21566 fi
21567 done
21568
21569 fi
21570 fi
21571
21572
21573
21574
21575
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21577 $as_echo_n "checking for float round functions... " >&6; }
21578 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21579 $as_echo_n "(cached) " >&6
21580 else
21581
21582
21583 ac_ext=cpp
21584 ac_cpp='$CXXCPP $CPPFLAGS'
21585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21588
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591 #include <math.h>
21592 int
21593 main ()
21594 {
21595 ceilf (0); floorf (0);
21596 ;
21597 return 0;
21598 }
21599 _ACEOF
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 glibcxx_cv_func_float_round_use=yes
21602 else
21603 glibcxx_cv_func_float_round_use=no
21604 fi
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21606 ac_ext=c
21607 ac_cpp='$CPP $CPPFLAGS'
21608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21611
21612 fi
21613
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21615 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21616 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21617 for ac_func in ceilf floorf
21618 do :
21619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21621 eval as_val=\$$as_ac_var
21622 if test "x$as_val" = x""yes; then :
21623 cat >>confdefs.h <<_ACEOF
21624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21625 _ACEOF
21626
21627 fi
21628 done
21629
21630 else
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21632 $as_echo_n "checking for _float round functions... " >&6; }
21633 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21636
21637
21638 ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <math.h>
21647 int
21648 main ()
21649 {
21650 _ceilf (0); _floorf (0);
21651 ;
21652 return 0;
21653 }
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656 glibcxx_cv_func__float_round_use=yes
21657 else
21658 glibcxx_cv_func__float_round_use=no
21659 fi
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666
21667 fi
21668
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21670 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21671 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21672 for ac_func in _ceilf _floorf
21673 do :
21674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21676 eval as_val=\$$as_ac_var
21677 if test "x$as_val" = x""yes; then :
21678 cat >>confdefs.h <<_ACEOF
21679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21680 _ACEOF
21681
21682 fi
21683 done
21684
21685 fi
21686 fi
21687
21688
21689
21690
21691
21692
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21694 $as_echo_n "checking for expf declaration... " >&6; }
21695 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21696 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21697 $as_echo_n "(cached) " >&6
21698 else
21699
21700
21701 ac_ext=cpp
21702 ac_cpp='$CXXCPP $CPPFLAGS'
21703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21706
21707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21709 #include <math.h>
21710 #ifdef HAVE_IEEEFP_H
21711 #include <ieeefp.h>
21712 #endif
21713
21714 int
21715 main ()
21716 {
21717 expf(0);
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 if ac_fn_cxx_try_compile "$LINENO"; then :
21723 glibcxx_cv_func_expf_use=yes
21724 else
21725 glibcxx_cv_func_expf_use=no
21726 fi
21727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21728 ac_ext=c
21729 ac_cpp='$CPP $CPPFLAGS'
21730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21733
21734
21735 fi
21736
21737 fi
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21739 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21740
21741 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21742 for ac_func in expf
21743 do :
21744 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21745 if test "x$ac_cv_func_expf" = x""yes; then :
21746 cat >>confdefs.h <<_ACEOF
21747 #define HAVE_EXPF 1
21748 _ACEOF
21749
21750 fi
21751 done
21752
21753 else
21754
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21756 $as_echo_n "checking for _expf declaration... " >&6; }
21757 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21758 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21759 $as_echo_n "(cached) " >&6
21760 else
21761
21762
21763 ac_ext=cpp
21764 ac_cpp='$CXXCPP $CPPFLAGS'
21765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21768
21769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21771 #include <math.h>
21772 #ifdef HAVE_IEEEFP_H
21773 #include <ieeefp.h>
21774 #endif
21775
21776 int
21777 main ()
21778 {
21779 _expf(0);
21780 ;
21781 return 0;
21782 }
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_func__expf_use=yes
21786 else
21787 glibcxx_cv_func__expf_use=no
21788 fi
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21795
21796
21797 fi
21798
21799 fi
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21801 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21802
21803 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21804 for ac_func in _expf
21805 do :
21806 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21807 if test "x$ac_cv_func__expf" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE__EXPF 1
21810 _ACEOF
21811
21812 fi
21813 done
21814
21815 fi
21816 fi
21817
21818
21819
21820
21821
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21823 $as_echo_n "checking for isnanf declaration... " >&6; }
21824 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21825 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21826 $as_echo_n "(cached) " >&6
21827 else
21828
21829
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21835
21836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h. */
21838 #include <math.h>
21839 #ifdef HAVE_IEEEFP_H
21840 #include <ieeefp.h>
21841 #endif
21842
21843 int
21844 main ()
21845 {
21846 isnanf(0);
21847 ;
21848 return 0;
21849 }
21850 _ACEOF
21851 if ac_fn_cxx_try_compile "$LINENO"; then :
21852 glibcxx_cv_func_isnanf_use=yes
21853 else
21854 glibcxx_cv_func_isnanf_use=no
21855 fi
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 ac_ext=c
21858 ac_cpp='$CPP $CPPFLAGS'
21859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21862
21863
21864 fi
21865
21866 fi
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21868 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21869
21870 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21871 for ac_func in isnanf
21872 do :
21873 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21874 if test "x$ac_cv_func_isnanf" = x""yes; then :
21875 cat >>confdefs.h <<_ACEOF
21876 #define HAVE_ISNANF 1
21877 _ACEOF
21878
21879 fi
21880 done
21881
21882 else
21883
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21885 $as_echo_n "checking for _isnanf declaration... " >&6; }
21886 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21887 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21888 $as_echo_n "(cached) " >&6
21889 else
21890
21891
21892 ac_ext=cpp
21893 ac_cpp='$CXXCPP $CPPFLAGS'
21894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21897
21898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21899 /* end confdefs.h. */
21900 #include <math.h>
21901 #ifdef HAVE_IEEEFP_H
21902 #include <ieeefp.h>
21903 #endif
21904
21905 int
21906 main ()
21907 {
21908 _isnanf(0);
21909 ;
21910 return 0;
21911 }
21912 _ACEOF
21913 if ac_fn_cxx_try_compile "$LINENO"; then :
21914 glibcxx_cv_func__isnanf_use=yes
21915 else
21916 glibcxx_cv_func__isnanf_use=no
21917 fi
21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21919 ac_ext=c
21920 ac_cpp='$CPP $CPPFLAGS'
21921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21924
21925
21926 fi
21927
21928 fi
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21930 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21931
21932 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21933 for ac_func in _isnanf
21934 do :
21935 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21936 if test "x$ac_cv_func__isnanf" = x""yes; then :
21937 cat >>confdefs.h <<_ACEOF
21938 #define HAVE__ISNANF 1
21939 _ACEOF
21940
21941 fi
21942 done
21943
21944 fi
21945 fi
21946
21947
21948
21949
21950
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21952 $as_echo_n "checking for isinff declaration... " >&6; }
21953 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21954 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21957
21958
21959 ac_ext=cpp
21960 ac_cpp='$CXXCPP $CPPFLAGS'
21961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964
21965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966 /* end confdefs.h. */
21967 #include <math.h>
21968 #ifdef HAVE_IEEEFP_H
21969 #include <ieeefp.h>
21970 #endif
21971
21972 int
21973 main ()
21974 {
21975 isinff(0);
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 if ac_fn_cxx_try_compile "$LINENO"; then :
21981 glibcxx_cv_func_isinff_use=yes
21982 else
21983 glibcxx_cv_func_isinff_use=no
21984 fi
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21986 ac_ext=c
21987 ac_cpp='$CPP $CPPFLAGS'
21988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21991
21992
21993 fi
21994
21995 fi
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21997 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21998
21999 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22000 for ac_func in isinff
22001 do :
22002 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22003 if test "x$ac_cv_func_isinff" = x""yes; then :
22004 cat >>confdefs.h <<_ACEOF
22005 #define HAVE_ISINFF 1
22006 _ACEOF
22007
22008 fi
22009 done
22010
22011 else
22012
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22014 $as_echo_n "checking for _isinff declaration... " >&6; }
22015 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22016 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22017 $as_echo_n "(cached) " >&6
22018 else
22019
22020
22021 ac_ext=cpp
22022 ac_cpp='$CXXCPP $CPPFLAGS'
22023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22026
22027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22028 /* end confdefs.h. */
22029 #include <math.h>
22030 #ifdef HAVE_IEEEFP_H
22031 #include <ieeefp.h>
22032 #endif
22033
22034 int
22035 main ()
22036 {
22037 _isinff(0);
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 if ac_fn_cxx_try_compile "$LINENO"; then :
22043 glibcxx_cv_func__isinff_use=yes
22044 else
22045 glibcxx_cv_func__isinff_use=no
22046 fi
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22048 ac_ext=c
22049 ac_cpp='$CPP $CPPFLAGS'
22050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22053
22054
22055 fi
22056
22057 fi
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22059 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22060
22061 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22062 for ac_func in _isinff
22063 do :
22064 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22065 if test "x$ac_cv_func__isinff" = x""yes; then :
22066 cat >>confdefs.h <<_ACEOF
22067 #define HAVE__ISINFF 1
22068 _ACEOF
22069
22070 fi
22071 done
22072
22073 fi
22074 fi
22075
22076
22077
22078
22079
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22081 $as_echo_n "checking for atan2f declaration... " >&6; }
22082 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22083 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22084 $as_echo_n "(cached) " >&6
22085 else
22086
22087
22088 ac_ext=cpp
22089 ac_cpp='$CXXCPP $CPPFLAGS'
22090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22093
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22096 #include <math.h>
22097 int
22098 main ()
22099 {
22100 atan2f(0, 0);
22101 ;
22102 return 0;
22103 }
22104 _ACEOF
22105 if ac_fn_cxx_try_compile "$LINENO"; then :
22106 glibcxx_cv_func_atan2f_use=yes
22107 else
22108 glibcxx_cv_func_atan2f_use=no
22109 fi
22110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 ac_ext=c
22112 ac_cpp='$CPP $CPPFLAGS'
22113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22116
22117
22118 fi
22119
22120 fi
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22122 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22123
22124 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22125 for ac_func in atan2f
22126 do :
22127 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22128 if test "x$ac_cv_func_atan2f" = x""yes; then :
22129 cat >>confdefs.h <<_ACEOF
22130 #define HAVE_ATAN2F 1
22131 _ACEOF
22132
22133 fi
22134 done
22135
22136 else
22137
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22139 $as_echo_n "checking for _atan2f declaration... " >&6; }
22140 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22141 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22142 $as_echo_n "(cached) " >&6
22143 else
22144
22145
22146 ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151
22152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153 /* end confdefs.h. */
22154 #include <math.h>
22155 int
22156 main ()
22157 {
22158 _atan2f(0, 0);
22159 ;
22160 return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func__atan2f_use=yes
22165 else
22166 glibcxx_cv_func__atan2f_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178 fi
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22180 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22181
22182 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22183 for ac_func in _atan2f
22184 do :
22185 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22186 if test "x$ac_cv_func__atan2f" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE__ATAN2F 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194 fi
22195 fi
22196
22197
22198
22199
22200
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22202 $as_echo_n "checking for fabsf declaration... " >&6; }
22203 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22204 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22205 $as_echo_n "(cached) " >&6
22206 else
22207
22208
22209 ac_ext=cpp
22210 ac_cpp='$CXXCPP $CPPFLAGS'
22211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22214
22215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h. */
22217 #include <math.h>
22218 #ifdef HAVE_IEEEFP_H
22219 #include <ieeefp.h>
22220 #endif
22221
22222 int
22223 main ()
22224 {
22225 fabsf(0);
22226 ;
22227 return 0;
22228 }
22229 _ACEOF
22230 if ac_fn_cxx_try_compile "$LINENO"; then :
22231 glibcxx_cv_func_fabsf_use=yes
22232 else
22233 glibcxx_cv_func_fabsf_use=no
22234 fi
22235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22236 ac_ext=c
22237 ac_cpp='$CPP $CPPFLAGS'
22238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241
22242
22243 fi
22244
22245 fi
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22247 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22248
22249 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22250 for ac_func in fabsf
22251 do :
22252 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22253 if test "x$ac_cv_func_fabsf" = x""yes; then :
22254 cat >>confdefs.h <<_ACEOF
22255 #define HAVE_FABSF 1
22256 _ACEOF
22257
22258 fi
22259 done
22260
22261 else
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22264 $as_echo_n "checking for _fabsf declaration... " >&6; }
22265 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22266 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269
22270
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 #ifdef HAVE_IEEEFP_H
22281 #include <ieeefp.h>
22282 #endif
22283
22284 int
22285 main ()
22286 {
22287 _fabsf(0);
22288 ;
22289 return 0;
22290 }
22291 _ACEOF
22292 if ac_fn_cxx_try_compile "$LINENO"; then :
22293 glibcxx_cv_func__fabsf_use=yes
22294 else
22295 glibcxx_cv_func__fabsf_use=no
22296 fi
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303
22304
22305 fi
22306
22307 fi
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22309 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22310
22311 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22312 for ac_func in _fabsf
22313 do :
22314 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22315 if test "x$ac_cv_func__fabsf" = x""yes; then :
22316 cat >>confdefs.h <<_ACEOF
22317 #define HAVE__FABSF 1
22318 _ACEOF
22319
22320 fi
22321 done
22322
22323 fi
22324 fi
22325
22326
22327
22328
22329
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22331 $as_echo_n "checking for fmodf declaration... " >&6; }
22332 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22333 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22334 $as_echo_n "(cached) " >&6
22335 else
22336
22337
22338 ac_ext=cpp
22339 ac_cpp='$CXXCPP $CPPFLAGS'
22340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22343
22344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22345 /* end confdefs.h. */
22346 #include <math.h>
22347 int
22348 main ()
22349 {
22350 fmodf(0, 0);
22351 ;
22352 return 0;
22353 }
22354 _ACEOF
22355 if ac_fn_cxx_try_compile "$LINENO"; then :
22356 glibcxx_cv_func_fmodf_use=yes
22357 else
22358 glibcxx_cv_func_fmodf_use=no
22359 fi
22360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22361 ac_ext=c
22362 ac_cpp='$CPP $CPPFLAGS'
22363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22366
22367
22368 fi
22369
22370 fi
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22372 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22373
22374 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22375 for ac_func in fmodf
22376 do :
22377 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22378 if test "x$ac_cv_func_fmodf" = x""yes; then :
22379 cat >>confdefs.h <<_ACEOF
22380 #define HAVE_FMODF 1
22381 _ACEOF
22382
22383 fi
22384 done
22385
22386 else
22387
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22389 $as_echo_n "checking for _fmodf declaration... " >&6; }
22390 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22391 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22392 $as_echo_n "(cached) " >&6
22393 else
22394
22395
22396 ac_ext=cpp
22397 ac_cpp='$CXXCPP $CPPFLAGS'
22398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22401
22402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22404 #include <math.h>
22405 int
22406 main ()
22407 {
22408 _fmodf(0, 0);
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 if ac_fn_cxx_try_compile "$LINENO"; then :
22414 glibcxx_cv_func__fmodf_use=yes
22415 else
22416 glibcxx_cv_func__fmodf_use=no
22417 fi
22418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22419 ac_ext=c
22420 ac_cpp='$CPP $CPPFLAGS'
22421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22424
22425
22426 fi
22427
22428 fi
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22430 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22431
22432 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22433 for ac_func in _fmodf
22434 do :
22435 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22436 if test "x$ac_cv_func__fmodf" = x""yes; then :
22437 cat >>confdefs.h <<_ACEOF
22438 #define HAVE__FMODF 1
22439 _ACEOF
22440
22441 fi
22442 done
22443
22444 fi
22445 fi
22446
22447
22448
22449
22450
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22452 $as_echo_n "checking for frexpf declaration... " >&6; }
22453 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22454 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22455 $as_echo_n "(cached) " >&6
22456 else
22457
22458
22459 ac_ext=cpp
22460 ac_cpp='$CXXCPP $CPPFLAGS'
22461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22464
22465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22466 /* end confdefs.h. */
22467 #include <math.h>
22468 int
22469 main ()
22470 {
22471 frexpf(0, 0);
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 if ac_fn_cxx_try_compile "$LINENO"; then :
22477 glibcxx_cv_func_frexpf_use=yes
22478 else
22479 glibcxx_cv_func_frexpf_use=no
22480 fi
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 ac_ext=c
22483 ac_cpp='$CPP $CPPFLAGS'
22484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22487
22488
22489 fi
22490
22491 fi
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22493 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22494
22495 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22496 for ac_func in frexpf
22497 do :
22498 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22499 if test "x$ac_cv_func_frexpf" = x""yes; then :
22500 cat >>confdefs.h <<_ACEOF
22501 #define HAVE_FREXPF 1
22502 _ACEOF
22503
22504 fi
22505 done
22506
22507 else
22508
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22510 $as_echo_n "checking for _frexpf declaration... " >&6; }
22511 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22512 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22514 else
22515
22516
22517 ac_ext=cpp
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522
22523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22525 #include <math.h>
22526 int
22527 main ()
22528 {
22529 _frexpf(0, 0);
22530 ;
22531 return 0;
22532 }
22533 _ACEOF
22534 if ac_fn_cxx_try_compile "$LINENO"; then :
22535 glibcxx_cv_func__frexpf_use=yes
22536 else
22537 glibcxx_cv_func__frexpf_use=no
22538 fi
22539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22540 ac_ext=c
22541 ac_cpp='$CPP $CPPFLAGS'
22542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22545
22546
22547 fi
22548
22549 fi
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22551 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22552
22553 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22554 for ac_func in _frexpf
22555 do :
22556 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22557 if test "x$ac_cv_func__frexpf" = x""yes; then :
22558 cat >>confdefs.h <<_ACEOF
22559 #define HAVE__FREXPF 1
22560 _ACEOF
22561
22562 fi
22563 done
22564
22565 fi
22566 fi
22567
22568
22569
22570
22571
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22573 $as_echo_n "checking for hypotf declaration... " >&6; }
22574 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22575 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22576 $as_echo_n "(cached) " >&6
22577 else
22578
22579
22580 ac_ext=cpp
22581 ac_cpp='$CXXCPP $CPPFLAGS'
22582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22585
22586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22588 #include <math.h>
22589 int
22590 main ()
22591 {
22592 hypotf(0, 0);
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 if ac_fn_cxx_try_compile "$LINENO"; then :
22598 glibcxx_cv_func_hypotf_use=yes
22599 else
22600 glibcxx_cv_func_hypotf_use=no
22601 fi
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22603 ac_ext=c
22604 ac_cpp='$CPP $CPPFLAGS'
22605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22608
22609
22610 fi
22611
22612 fi
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22614 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22615
22616 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22617 for ac_func in hypotf
22618 do :
22619 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22620 if test "x$ac_cv_func_hypotf" = x""yes; then :
22621 cat >>confdefs.h <<_ACEOF
22622 #define HAVE_HYPOTF 1
22623 _ACEOF
22624
22625 fi
22626 done
22627
22628 else
22629
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22631 $as_echo_n "checking for _hypotf declaration... " >&6; }
22632 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22633 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22634 $as_echo_n "(cached) " >&6
22635 else
22636
22637
22638 ac_ext=cpp
22639 ac_cpp='$CXXCPP $CPPFLAGS'
22640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22643
22644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22645 /* end confdefs.h. */
22646 #include <math.h>
22647 int
22648 main ()
22649 {
22650 _hypotf(0, 0);
22651 ;
22652 return 0;
22653 }
22654 _ACEOF
22655 if ac_fn_cxx_try_compile "$LINENO"; then :
22656 glibcxx_cv_func__hypotf_use=yes
22657 else
22658 glibcxx_cv_func__hypotf_use=no
22659 fi
22660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22661 ac_ext=c
22662 ac_cpp='$CPP $CPPFLAGS'
22663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22666
22667
22668 fi
22669
22670 fi
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22672 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22673
22674 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22675 for ac_func in _hypotf
22676 do :
22677 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22678 if test "x$ac_cv_func__hypotf" = x""yes; then :
22679 cat >>confdefs.h <<_ACEOF
22680 #define HAVE__HYPOTF 1
22681 _ACEOF
22682
22683 fi
22684 done
22685
22686 fi
22687 fi
22688
22689
22690
22691
22692
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22694 $as_echo_n "checking for ldexpf declaration... " >&6; }
22695 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22696 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22697 $as_echo_n "(cached) " >&6
22698 else
22699
22700
22701 ac_ext=cpp
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22706
22707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h. */
22709 #include <math.h>
22710 int
22711 main ()
22712 {
22713 ldexpf(0, 0);
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 if ac_fn_cxx_try_compile "$LINENO"; then :
22719 glibcxx_cv_func_ldexpf_use=yes
22720 else
22721 glibcxx_cv_func_ldexpf_use=no
22722 fi
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 ac_ext=c
22725 ac_cpp='$CPP $CPPFLAGS'
22726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729
22730
22731 fi
22732
22733 fi
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22735 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22736
22737 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22738 for ac_func in ldexpf
22739 do :
22740 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22741 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22742 cat >>confdefs.h <<_ACEOF
22743 #define HAVE_LDEXPF 1
22744 _ACEOF
22745
22746 fi
22747 done
22748
22749 else
22750
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22752 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22753 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22754 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22755 $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759 ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22767 #include <math.h>
22768 int
22769 main ()
22770 {
22771 _ldexpf(0, 0);
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func__ldexpf_use=yes
22778 else
22779 glibcxx_cv_func__ldexpf_use=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787
22788
22789 fi
22790
22791 fi
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22793 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22794
22795 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22796 for ac_func in _ldexpf
22797 do :
22798 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22799 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE__LDEXPF 1
22802 _ACEOF
22803
22804 fi
22805 done
22806
22807 fi
22808 fi
22809
22810
22811
22812
22813
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22815 $as_echo_n "checking for logf declaration... " >&6; }
22816 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22817 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22818 $as_echo_n "(cached) " >&6
22819 else
22820
22821
22822 ac_ext=cpp
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827
22828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h. */
22830 #include <math.h>
22831 #ifdef HAVE_IEEEFP_H
22832 #include <ieeefp.h>
22833 #endif
22834
22835 int
22836 main ()
22837 {
22838 logf(0);
22839 ;
22840 return 0;
22841 }
22842 _ACEOF
22843 if ac_fn_cxx_try_compile "$LINENO"; then :
22844 glibcxx_cv_func_logf_use=yes
22845 else
22846 glibcxx_cv_func_logf_use=no
22847 fi
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 ac_ext=c
22850 ac_cpp='$CPP $CPPFLAGS'
22851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22854
22855
22856 fi
22857
22858 fi
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22860 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22861
22862 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22863 for ac_func in logf
22864 do :
22865 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22866 if test "x$ac_cv_func_logf" = x""yes; then :
22867 cat >>confdefs.h <<_ACEOF
22868 #define HAVE_LOGF 1
22869 _ACEOF
22870
22871 fi
22872 done
22873
22874 else
22875
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22877 $as_echo_n "checking for _logf declaration... " >&6; }
22878 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22879 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22880 $as_echo_n "(cached) " >&6
22881 else
22882
22883
22884 ac_ext=cpp
22885 ac_cpp='$CXXCPP $CPPFLAGS'
22886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22889
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22892 #include <math.h>
22893 #ifdef HAVE_IEEEFP_H
22894 #include <ieeefp.h>
22895 #endif
22896
22897 int
22898 main ()
22899 {
22900 _logf(0);
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906 glibcxx_cv_func__logf_use=yes
22907 else
22908 glibcxx_cv_func__logf_use=no
22909 fi
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911 ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916
22917
22918 fi
22919
22920 fi
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22922 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22923
22924 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22925 for ac_func in _logf
22926 do :
22927 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22928 if test "x$ac_cv_func__logf" = x""yes; then :
22929 cat >>confdefs.h <<_ACEOF
22930 #define HAVE__LOGF 1
22931 _ACEOF
22932
22933 fi
22934 done
22935
22936 fi
22937 fi
22938
22939
22940
22941
22942
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22944 $as_echo_n "checking for log10f declaration... " >&6; }
22945 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22946 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22947 $as_echo_n "(cached) " >&6
22948 else
22949
22950
22951 ac_ext=cpp
22952 ac_cpp='$CXXCPP $CPPFLAGS'
22953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22956
22957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22958 /* end confdefs.h. */
22959 #include <math.h>
22960 #ifdef HAVE_IEEEFP_H
22961 #include <ieeefp.h>
22962 #endif
22963
22964 int
22965 main ()
22966 {
22967 log10f(0);
22968 ;
22969 return 0;
22970 }
22971 _ACEOF
22972 if ac_fn_cxx_try_compile "$LINENO"; then :
22973 glibcxx_cv_func_log10f_use=yes
22974 else
22975 glibcxx_cv_func_log10f_use=no
22976 fi
22977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22978 ac_ext=c
22979 ac_cpp='$CPP $CPPFLAGS'
22980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22983
22984
22985 fi
22986
22987 fi
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22989 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22990
22991 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22992 for ac_func in log10f
22993 do :
22994 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22995 if test "x$ac_cv_func_log10f" = x""yes; then :
22996 cat >>confdefs.h <<_ACEOF
22997 #define HAVE_LOG10F 1
22998 _ACEOF
22999
23000 fi
23001 done
23002
23003 else
23004
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23006 $as_echo_n "checking for _log10f declaration... " >&6; }
23007 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23008 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23009 $as_echo_n "(cached) " >&6
23010 else
23011
23012
23013 ac_ext=cpp
23014 ac_cpp='$CXXCPP $CPPFLAGS'
23015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23018
23019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23020 /* end confdefs.h. */
23021 #include <math.h>
23022 #ifdef HAVE_IEEEFP_H
23023 #include <ieeefp.h>
23024 #endif
23025
23026 int
23027 main ()
23028 {
23029 _log10f(0);
23030 ;
23031 return 0;
23032 }
23033 _ACEOF
23034 if ac_fn_cxx_try_compile "$LINENO"; then :
23035 glibcxx_cv_func__log10f_use=yes
23036 else
23037 glibcxx_cv_func__log10f_use=no
23038 fi
23039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23040 ac_ext=c
23041 ac_cpp='$CPP $CPPFLAGS'
23042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23045
23046
23047 fi
23048
23049 fi
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23051 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23052
23053 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23054 for ac_func in _log10f
23055 do :
23056 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23057 if test "x$ac_cv_func__log10f" = x""yes; then :
23058 cat >>confdefs.h <<_ACEOF
23059 #define HAVE__LOG10F 1
23060 _ACEOF
23061
23062 fi
23063 done
23064
23065 fi
23066 fi
23067
23068
23069
23070
23071
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23073 $as_echo_n "checking for modff declaration... " >&6; }
23074 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23075 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23076 $as_echo_n "(cached) " >&6
23077 else
23078
23079
23080 ac_ext=cpp
23081 ac_cpp='$CXXCPP $CPPFLAGS'
23082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23085
23086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23087 /* end confdefs.h. */
23088 #include <math.h>
23089 int
23090 main ()
23091 {
23092 modff(0, 0);
23093 ;
23094 return 0;
23095 }
23096 _ACEOF
23097 if ac_fn_cxx_try_compile "$LINENO"; then :
23098 glibcxx_cv_func_modff_use=yes
23099 else
23100 glibcxx_cv_func_modff_use=no
23101 fi
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 ac_ext=c
23104 ac_cpp='$CPP $CPPFLAGS'
23105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23108
23109
23110 fi
23111
23112 fi
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23114 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23115
23116 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23117 for ac_func in modff
23118 do :
23119 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23120 if test "x$ac_cv_func_modff" = x""yes; then :
23121 cat >>confdefs.h <<_ACEOF
23122 #define HAVE_MODFF 1
23123 _ACEOF
23124
23125 fi
23126 done
23127
23128 else
23129
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23131 $as_echo_n "checking for _modff declaration... " >&6; }
23132 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23133 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23134 $as_echo_n "(cached) " >&6
23135 else
23136
23137
23138 ac_ext=cpp
23139 ac_cpp='$CXXCPP $CPPFLAGS'
23140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23143
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146 #include <math.h>
23147 int
23148 main ()
23149 {
23150 _modff(0, 0);
23151 ;
23152 return 0;
23153 }
23154 _ACEOF
23155 if ac_fn_cxx_try_compile "$LINENO"; then :
23156 glibcxx_cv_func__modff_use=yes
23157 else
23158 glibcxx_cv_func__modff_use=no
23159 fi
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166
23167
23168 fi
23169
23170 fi
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23172 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23173
23174 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23175 for ac_func in _modff
23176 do :
23177 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23178 if test "x$ac_cv_func__modff" = x""yes; then :
23179 cat >>confdefs.h <<_ACEOF
23180 #define HAVE__MODFF 1
23181 _ACEOF
23182
23183 fi
23184 done
23185
23186 fi
23187 fi
23188
23189
23190
23191
23192
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23194 $as_echo_n "checking for modf declaration... " >&6; }
23195 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23196 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23197 $as_echo_n "(cached) " >&6
23198 else
23199
23200
23201 ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208 /* end confdefs.h. */
23209 #include <math.h>
23210 int
23211 main ()
23212 {
23213 modf(0, 0);
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 if ac_fn_cxx_try_compile "$LINENO"; then :
23219 glibcxx_cv_func_modf_use=yes
23220 else
23221 glibcxx_cv_func_modf_use=no
23222 fi
23223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23224 ac_ext=c
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23229
23230
23231 fi
23232
23233 fi
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23235 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23236
23237 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23238 for ac_func in modf
23239 do :
23240 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23241 if test "x$ac_cv_func_modf" = x""yes; then :
23242 cat >>confdefs.h <<_ACEOF
23243 #define HAVE_MODF 1
23244 _ACEOF
23245
23246 fi
23247 done
23248
23249 else
23250
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23252 $as_echo_n "checking for _modf declaration... " >&6; }
23253 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23254 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23255 $as_echo_n "(cached) " >&6
23256 else
23257
23258
23259 ac_ext=cpp
23260 ac_cpp='$CXXCPP $CPPFLAGS'
23261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23264
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23267 #include <math.h>
23268 int
23269 main ()
23270 {
23271 _modf(0, 0);
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 if ac_fn_cxx_try_compile "$LINENO"; then :
23277 glibcxx_cv_func__modf_use=yes
23278 else
23279 glibcxx_cv_func__modf_use=no
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23282 ac_ext=c
23283 ac_cpp='$CPP $CPPFLAGS'
23284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23287
23288
23289 fi
23290
23291 fi
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23293 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23294
23295 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23296 for ac_func in _modf
23297 do :
23298 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23299 if test "x$ac_cv_func__modf" = x""yes; then :
23300 cat >>confdefs.h <<_ACEOF
23301 #define HAVE__MODF 1
23302 _ACEOF
23303
23304 fi
23305 done
23306
23307 fi
23308 fi
23309
23310
23311
23312
23313
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23315 $as_echo_n "checking for powf declaration... " >&6; }
23316 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23317 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23318 $as_echo_n "(cached) " >&6
23319 else
23320
23321
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23330 #include <math.h>
23331 int
23332 main ()
23333 {
23334 powf(0, 0);
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 if ac_fn_cxx_try_compile "$LINENO"; then :
23340 glibcxx_cv_func_powf_use=yes
23341 else
23342 glibcxx_cv_func_powf_use=no
23343 fi
23344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23345 ac_ext=c
23346 ac_cpp='$CPP $CPPFLAGS'
23347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23350
23351
23352 fi
23353
23354 fi
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23356 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23357
23358 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23359 for ac_func in powf
23360 do :
23361 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23362 if test "x$ac_cv_func_powf" = x""yes; then :
23363 cat >>confdefs.h <<_ACEOF
23364 #define HAVE_POWF 1
23365 _ACEOF
23366
23367 fi
23368 done
23369
23370 else
23371
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23373 $as_echo_n "checking for _powf declaration... " >&6; }
23374 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23375 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23376 $as_echo_n "(cached) " >&6
23377 else
23378
23379
23380 ac_ext=cpp
23381 ac_cpp='$CXXCPP $CPPFLAGS'
23382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h. */
23388 #include <math.h>
23389 int
23390 main ()
23391 {
23392 _powf(0, 0);
23393 ;
23394 return 0;
23395 }
23396 _ACEOF
23397 if ac_fn_cxx_try_compile "$LINENO"; then :
23398 glibcxx_cv_func__powf_use=yes
23399 else
23400 glibcxx_cv_func__powf_use=no
23401 fi
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403 ac_ext=c
23404 ac_cpp='$CPP $CPPFLAGS'
23405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408
23409
23410 fi
23411
23412 fi
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23414 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23415
23416 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23417 for ac_func in _powf
23418 do :
23419 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23420 if test "x$ac_cv_func__powf" = x""yes; then :
23421 cat >>confdefs.h <<_ACEOF
23422 #define HAVE__POWF 1
23423 _ACEOF
23424
23425 fi
23426 done
23427
23428 fi
23429 fi
23430
23431
23432
23433
23434
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23436 $as_echo_n "checking for sqrtf declaration... " >&6; }
23437 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23438 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23439 $as_echo_n "(cached) " >&6
23440 else
23441
23442
23443 ac_ext=cpp
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448
23449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23450 /* end confdefs.h. */
23451 #include <math.h>
23452 #ifdef HAVE_IEEEFP_H
23453 #include <ieeefp.h>
23454 #endif
23455
23456 int
23457 main ()
23458 {
23459 sqrtf(0);
23460 ;
23461 return 0;
23462 }
23463 _ACEOF
23464 if ac_fn_cxx_try_compile "$LINENO"; then :
23465 glibcxx_cv_func_sqrtf_use=yes
23466 else
23467 glibcxx_cv_func_sqrtf_use=no
23468 fi
23469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470 ac_ext=c
23471 ac_cpp='$CPP $CPPFLAGS'
23472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23475
23476
23477 fi
23478
23479 fi
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23481 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23482
23483 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23484 for ac_func in sqrtf
23485 do :
23486 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23487 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23488 cat >>confdefs.h <<_ACEOF
23489 #define HAVE_SQRTF 1
23490 _ACEOF
23491
23492 fi
23493 done
23494
23495 else
23496
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23498 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23499 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23500 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23501 $as_echo_n "(cached) " >&6
23502 else
23503
23504
23505 ac_ext=cpp
23506 ac_cpp='$CXXCPP $CPPFLAGS'
23507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23510
23511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23512 /* end confdefs.h. */
23513 #include <math.h>
23514 #ifdef HAVE_IEEEFP_H
23515 #include <ieeefp.h>
23516 #endif
23517
23518 int
23519 main ()
23520 {
23521 _sqrtf(0);
23522 ;
23523 return 0;
23524 }
23525 _ACEOF
23526 if ac_fn_cxx_try_compile "$LINENO"; then :
23527 glibcxx_cv_func__sqrtf_use=yes
23528 else
23529 glibcxx_cv_func__sqrtf_use=no
23530 fi
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_ext=c
23533 ac_cpp='$CPP $CPPFLAGS'
23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23537
23538
23539 fi
23540
23541 fi
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23543 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23544
23545 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23546 for ac_func in _sqrtf
23547 do :
23548 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23549 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23550 cat >>confdefs.h <<_ACEOF
23551 #define HAVE__SQRTF 1
23552 _ACEOF
23553
23554 fi
23555 done
23556
23557 fi
23558 fi
23559
23560
23561
23562
23563
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23565 $as_echo_n "checking for sincosf declaration... " >&6; }
23566 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23567 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23568 $as_echo_n "(cached) " >&6
23569 else
23570
23571
23572 ac_ext=cpp
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577
23578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23579 /* end confdefs.h. */
23580 #include <math.h>
23581 int
23582 main ()
23583 {
23584 sincosf(0, 0, 0);
23585 ;
23586 return 0;
23587 }
23588 _ACEOF
23589 if ac_fn_cxx_try_compile "$LINENO"; then :
23590 glibcxx_cv_func_sincosf_use=yes
23591 else
23592 glibcxx_cv_func_sincosf_use=no
23593 fi
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 ac_ext=c
23596 ac_cpp='$CPP $CPPFLAGS'
23597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23600
23601
23602 fi
23603
23604 fi
23605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23606 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23607
23608 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23609 for ac_func in sincosf
23610 do :
23611 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23612 if test "x$ac_cv_func_sincosf" = x""yes; then :
23613 cat >>confdefs.h <<_ACEOF
23614 #define HAVE_SINCOSF 1
23615 _ACEOF
23616
23617 fi
23618 done
23619
23620 else
23621
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23623 $as_echo_n "checking for _sincosf declaration... " >&6; }
23624 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23625 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23626 $as_echo_n "(cached) " >&6
23627 else
23628
23629
23630 ac_ext=cpp
23631 ac_cpp='$CXXCPP $CPPFLAGS'
23632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23635
23636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23637 /* end confdefs.h. */
23638 #include <math.h>
23639 int
23640 main ()
23641 {
23642 _sincosf(0, 0, 0);
23643 ;
23644 return 0;
23645 }
23646 _ACEOF
23647 if ac_fn_cxx_try_compile "$LINENO"; then :
23648 glibcxx_cv_func__sincosf_use=yes
23649 else
23650 glibcxx_cv_func__sincosf_use=no
23651 fi
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 ac_ext=c
23654 ac_cpp='$CPP $CPPFLAGS'
23655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23658
23659
23660 fi
23661
23662 fi
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23664 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23665
23666 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23667 for ac_func in _sincosf
23668 do :
23669 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23670 if test "x$ac_cv_func__sincosf" = x""yes; then :
23671 cat >>confdefs.h <<_ACEOF
23672 #define HAVE__SINCOSF 1
23673 _ACEOF
23674
23675 fi
23676 done
23677
23678 fi
23679 fi
23680
23681
23682
23683
23684
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23686 $as_echo_n "checking for finitef declaration... " >&6; }
23687 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23688 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23689 $as_echo_n "(cached) " >&6
23690 else
23691
23692
23693 ac_ext=cpp
23694 ac_cpp='$CXXCPP $CPPFLAGS'
23695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23698
23699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23701 #include <math.h>
23702 #ifdef HAVE_IEEEFP_H
23703 #include <ieeefp.h>
23704 #endif
23705
23706 int
23707 main ()
23708 {
23709 finitef(0);
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 if ac_fn_cxx_try_compile "$LINENO"; then :
23715 glibcxx_cv_func_finitef_use=yes
23716 else
23717 glibcxx_cv_func_finitef_use=no
23718 fi
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ac_ext=c
23721 ac_cpp='$CPP $CPPFLAGS'
23722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23725
23726
23727 fi
23728
23729 fi
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23731 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23732
23733 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23734 for ac_func in finitef
23735 do :
23736 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23737 if test "x$ac_cv_func_finitef" = x""yes; then :
23738 cat >>confdefs.h <<_ACEOF
23739 #define HAVE_FINITEF 1
23740 _ACEOF
23741
23742 fi
23743 done
23744
23745 else
23746
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23748 $as_echo_n "checking for _finitef declaration... " >&6; }
23749 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23750 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23751 $as_echo_n "(cached) " >&6
23752 else
23753
23754
23755 ac_ext=cpp
23756 ac_cpp='$CXXCPP $CPPFLAGS'
23757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23760
23761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23763 #include <math.h>
23764 #ifdef HAVE_IEEEFP_H
23765 #include <ieeefp.h>
23766 #endif
23767
23768 int
23769 main ()
23770 {
23771 _finitef(0);
23772 ;
23773 return 0;
23774 }
23775 _ACEOF
23776 if ac_fn_cxx_try_compile "$LINENO"; then :
23777 glibcxx_cv_func__finitef_use=yes
23778 else
23779 glibcxx_cv_func__finitef_use=no
23780 fi
23781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23782 ac_ext=c
23783 ac_cpp='$CPP $CPPFLAGS'
23784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23787
23788
23789 fi
23790
23791 fi
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23793 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23794
23795 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23796 for ac_func in _finitef
23797 do :
23798 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23799 if test "x$ac_cv_func__finitef" = x""yes; then :
23800 cat >>confdefs.h <<_ACEOF
23801 #define HAVE__FINITEF 1
23802 _ACEOF
23803
23804 fi
23805 done
23806
23807 fi
23808 fi
23809
23810
23811
23812
23813
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23815 $as_echo_n "checking for long double trig functions... " >&6; }
23816 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23817 $as_echo_n "(cached) " >&6
23818 else
23819
23820
23821 ac_ext=cpp
23822 ac_cpp='$CXXCPP $CPPFLAGS'
23823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23826
23827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23828 /* end confdefs.h. */
23829 #include <math.h>
23830 int
23831 main ()
23832 {
23833 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 if ac_fn_cxx_try_compile "$LINENO"; then :
23839 glibcxx_cv_func_long_double_trig_use=yes
23840 else
23841 glibcxx_cv_func_long_double_trig_use=no
23842 fi
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849
23850 fi
23851
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23853 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23854 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23855 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23856 do :
23857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23859 eval as_val=\$$as_ac_var
23860 if test "x$as_val" = x""yes; then :
23861 cat >>confdefs.h <<_ACEOF
23862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23863 _ACEOF
23864
23865 fi
23866 done
23867
23868 else
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23870 $as_echo_n "checking for _long double trig functions... " >&6; }
23871 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23872 $as_echo_n "(cached) " >&6
23873 else
23874
23875
23876 ac_ext=cpp
23877 ac_cpp='$CXXCPP $CPPFLAGS'
23878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23881
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23884 #include <math.h>
23885 int
23886 main ()
23887 {
23888 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23889 ;
23890 return 0;
23891 }
23892 _ACEOF
23893 if ac_fn_cxx_try_compile "$LINENO"; then :
23894 glibcxx_cv_func__long_double_trig_use=yes
23895 else
23896 glibcxx_cv_func__long_double_trig_use=no
23897 fi
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904
23905 fi
23906
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23908 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23909 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23910 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23911 do :
23912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23914 eval as_val=\$$as_ac_var
23915 if test "x$as_val" = x""yes; then :
23916 cat >>confdefs.h <<_ACEOF
23917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23918 _ACEOF
23919
23920 fi
23921 done
23922
23923 fi
23924 fi
23925
23926
23927
23928
23929
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23931 $as_echo_n "checking for long double round functions... " >&6; }
23932 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23934 else
23935
23936
23937 ac_ext=cpp
23938 ac_cpp='$CXXCPP $CPPFLAGS'
23939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942
23943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23944 /* end confdefs.h. */
23945 #include <math.h>
23946 int
23947 main ()
23948 {
23949 ceill (0); floorl (0);
23950 ;
23951 return 0;
23952 }
23953 _ACEOF
23954 if ac_fn_cxx_try_compile "$LINENO"; then :
23955 glibcxx_cv_func_long_double_round_use=yes
23956 else
23957 glibcxx_cv_func_long_double_round_use=no
23958 fi
23959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23960 ac_ext=c
23961 ac_cpp='$CPP $CPPFLAGS'
23962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23965
23966 fi
23967
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23969 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23970 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23971 for ac_func in ceill floorl
23972 do :
23973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23975 eval as_val=\$$as_ac_var
23976 if test "x$as_val" = x""yes; then :
23977 cat >>confdefs.h <<_ACEOF
23978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23979 _ACEOF
23980
23981 fi
23982 done
23983
23984 else
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23986 $as_echo_n "checking for _long double round functions... " >&6; }
23987 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23989 else
23990
23991
23992 ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997
23998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h. */
24000 #include <math.h>
24001 int
24002 main ()
24003 {
24004 _ceill (0); _floorl (0);
24005 ;
24006 return 0;
24007 }
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func__long_double_round_use=yes
24011 else
24012 glibcxx_cv_func__long_double_round_use=no
24013 fi
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24020
24021 fi
24022
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24024 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24025 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24026 for ac_func in _ceill _floorl
24027 do :
24028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24030 eval as_val=\$$as_ac_var
24031 if test "x$as_val" = x""yes; then :
24032 cat >>confdefs.h <<_ACEOF
24033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 _ACEOF
24035
24036 fi
24037 done
24038
24039 fi
24040 fi
24041
24042
24043
24044
24045
24046
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24048 $as_echo_n "checking for isnanl declaration... " >&6; }
24049 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24050 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24051 $as_echo_n "(cached) " >&6
24052 else
24053
24054
24055 ac_ext=cpp
24056 ac_cpp='$CXXCPP $CPPFLAGS'
24057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060
24061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24062 /* end confdefs.h. */
24063 #include <math.h>
24064 #ifdef HAVE_IEEEFP_H
24065 #include <ieeefp.h>
24066 #endif
24067
24068 int
24069 main ()
24070 {
24071 isnanl(0);
24072 ;
24073 return 0;
24074 }
24075 _ACEOF
24076 if ac_fn_cxx_try_compile "$LINENO"; then :
24077 glibcxx_cv_func_isnanl_use=yes
24078 else
24079 glibcxx_cv_func_isnanl_use=no
24080 fi
24081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082 ac_ext=c
24083 ac_cpp='$CPP $CPPFLAGS'
24084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24087
24088
24089 fi
24090
24091 fi
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24093 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24094
24095 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24096 for ac_func in isnanl
24097 do :
24098 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24099 if test "x$ac_cv_func_isnanl" = x""yes; then :
24100 cat >>confdefs.h <<_ACEOF
24101 #define HAVE_ISNANL 1
24102 _ACEOF
24103
24104 fi
24105 done
24106
24107 else
24108
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24110 $as_echo_n "checking for _isnanl declaration... " >&6; }
24111 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24112 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24113 $as_echo_n "(cached) " >&6
24114 else
24115
24116
24117 ac_ext=cpp
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122
24123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24124 /* end confdefs.h. */
24125 #include <math.h>
24126 #ifdef HAVE_IEEEFP_H
24127 #include <ieeefp.h>
24128 #endif
24129
24130 int
24131 main ()
24132 {
24133 _isnanl(0);
24134 ;
24135 return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139 glibcxx_cv_func__isnanl_use=yes
24140 else
24141 glibcxx_cv_func__isnanl_use=no
24142 fi
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24149
24150
24151 fi
24152
24153 fi
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24155 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24156
24157 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24158 for ac_func in _isnanl
24159 do :
24160 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24161 if test "x$ac_cv_func__isnanl" = x""yes; then :
24162 cat >>confdefs.h <<_ACEOF
24163 #define HAVE__ISNANL 1
24164 _ACEOF
24165
24166 fi
24167 done
24168
24169 fi
24170 fi
24171
24172
24173
24174
24175
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24177 $as_echo_n "checking for isinfl declaration... " >&6; }
24178 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24179 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24180 $as_echo_n "(cached) " >&6
24181 else
24182
24183
24184 ac_ext=cpp
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189
24190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h. */
24192 #include <math.h>
24193 #ifdef HAVE_IEEEFP_H
24194 #include <ieeefp.h>
24195 #endif
24196
24197 int
24198 main ()
24199 {
24200 isinfl(0);
24201 ;
24202 return 0;
24203 }
24204 _ACEOF
24205 if ac_fn_cxx_try_compile "$LINENO"; then :
24206 glibcxx_cv_func_isinfl_use=yes
24207 else
24208 glibcxx_cv_func_isinfl_use=no
24209 fi
24210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24211 ac_ext=c
24212 ac_cpp='$CPP $CPPFLAGS'
24213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24216
24217
24218 fi
24219
24220 fi
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24222 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24223
24224 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24225 for ac_func in isinfl
24226 do :
24227 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24228 if test "x$ac_cv_func_isinfl" = x""yes; then :
24229 cat >>confdefs.h <<_ACEOF
24230 #define HAVE_ISINFL 1
24231 _ACEOF
24232
24233 fi
24234 done
24235
24236 else
24237
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24239 $as_echo_n "checking for _isinfl declaration... " >&6; }
24240 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24241 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24242 $as_echo_n "(cached) " >&6
24243 else
24244
24245
24246 ac_ext=cpp
24247 ac_cpp='$CXXCPP $CPPFLAGS'
24248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24251
24252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h. */
24254 #include <math.h>
24255 #ifdef HAVE_IEEEFP_H
24256 #include <ieeefp.h>
24257 #endif
24258
24259 int
24260 main ()
24261 {
24262 _isinfl(0);
24263 ;
24264 return 0;
24265 }
24266 _ACEOF
24267 if ac_fn_cxx_try_compile "$LINENO"; then :
24268 glibcxx_cv_func__isinfl_use=yes
24269 else
24270 glibcxx_cv_func__isinfl_use=no
24271 fi
24272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24273 ac_ext=c
24274 ac_cpp='$CPP $CPPFLAGS'
24275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24278
24279
24280 fi
24281
24282 fi
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24284 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24285
24286 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24287 for ac_func in _isinfl
24288 do :
24289 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24290 if test "x$ac_cv_func__isinfl" = x""yes; then :
24291 cat >>confdefs.h <<_ACEOF
24292 #define HAVE__ISINFL 1
24293 _ACEOF
24294
24295 fi
24296 done
24297
24298 fi
24299 fi
24300
24301
24302
24303
24304
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24306 $as_echo_n "checking for atan2l declaration... " >&6; }
24307 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24308 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24309 $as_echo_n "(cached) " >&6
24310 else
24311
24312
24313 ac_ext=cpp
24314 ac_cpp='$CXXCPP $CPPFLAGS'
24315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24318
24319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24321 #include <math.h>
24322 int
24323 main ()
24324 {
24325 atan2l(0, 0);
24326 ;
24327 return 0;
24328 }
24329 _ACEOF
24330 if ac_fn_cxx_try_compile "$LINENO"; then :
24331 glibcxx_cv_func_atan2l_use=yes
24332 else
24333 glibcxx_cv_func_atan2l_use=no
24334 fi
24335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 ac_ext=c
24337 ac_cpp='$CPP $CPPFLAGS'
24338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24341
24342
24343 fi
24344
24345 fi
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24347 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24348
24349 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24350 for ac_func in atan2l
24351 do :
24352 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24353 if test "x$ac_cv_func_atan2l" = x""yes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define HAVE_ATAN2L 1
24356 _ACEOF
24357
24358 fi
24359 done
24360
24361 else
24362
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24364 $as_echo_n "checking for _atan2l declaration... " >&6; }
24365 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24366 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24367 $as_echo_n "(cached) " >&6
24368 else
24369
24370
24371 ac_ext=cpp
24372 ac_cpp='$CXXCPP $CPPFLAGS'
24373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24376
24377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24378 /* end confdefs.h. */
24379 #include <math.h>
24380 int
24381 main ()
24382 {
24383 _atan2l(0, 0);
24384 ;
24385 return 0;
24386 }
24387 _ACEOF
24388 if ac_fn_cxx_try_compile "$LINENO"; then :
24389 glibcxx_cv_func__atan2l_use=yes
24390 else
24391 glibcxx_cv_func__atan2l_use=no
24392 fi
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394 ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24399
24400
24401 fi
24402
24403 fi
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24405 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24406
24407 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24408 for ac_func in _atan2l
24409 do :
24410 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24411 if test "x$ac_cv_func__atan2l" = x""yes; then :
24412 cat >>confdefs.h <<_ACEOF
24413 #define HAVE__ATAN2L 1
24414 _ACEOF
24415
24416 fi
24417 done
24418
24419 fi
24420 fi
24421
24422
24423
24424
24425
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24427 $as_echo_n "checking for expl declaration... " >&6; }
24428 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24429 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24430 $as_echo_n "(cached) " >&6
24431 else
24432
24433
24434 ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439
24440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24442 #include <math.h>
24443 #ifdef HAVE_IEEEFP_H
24444 #include <ieeefp.h>
24445 #endif
24446
24447 int
24448 main ()
24449 {
24450 expl(0);
24451 ;
24452 return 0;
24453 }
24454 _ACEOF
24455 if ac_fn_cxx_try_compile "$LINENO"; then :
24456 glibcxx_cv_func_expl_use=yes
24457 else
24458 glibcxx_cv_func_expl_use=no
24459 fi
24460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461 ac_ext=c
24462 ac_cpp='$CPP $CPPFLAGS'
24463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24466
24467
24468 fi
24469
24470 fi
24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24472 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24473
24474 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24475 for ac_func in expl
24476 do :
24477 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24478 if test "x$ac_cv_func_expl" = x""yes; then :
24479 cat >>confdefs.h <<_ACEOF
24480 #define HAVE_EXPL 1
24481 _ACEOF
24482
24483 fi
24484 done
24485
24486 else
24487
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24489 $as_echo_n "checking for _expl declaration... " >&6; }
24490 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24491 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24492 $as_echo_n "(cached) " >&6
24493 else
24494
24495
24496 ac_ext=cpp
24497 ac_cpp='$CXXCPP $CPPFLAGS'
24498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h. */
24504 #include <math.h>
24505 #ifdef HAVE_IEEEFP_H
24506 #include <ieeefp.h>
24507 #endif
24508
24509 int
24510 main ()
24511 {
24512 _expl(0);
24513 ;
24514 return 0;
24515 }
24516 _ACEOF
24517 if ac_fn_cxx_try_compile "$LINENO"; then :
24518 glibcxx_cv_func__expl_use=yes
24519 else
24520 glibcxx_cv_func__expl_use=no
24521 fi
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523 ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528
24529
24530 fi
24531
24532 fi
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24534 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24535
24536 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24537 for ac_func in _expl
24538 do :
24539 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24540 if test "x$ac_cv_func__expl" = x""yes; then :
24541 cat >>confdefs.h <<_ACEOF
24542 #define HAVE__EXPL 1
24543 _ACEOF
24544
24545 fi
24546 done
24547
24548 fi
24549 fi
24550
24551
24552
24553
24554
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24556 $as_echo_n "checking for fabsl declaration... " >&6; }
24557 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24558 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24559 $as_echo_n "(cached) " >&6
24560 else
24561
24562
24563 ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568
24569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <math.h>
24572 #ifdef HAVE_IEEEFP_H
24573 #include <ieeefp.h>
24574 #endif
24575
24576 int
24577 main ()
24578 {
24579 fabsl(0);
24580 ;
24581 return 0;
24582 }
24583 _ACEOF
24584 if ac_fn_cxx_try_compile "$LINENO"; then :
24585 glibcxx_cv_func_fabsl_use=yes
24586 else
24587 glibcxx_cv_func_fabsl_use=no
24588 fi
24589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 ac_ext=c
24591 ac_cpp='$CPP $CPPFLAGS'
24592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24595
24596
24597 fi
24598
24599 fi
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24601 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24602
24603 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24604 for ac_func in fabsl
24605 do :
24606 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24607 if test "x$ac_cv_func_fabsl" = x""yes; then :
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE_FABSL 1
24610 _ACEOF
24611
24612 fi
24613 done
24614
24615 else
24616
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24618 $as_echo_n "checking for _fabsl declaration... " >&6; }
24619 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24620 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24622 else
24623
24624
24625 ac_ext=cpp
24626 ac_cpp='$CXXCPP $CPPFLAGS'
24627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24630
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h. */
24633 #include <math.h>
24634 #ifdef HAVE_IEEEFP_H
24635 #include <ieeefp.h>
24636 #endif
24637
24638 int
24639 main ()
24640 {
24641 _fabsl(0);
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 if ac_fn_cxx_try_compile "$LINENO"; then :
24647 glibcxx_cv_func__fabsl_use=yes
24648 else
24649 glibcxx_cv_func__fabsl_use=no
24650 fi
24651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24652 ac_ext=c
24653 ac_cpp='$CPP $CPPFLAGS'
24654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24657
24658
24659 fi
24660
24661 fi
24662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24663 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24664
24665 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24666 for ac_func in _fabsl
24667 do :
24668 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24669 if test "x$ac_cv_func__fabsl" = x""yes; then :
24670 cat >>confdefs.h <<_ACEOF
24671 #define HAVE__FABSL 1
24672 _ACEOF
24673
24674 fi
24675 done
24676
24677 fi
24678 fi
24679
24680
24681
24682
24683
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24685 $as_echo_n "checking for fmodl declaration... " >&6; }
24686 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24687 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24688 $as_echo_n "(cached) " >&6
24689 else
24690
24691
24692 ac_ext=cpp
24693 ac_cpp='$CXXCPP $CPPFLAGS'
24694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24697
24698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24699 /* end confdefs.h. */
24700 #include <math.h>
24701 int
24702 main ()
24703 {
24704 fmodl(0, 0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func_fmodl_use=yes
24711 else
24712 glibcxx_cv_func_fmodl_use=no
24713 fi
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24720
24721
24722 fi
24723
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24726 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24727
24728 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24729 for ac_func in fmodl
24730 do :
24731 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24732 if test "x$ac_cv_func_fmodl" = x""yes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_FMODL 1
24735 _ACEOF
24736
24737 fi
24738 done
24739
24740 else
24741
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24743 $as_echo_n "checking for _fmodl declaration... " >&6; }
24744 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24745 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24748
24749
24750 ac_ext=cpp
24751 ac_cpp='$CXXCPP $CPPFLAGS'
24752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24758 #include <math.h>
24759 int
24760 main ()
24761 {
24762 _fmodl(0, 0);
24763 ;
24764 return 0;
24765 }
24766 _ACEOF
24767 if ac_fn_cxx_try_compile "$LINENO"; then :
24768 glibcxx_cv_func__fmodl_use=yes
24769 else
24770 glibcxx_cv_func__fmodl_use=no
24771 fi
24772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24773 ac_ext=c
24774 ac_cpp='$CPP $CPPFLAGS'
24775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24778
24779
24780 fi
24781
24782 fi
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24784 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24785
24786 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24787 for ac_func in _fmodl
24788 do :
24789 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24790 if test "x$ac_cv_func__fmodl" = x""yes; then :
24791 cat >>confdefs.h <<_ACEOF
24792 #define HAVE__FMODL 1
24793 _ACEOF
24794
24795 fi
24796 done
24797
24798 fi
24799 fi
24800
24801
24802
24803
24804
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24806 $as_echo_n "checking for frexpl declaration... " >&6; }
24807 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24808 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24809 $as_echo_n "(cached) " >&6
24810 else
24811
24812
24813 ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818
24819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24821 #include <math.h>
24822 int
24823 main ()
24824 {
24825 frexpl(0, 0);
24826 ;
24827 return 0;
24828 }
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"; then :
24831 glibcxx_cv_func_frexpl_use=yes
24832 else
24833 glibcxx_cv_func_frexpl_use=no
24834 fi
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24841
24842
24843 fi
24844
24845 fi
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24847 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24848
24849 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24850 for ac_func in frexpl
24851 do :
24852 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24853 if test "x$ac_cv_func_frexpl" = x""yes; then :
24854 cat >>confdefs.h <<_ACEOF
24855 #define HAVE_FREXPL 1
24856 _ACEOF
24857
24858 fi
24859 done
24860
24861 else
24862
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24864 $as_echo_n "checking for _frexpl declaration... " >&6; }
24865 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24866 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24867 $as_echo_n "(cached) " >&6
24868 else
24869
24870
24871 ac_ext=cpp
24872 ac_cpp='$CXXCPP $CPPFLAGS'
24873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876
24877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24878 /* end confdefs.h. */
24879 #include <math.h>
24880 int
24881 main ()
24882 {
24883 _frexpl(0, 0);
24884 ;
24885 return 0;
24886 }
24887 _ACEOF
24888 if ac_fn_cxx_try_compile "$LINENO"; then :
24889 glibcxx_cv_func__frexpl_use=yes
24890 else
24891 glibcxx_cv_func__frexpl_use=no
24892 fi
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894 ac_ext=c
24895 ac_cpp='$CPP $CPPFLAGS'
24896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24899
24900
24901 fi
24902
24903 fi
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24905 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24906
24907 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24908 for ac_func in _frexpl
24909 do :
24910 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24911 if test "x$ac_cv_func__frexpl" = x""yes; then :
24912 cat >>confdefs.h <<_ACEOF
24913 #define HAVE__FREXPL 1
24914 _ACEOF
24915
24916 fi
24917 done
24918
24919 fi
24920 fi
24921
24922
24923
24924
24925
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24927 $as_echo_n "checking for hypotl declaration... " >&6; }
24928 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24929 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24932
24933
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946 hypotl(0, 0);
24947 ;
24948 return 0;
24949 }
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func_hypotl_use=yes
24953 else
24954 glibcxx_cv_func_hypotl_use=no
24955 fi
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962
24963
24964 fi
24965
24966 fi
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24968 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24969
24970 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24971 for ac_func in hypotl
24972 do :
24973 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24974 if test "x$ac_cv_func_hypotl" = x""yes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE_HYPOTL 1
24977 _ACEOF
24978
24979 fi
24980 done
24981
24982 else
24983
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24985 $as_echo_n "checking for _hypotl declaration... " >&6; }
24986 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24987 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24989 else
24990
24991
24992 ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997
24998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h. */
25000 #include <math.h>
25001 int
25002 main ()
25003 {
25004 _hypotl(0, 0);
25005 ;
25006 return 0;
25007 }
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010 glibcxx_cv_func__hypotl_use=yes
25011 else
25012 glibcxx_cv_func__hypotl_use=no
25013 fi
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25020
25021
25022 fi
25023
25024 fi
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25026 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25027
25028 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25029 for ac_func in _hypotl
25030 do :
25031 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25032 if test "x$ac_cv_func__hypotl" = x""yes; then :
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE__HYPOTL 1
25035 _ACEOF
25036
25037 fi
25038 done
25039
25040 fi
25041 fi
25042
25043
25044
25045
25046
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25048 $as_echo_n "checking for ldexpl declaration... " >&6; }
25049 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25050 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25053
25054
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25064 int
25065 main ()
25066 {
25067 ldexpl(0, 0);
25068 ;
25069 return 0;
25070 }
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073 glibcxx_cv_func_ldexpl_use=yes
25074 else
25075 glibcxx_cv_func_ldexpl_use=no
25076 fi
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25083
25084
25085 fi
25086
25087 fi
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25089 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25090
25091 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25092 for ac_func in ldexpl
25093 do :
25094 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25095 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE_LDEXPL 1
25098 _ACEOF
25099
25100 fi
25101 done
25102
25103 else
25104
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25106 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25107 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25108 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25109 $as_echo_n "(cached) " >&6
25110 else
25111
25112
25113 ac_ext=cpp
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25121 #include <math.h>
25122 int
25123 main ()
25124 {
25125 _ldexpl(0, 0);
25126 ;
25127 return 0;
25128 }
25129 _ACEOF
25130 if ac_fn_cxx_try_compile "$LINENO"; then :
25131 glibcxx_cv_func__ldexpl_use=yes
25132 else
25133 glibcxx_cv_func__ldexpl_use=no
25134 fi
25135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25136 ac_ext=c
25137 ac_cpp='$CPP $CPPFLAGS'
25138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25141
25142
25143 fi
25144
25145 fi
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25147 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25148
25149 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25150 for ac_func in _ldexpl
25151 do :
25152 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25153 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25154 cat >>confdefs.h <<_ACEOF
25155 #define HAVE__LDEXPL 1
25156 _ACEOF
25157
25158 fi
25159 done
25160
25161 fi
25162 fi
25163
25164
25165
25166
25167
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25169 $as_echo_n "checking for logl declaration... " >&6; }
25170 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25171 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25172 $as_echo_n "(cached) " >&6
25173 else
25174
25175
25176 ac_ext=cpp
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25181
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184 #include <math.h>
25185 #ifdef HAVE_IEEEFP_H
25186 #include <ieeefp.h>
25187 #endif
25188
25189 int
25190 main ()
25191 {
25192 logl(0);
25193 ;
25194 return 0;
25195 }
25196 _ACEOF
25197 if ac_fn_cxx_try_compile "$LINENO"; then :
25198 glibcxx_cv_func_logl_use=yes
25199 else
25200 glibcxx_cv_func_logl_use=no
25201 fi
25202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 ac_ext=c
25204 ac_cpp='$CPP $CPPFLAGS'
25205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25208
25209
25210 fi
25211
25212 fi
25213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25214 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25215
25216 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25217 for ac_func in logl
25218 do :
25219 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25220 if test "x$ac_cv_func_logl" = x""yes; then :
25221 cat >>confdefs.h <<_ACEOF
25222 #define HAVE_LOGL 1
25223 _ACEOF
25224
25225 fi
25226 done
25227
25228 else
25229
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25231 $as_echo_n "checking for _logl declaration... " >&6; }
25232 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25233 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25234 $as_echo_n "(cached) " >&6
25235 else
25236
25237
25238 ac_ext=cpp
25239 ac_cpp='$CXXCPP $CPPFLAGS'
25240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25243
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25246 #include <math.h>
25247 #ifdef HAVE_IEEEFP_H
25248 #include <ieeefp.h>
25249 #endif
25250
25251 int
25252 main ()
25253 {
25254 _logl(0);
25255 ;
25256 return 0;
25257 }
25258 _ACEOF
25259 if ac_fn_cxx_try_compile "$LINENO"; then :
25260 glibcxx_cv_func__logl_use=yes
25261 else
25262 glibcxx_cv_func__logl_use=no
25263 fi
25264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25265 ac_ext=c
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25270
25271
25272 fi
25273
25274 fi
25275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25276 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25277
25278 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25279 for ac_func in _logl
25280 do :
25281 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25282 if test "x$ac_cv_func__logl" = x""yes; then :
25283 cat >>confdefs.h <<_ACEOF
25284 #define HAVE__LOGL 1
25285 _ACEOF
25286
25287 fi
25288 done
25289
25290 fi
25291 fi
25292
25293
25294
25295
25296
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25298 $as_echo_n "checking for log10l declaration... " >&6; }
25299 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25300 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25303
25304
25305 ac_ext=cpp
25306 ac_cpp='$CXXCPP $CPPFLAGS'
25307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25310
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313 #include <math.h>
25314 #ifdef HAVE_IEEEFP_H
25315 #include <ieeefp.h>
25316 #endif
25317
25318 int
25319 main ()
25320 {
25321 log10l(0);
25322 ;
25323 return 0;
25324 }
25325 _ACEOF
25326 if ac_fn_cxx_try_compile "$LINENO"; then :
25327 glibcxx_cv_func_log10l_use=yes
25328 else
25329 glibcxx_cv_func_log10l_use=no
25330 fi
25331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25332 ac_ext=c
25333 ac_cpp='$CPP $CPPFLAGS'
25334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25337
25338
25339 fi
25340
25341 fi
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25343 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25344
25345 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25346 for ac_func in log10l
25347 do :
25348 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25349 if test "x$ac_cv_func_log10l" = x""yes; then :
25350 cat >>confdefs.h <<_ACEOF
25351 #define HAVE_LOG10L 1
25352 _ACEOF
25353
25354 fi
25355 done
25356
25357 else
25358
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25360 $as_echo_n "checking for _log10l declaration... " >&6; }
25361 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25362 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25363 $as_echo_n "(cached) " >&6
25364 else
25365
25366
25367 ac_ext=cpp
25368 ac_cpp='$CXXCPP $CPPFLAGS'
25369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372
25373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25374 /* end confdefs.h. */
25375 #include <math.h>
25376 #ifdef HAVE_IEEEFP_H
25377 #include <ieeefp.h>
25378 #endif
25379
25380 int
25381 main ()
25382 {
25383 _log10l(0);
25384 ;
25385 return 0;
25386 }
25387 _ACEOF
25388 if ac_fn_cxx_try_compile "$LINENO"; then :
25389 glibcxx_cv_func__log10l_use=yes
25390 else
25391 glibcxx_cv_func__log10l_use=no
25392 fi
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 ac_ext=c
25395 ac_cpp='$CPP $CPPFLAGS'
25396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25399
25400
25401 fi
25402
25403 fi
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25405 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25406
25407 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25408 for ac_func in _log10l
25409 do :
25410 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25411 if test "x$ac_cv_func__log10l" = x""yes; then :
25412 cat >>confdefs.h <<_ACEOF
25413 #define HAVE__LOG10L 1
25414 _ACEOF
25415
25416 fi
25417 done
25418
25419 fi
25420 fi
25421
25422
25423
25424
25425
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25427 $as_echo_n "checking for modfl declaration... " >&6; }
25428 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25429 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25430 $as_echo_n "(cached) " >&6
25431 else
25432
25433
25434 ac_ext=cpp
25435 ac_cpp='$CXXCPP $CPPFLAGS'
25436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439
25440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25441 /* end confdefs.h. */
25442 #include <math.h>
25443 int
25444 main ()
25445 {
25446 modfl(0, 0);
25447 ;
25448 return 0;
25449 }
25450 _ACEOF
25451 if ac_fn_cxx_try_compile "$LINENO"; then :
25452 glibcxx_cv_func_modfl_use=yes
25453 else
25454 glibcxx_cv_func_modfl_use=no
25455 fi
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25462
25463
25464 fi
25465
25466 fi
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25468 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25469
25470 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25471 for ac_func in modfl
25472 do :
25473 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25474 if test "x$ac_cv_func_modfl" = x""yes; then :
25475 cat >>confdefs.h <<_ACEOF
25476 #define HAVE_MODFL 1
25477 _ACEOF
25478
25479 fi
25480 done
25481
25482 else
25483
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25485 $as_echo_n "checking for _modfl declaration... " >&6; }
25486 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25487 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25488 $as_echo_n "(cached) " >&6
25489 else
25490
25491
25492 ac_ext=cpp
25493 ac_cpp='$CXXCPP $CPPFLAGS'
25494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25497
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25500 #include <math.h>
25501 int
25502 main ()
25503 {
25504 _modfl(0, 0);
25505 ;
25506 return 0;
25507 }
25508 _ACEOF
25509 if ac_fn_cxx_try_compile "$LINENO"; then :
25510 glibcxx_cv_func__modfl_use=yes
25511 else
25512 glibcxx_cv_func__modfl_use=no
25513 fi
25514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25515 ac_ext=c
25516 ac_cpp='$CPP $CPPFLAGS'
25517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25520
25521
25522 fi
25523
25524 fi
25525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25526 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25527
25528 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25529 for ac_func in _modfl
25530 do :
25531 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25532 if test "x$ac_cv_func__modfl" = x""yes; then :
25533 cat >>confdefs.h <<_ACEOF
25534 #define HAVE__MODFL 1
25535 _ACEOF
25536
25537 fi
25538 done
25539
25540 fi
25541 fi
25542
25543
25544
25545
25546
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25548 $as_echo_n "checking for powl declaration... " >&6; }
25549 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25550 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25551 $as_echo_n "(cached) " >&6
25552 else
25553
25554
25555 ac_ext=cpp
25556 ac_cpp='$CXXCPP $CPPFLAGS'
25557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560
25561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25563 #include <math.h>
25564 int
25565 main ()
25566 {
25567 powl(0, 0);
25568 ;
25569 return 0;
25570 }
25571 _ACEOF
25572 if ac_fn_cxx_try_compile "$LINENO"; then :
25573 glibcxx_cv_func_powl_use=yes
25574 else
25575 glibcxx_cv_func_powl_use=no
25576 fi
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583
25584
25585 fi
25586
25587 fi
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25589 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25590
25591 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25592 for ac_func in powl
25593 do :
25594 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25595 if test "x$ac_cv_func_powl" = x""yes; then :
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE_POWL 1
25598 _ACEOF
25599
25600 fi
25601 done
25602
25603 else
25604
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25606 $as_echo_n "checking for _powl declaration... " >&6; }
25607 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25608 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25609 $as_echo_n "(cached) " >&6
25610 else
25611
25612
25613 ac_ext=cpp
25614 ac_cpp='$CXXCPP $CPPFLAGS'
25615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25618
25619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h. */
25621 #include <math.h>
25622 int
25623 main ()
25624 {
25625 _powl(0, 0);
25626 ;
25627 return 0;
25628 }
25629 _ACEOF
25630 if ac_fn_cxx_try_compile "$LINENO"; then :
25631 glibcxx_cv_func__powl_use=yes
25632 else
25633 glibcxx_cv_func__powl_use=no
25634 fi
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636 ac_ext=c
25637 ac_cpp='$CPP $CPPFLAGS'
25638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25641
25642
25643 fi
25644
25645 fi
25646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25647 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25648
25649 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25650 for ac_func in _powl
25651 do :
25652 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25653 if test "x$ac_cv_func__powl" = x""yes; then :
25654 cat >>confdefs.h <<_ACEOF
25655 #define HAVE__POWL 1
25656 _ACEOF
25657
25658 fi
25659 done
25660
25661 fi
25662 fi
25663
25664
25665
25666
25667
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25669 $as_echo_n "checking for sqrtl declaration... " >&6; }
25670 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25671 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25674
25675
25676 ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h. */
25684 #include <math.h>
25685 #ifdef HAVE_IEEEFP_H
25686 #include <ieeefp.h>
25687 #endif
25688
25689 int
25690 main ()
25691 {
25692 sqrtl(0);
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 if ac_fn_cxx_try_compile "$LINENO"; then :
25698 glibcxx_cv_func_sqrtl_use=yes
25699 else
25700 glibcxx_cv_func_sqrtl_use=no
25701 fi
25702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25703 ac_ext=c
25704 ac_cpp='$CPP $CPPFLAGS'
25705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25708
25709
25710 fi
25711
25712 fi
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25714 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25715
25716 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25717 for ac_func in sqrtl
25718 do :
25719 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25720 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25721 cat >>confdefs.h <<_ACEOF
25722 #define HAVE_SQRTL 1
25723 _ACEOF
25724
25725 fi
25726 done
25727
25728 else
25729
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25731 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25732 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25733 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25734 $as_echo_n "(cached) " >&6
25735 else
25736
25737
25738 ac_ext=cpp
25739 ac_cpp='$CXXCPP $CPPFLAGS'
25740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25743
25744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25745 /* end confdefs.h. */
25746 #include <math.h>
25747 #ifdef HAVE_IEEEFP_H
25748 #include <ieeefp.h>
25749 #endif
25750
25751 int
25752 main ()
25753 {
25754 _sqrtl(0);
25755 ;
25756 return 0;
25757 }
25758 _ACEOF
25759 if ac_fn_cxx_try_compile "$LINENO"; then :
25760 glibcxx_cv_func__sqrtl_use=yes
25761 else
25762 glibcxx_cv_func__sqrtl_use=no
25763 fi
25764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25765 ac_ext=c
25766 ac_cpp='$CPP $CPPFLAGS'
25767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25770
25771
25772 fi
25773
25774 fi
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25776 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25777
25778 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25779 for ac_func in _sqrtl
25780 do :
25781 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25782 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25783 cat >>confdefs.h <<_ACEOF
25784 #define HAVE__SQRTL 1
25785 _ACEOF
25786
25787 fi
25788 done
25789
25790 fi
25791 fi
25792
25793
25794
25795
25796
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25798 $as_echo_n "checking for sincosl declaration... " >&6; }
25799 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25800 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25801 $as_echo_n "(cached) " >&6
25802 else
25803
25804
25805 ac_ext=cpp
25806 ac_cpp='$CXXCPP $CPPFLAGS'
25807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25810
25811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25812 /* end confdefs.h. */
25813 #include <math.h>
25814 int
25815 main ()
25816 {
25817 sincosl(0, 0, 0);
25818 ;
25819 return 0;
25820 }
25821 _ACEOF
25822 if ac_fn_cxx_try_compile "$LINENO"; then :
25823 glibcxx_cv_func_sincosl_use=yes
25824 else
25825 glibcxx_cv_func_sincosl_use=no
25826 fi
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25828 ac_ext=c
25829 ac_cpp='$CPP $CPPFLAGS'
25830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25833
25834
25835 fi
25836
25837 fi
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25839 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25840
25841 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25842 for ac_func in sincosl
25843 do :
25844 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25845 if test "x$ac_cv_func_sincosl" = x""yes; then :
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_SINCOSL 1
25848 _ACEOF
25849
25850 fi
25851 done
25852
25853 else
25854
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25856 $as_echo_n "checking for _sincosl declaration... " >&6; }
25857 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25858 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25859 $as_echo_n "(cached) " >&6
25860 else
25861
25862
25863 ac_ext=cpp
25864 ac_cpp='$CXXCPP $CPPFLAGS'
25865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25868
25869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25870 /* end confdefs.h. */
25871 #include <math.h>
25872 int
25873 main ()
25874 {
25875 _sincosl(0, 0, 0);
25876 ;
25877 return 0;
25878 }
25879 _ACEOF
25880 if ac_fn_cxx_try_compile "$LINENO"; then :
25881 glibcxx_cv_func__sincosl_use=yes
25882 else
25883 glibcxx_cv_func__sincosl_use=no
25884 fi
25885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25886 ac_ext=c
25887 ac_cpp='$CPP $CPPFLAGS'
25888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25891
25892
25893 fi
25894
25895 fi
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25897 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25898
25899 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25900 for ac_func in _sincosl
25901 do :
25902 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25903 if test "x$ac_cv_func__sincosl" = x""yes; then :
25904 cat >>confdefs.h <<_ACEOF
25905 #define HAVE__SINCOSL 1
25906 _ACEOF
25907
25908 fi
25909 done
25910
25911 fi
25912 fi
25913
25914
25915
25916
25917
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25919 $as_echo_n "checking for finitel declaration... " >&6; }
25920 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25921 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25922 $as_echo_n "(cached) " >&6
25923 else
25924
25925
25926 ac_ext=cpp
25927 ac_cpp='$CXXCPP $CPPFLAGS'
25928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931
25932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933 /* end confdefs.h. */
25934 #include <math.h>
25935 #ifdef HAVE_IEEEFP_H
25936 #include <ieeefp.h>
25937 #endif
25938
25939 int
25940 main ()
25941 {
25942 finitel(0);
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 if ac_fn_cxx_try_compile "$LINENO"; then :
25948 glibcxx_cv_func_finitel_use=yes
25949 else
25950 glibcxx_cv_func_finitel_use=no
25951 fi
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958
25959
25960 fi
25961
25962 fi
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25964 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25965
25966 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25967 for ac_func in finitel
25968 do :
25969 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25970 if test "x$ac_cv_func_finitel" = x""yes; then :
25971 cat >>confdefs.h <<_ACEOF
25972 #define HAVE_FINITEL 1
25973 _ACEOF
25974
25975 fi
25976 done
25977
25978 else
25979
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25981 $as_echo_n "checking for _finitel declaration... " >&6; }
25982 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25983 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25984 $as_echo_n "(cached) " >&6
25985 else
25986
25987
25988 ac_ext=cpp
25989 ac_cpp='$CXXCPP $CPPFLAGS'
25990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25993
25994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
25996 #include <math.h>
25997 #ifdef HAVE_IEEEFP_H
25998 #include <ieeefp.h>
25999 #endif
26000
26001 int
26002 main ()
26003 {
26004 _finitel(0);
26005 ;
26006 return 0;
26007 }
26008 _ACEOF
26009 if ac_fn_cxx_try_compile "$LINENO"; then :
26010 glibcxx_cv_func__finitel_use=yes
26011 else
26012 glibcxx_cv_func__finitel_use=no
26013 fi
26014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26015 ac_ext=c
26016 ac_cpp='$CPP $CPPFLAGS'
26017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26020
26021
26022 fi
26023
26024 fi
26025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26026 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26027
26028 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26029 for ac_func in _finitel
26030 do :
26031 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26032 if test "x$ac_cv_func__finitel" = x""yes; then :
26033 cat >>confdefs.h <<_ACEOF
26034 #define HAVE__FINITEL 1
26035 _ACEOF
26036
26037 fi
26038 done
26039
26040 fi
26041 fi
26042
26043
26044
26045
26046 LIBS="$ac_save_LIBS"
26047 CXXFLAGS="$ac_save_CXXFLAGS"
26048
26049
26050 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26051 ac_save_CXXFLAGS="$CXXFLAGS"
26052 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26053
26054
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26056 $as_echo_n "checking for strtold declaration... " >&6; }
26057 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26058 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26059 $as_echo_n "(cached) " >&6
26060 else
26061
26062
26063 ac_ext=cpp
26064 ac_cpp='$CXXCPP $CPPFLAGS'
26065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26068
26069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26070 /* end confdefs.h. */
26071 #include <stdlib.h>
26072 int
26073 main ()
26074 {
26075 strtold(0, 0);
26076 ;
26077 return 0;
26078 }
26079 _ACEOF
26080 if ac_fn_cxx_try_compile "$LINENO"; then :
26081 glibcxx_cv_func_strtold_use=yes
26082 else
26083 glibcxx_cv_func_strtold_use=no
26084 fi
26085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26086 ac_ext=c
26087 ac_cpp='$CPP $CPPFLAGS'
26088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26091
26092
26093 fi
26094
26095 fi
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26097 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26098 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26099 for ac_func in strtold
26100 do :
26101 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26102 if test "x$ac_cv_func_strtold" = x""yes; then :
26103 cat >>confdefs.h <<_ACEOF
26104 #define HAVE_STRTOLD 1
26105 _ACEOF
26106
26107 fi
26108 done
26109
26110 fi
26111
26112
26113
26114
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26116 $as_echo_n "checking for strtof declaration... " >&6; }
26117 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26118 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26119 $as_echo_n "(cached) " >&6
26120 else
26121
26122
26123 ac_ext=cpp
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128
26129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26130 /* end confdefs.h. */
26131 #include <stdlib.h>
26132 int
26133 main ()
26134 {
26135 strtof(0, 0);
26136 ;
26137 return 0;
26138 }
26139 _ACEOF
26140 if ac_fn_cxx_try_compile "$LINENO"; then :
26141 glibcxx_cv_func_strtof_use=yes
26142 else
26143 glibcxx_cv_func_strtof_use=no
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151
26152
26153 fi
26154
26155 fi
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26157 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26158 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26159 for ac_func in strtof
26160 do :
26161 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26162 if test "x$ac_cv_func_strtof" = x""yes; then :
26163 cat >>confdefs.h <<_ACEOF
26164 #define HAVE_STRTOF 1
26165 _ACEOF
26166
26167 fi
26168 done
26169
26170 fi
26171
26172
26173
26174
26175 CXXFLAGS="$ac_save_CXXFLAGS"
26176
26177
26178 # For /dev/random and /dev/urandom for TR1.
26179
26180
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26182 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26183 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26184 $as_echo_n "(cached) " >&6
26185 else
26186
26187 if test -r /dev/random && test -r /dev/urandom; then
26188 glibcxx_cv_random_tr1=yes;
26189 else
26190 glibcxx_cv_random_tr1=no;
26191 fi
26192
26193 fi
26194
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26196 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26197
26198 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26199
26200 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26201
26202 fi
26203
26204
26205
26206 # For TLS support.
26207
26208
26209 # Check whether --enable-tls was given.
26210 if test "${enable_tls+set}" = set; then :
26211 enableval=$enable_tls;
26212 case "$enableval" in
26213 yes|no) ;;
26214 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26215 esac
26216
26217 else
26218 enable_tls=yes
26219 fi
26220
26221
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26223 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26224 if test "${gcc_cv_have_tls+set}" = set; then :
26225 $as_echo_n "(cached) " >&6
26226 else
26227
26228 if test "$cross_compiling" = yes; then :
26229 if test x$gcc_no_link = xyes; then
26230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26231 fi
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26234 __thread int a; int b; int main() { return a = b; }
26235 _ACEOF
26236 if ac_fn_c_try_link "$LINENO"; then :
26237 chktls_save_LDFLAGS="$LDFLAGS"
26238 case $host in
26239 *-*-linux*)
26240 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26241 ;;
26242 esac
26243 chktls_save_CFLAGS="$CFLAGS"
26244 CFLAGS="-fPIC $CFLAGS"
26245 if test x$gcc_no_link = xyes; then
26246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26247 fi
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26250 int f() { return 0; }
26251 _ACEOF
26252 if ac_fn_c_try_link "$LINENO"; then :
26253 if test x$gcc_no_link = xyes; then
26254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26255 fi
26256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26257 /* end confdefs.h. */
26258 __thread int a; int b; int f() { return a = b; }
26259 _ACEOF
26260 if ac_fn_c_try_link "$LINENO"; then :
26261 gcc_cv_have_tls=yes
26262 else
26263 gcc_cv_have_tls=no
26264 fi
26265 rm -f core conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 else
26268 gcc_cv_have_tls=yes
26269 fi
26270 rm -f core conftest.err conftest.$ac_objext \
26271 conftest$ac_exeext conftest.$ac_ext
26272 CFLAGS="$chktls_save_CFLAGS"
26273 LDFLAGS="$chktls_save_LDFLAGS"
26274 else
26275 gcc_cv_have_tls=no
26276 fi
26277 rm -f core conftest.err conftest.$ac_objext \
26278 conftest$ac_exeext conftest.$ac_ext
26279
26280
26281 else
26282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26283 /* end confdefs.h. */
26284 __thread int a; int b; int main() { return a = b; }
26285 _ACEOF
26286 if ac_fn_c_try_run "$LINENO"; then :
26287 chktls_save_LDFLAGS="$LDFLAGS"
26288 LDFLAGS="-static $LDFLAGS"
26289 if test x$gcc_no_link = xyes; then
26290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26291 fi
26292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26293 /* end confdefs.h. */
26294 int main() { return 0; }
26295 _ACEOF
26296 if ac_fn_c_try_link "$LINENO"; then :
26297 if test "$cross_compiling" = yes; then :
26298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26300 as_fn_error "cannot run test program while cross compiling
26301 See \`config.log' for more details." "$LINENO" 5; }
26302 else
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 __thread int a; int b; int main() { return a = b; }
26306 _ACEOF
26307 if ac_fn_c_try_run "$LINENO"; then :
26308 gcc_cv_have_tls=yes
26309 else
26310 gcc_cv_have_tls=no
26311 fi
26312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26313 conftest.$ac_objext conftest.beam conftest.$ac_ext
26314 fi
26315
26316 else
26317 gcc_cv_have_tls=yes
26318 fi
26319 rm -f core conftest.err conftest.$ac_objext \
26320 conftest$ac_exeext conftest.$ac_ext
26321 LDFLAGS="$chktls_save_LDFLAGS"
26322 if test $gcc_cv_have_tls = yes; then
26323 chktls_save_CFLAGS="$CFLAGS"
26324 thread_CFLAGS=failed
26325 for flag in '' '-pthread' '-lpthread'; do
26326 CFLAGS="$flag $chktls_save_CFLAGS"
26327 if test x$gcc_no_link = xyes; then
26328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26329 fi
26330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26331 /* end confdefs.h. */
26332 #include <pthread.h>
26333 void *g(void *d) { return NULL; }
26334 int
26335 main ()
26336 {
26337 pthread_t t; pthread_create(&t,NULL,g,NULL);
26338 ;
26339 return 0;
26340 }
26341 _ACEOF
26342 if ac_fn_c_try_link "$LINENO"; then :
26343 thread_CFLAGS="$flag"
26344 fi
26345 rm -f core conftest.err conftest.$ac_objext \
26346 conftest$ac_exeext conftest.$ac_ext
26347 if test "X$thread_CFLAGS" != Xfailed; then
26348 break
26349 fi
26350 done
26351 CFLAGS="$chktls_save_CFLAGS"
26352 if test "X$thread_CFLAGS" != Xfailed; then
26353 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26354 if test "$cross_compiling" = yes; then :
26355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26357 as_fn_error "cannot run test program while cross compiling
26358 See \`config.log' for more details." "$LINENO" 5; }
26359 else
26360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361 /* end confdefs.h. */
26362 #include <pthread.h>
26363 __thread int a;
26364 static int *volatile a_in_other_thread;
26365 static void *
26366 thread_func (void *arg)
26367 {
26368 a_in_other_thread = &a;
26369 return (void *)0;
26370 }
26371 int
26372 main ()
26373 {
26374 pthread_t thread;
26375 void *thread_retval;
26376 int *volatile a_in_main_thread;
26377 a_in_main_thread = &a;
26378 if (pthread_create (&thread, (pthread_attr_t *)0,
26379 thread_func, (void *)0))
26380 return 0;
26381 if (pthread_join (thread, &thread_retval))
26382 return 0;
26383 return (a_in_other_thread == a_in_main_thread);
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 if ac_fn_c_try_run "$LINENO"; then :
26389 gcc_cv_have_tls=yes
26390 else
26391 gcc_cv_have_tls=no
26392 fi
26393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26394 conftest.$ac_objext conftest.beam conftest.$ac_ext
26395 fi
26396
26397 CFLAGS="$chktls_save_CFLAGS"
26398 fi
26399 fi
26400 else
26401 gcc_cv_have_tls=no
26402 fi
26403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26404 conftest.$ac_objext conftest.beam conftest.$ac_ext
26405 fi
26406
26407 fi
26408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26409 $as_echo "$gcc_cv_have_tls" >&6; }
26410 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26411
26412 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26413
26414 fi
26415
26416 # For iconv support.
26417
26418 if test "X$prefix" = "XNONE"; then
26419 acl_final_prefix="$ac_default_prefix"
26420 else
26421 acl_final_prefix="$prefix"
26422 fi
26423 if test "X$exec_prefix" = "XNONE"; then
26424 acl_final_exec_prefix='${prefix}'
26425 else
26426 acl_final_exec_prefix="$exec_prefix"
26427 fi
26428 acl_save_prefix="$prefix"
26429 prefix="$acl_final_prefix"
26430 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26431 prefix="$acl_save_prefix"
26432
26433
26434 # Check whether --with-gnu-ld was given.
26435 if test "${with_gnu_ld+set}" = set; then :
26436 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26437 else
26438 with_gnu_ld=no
26439 fi
26440
26441 # Prepare PATH_SEPARATOR.
26442 # The user is always right.
26443 if test "${PATH_SEPARATOR+set}" != set; then
26444 echo "#! /bin/sh" >conf$$.sh
26445 echo "exit 0" >>conf$$.sh
26446 chmod +x conf$$.sh
26447 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26448 PATH_SEPARATOR=';'
26449 else
26450 PATH_SEPARATOR=:
26451 fi
26452 rm -f conf$$.sh
26453 fi
26454 ac_prog=ld
26455 if test "$GCC" = yes; then
26456 # Check if gcc -print-prog-name=ld gives a path.
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26458 $as_echo_n "checking for ld used by GCC... " >&6; }
26459 case $host in
26460 *-*-mingw*)
26461 # gcc leaves a trailing carriage return which upsets mingw
26462 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26463 *)
26464 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26465 esac
26466 case $ac_prog in
26467 # Accept absolute paths.
26468 [\\/]* | [A-Za-z]:[\\/]*)
26469 re_direlt='/[^/][^/]*/\.\./'
26470 # Canonicalize the path of ld
26471 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26472 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26473 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26474 done
26475 test -z "$LD" && LD="$ac_prog"
26476 ;;
26477 "")
26478 # If it fails, then pretend we aren't using GCC.
26479 ac_prog=ld
26480 ;;
26481 *)
26482 # If it is relative, then search for the first ld in PATH.
26483 with_gnu_ld=unknown
26484 ;;
26485 esac
26486 elif test "$with_gnu_ld" = yes; then
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26488 $as_echo_n "checking for GNU ld... " >&6; }
26489 else
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26491 $as_echo_n "checking for non-GNU ld... " >&6; }
26492 fi
26493 if test "${acl_cv_path_LD+set}" = set; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26496 if test -z "$LD"; then
26497 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26498 for ac_dir in $PATH; do
26499 test -z "$ac_dir" && ac_dir=.
26500 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26501 acl_cv_path_LD="$ac_dir/$ac_prog"
26502 # Check to see if the program is GNU ld. I'd rather use --version,
26503 # but apparently some GNU ld's only accept -v.
26504 # Break only if it was the GNU/non-GNU ld that we prefer.
26505 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26506 test "$with_gnu_ld" != no && break
26507 else
26508 test "$with_gnu_ld" != yes && break
26509 fi
26510 fi
26511 done
26512 IFS="$ac_save_ifs"
26513 else
26514 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26515 fi
26516 fi
26517
26518 LD="$acl_cv_path_LD"
26519 if test -n "$LD"; then
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26521 $as_echo "$LD" >&6; }
26522 else
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26524 $as_echo "no" >&6; }
26525 fi
26526 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26528 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26529 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26530 $as_echo_n "(cached) " >&6
26531 else
26532 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26533 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26534 acl_cv_prog_gnu_ld=yes
26535 else
26536 acl_cv_prog_gnu_ld=no
26537 fi
26538 fi
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26540 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26541 with_gnu_ld=$acl_cv_prog_gnu_ld
26542
26543
26544
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26546 $as_echo_n "checking for shared library run path origin... " >&6; }
26547 if test "${acl_cv_rpath+set}" = set; then :
26548 $as_echo_n "(cached) " >&6
26549 else
26550
26551 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26552 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26553 . ./conftest.sh
26554 rm -f ./conftest.sh
26555 acl_cv_rpath=done
26556
26557 fi
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26559 $as_echo "$acl_cv_rpath" >&6; }
26560 wl="$acl_cv_wl"
26561 libext="$acl_cv_libext"
26562 shlibext="$acl_cv_shlibext"
26563 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26564 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26565 hardcode_direct="$acl_cv_hardcode_direct"
26566 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26567 # Check whether --enable-rpath was given.
26568 if test "${enable_rpath+set}" = set; then :
26569 enableval=$enable_rpath; :
26570 else
26571 enable_rpath=yes
26572 fi
26573
26574
26575
26576
26577
26578
26579
26580
26581 use_additional=yes
26582
26583 acl_save_prefix="$prefix"
26584 prefix="$acl_final_prefix"
26585 acl_save_exec_prefix="$exec_prefix"
26586 exec_prefix="$acl_final_exec_prefix"
26587
26588 eval additional_includedir=\"$includedir\"
26589 eval additional_libdir=\"$libdir\"
26590
26591 exec_prefix="$acl_save_exec_prefix"
26592 prefix="$acl_save_prefix"
26593
26594
26595 # Check whether --with-libiconv-prefix was given.
26596 if test "${with_libiconv_prefix+set}" = set; then :
26597 withval=$with_libiconv_prefix;
26598 if test "X$withval" = "Xno"; then
26599 use_additional=no
26600 else
26601 if test "X$withval" = "X"; then
26602
26603 acl_save_prefix="$prefix"
26604 prefix="$acl_final_prefix"
26605 acl_save_exec_prefix="$exec_prefix"
26606 exec_prefix="$acl_final_exec_prefix"
26607
26608 eval additional_includedir=\"$includedir\"
26609 eval additional_libdir=\"$libdir\"
26610
26611 exec_prefix="$acl_save_exec_prefix"
26612 prefix="$acl_save_prefix"
26613
26614 else
26615 additional_includedir="$withval/include"
26616 additional_libdir="$withval/lib"
26617 fi
26618 fi
26619
26620 fi
26621
26622 LIBICONV=
26623 LTLIBICONV=
26624 INCICONV=
26625 rpathdirs=
26626 ltrpathdirs=
26627 names_already_handled=
26628 names_next_round='iconv '
26629 while test -n "$names_next_round"; do
26630 names_this_round="$names_next_round"
26631 names_next_round=
26632 for name in $names_this_round; do
26633 already_handled=
26634 for n in $names_already_handled; do
26635 if test "$n" = "$name"; then
26636 already_handled=yes
26637 break
26638 fi
26639 done
26640 if test -z "$already_handled"; then
26641 names_already_handled="$names_already_handled $name"
26642 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26643 eval value=\"\$HAVE_LIB$uppername\"
26644 if test -n "$value"; then
26645 if test "$value" = yes; then
26646 eval value=\"\$LIB$uppername\"
26647 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26648 eval value=\"\$LTLIB$uppername\"
26649 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26650 else
26651 :
26652 fi
26653 else
26654 found_dir=
26655 found_la=
26656 found_so=
26657 found_a=
26658 if test $use_additional = yes; then
26659 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26660 found_dir="$additional_libdir"
26661 found_so="$additional_libdir/lib$name.$shlibext"
26662 if test -f "$additional_libdir/lib$name.la"; then
26663 found_la="$additional_libdir/lib$name.la"
26664 fi
26665 else
26666 if test -f "$additional_libdir/lib$name.$libext"; then
26667 found_dir="$additional_libdir"
26668 found_a="$additional_libdir/lib$name.$libext"
26669 if test -f "$additional_libdir/lib$name.la"; then
26670 found_la="$additional_libdir/lib$name.la"
26671 fi
26672 fi
26673 fi
26674 fi
26675 if test "X$found_dir" = "X"; then
26676 for x in $LDFLAGS $LTLIBICONV; do
26677
26678 acl_save_prefix="$prefix"
26679 prefix="$acl_final_prefix"
26680 acl_save_exec_prefix="$exec_prefix"
26681 exec_prefix="$acl_final_exec_prefix"
26682 eval x=\"$x\"
26683 exec_prefix="$acl_save_exec_prefix"
26684 prefix="$acl_save_prefix"
26685
26686 case "$x" in
26687 -L*)
26688 dir=`echo "X$x" | sed -e 's/^X-L//'`
26689 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26690 found_dir="$dir"
26691 found_so="$dir/lib$name.$shlibext"
26692 if test -f "$dir/lib$name.la"; then
26693 found_la="$dir/lib$name.la"
26694 fi
26695 else
26696 if test -f "$dir/lib$name.$libext"; then
26697 found_dir="$dir"
26698 found_a="$dir/lib$name.$libext"
26699 if test -f "$dir/lib$name.la"; then
26700 found_la="$dir/lib$name.la"
26701 fi
26702 fi
26703 fi
26704 ;;
26705 esac
26706 if test "X$found_dir" != "X"; then
26707 break
26708 fi
26709 done
26710 fi
26711 if test "X$found_dir" != "X"; then
26712 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26713 if test "X$found_so" != "X"; then
26714 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26715 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26716 else
26717 haveit=
26718 for x in $ltrpathdirs; do
26719 if test "X$x" = "X$found_dir"; then
26720 haveit=yes
26721 break
26722 fi
26723 done
26724 if test -z "$haveit"; then
26725 ltrpathdirs="$ltrpathdirs $found_dir"
26726 fi
26727 if test "$hardcode_direct" = yes; then
26728 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26729 else
26730 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26731 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26732 haveit=
26733 for x in $rpathdirs; do
26734 if test "X$x" = "X$found_dir"; then
26735 haveit=yes
26736 break
26737 fi
26738 done
26739 if test -z "$haveit"; then
26740 rpathdirs="$rpathdirs $found_dir"
26741 fi
26742 else
26743 haveit=
26744 for x in $LDFLAGS $LIBICONV; do
26745
26746 acl_save_prefix="$prefix"
26747 prefix="$acl_final_prefix"
26748 acl_save_exec_prefix="$exec_prefix"
26749 exec_prefix="$acl_final_exec_prefix"
26750 eval x=\"$x\"
26751 exec_prefix="$acl_save_exec_prefix"
26752 prefix="$acl_save_prefix"
26753
26754 if test "X$x" = "X-L$found_dir"; then
26755 haveit=yes
26756 break
26757 fi
26758 done
26759 if test -z "$haveit"; then
26760 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26761 fi
26762 if test "$hardcode_minus_L" != no; then
26763 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26764 else
26765 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26766 fi
26767 fi
26768 fi
26769 fi
26770 else
26771 if test "X$found_a" != "X"; then
26772 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26773 else
26774 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26775 fi
26776 fi
26777 additional_includedir=
26778 case "$found_dir" in
26779 */lib | */lib/)
26780 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26781 additional_includedir="$basedir/include"
26782 ;;
26783 esac
26784 if test "X$additional_includedir" != "X"; then
26785 if test "X$additional_includedir" != "X/usr/include"; then
26786 haveit=
26787 if test "X$additional_includedir" = "X/usr/local/include"; then
26788 if test -n "$GCC"; then
26789 case $host_os in
26790 linux*) haveit=yes;;
26791 esac
26792 fi
26793 fi
26794 if test -z "$haveit"; then
26795 for x in $CPPFLAGS $INCICONV; do
26796
26797 acl_save_prefix="$prefix"
26798 prefix="$acl_final_prefix"
26799 acl_save_exec_prefix="$exec_prefix"
26800 exec_prefix="$acl_final_exec_prefix"
26801 eval x=\"$x\"
26802 exec_prefix="$acl_save_exec_prefix"
26803 prefix="$acl_save_prefix"
26804
26805 if test "X$x" = "X-I$additional_includedir"; then
26806 haveit=yes
26807 break
26808 fi
26809 done
26810 if test -z "$haveit"; then
26811 if test -d "$additional_includedir"; then
26812 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26813 fi
26814 fi
26815 fi
26816 fi
26817 fi
26818 if test -n "$found_la"; then
26819 save_libdir="$libdir"
26820 case "$found_la" in
26821 */* | *\\*) . "$found_la" ;;
26822 *) . "./$found_la" ;;
26823 esac
26824 libdir="$save_libdir"
26825 for dep in $dependency_libs; do
26826 case "$dep" in
26827 -L*)
26828 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26829 if test "X$additional_libdir" != "X/usr/lib"; then
26830 haveit=
26831 if test "X$additional_libdir" = "X/usr/local/lib"; then
26832 if test -n "$GCC"; then
26833 case $host_os in
26834 linux*) haveit=yes;;
26835 esac
26836 fi
26837 fi
26838 if test -z "$haveit"; then
26839 haveit=
26840 for x in $LDFLAGS $LIBICONV; do
26841
26842 acl_save_prefix="$prefix"
26843 prefix="$acl_final_prefix"
26844 acl_save_exec_prefix="$exec_prefix"
26845 exec_prefix="$acl_final_exec_prefix"
26846 eval x=\"$x\"
26847 exec_prefix="$acl_save_exec_prefix"
26848 prefix="$acl_save_prefix"
26849
26850 if test "X$x" = "X-L$additional_libdir"; then
26851 haveit=yes
26852 break
26853 fi
26854 done
26855 if test -z "$haveit"; then
26856 if test -d "$additional_libdir"; then
26857 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26858 fi
26859 fi
26860 haveit=
26861 for x in $LDFLAGS $LTLIBICONV; do
26862
26863 acl_save_prefix="$prefix"
26864 prefix="$acl_final_prefix"
26865 acl_save_exec_prefix="$exec_prefix"
26866 exec_prefix="$acl_final_exec_prefix"
26867 eval x=\"$x\"
26868 exec_prefix="$acl_save_exec_prefix"
26869 prefix="$acl_save_prefix"
26870
26871 if test "X$x" = "X-L$additional_libdir"; then
26872 haveit=yes
26873 break
26874 fi
26875 done
26876 if test -z "$haveit"; then
26877 if test -d "$additional_libdir"; then
26878 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26879 fi
26880 fi
26881 fi
26882 fi
26883 ;;
26884 -R*)
26885 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26886 if test "$enable_rpath" != no; then
26887 haveit=
26888 for x in $rpathdirs; do
26889 if test "X$x" = "X$dir"; then
26890 haveit=yes
26891 break
26892 fi
26893 done
26894 if test -z "$haveit"; then
26895 rpathdirs="$rpathdirs $dir"
26896 fi
26897 haveit=
26898 for x in $ltrpathdirs; do
26899 if test "X$x" = "X$dir"; then
26900 haveit=yes
26901 break
26902 fi
26903 done
26904 if test -z "$haveit"; then
26905 ltrpathdirs="$ltrpathdirs $dir"
26906 fi
26907 fi
26908 ;;
26909 -l*)
26910 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26911 ;;
26912 *.la)
26913 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26914 ;;
26915 *)
26916 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26917 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26918 ;;
26919 esac
26920 done
26921 fi
26922 else
26923 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26925 fi
26926 fi
26927 fi
26928 done
26929 done
26930 if test "X$rpathdirs" != "X"; then
26931 if test -n "$hardcode_libdir_separator"; then
26932 alldirs=
26933 for found_dir in $rpathdirs; do
26934 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26935 done
26936 acl_save_libdir="$libdir"
26937 libdir="$alldirs"
26938 eval flag=\"$hardcode_libdir_flag_spec\"
26939 libdir="$acl_save_libdir"
26940 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26941 else
26942 for found_dir in $rpathdirs; do
26943 acl_save_libdir="$libdir"
26944 libdir="$found_dir"
26945 eval flag=\"$hardcode_libdir_flag_spec\"
26946 libdir="$acl_save_libdir"
26947 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26948 done
26949 fi
26950 fi
26951 if test "X$ltrpathdirs" != "X"; then
26952 for found_dir in $ltrpathdirs; do
26953 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26954 done
26955 fi
26956
26957
26958
26959
26960
26961
26962
26963 am_save_CPPFLAGS="$CPPFLAGS"
26964
26965 for element in $INCICONV; do
26966 haveit=
26967 for x in $CPPFLAGS; do
26968
26969 acl_save_prefix="$prefix"
26970 prefix="$acl_final_prefix"
26971 acl_save_exec_prefix="$exec_prefix"
26972 exec_prefix="$acl_final_exec_prefix"
26973 eval x=\"$x\"
26974 exec_prefix="$acl_save_exec_prefix"
26975 prefix="$acl_save_prefix"
26976
26977 if test "X$x" = "X$element"; then
26978 haveit=yes
26979 break
26980 fi
26981 done
26982 if test -z "$haveit"; then
26983 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26984 fi
26985 done
26986
26987
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26989 $as_echo_n "checking for iconv... " >&6; }
26990 if test "${am_cv_func_iconv+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993
26994 am_cv_func_iconv="no, consider installing GNU libiconv"
26995 am_cv_lib_iconv=no
26996 if test x$gcc_no_link = xyes; then
26997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26998 fi
26999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27000 /* end confdefs.h. */
27001 #include <stdlib.h>
27002 #include <iconv.h>
27003 int
27004 main ()
27005 {
27006 iconv_t cd = iconv_open("","");
27007 iconv(cd,NULL,NULL,NULL,NULL);
27008 iconv_close(cd);
27009 ;
27010 return 0;
27011 }
27012 _ACEOF
27013 if ac_fn_c_try_link "$LINENO"; then :
27014 am_cv_func_iconv=yes
27015 fi
27016 rm -f core conftest.err conftest.$ac_objext \
27017 conftest$ac_exeext conftest.$ac_ext
27018 if test "$am_cv_func_iconv" != yes; then
27019 am_save_LIBS="$LIBS"
27020 LIBS="$LIBS $LIBICONV"
27021 if test x$gcc_no_link = xyes; then
27022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27023 fi
27024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27025 /* end confdefs.h. */
27026 #include <stdlib.h>
27027 #include <iconv.h>
27028 int
27029 main ()
27030 {
27031 iconv_t cd = iconv_open("","");
27032 iconv(cd,NULL,NULL,NULL,NULL);
27033 iconv_close(cd);
27034 ;
27035 return 0;
27036 }
27037 _ACEOF
27038 if ac_fn_c_try_link "$LINENO"; then :
27039 am_cv_lib_iconv=yes
27040 am_cv_func_iconv=yes
27041 fi
27042 rm -f core conftest.err conftest.$ac_objext \
27043 conftest$ac_exeext conftest.$ac_ext
27044 LIBS="$am_save_LIBS"
27045 fi
27046
27047 fi
27048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27049 $as_echo "$am_cv_func_iconv" >&6; }
27050 if test "$am_cv_func_iconv" = yes; then
27051
27052 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27053
27054 fi
27055 if test "$am_cv_lib_iconv" = yes; then
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27057 $as_echo_n "checking how to link with libiconv... " >&6; }
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27059 $as_echo "$LIBICONV" >&6; }
27060 else
27061 CPPFLAGS="$am_save_CPPFLAGS"
27062 LIBICONV=
27063 LTLIBICONV=
27064 fi
27065
27066
27067
27068 if test "$am_cv_func_iconv" = yes; then
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27070 $as_echo_n "checking for iconv declaration... " >&6; }
27071 if test "${am_cv_proto_iconv+set}" = set; then :
27072 $as_echo_n "(cached) " >&6
27073 else
27074
27075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27076 /* end confdefs.h. */
27077
27078 #include <stdlib.h>
27079 #include <iconv.h>
27080 extern
27081 #ifdef __cplusplus
27082 "C"
27083 #endif
27084 #if defined(__STDC__) || defined(__cplusplus)
27085 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27086 #else
27087 size_t iconv();
27088 #endif
27089
27090 int
27091 main ()
27092 {
27093
27094 ;
27095 return 0;
27096 }
27097 _ACEOF
27098 if ac_fn_c_try_compile "$LINENO"; then :
27099 am_cv_proto_iconv_arg1=""
27100 else
27101 am_cv_proto_iconv_arg1="const"
27102 fi
27103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27104 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);"
27105 fi
27106
27107 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27109 }$am_cv_proto_iconv" >&5
27110 $as_echo "${ac_t:-
27111 }$am_cv_proto_iconv" >&6; }
27112
27113 cat >>confdefs.h <<_ACEOF
27114 #define ICONV_CONST $am_cv_proto_iconv_arg1
27115 _ACEOF
27116
27117 fi
27118
27119
27120 else
27121
27122 # This lets us hard-code the functionality we know we'll have in the cross
27123 # target environment. "Let" is a sugar-coated word placed on an especially
27124 # dull and tedious hack, actually.
27125 #
27126 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27127 # that involve linking, can't be used:
27128 # "cannot open sim-crt0.o"
27129 # "cannot open crt0.o"
27130 # etc. All this is because there currently exists no unified, consistent
27131 # way for top level CC information to be passed down to target directories:
27132 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27133 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27134 # crosses can be removed.
27135
27136 # If Canadian cross, then don't pick up tools from the build directory.
27137 # Used only in GLIBCXX_EXPORT_INCLUDES.
27138 if test -n "$with_cross_host" &&
27139 test x"$build_alias" != x"$with_cross_host" &&
27140 test x"$build" != x"$target";
27141 then
27142 CANADIAN=yes
27143 else
27144 CANADIAN=no
27145 fi
27146
27147 # Construct crosses by hand, eliminating bits that need ld...
27148 # GLIBCXX_CHECK_MATH_SUPPORT
27149
27150 # First, test for "known" system libraries. We may be using newlib even
27151 # on a hosted environment.
27152 if test "x${with_newlib}" = "xyes"; then
27153 os_include_dir="os/newlib"
27154 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27155
27156
27157 # GLIBCXX_CHECK_STDLIB_SUPPORT
27158 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27159
27160
27161 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27162
27163 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27164
27165 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27166
27167 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27168
27169 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27170
27171 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27172
27173 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27174
27175 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27176
27177 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27178
27179 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27180
27181 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27182
27183 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27184
27185 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27186
27187 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27188
27189 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27190
27191 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27192
27193 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27194
27195 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27196
27197 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27198
27199 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27200
27201 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27202
27203 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27204
27205
27206 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27207
27208 else
27209
27210 # Base decisions on target environment.
27211 case "${host}" in
27212 arm*-*-symbianelf*)
27213 # This is a freestanding configuration; there is nothing to do here.
27214 ;;
27215
27216 mips*-sde-elf*)
27217 # These definitions are for the SDE C library rather than newlib.
27218 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27219
27220
27221 # All these tests are for C++; save the language and the compiler flags.
27222 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27223 # found in GLIBCXX_CONFIGURE.
27224
27225 ac_ext=cpp
27226 ac_cpp='$CXXCPP $CPPFLAGS'
27227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27230
27231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27232 ac_save_CXXFLAGS="$CXXFLAGS"
27233
27234 # Check for maintainer-mode bits.
27235 if test x"$USE_MAINTAINER_MODE" = xno; then
27236 WERROR=''
27237 else
27238 WERROR='-Werror'
27239 fi
27240
27241 # Check for -ffunction-sections -fdata-sections
27242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27243 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27244 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27246 /* end confdefs.h. */
27247 int foo; void bar() { };
27248 int
27249 main ()
27250 {
27251
27252 ;
27253 return 0;
27254 }
27255 _ACEOF
27256 if ac_fn_cxx_try_compile "$LINENO"; then :
27257 ac_fdsections=yes
27258 else
27259 ac_fdsections=no
27260 fi
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 if test "$ac_test_CXXFLAGS" = set; then
27263 CXXFLAGS="$ac_save_CXXFLAGS"
27264 else
27265 # this is the suspicious part
27266 CXXFLAGS=''
27267 fi
27268 if test x"$ac_fdsections" = x"yes"; then
27269 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27270 fi
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27272 $as_echo "$ac_fdsections" >&6; }
27273
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27279
27280
27281
27282
27283
27284 # If we're not using GNU ld, then there's no point in even trying these
27285 # tests. Check for that first. We should have already tested for gld
27286 # by now (in libtool), but require it now just to be safe...
27287 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27288 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27289
27290
27291
27292 # The name set by libtool depends on the version of libtool. Shame on us
27293 # for depending on an impl detail, but c'est la vie. Older versions used
27294 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27295 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27296 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27297 # set (hence we're using an older libtool), then set it.
27298 if test x${with_gnu_ld+set} != xset; then
27299 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27300 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27301 with_gnu_ld=no
27302 else
27303 with_gnu_ld=$ac_cv_prog_gnu_ld
27304 fi
27305 fi
27306
27307 # Start by getting the version number. I think the libtool test already
27308 # does some of this, but throws away the result.
27309 glibcxx_ld_is_gold=no
27310 if test x"$with_gnu_ld" = x"yes"; then
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27312 $as_echo_n "checking for ld version... " >&6; }
27313
27314 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27315 glibcxx_ld_is_gold=yes
27316 fi
27317 ldver=`$LD --version 2>/dev/null |
27318 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'`
27319
27320 glibcxx_gnu_ld_version=`echo $ldver | \
27321 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27323 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27324 fi
27325
27326 # Set --gc-sections.
27327 glibcxx_have_gc_sections=no
27328 if test "$glibcxx_ld_is_gold" = "yes"; then
27329 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27330 glibcxx_have_gc_sections=yes
27331 fi
27332 else
27333 glibcxx_gcsections_min_ld=21602
27334 if test x"$with_gnu_ld" = x"yes" &&
27335 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27336 glibcxx_have_gc_sections=yes
27337 fi
27338 fi
27339 if test "$glibcxx_have_gc_sections" = "yes"; then
27340 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27341 # NB: This flag only works reliably after 2.16.1. Configure tests
27342 # for this are difficult, so hard wire a value that should work.
27343
27344 ac_test_CFLAGS="${CFLAGS+set}"
27345 ac_save_CFLAGS="$CFLAGS"
27346 CFLAGS='-Wl,--gc-sections'
27347
27348 # Check for -Wl,--gc-sections
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27350 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27351 if test x$gcc_no_link = xyes; then
27352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27353 fi
27354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27355 /* end confdefs.h. */
27356 int one(void) { return 1; }
27357 int two(void) { return 2; }
27358
27359 int
27360 main ()
27361 {
27362 two();
27363 ;
27364 return 0;
27365 }
27366 _ACEOF
27367 if ac_fn_c_try_link "$LINENO"; then :
27368 ac_gcsections=yes
27369 else
27370 ac_gcsections=no
27371 fi
27372 rm -f core conftest.err conftest.$ac_objext \
27373 conftest$ac_exeext conftest.$ac_ext
27374 if test "$ac_gcsections" = "yes"; then
27375 rm -f conftest.c
27376 touch conftest.c
27377 if $CC -c conftest.c; then
27378 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27379 grep "Warning: gc-sections option ignored" > /dev/null; then
27380 ac_gcsections=no
27381 fi
27382 fi
27383 rm -f conftest.c conftest.o conftest
27384 fi
27385 if test "$ac_gcsections" = "yes"; then
27386 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27387 fi
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27389 $as_echo "$ac_gcsections" >&6; }
27390
27391 if test "$ac_test_CFLAGS" = set; then
27392 CFLAGS="$ac_save_CFLAGS"
27393 else
27394 # this is the suspicious part
27395 CFLAGS=''
27396 fi
27397 fi
27398
27399 # Set -z,relro.
27400 # Note this is only for shared objects.
27401 ac_ld_relro=no
27402 if test x"$with_gnu_ld" = x"yes"; then
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27404 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27405 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27406 if test -n "$cxx_z_relo"; then
27407 OPT_LDFLAGS="-Wl,-z,relro"
27408 ac_ld_relro=yes
27409 fi
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27411 $as_echo "$ac_ld_relro" >&6; }
27412 fi
27413
27414 # Set linker optimization flags.
27415 if test x"$with_gnu_ld" = x"yes"; then
27416 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27417 fi
27418
27419
27420
27421
27422
27423 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27424 ac_save_CXXFLAGS="$CXXFLAGS"
27425 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27426
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27428 $as_echo_n "checking for sin in -lm... " >&6; }
27429 if test "${ac_cv_lib_m_sin+set}" = set; then :
27430 $as_echo_n "(cached) " >&6
27431 else
27432 ac_check_lib_save_LIBS=$LIBS
27433 LIBS="-lm $LIBS"
27434 if test x$gcc_no_link = xyes; then
27435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27436 fi
27437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27438 /* end confdefs.h. */
27439
27440 /* Override any GCC internal prototype to avoid an error.
27441 Use char because int might match the return type of a GCC
27442 builtin and then its argument prototype would still apply. */
27443 #ifdef __cplusplus
27444 extern "C"
27445 #endif
27446 char sin ();
27447 int
27448 main ()
27449 {
27450 return sin ();
27451 ;
27452 return 0;
27453 }
27454 _ACEOF
27455 if ac_fn_c_try_link "$LINENO"; then :
27456 ac_cv_lib_m_sin=yes
27457 else
27458 ac_cv_lib_m_sin=no
27459 fi
27460 rm -f core conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 LIBS=$ac_check_lib_save_LIBS
27463 fi
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27465 $as_echo "$ac_cv_lib_m_sin" >&6; }
27466 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27467 libm="-lm"
27468 fi
27469
27470 ac_save_LIBS="$LIBS"
27471 LIBS="$LIBS $libm"
27472
27473
27474
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27476 $as_echo_n "checking for isinf declaration... " >&6; }
27477 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27478 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27479 $as_echo_n "(cached) " >&6
27480 else
27481
27482
27483 ac_ext=cpp
27484 ac_cpp='$CXXCPP $CPPFLAGS'
27485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27488
27489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27490 /* end confdefs.h. */
27491 #include <math.h>
27492 #ifdef HAVE_IEEEFP_H
27493 #include <ieeefp.h>
27494 #endif
27495
27496 int
27497 main ()
27498 {
27499 isinf(0);
27500 ;
27501 return 0;
27502 }
27503 _ACEOF
27504 if ac_fn_cxx_try_compile "$LINENO"; then :
27505 glibcxx_cv_func_isinf_use=yes
27506 else
27507 glibcxx_cv_func_isinf_use=no
27508 fi
27509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27510 ac_ext=c
27511 ac_cpp='$CPP $CPPFLAGS'
27512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27515
27516
27517 fi
27518
27519 fi
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27521 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27522
27523 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27524 for ac_func in isinf
27525 do :
27526 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27527 if test "x$ac_cv_func_isinf" = x""yes; then :
27528 cat >>confdefs.h <<_ACEOF
27529 #define HAVE_ISINF 1
27530 _ACEOF
27531
27532 fi
27533 done
27534
27535 else
27536
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27538 $as_echo_n "checking for _isinf declaration... " >&6; }
27539 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27540 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27541 $as_echo_n "(cached) " >&6
27542 else
27543
27544
27545 ac_ext=cpp
27546 ac_cpp='$CXXCPP $CPPFLAGS'
27547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27550
27551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27552 /* end confdefs.h. */
27553 #include <math.h>
27554 #ifdef HAVE_IEEEFP_H
27555 #include <ieeefp.h>
27556 #endif
27557
27558 int
27559 main ()
27560 {
27561 _isinf(0);
27562 ;
27563 return 0;
27564 }
27565 _ACEOF
27566 if ac_fn_cxx_try_compile "$LINENO"; then :
27567 glibcxx_cv_func__isinf_use=yes
27568 else
27569 glibcxx_cv_func__isinf_use=no
27570 fi
27571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27572 ac_ext=c
27573 ac_cpp='$CPP $CPPFLAGS'
27574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27577
27578
27579 fi
27580
27581 fi
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27583 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27584
27585 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27586 for ac_func in _isinf
27587 do :
27588 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27589 if test "x$ac_cv_func__isinf" = x""yes; then :
27590 cat >>confdefs.h <<_ACEOF
27591 #define HAVE__ISINF 1
27592 _ACEOF
27593
27594 fi
27595 done
27596
27597 fi
27598 fi
27599
27600
27601
27602
27603
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27605 $as_echo_n "checking for isnan declaration... " >&6; }
27606 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27607 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27608 $as_echo_n "(cached) " >&6
27609 else
27610
27611
27612 ac_ext=cpp
27613 ac_cpp='$CXXCPP $CPPFLAGS'
27614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27617
27618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27619 /* end confdefs.h. */
27620 #include <math.h>
27621 #ifdef HAVE_IEEEFP_H
27622 #include <ieeefp.h>
27623 #endif
27624
27625 int
27626 main ()
27627 {
27628 isnan(0);
27629 ;
27630 return 0;
27631 }
27632 _ACEOF
27633 if ac_fn_cxx_try_compile "$LINENO"; then :
27634 glibcxx_cv_func_isnan_use=yes
27635 else
27636 glibcxx_cv_func_isnan_use=no
27637 fi
27638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27639 ac_ext=c
27640 ac_cpp='$CPP $CPPFLAGS'
27641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644
27645
27646 fi
27647
27648 fi
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27650 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27651
27652 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27653 for ac_func in isnan
27654 do :
27655 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27656 if test "x$ac_cv_func_isnan" = x""yes; then :
27657 cat >>confdefs.h <<_ACEOF
27658 #define HAVE_ISNAN 1
27659 _ACEOF
27660
27661 fi
27662 done
27663
27664 else
27665
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27667 $as_echo_n "checking for _isnan declaration... " >&6; }
27668 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27669 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27670 $as_echo_n "(cached) " >&6
27671 else
27672
27673
27674 ac_ext=cpp
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27679
27680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681 /* end confdefs.h. */
27682 #include <math.h>
27683 #ifdef HAVE_IEEEFP_H
27684 #include <ieeefp.h>
27685 #endif
27686
27687 int
27688 main ()
27689 {
27690 _isnan(0);
27691 ;
27692 return 0;
27693 }
27694 _ACEOF
27695 if ac_fn_cxx_try_compile "$LINENO"; then :
27696 glibcxx_cv_func__isnan_use=yes
27697 else
27698 glibcxx_cv_func__isnan_use=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27701 ac_ext=c
27702 ac_cpp='$CPP $CPPFLAGS'
27703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27706
27707
27708 fi
27709
27710 fi
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27712 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27713
27714 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27715 for ac_func in _isnan
27716 do :
27717 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27718 if test "x$ac_cv_func__isnan" = x""yes; then :
27719 cat >>confdefs.h <<_ACEOF
27720 #define HAVE__ISNAN 1
27721 _ACEOF
27722
27723 fi
27724 done
27725
27726 fi
27727 fi
27728
27729
27730
27731
27732
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27734 $as_echo_n "checking for finite declaration... " >&6; }
27735 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27736 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27737 $as_echo_n "(cached) " >&6
27738 else
27739
27740
27741 ac_ext=cpp
27742 ac_cpp='$CXXCPP $CPPFLAGS'
27743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746
27747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27748 /* end confdefs.h. */
27749 #include <math.h>
27750 #ifdef HAVE_IEEEFP_H
27751 #include <ieeefp.h>
27752 #endif
27753
27754 int
27755 main ()
27756 {
27757 finite(0);
27758 ;
27759 return 0;
27760 }
27761 _ACEOF
27762 if ac_fn_cxx_try_compile "$LINENO"; then :
27763 glibcxx_cv_func_finite_use=yes
27764 else
27765 glibcxx_cv_func_finite_use=no
27766 fi
27767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27768 ac_ext=c
27769 ac_cpp='$CPP $CPPFLAGS'
27770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773
27774
27775 fi
27776
27777 fi
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27779 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27780
27781 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27782 for ac_func in finite
27783 do :
27784 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27785 if test "x$ac_cv_func_finite" = x""yes; then :
27786 cat >>confdefs.h <<_ACEOF
27787 #define HAVE_FINITE 1
27788 _ACEOF
27789
27790 fi
27791 done
27792
27793 else
27794
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27796 $as_echo_n "checking for _finite declaration... " >&6; }
27797 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27798 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27799 $as_echo_n "(cached) " >&6
27800 else
27801
27802
27803 ac_ext=cpp
27804 ac_cpp='$CXXCPP $CPPFLAGS'
27805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27808
27809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27810 /* end confdefs.h. */
27811 #include <math.h>
27812 #ifdef HAVE_IEEEFP_H
27813 #include <ieeefp.h>
27814 #endif
27815
27816 int
27817 main ()
27818 {
27819 _finite(0);
27820 ;
27821 return 0;
27822 }
27823 _ACEOF
27824 if ac_fn_cxx_try_compile "$LINENO"; then :
27825 glibcxx_cv_func__finite_use=yes
27826 else
27827 glibcxx_cv_func__finite_use=no
27828 fi
27829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27830 ac_ext=c
27831 ac_cpp='$CPP $CPPFLAGS'
27832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27835
27836
27837 fi
27838
27839 fi
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27841 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27842
27843 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27844 for ac_func in _finite
27845 do :
27846 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27847 if test "x$ac_cv_func__finite" = x""yes; then :
27848 cat >>confdefs.h <<_ACEOF
27849 #define HAVE__FINITE 1
27850 _ACEOF
27851
27852 fi
27853 done
27854
27855 fi
27856 fi
27857
27858
27859
27860
27861
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27863 $as_echo_n "checking for sincos declaration... " >&6; }
27864 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27865 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27866 $as_echo_n "(cached) " >&6
27867 else
27868
27869
27870 ac_ext=cpp
27871 ac_cpp='$CXXCPP $CPPFLAGS'
27872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27875
27876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27877 /* end confdefs.h. */
27878 #include <math.h>
27879 int
27880 main ()
27881 {
27882 sincos(0, 0, 0);
27883 ;
27884 return 0;
27885 }
27886 _ACEOF
27887 if ac_fn_cxx_try_compile "$LINENO"; then :
27888 glibcxx_cv_func_sincos_use=yes
27889 else
27890 glibcxx_cv_func_sincos_use=no
27891 fi
27892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27893 ac_ext=c
27894 ac_cpp='$CPP $CPPFLAGS'
27895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27898
27899
27900 fi
27901
27902 fi
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27904 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27905
27906 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27907 for ac_func in sincos
27908 do :
27909 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27910 if test "x$ac_cv_func_sincos" = x""yes; then :
27911 cat >>confdefs.h <<_ACEOF
27912 #define HAVE_SINCOS 1
27913 _ACEOF
27914
27915 fi
27916 done
27917
27918 else
27919
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27921 $as_echo_n "checking for _sincos declaration... " >&6; }
27922 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27923 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27924 $as_echo_n "(cached) " >&6
27925 else
27926
27927
27928 ac_ext=cpp
27929 ac_cpp='$CXXCPP $CPPFLAGS'
27930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27933
27934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27935 /* end confdefs.h. */
27936 #include <math.h>
27937 int
27938 main ()
27939 {
27940 _sincos(0, 0, 0);
27941 ;
27942 return 0;
27943 }
27944 _ACEOF
27945 if ac_fn_cxx_try_compile "$LINENO"; then :
27946 glibcxx_cv_func__sincos_use=yes
27947 else
27948 glibcxx_cv_func__sincos_use=no
27949 fi
27950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27951 ac_ext=c
27952 ac_cpp='$CPP $CPPFLAGS'
27953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956
27957
27958 fi
27959
27960 fi
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27962 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27963
27964 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27965 for ac_func in _sincos
27966 do :
27967 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27968 if test "x$ac_cv_func__sincos" = x""yes; then :
27969 cat >>confdefs.h <<_ACEOF
27970 #define HAVE__SINCOS 1
27971 _ACEOF
27972
27973 fi
27974 done
27975
27976 fi
27977 fi
27978
27979
27980
27981
27982
27983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27984 $as_echo_n "checking for fpclass declaration... " >&6; }
27985 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27986 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27987 $as_echo_n "(cached) " >&6
27988 else
27989
27990
27991 ac_ext=cpp
27992 ac_cpp='$CXXCPP $CPPFLAGS'
27993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27996
27997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27998 /* end confdefs.h. */
27999 #include <math.h>
28000 #ifdef HAVE_IEEEFP_H
28001 #include <ieeefp.h>
28002 #endif
28003
28004 int
28005 main ()
28006 {
28007 fpclass(0);
28008 ;
28009 return 0;
28010 }
28011 _ACEOF
28012 if ac_fn_cxx_try_compile "$LINENO"; then :
28013 glibcxx_cv_func_fpclass_use=yes
28014 else
28015 glibcxx_cv_func_fpclass_use=no
28016 fi
28017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28018 ac_ext=c
28019 ac_cpp='$CPP $CPPFLAGS'
28020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28023
28024
28025 fi
28026
28027 fi
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28029 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28030
28031 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28032 for ac_func in fpclass
28033 do :
28034 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28035 if test "x$ac_cv_func_fpclass" = x""yes; then :
28036 cat >>confdefs.h <<_ACEOF
28037 #define HAVE_FPCLASS 1
28038 _ACEOF
28039
28040 fi
28041 done
28042
28043 else
28044
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28046 $as_echo_n "checking for _fpclass declaration... " >&6; }
28047 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28048 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28049 $as_echo_n "(cached) " >&6
28050 else
28051
28052
28053 ac_ext=cpp
28054 ac_cpp='$CXXCPP $CPPFLAGS'
28055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28058
28059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28060 /* end confdefs.h. */
28061 #include <math.h>
28062 #ifdef HAVE_IEEEFP_H
28063 #include <ieeefp.h>
28064 #endif
28065
28066 int
28067 main ()
28068 {
28069 _fpclass(0);
28070 ;
28071 return 0;
28072 }
28073 _ACEOF
28074 if ac_fn_cxx_try_compile "$LINENO"; then :
28075 glibcxx_cv_func__fpclass_use=yes
28076 else
28077 glibcxx_cv_func__fpclass_use=no
28078 fi
28079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28080 ac_ext=c
28081 ac_cpp='$CPP $CPPFLAGS'
28082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28085
28086
28087 fi
28088
28089 fi
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28091 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28092
28093 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28094 for ac_func in _fpclass
28095 do :
28096 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28097 if test "x$ac_cv_func__fpclass" = x""yes; then :
28098 cat >>confdefs.h <<_ACEOF
28099 #define HAVE__FPCLASS 1
28100 _ACEOF
28101
28102 fi
28103 done
28104
28105 fi
28106 fi
28107
28108
28109
28110
28111
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28113 $as_echo_n "checking for qfpclass declaration... " >&6; }
28114 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28115 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28117 else
28118
28119
28120 ac_ext=cpp
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125
28126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28127 /* end confdefs.h. */
28128 #include <math.h>
28129 #ifdef HAVE_IEEEFP_H
28130 #include <ieeefp.h>
28131 #endif
28132
28133 int
28134 main ()
28135 {
28136 qfpclass(0);
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 if ac_fn_cxx_try_compile "$LINENO"; then :
28142 glibcxx_cv_func_qfpclass_use=yes
28143 else
28144 glibcxx_cv_func_qfpclass_use=no
28145 fi
28146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28147 ac_ext=c
28148 ac_cpp='$CPP $CPPFLAGS'
28149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28152
28153
28154 fi
28155
28156 fi
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28158 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28159
28160 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28161 for ac_func in qfpclass
28162 do :
28163 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28164 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28165 cat >>confdefs.h <<_ACEOF
28166 #define HAVE_QFPCLASS 1
28167 _ACEOF
28168
28169 fi
28170 done
28171
28172 else
28173
28174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28175 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28176 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28177 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28178 $as_echo_n "(cached) " >&6
28179 else
28180
28181
28182 ac_ext=cpp
28183 ac_cpp='$CXXCPP $CPPFLAGS'
28184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28187
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 #include <math.h>
28191 #ifdef HAVE_IEEEFP_H
28192 #include <ieeefp.h>
28193 #endif
28194
28195 int
28196 main ()
28197 {
28198 _qfpclass(0);
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 if ac_fn_cxx_try_compile "$LINENO"; then :
28204 glibcxx_cv_func__qfpclass_use=yes
28205 else
28206 glibcxx_cv_func__qfpclass_use=no
28207 fi
28208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28209 ac_ext=c
28210 ac_cpp='$CPP $CPPFLAGS'
28211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28214
28215
28216 fi
28217
28218 fi
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28220 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28221
28222 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28223 for ac_func in _qfpclass
28224 do :
28225 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28226 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28227 cat >>confdefs.h <<_ACEOF
28228 #define HAVE__QFPCLASS 1
28229 _ACEOF
28230
28231 fi
28232 done
28233
28234 fi
28235 fi
28236
28237
28238
28239
28240
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28242 $as_echo_n "checking for hypot declaration... " >&6; }
28243 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28244 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28245 $as_echo_n "(cached) " >&6
28246 else
28247
28248
28249 ac_ext=cpp
28250 ac_cpp='$CXXCPP $CPPFLAGS'
28251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28254
28255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28256 /* end confdefs.h. */
28257 #include <math.h>
28258 int
28259 main ()
28260 {
28261 hypot(0, 0);
28262 ;
28263 return 0;
28264 }
28265 _ACEOF
28266 if ac_fn_cxx_try_compile "$LINENO"; then :
28267 glibcxx_cv_func_hypot_use=yes
28268 else
28269 glibcxx_cv_func_hypot_use=no
28270 fi
28271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28272 ac_ext=c
28273 ac_cpp='$CPP $CPPFLAGS'
28274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28277
28278
28279 fi
28280
28281 fi
28282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28283 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28284
28285 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28286 for ac_func in hypot
28287 do :
28288 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28289 if test "x$ac_cv_func_hypot" = x""yes; then :
28290 cat >>confdefs.h <<_ACEOF
28291 #define HAVE_HYPOT 1
28292 _ACEOF
28293
28294 fi
28295 done
28296
28297 else
28298
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28300 $as_echo_n "checking for _hypot declaration... " >&6; }
28301 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28302 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28303 $as_echo_n "(cached) " >&6
28304 else
28305
28306
28307 ac_ext=cpp
28308 ac_cpp='$CXXCPP $CPPFLAGS'
28309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28312
28313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28314 /* end confdefs.h. */
28315 #include <math.h>
28316 int
28317 main ()
28318 {
28319 _hypot(0, 0);
28320 ;
28321 return 0;
28322 }
28323 _ACEOF
28324 if ac_fn_cxx_try_compile "$LINENO"; then :
28325 glibcxx_cv_func__hypot_use=yes
28326 else
28327 glibcxx_cv_func__hypot_use=no
28328 fi
28329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330 ac_ext=c
28331 ac_cpp='$CPP $CPPFLAGS'
28332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28335
28336
28337 fi
28338
28339 fi
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28341 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28342
28343 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28344 for ac_func in _hypot
28345 do :
28346 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28347 if test "x$ac_cv_func__hypot" = x""yes; then :
28348 cat >>confdefs.h <<_ACEOF
28349 #define HAVE__HYPOT 1
28350 _ACEOF
28351
28352 fi
28353 done
28354
28355 fi
28356 fi
28357
28358
28359
28360
28361
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28363 $as_echo_n "checking for float trig functions... " >&6; }
28364 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28365 $as_echo_n "(cached) " >&6
28366 else
28367
28368
28369 ac_ext=cpp
28370 ac_cpp='$CXXCPP $CPPFLAGS'
28371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28374
28375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28376 /* end confdefs.h. */
28377 #include <math.h>
28378 int
28379 main ()
28380 {
28381 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28382 ;
28383 return 0;
28384 }
28385 _ACEOF
28386 if ac_fn_cxx_try_compile "$LINENO"; then :
28387 glibcxx_cv_func_float_trig_use=yes
28388 else
28389 glibcxx_cv_func_float_trig_use=no
28390 fi
28391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28392 ac_ext=c
28393 ac_cpp='$CPP $CPPFLAGS'
28394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28397
28398 fi
28399
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28401 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28402 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28403 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28404 do :
28405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28407 eval as_val=\$$as_ac_var
28408 if test "x$as_val" = x""yes; then :
28409 cat >>confdefs.h <<_ACEOF
28410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28411 _ACEOF
28412
28413 fi
28414 done
28415
28416 else
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28418 $as_echo_n "checking for _float trig functions... " >&6; }
28419 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28420 $as_echo_n "(cached) " >&6
28421 else
28422
28423
28424 ac_ext=cpp
28425 ac_cpp='$CXXCPP $CPPFLAGS'
28426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28429
28430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28431 /* end confdefs.h. */
28432 #include <math.h>
28433 int
28434 main ()
28435 {
28436 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28437 ;
28438 return 0;
28439 }
28440 _ACEOF
28441 if ac_fn_cxx_try_compile "$LINENO"; then :
28442 glibcxx_cv_func__float_trig_use=yes
28443 else
28444 glibcxx_cv_func__float_trig_use=no
28445 fi
28446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28447 ac_ext=c
28448 ac_cpp='$CPP $CPPFLAGS'
28449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452
28453 fi
28454
28455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28456 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28457 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28458 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28459 do :
28460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28462 eval as_val=\$$as_ac_var
28463 if test "x$as_val" = x""yes; then :
28464 cat >>confdefs.h <<_ACEOF
28465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28466 _ACEOF
28467
28468 fi
28469 done
28470
28471 fi
28472 fi
28473
28474
28475
28476
28477
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28479 $as_echo_n "checking for float round functions... " >&6; }
28480 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28481 $as_echo_n "(cached) " >&6
28482 else
28483
28484
28485 ac_ext=cpp
28486 ac_cpp='$CXXCPP $CPPFLAGS'
28487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28490
28491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28492 /* end confdefs.h. */
28493 #include <math.h>
28494 int
28495 main ()
28496 {
28497 ceilf (0); floorf (0);
28498 ;
28499 return 0;
28500 }
28501 _ACEOF
28502 if ac_fn_cxx_try_compile "$LINENO"; then :
28503 glibcxx_cv_func_float_round_use=yes
28504 else
28505 glibcxx_cv_func_float_round_use=no
28506 fi
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 ac_ext=c
28509 ac_cpp='$CPP $CPPFLAGS'
28510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28513
28514 fi
28515
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28517 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28518 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28519 for ac_func in ceilf floorf
28520 do :
28521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28523 eval as_val=\$$as_ac_var
28524 if test "x$as_val" = x""yes; then :
28525 cat >>confdefs.h <<_ACEOF
28526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28527 _ACEOF
28528
28529 fi
28530 done
28531
28532 else
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28534 $as_echo_n "checking for _float round functions... " >&6; }
28535 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28538
28539
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28549 int
28550 main ()
28551 {
28552 _ceilf (0); _floorf (0);
28553 ;
28554 return 0;
28555 }
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func__float_round_use=yes
28559 else
28560 glibcxx_cv_func__float_round_use=no
28561 fi
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568
28569 fi
28570
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28572 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28573 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28574 for ac_func in _ceilf _floorf
28575 do :
28576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28578 eval as_val=\$$as_ac_var
28579 if test "x$as_val" = x""yes; then :
28580 cat >>confdefs.h <<_ACEOF
28581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28582 _ACEOF
28583
28584 fi
28585 done
28586
28587 fi
28588 fi
28589
28590
28591
28592
28593
28594
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28596 $as_echo_n "checking for expf declaration... " >&6; }
28597 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28598 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28599 $as_echo_n "(cached) " >&6
28600 else
28601
28602
28603 ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28608
28609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h. */
28611 #include <math.h>
28612 #ifdef HAVE_IEEEFP_H
28613 #include <ieeefp.h>
28614 #endif
28615
28616 int
28617 main ()
28618 {
28619 expf(0);
28620 ;
28621 return 0;
28622 }
28623 _ACEOF
28624 if ac_fn_cxx_try_compile "$LINENO"; then :
28625 glibcxx_cv_func_expf_use=yes
28626 else
28627 glibcxx_cv_func_expf_use=no
28628 fi
28629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630 ac_ext=c
28631 ac_cpp='$CPP $CPPFLAGS'
28632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28635
28636
28637 fi
28638
28639 fi
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28641 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28642
28643 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28644 for ac_func in expf
28645 do :
28646 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28647 if test "x$ac_cv_func_expf" = x""yes; then :
28648 cat >>confdefs.h <<_ACEOF
28649 #define HAVE_EXPF 1
28650 _ACEOF
28651
28652 fi
28653 done
28654
28655 else
28656
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28658 $as_echo_n "checking for _expf declaration... " >&6; }
28659 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28660 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28661 $as_echo_n "(cached) " >&6
28662 else
28663
28664
28665 ac_ext=cpp
28666 ac_cpp='$CXXCPP $CPPFLAGS'
28667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28670
28671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h. */
28673 #include <math.h>
28674 #ifdef HAVE_IEEEFP_H
28675 #include <ieeefp.h>
28676 #endif
28677
28678 int
28679 main ()
28680 {
28681 _expf(0);
28682 ;
28683 return 0;
28684 }
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func__expf_use=yes
28688 else
28689 glibcxx_cv_func__expf_use=no
28690 fi
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28697
28698
28699 fi
28700
28701 fi
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28703 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28704
28705 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28706 for ac_func in _expf
28707 do :
28708 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28709 if test "x$ac_cv_func__expf" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE__EXPF 1
28712 _ACEOF
28713
28714 fi
28715 done
28716
28717 fi
28718 fi
28719
28720
28721
28722
28723
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28725 $as_echo_n "checking for isnanf declaration... " >&6; }
28726 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28727 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28728 $as_echo_n "(cached) " >&6
28729 else
28730
28731
28732 ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737
28738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h. */
28740 #include <math.h>
28741 #ifdef HAVE_IEEEFP_H
28742 #include <ieeefp.h>
28743 #endif
28744
28745 int
28746 main ()
28747 {
28748 isnanf(0);
28749 ;
28750 return 0;
28751 }
28752 _ACEOF
28753 if ac_fn_cxx_try_compile "$LINENO"; then :
28754 glibcxx_cv_func_isnanf_use=yes
28755 else
28756 glibcxx_cv_func_isnanf_use=no
28757 fi
28758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28759 ac_ext=c
28760 ac_cpp='$CPP $CPPFLAGS'
28761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28764
28765
28766 fi
28767
28768 fi
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28770 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28771
28772 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28773 for ac_func in isnanf
28774 do :
28775 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28776 if test "x$ac_cv_func_isnanf" = x""yes; then :
28777 cat >>confdefs.h <<_ACEOF
28778 #define HAVE_ISNANF 1
28779 _ACEOF
28780
28781 fi
28782 done
28783
28784 else
28785
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28787 $as_echo_n "checking for _isnanf declaration... " >&6; }
28788 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28789 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28790 $as_echo_n "(cached) " >&6
28791 else
28792
28793
28794 ac_ext=cpp
28795 ac_cpp='$CXXCPP $CPPFLAGS'
28796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28799
28800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28801 /* end confdefs.h. */
28802 #include <math.h>
28803 #ifdef HAVE_IEEEFP_H
28804 #include <ieeefp.h>
28805 #endif
28806
28807 int
28808 main ()
28809 {
28810 _isnanf(0);
28811 ;
28812 return 0;
28813 }
28814 _ACEOF
28815 if ac_fn_cxx_try_compile "$LINENO"; then :
28816 glibcxx_cv_func__isnanf_use=yes
28817 else
28818 glibcxx_cv_func__isnanf_use=no
28819 fi
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821 ac_ext=c
28822 ac_cpp='$CPP $CPPFLAGS'
28823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28826
28827
28828 fi
28829
28830 fi
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28832 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28833
28834 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28835 for ac_func in _isnanf
28836 do :
28837 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28838 if test "x$ac_cv_func__isnanf" = x""yes; then :
28839 cat >>confdefs.h <<_ACEOF
28840 #define HAVE__ISNANF 1
28841 _ACEOF
28842
28843 fi
28844 done
28845
28846 fi
28847 fi
28848
28849
28850
28851
28852
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28854 $as_echo_n "checking for isinff declaration... " >&6; }
28855 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28856 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28857 $as_echo_n "(cached) " >&6
28858 else
28859
28860
28861 ac_ext=cpp
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28866
28867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868 /* end confdefs.h. */
28869 #include <math.h>
28870 #ifdef HAVE_IEEEFP_H
28871 #include <ieeefp.h>
28872 #endif
28873
28874 int
28875 main ()
28876 {
28877 isinff(0);
28878 ;
28879 return 0;
28880 }
28881 _ACEOF
28882 if ac_fn_cxx_try_compile "$LINENO"; then :
28883 glibcxx_cv_func_isinff_use=yes
28884 else
28885 glibcxx_cv_func_isinff_use=no
28886 fi
28887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28888 ac_ext=c
28889 ac_cpp='$CPP $CPPFLAGS'
28890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28893
28894
28895 fi
28896
28897 fi
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28899 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28900
28901 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28902 for ac_func in isinff
28903 do :
28904 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28905 if test "x$ac_cv_func_isinff" = x""yes; then :
28906 cat >>confdefs.h <<_ACEOF
28907 #define HAVE_ISINFF 1
28908 _ACEOF
28909
28910 fi
28911 done
28912
28913 else
28914
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28916 $as_echo_n "checking for _isinff declaration... " >&6; }
28917 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28918 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28919 $as_echo_n "(cached) " >&6
28920 else
28921
28922
28923 ac_ext=cpp
28924 ac_cpp='$CXXCPP $CPPFLAGS'
28925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28928
28929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28930 /* end confdefs.h. */
28931 #include <math.h>
28932 #ifdef HAVE_IEEEFP_H
28933 #include <ieeefp.h>
28934 #endif
28935
28936 int
28937 main ()
28938 {
28939 _isinff(0);
28940 ;
28941 return 0;
28942 }
28943 _ACEOF
28944 if ac_fn_cxx_try_compile "$LINENO"; then :
28945 glibcxx_cv_func__isinff_use=yes
28946 else
28947 glibcxx_cv_func__isinff_use=no
28948 fi
28949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28950 ac_ext=c
28951 ac_cpp='$CPP $CPPFLAGS'
28952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28955
28956
28957 fi
28958
28959 fi
28960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28961 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28962
28963 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28964 for ac_func in _isinff
28965 do :
28966 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28967 if test "x$ac_cv_func__isinff" = x""yes; then :
28968 cat >>confdefs.h <<_ACEOF
28969 #define HAVE__ISINFF 1
28970 _ACEOF
28971
28972 fi
28973 done
28974
28975 fi
28976 fi
28977
28978
28979
28980
28981
28982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28983 $as_echo_n "checking for atan2f declaration... " >&6; }
28984 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28985 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28986 $as_echo_n "(cached) " >&6
28987 else
28988
28989
28990 ac_ext=cpp
28991 ac_cpp='$CXXCPP $CPPFLAGS'
28992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28995
28996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28997 /* end confdefs.h. */
28998 #include <math.h>
28999 int
29000 main ()
29001 {
29002 atan2f(0, 0);
29003 ;
29004 return 0;
29005 }
29006 _ACEOF
29007 if ac_fn_cxx_try_compile "$LINENO"; then :
29008 glibcxx_cv_func_atan2f_use=yes
29009 else
29010 glibcxx_cv_func_atan2f_use=no
29011 fi
29012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29013 ac_ext=c
29014 ac_cpp='$CPP $CPPFLAGS'
29015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29018
29019
29020 fi
29021
29022 fi
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29024 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29025
29026 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29027 for ac_func in atan2f
29028 do :
29029 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29030 if test "x$ac_cv_func_atan2f" = x""yes; then :
29031 cat >>confdefs.h <<_ACEOF
29032 #define HAVE_ATAN2F 1
29033 _ACEOF
29034
29035 fi
29036 done
29037
29038 else
29039
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29041 $as_echo_n "checking for _atan2f declaration... " >&6; }
29042 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29043 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29044 $as_echo_n "(cached) " >&6
29045 else
29046
29047
29048 ac_ext=cpp
29049 ac_cpp='$CXXCPP $CPPFLAGS'
29050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29053
29054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29055 /* end confdefs.h. */
29056 #include <math.h>
29057 int
29058 main ()
29059 {
29060 _atan2f(0, 0);
29061 ;
29062 return 0;
29063 }
29064 _ACEOF
29065 if ac_fn_cxx_try_compile "$LINENO"; then :
29066 glibcxx_cv_func__atan2f_use=yes
29067 else
29068 glibcxx_cv_func__atan2f_use=no
29069 fi
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071 ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29076
29077
29078 fi
29079
29080 fi
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29082 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29083
29084 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29085 for ac_func in _atan2f
29086 do :
29087 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29088 if test "x$ac_cv_func__atan2f" = x""yes; then :
29089 cat >>confdefs.h <<_ACEOF
29090 #define HAVE__ATAN2F 1
29091 _ACEOF
29092
29093 fi
29094 done
29095
29096 fi
29097 fi
29098
29099
29100
29101
29102
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29104 $as_echo_n "checking for fabsf declaration... " >&6; }
29105 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29106 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29107 $as_echo_n "(cached) " >&6
29108 else
29109
29110
29111 ac_ext=cpp
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116
29117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29118 /* end confdefs.h. */
29119 #include <math.h>
29120 #ifdef HAVE_IEEEFP_H
29121 #include <ieeefp.h>
29122 #endif
29123
29124 int
29125 main ()
29126 {
29127 fabsf(0);
29128 ;
29129 return 0;
29130 }
29131 _ACEOF
29132 if ac_fn_cxx_try_compile "$LINENO"; then :
29133 glibcxx_cv_func_fabsf_use=yes
29134 else
29135 glibcxx_cv_func_fabsf_use=no
29136 fi
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 ac_ext=c
29139 ac_cpp='$CPP $CPPFLAGS'
29140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29143
29144
29145 fi
29146
29147 fi
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29149 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29150
29151 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29152 for ac_func in fabsf
29153 do :
29154 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29155 if test "x$ac_cv_func_fabsf" = x""yes; then :
29156 cat >>confdefs.h <<_ACEOF
29157 #define HAVE_FABSF 1
29158 _ACEOF
29159
29160 fi
29161 done
29162
29163 else
29164
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29166 $as_echo_n "checking for _fabsf declaration... " >&6; }
29167 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29168 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29169 $as_echo_n "(cached) " >&6
29170 else
29171
29172
29173 ac_ext=cpp
29174 ac_cpp='$CXXCPP $CPPFLAGS'
29175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178
29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29181 #include <math.h>
29182 #ifdef HAVE_IEEEFP_H
29183 #include <ieeefp.h>
29184 #endif
29185
29186 int
29187 main ()
29188 {
29189 _fabsf(0);
29190 ;
29191 return 0;
29192 }
29193 _ACEOF
29194 if ac_fn_cxx_try_compile "$LINENO"; then :
29195 glibcxx_cv_func__fabsf_use=yes
29196 else
29197 glibcxx_cv_func__fabsf_use=no
29198 fi
29199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29200 ac_ext=c
29201 ac_cpp='$CPP $CPPFLAGS'
29202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29205
29206
29207 fi
29208
29209 fi
29210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29211 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29212
29213 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29214 for ac_func in _fabsf
29215 do :
29216 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29217 if test "x$ac_cv_func__fabsf" = x""yes; then :
29218 cat >>confdefs.h <<_ACEOF
29219 #define HAVE__FABSF 1
29220 _ACEOF
29221
29222 fi
29223 done
29224
29225 fi
29226 fi
29227
29228
29229
29230
29231
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29233 $as_echo_n "checking for fmodf declaration... " >&6; }
29234 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29235 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29236 $as_echo_n "(cached) " >&6
29237 else
29238
29239
29240 ac_ext=cpp
29241 ac_cpp='$CXXCPP $CPPFLAGS'
29242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29245
29246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h. */
29248 #include <math.h>
29249 int
29250 main ()
29251 {
29252 fmodf(0, 0);
29253 ;
29254 return 0;
29255 }
29256 _ACEOF
29257 if ac_fn_cxx_try_compile "$LINENO"; then :
29258 glibcxx_cv_func_fmodf_use=yes
29259 else
29260 glibcxx_cv_func_fmodf_use=no
29261 fi
29262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29263 ac_ext=c
29264 ac_cpp='$CPP $CPPFLAGS'
29265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29268
29269
29270 fi
29271
29272 fi
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29274 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29275
29276 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29277 for ac_func in fmodf
29278 do :
29279 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29280 if test "x$ac_cv_func_fmodf" = x""yes; then :
29281 cat >>confdefs.h <<_ACEOF
29282 #define HAVE_FMODF 1
29283 _ACEOF
29284
29285 fi
29286 done
29287
29288 else
29289
29290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29291 $as_echo_n "checking for _fmodf declaration... " >&6; }
29292 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29293 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29294 $as_echo_n "(cached) " >&6
29295 else
29296
29297
29298 ac_ext=cpp
29299 ac_cpp='$CXXCPP $CPPFLAGS'
29300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29303
29304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29305 /* end confdefs.h. */
29306 #include <math.h>
29307 int
29308 main ()
29309 {
29310 _fmodf(0, 0);
29311 ;
29312 return 0;
29313 }
29314 _ACEOF
29315 if ac_fn_cxx_try_compile "$LINENO"; then :
29316 glibcxx_cv_func__fmodf_use=yes
29317 else
29318 glibcxx_cv_func__fmodf_use=no
29319 fi
29320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29321 ac_ext=c
29322 ac_cpp='$CPP $CPPFLAGS'
29323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29326
29327
29328 fi
29329
29330 fi
29331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29332 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29333
29334 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29335 for ac_func in _fmodf
29336 do :
29337 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29338 if test "x$ac_cv_func__fmodf" = x""yes; then :
29339 cat >>confdefs.h <<_ACEOF
29340 #define HAVE__FMODF 1
29341 _ACEOF
29342
29343 fi
29344 done
29345
29346 fi
29347 fi
29348
29349
29350
29351
29352
29353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29354 $as_echo_n "checking for frexpf declaration... " >&6; }
29355 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29356 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29357 $as_echo_n "(cached) " >&6
29358 else
29359
29360
29361 ac_ext=cpp
29362 ac_cpp='$CXXCPP $CPPFLAGS'
29363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29366
29367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29368 /* end confdefs.h. */
29369 #include <math.h>
29370 int
29371 main ()
29372 {
29373 frexpf(0, 0);
29374 ;
29375 return 0;
29376 }
29377 _ACEOF
29378 if ac_fn_cxx_try_compile "$LINENO"; then :
29379 glibcxx_cv_func_frexpf_use=yes
29380 else
29381 glibcxx_cv_func_frexpf_use=no
29382 fi
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384 ac_ext=c
29385 ac_cpp='$CPP $CPPFLAGS'
29386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29389
29390
29391 fi
29392
29393 fi
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29395 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29396
29397 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29398 for ac_func in frexpf
29399 do :
29400 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29401 if test "x$ac_cv_func_frexpf" = x""yes; then :
29402 cat >>confdefs.h <<_ACEOF
29403 #define HAVE_FREXPF 1
29404 _ACEOF
29405
29406 fi
29407 done
29408
29409 else
29410
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29412 $as_echo_n "checking for _frexpf declaration... " >&6; }
29413 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29414 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29417
29418
29419 ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <math.h>
29428 int
29429 main ()
29430 {
29431 _frexpf(0, 0);
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 if ac_fn_cxx_try_compile "$LINENO"; then :
29437 glibcxx_cv_func__frexpf_use=yes
29438 else
29439 glibcxx_cv_func__frexpf_use=no
29440 fi
29441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29442 ac_ext=c
29443 ac_cpp='$CPP $CPPFLAGS'
29444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29447
29448
29449 fi
29450
29451 fi
29452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29453 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29454
29455 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29456 for ac_func in _frexpf
29457 do :
29458 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29459 if test "x$ac_cv_func__frexpf" = x""yes; then :
29460 cat >>confdefs.h <<_ACEOF
29461 #define HAVE__FREXPF 1
29462 _ACEOF
29463
29464 fi
29465 done
29466
29467 fi
29468 fi
29469
29470
29471
29472
29473
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29475 $as_echo_n "checking for hypotf declaration... " >&6; }
29476 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29477 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29478 $as_echo_n "(cached) " >&6
29479 else
29480
29481
29482 ac_ext=cpp
29483 ac_cpp='$CXXCPP $CPPFLAGS'
29484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29487
29488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29489 /* end confdefs.h. */
29490 #include <math.h>
29491 int
29492 main ()
29493 {
29494 hypotf(0, 0);
29495 ;
29496 return 0;
29497 }
29498 _ACEOF
29499 if ac_fn_cxx_try_compile "$LINENO"; then :
29500 glibcxx_cv_func_hypotf_use=yes
29501 else
29502 glibcxx_cv_func_hypotf_use=no
29503 fi
29504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29505 ac_ext=c
29506 ac_cpp='$CPP $CPPFLAGS'
29507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510
29511
29512 fi
29513
29514 fi
29515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29516 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29517
29518 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29519 for ac_func in hypotf
29520 do :
29521 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29522 if test "x$ac_cv_func_hypotf" = x""yes; then :
29523 cat >>confdefs.h <<_ACEOF
29524 #define HAVE_HYPOTF 1
29525 _ACEOF
29526
29527 fi
29528 done
29529
29530 else
29531
29532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29533 $as_echo_n "checking for _hypotf declaration... " >&6; }
29534 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29535 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29536 $as_echo_n "(cached) " >&6
29537 else
29538
29539
29540 ac_ext=cpp
29541 ac_cpp='$CXXCPP $CPPFLAGS'
29542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29545
29546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29547 /* end confdefs.h. */
29548 #include <math.h>
29549 int
29550 main ()
29551 {
29552 _hypotf(0, 0);
29553 ;
29554 return 0;
29555 }
29556 _ACEOF
29557 if ac_fn_cxx_try_compile "$LINENO"; then :
29558 glibcxx_cv_func__hypotf_use=yes
29559 else
29560 glibcxx_cv_func__hypotf_use=no
29561 fi
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563 ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29568
29569
29570 fi
29571
29572 fi
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29574 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29575
29576 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29577 for ac_func in _hypotf
29578 do :
29579 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29580 if test "x$ac_cv_func__hypotf" = x""yes; then :
29581 cat >>confdefs.h <<_ACEOF
29582 #define HAVE__HYPOTF 1
29583 _ACEOF
29584
29585 fi
29586 done
29587
29588 fi
29589 fi
29590
29591
29592
29593
29594
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29596 $as_echo_n "checking for ldexpf declaration... " >&6; }
29597 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29598 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29599 $as_echo_n "(cached) " >&6
29600 else
29601
29602
29603 ac_ext=cpp
29604 ac_cpp='$CXXCPP $CPPFLAGS'
29605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608
29609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h. */
29611 #include <math.h>
29612 int
29613 main ()
29614 {
29615 ldexpf(0, 0);
29616 ;
29617 return 0;
29618 }
29619 _ACEOF
29620 if ac_fn_cxx_try_compile "$LINENO"; then :
29621 glibcxx_cv_func_ldexpf_use=yes
29622 else
29623 glibcxx_cv_func_ldexpf_use=no
29624 fi
29625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626 ac_ext=c
29627 ac_cpp='$CPP $CPPFLAGS'
29628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631
29632
29633 fi
29634
29635 fi
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29637 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29638
29639 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29640 for ac_func in ldexpf
29641 do :
29642 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29643 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29644 cat >>confdefs.h <<_ACEOF
29645 #define HAVE_LDEXPF 1
29646 _ACEOF
29647
29648 fi
29649 done
29650
29651 else
29652
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29654 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29655 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29656 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29657 $as_echo_n "(cached) " >&6
29658 else
29659
29660
29661 ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29669 #include <math.h>
29670 int
29671 main ()
29672 {
29673 _ldexpf(0, 0);
29674 ;
29675 return 0;
29676 }
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func__ldexpf_use=yes
29680 else
29681 glibcxx_cv_func__ldexpf_use=no
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689
29690
29691 fi
29692
29693 fi
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29695 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29696
29697 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29698 for ac_func in _ldexpf
29699 do :
29700 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29701 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE__LDEXPF 1
29704 _ACEOF
29705
29706 fi
29707 done
29708
29709 fi
29710 fi
29711
29712
29713
29714
29715
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29717 $as_echo_n "checking for logf declaration... " >&6; }
29718 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29719 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29720 $as_echo_n "(cached) " >&6
29721 else
29722
29723
29724 ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29732 #include <math.h>
29733 #ifdef HAVE_IEEEFP_H
29734 #include <ieeefp.h>
29735 #endif
29736
29737 int
29738 main ()
29739 {
29740 logf(0);
29741 ;
29742 return 0;
29743 }
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 glibcxx_cv_func_logf_use=yes
29747 else
29748 glibcxx_cv_func_logf_use=no
29749 fi
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 ac_ext=c
29752 ac_cpp='$CPP $CPPFLAGS'
29753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29756
29757
29758 fi
29759
29760 fi
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29762 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29763
29764 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29765 for ac_func in logf
29766 do :
29767 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29768 if test "x$ac_cv_func_logf" = x""yes; then :
29769 cat >>confdefs.h <<_ACEOF
29770 #define HAVE_LOGF 1
29771 _ACEOF
29772
29773 fi
29774 done
29775
29776 else
29777
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29779 $as_echo_n "checking for _logf declaration... " >&6; }
29780 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29781 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29782 $as_echo_n "(cached) " >&6
29783 else
29784
29785
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794 #include <math.h>
29795 #ifdef HAVE_IEEEFP_H
29796 #include <ieeefp.h>
29797 #endif
29798
29799 int
29800 main ()
29801 {
29802 _logf(0);
29803 ;
29804 return 0;
29805 }
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__logf_use=yes
29809 else
29810 glibcxx_cv_func__logf_use=no
29811 fi
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818
29819
29820 fi
29821
29822 fi
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29824 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29825
29826 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29827 for ac_func in _logf
29828 do :
29829 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29830 if test "x$ac_cv_func__logf" = x""yes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE__LOGF 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838 fi
29839 fi
29840
29841
29842
29843
29844
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29846 $as_echo_n "checking for log10f declaration... " >&6; }
29847 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29848 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29849 $as_echo_n "(cached) " >&6
29850 else
29851
29852
29853 ac_ext=cpp
29854 ac_cpp='$CXXCPP $CPPFLAGS'
29855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858
29859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29860 /* end confdefs.h. */
29861 #include <math.h>
29862 #ifdef HAVE_IEEEFP_H
29863 #include <ieeefp.h>
29864 #endif
29865
29866 int
29867 main ()
29868 {
29869 log10f(0);
29870 ;
29871 return 0;
29872 }
29873 _ACEOF
29874 if ac_fn_cxx_try_compile "$LINENO"; then :
29875 glibcxx_cv_func_log10f_use=yes
29876 else
29877 glibcxx_cv_func_log10f_use=no
29878 fi
29879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29880 ac_ext=c
29881 ac_cpp='$CPP $CPPFLAGS'
29882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885
29886
29887 fi
29888
29889 fi
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29891 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29892
29893 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29894 for ac_func in log10f
29895 do :
29896 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29897 if test "x$ac_cv_func_log10f" = x""yes; then :
29898 cat >>confdefs.h <<_ACEOF
29899 #define HAVE_LOG10F 1
29900 _ACEOF
29901
29902 fi
29903 done
29904
29905 else
29906
29907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29908 $as_echo_n "checking for _log10f declaration... " >&6; }
29909 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29910 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29911 $as_echo_n "(cached) " >&6
29912 else
29913
29914
29915 ac_ext=cpp
29916 ac_cpp='$CXXCPP $CPPFLAGS'
29917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29920
29921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29922 /* end confdefs.h. */
29923 #include <math.h>
29924 #ifdef HAVE_IEEEFP_H
29925 #include <ieeefp.h>
29926 #endif
29927
29928 int
29929 main ()
29930 {
29931 _log10f(0);
29932 ;
29933 return 0;
29934 }
29935 _ACEOF
29936 if ac_fn_cxx_try_compile "$LINENO"; then :
29937 glibcxx_cv_func__log10f_use=yes
29938 else
29939 glibcxx_cv_func__log10f_use=no
29940 fi
29941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942 ac_ext=c
29943 ac_cpp='$CPP $CPPFLAGS'
29944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29947
29948
29949 fi
29950
29951 fi
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29953 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29954
29955 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29956 for ac_func in _log10f
29957 do :
29958 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29959 if test "x$ac_cv_func__log10f" = x""yes; then :
29960 cat >>confdefs.h <<_ACEOF
29961 #define HAVE__LOG10F 1
29962 _ACEOF
29963
29964 fi
29965 done
29966
29967 fi
29968 fi
29969
29970
29971
29972
29973
29974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29975 $as_echo_n "checking for modff declaration... " >&6; }
29976 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29977 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29978 $as_echo_n "(cached) " >&6
29979 else
29980
29981
29982 ac_ext=cpp
29983 ac_cpp='$CXXCPP $CPPFLAGS'
29984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29987
29988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h. */
29990 #include <math.h>
29991 int
29992 main ()
29993 {
29994 modff(0, 0);
29995 ;
29996 return 0;
29997 }
29998 _ACEOF
29999 if ac_fn_cxx_try_compile "$LINENO"; then :
30000 glibcxx_cv_func_modff_use=yes
30001 else
30002 glibcxx_cv_func_modff_use=no
30003 fi
30004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30005 ac_ext=c
30006 ac_cpp='$CPP $CPPFLAGS'
30007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30010
30011
30012 fi
30013
30014 fi
30015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30016 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30017
30018 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30019 for ac_func in modff
30020 do :
30021 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30022 if test "x$ac_cv_func_modff" = x""yes; then :
30023 cat >>confdefs.h <<_ACEOF
30024 #define HAVE_MODFF 1
30025 _ACEOF
30026
30027 fi
30028 done
30029
30030 else
30031
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30033 $as_echo_n "checking for _modff declaration... " >&6; }
30034 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30035 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30036 $as_echo_n "(cached) " >&6
30037 else
30038
30039
30040 ac_ext=cpp
30041 ac_cpp='$CXXCPP $CPPFLAGS'
30042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30045
30046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30047 /* end confdefs.h. */
30048 #include <math.h>
30049 int
30050 main ()
30051 {
30052 _modff(0, 0);
30053 ;
30054 return 0;
30055 }
30056 _ACEOF
30057 if ac_fn_cxx_try_compile "$LINENO"; then :
30058 glibcxx_cv_func__modff_use=yes
30059 else
30060 glibcxx_cv_func__modff_use=no
30061 fi
30062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063 ac_ext=c
30064 ac_cpp='$CPP $CPPFLAGS'
30065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30068
30069
30070 fi
30071
30072 fi
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30074 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30075
30076 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30077 for ac_func in _modff
30078 do :
30079 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30080 if test "x$ac_cv_func__modff" = x""yes; then :
30081 cat >>confdefs.h <<_ACEOF
30082 #define HAVE__MODFF 1
30083 _ACEOF
30084
30085 fi
30086 done
30087
30088 fi
30089 fi
30090
30091
30092
30093
30094
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30096 $as_echo_n "checking for modf declaration... " >&6; }
30097 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30098 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30101
30102
30103 ac_ext=cpp
30104 ac_cpp='$CXXCPP $CPPFLAGS'
30105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108
30109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h. */
30111 #include <math.h>
30112 int
30113 main ()
30114 {
30115 modf(0, 0);
30116 ;
30117 return 0;
30118 }
30119 _ACEOF
30120 if ac_fn_cxx_try_compile "$LINENO"; then :
30121 glibcxx_cv_func_modf_use=yes
30122 else
30123 glibcxx_cv_func_modf_use=no
30124 fi
30125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126 ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133 fi
30134
30135 fi
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30137 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30138
30139 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30140 for ac_func in modf
30141 do :
30142 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30143 if test "x$ac_cv_func_modf" = x""yes; then :
30144 cat >>confdefs.h <<_ACEOF
30145 #define HAVE_MODF 1
30146 _ACEOF
30147
30148 fi
30149 done
30150
30151 else
30152
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30154 $as_echo_n "checking for _modf declaration... " >&6; }
30155 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30156 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30157 $as_echo_n "(cached) " >&6
30158 else
30159
30160
30161 ac_ext=cpp
30162 ac_cpp='$CXXCPP $CPPFLAGS'
30163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166
30167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30168 /* end confdefs.h. */
30169 #include <math.h>
30170 int
30171 main ()
30172 {
30173 _modf(0, 0);
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 if ac_fn_cxx_try_compile "$LINENO"; then :
30179 glibcxx_cv_func__modf_use=yes
30180 else
30181 glibcxx_cv_func__modf_use=no
30182 fi
30183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30184 ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30189
30190
30191 fi
30192
30193 fi
30194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30195 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30196
30197 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30198 for ac_func in _modf
30199 do :
30200 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30201 if test "x$ac_cv_func__modf" = x""yes; then :
30202 cat >>confdefs.h <<_ACEOF
30203 #define HAVE__MODF 1
30204 _ACEOF
30205
30206 fi
30207 done
30208
30209 fi
30210 fi
30211
30212
30213
30214
30215
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30217 $as_echo_n "checking for powf declaration... " >&6; }
30218 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30219 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30220 $as_echo_n "(cached) " >&6
30221 else
30222
30223
30224 ac_ext=cpp
30225 ac_cpp='$CXXCPP $CPPFLAGS'
30226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30229
30230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h. */
30232 #include <math.h>
30233 int
30234 main ()
30235 {
30236 powf(0, 0);
30237 ;
30238 return 0;
30239 }
30240 _ACEOF
30241 if ac_fn_cxx_try_compile "$LINENO"; then :
30242 glibcxx_cv_func_powf_use=yes
30243 else
30244 glibcxx_cv_func_powf_use=no
30245 fi
30246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30247 ac_ext=c
30248 ac_cpp='$CPP $CPPFLAGS'
30249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30252
30253
30254 fi
30255
30256 fi
30257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30258 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30259
30260 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30261 for ac_func in powf
30262 do :
30263 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30264 if test "x$ac_cv_func_powf" = x""yes; then :
30265 cat >>confdefs.h <<_ACEOF
30266 #define HAVE_POWF 1
30267 _ACEOF
30268
30269 fi
30270 done
30271
30272 else
30273
30274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30275 $as_echo_n "checking for _powf declaration... " >&6; }
30276 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30277 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30278 $as_echo_n "(cached) " >&6
30279 else
30280
30281
30282 ac_ext=cpp
30283 ac_cpp='$CXXCPP $CPPFLAGS'
30284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30290 #include <math.h>
30291 int
30292 main ()
30293 {
30294 _powf(0, 0);
30295 ;
30296 return 0;
30297 }
30298 _ACEOF
30299 if ac_fn_cxx_try_compile "$LINENO"; then :
30300 glibcxx_cv_func__powf_use=yes
30301 else
30302 glibcxx_cv_func__powf_use=no
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30305 ac_ext=c
30306 ac_cpp='$CPP $CPPFLAGS'
30307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310
30311
30312 fi
30313
30314 fi
30315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30316 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30317
30318 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30319 for ac_func in _powf
30320 do :
30321 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30322 if test "x$ac_cv_func__powf" = x""yes; then :
30323 cat >>confdefs.h <<_ACEOF
30324 #define HAVE__POWF 1
30325 _ACEOF
30326
30327 fi
30328 done
30329
30330 fi
30331 fi
30332
30333
30334
30335
30336
30337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30338 $as_echo_n "checking for sqrtf declaration... " >&6; }
30339 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30340 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30341 $as_echo_n "(cached) " >&6
30342 else
30343
30344
30345 ac_ext=cpp
30346 ac_cpp='$CXXCPP $CPPFLAGS'
30347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30350
30351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30352 /* end confdefs.h. */
30353 #include <math.h>
30354 #ifdef HAVE_IEEEFP_H
30355 #include <ieeefp.h>
30356 #endif
30357
30358 int
30359 main ()
30360 {
30361 sqrtf(0);
30362 ;
30363 return 0;
30364 }
30365 _ACEOF
30366 if ac_fn_cxx_try_compile "$LINENO"; then :
30367 glibcxx_cv_func_sqrtf_use=yes
30368 else
30369 glibcxx_cv_func_sqrtf_use=no
30370 fi
30371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30372 ac_ext=c
30373 ac_cpp='$CPP $CPPFLAGS'
30374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30377
30378
30379 fi
30380
30381 fi
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30383 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30384
30385 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30386 for ac_func in sqrtf
30387 do :
30388 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30389 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30390 cat >>confdefs.h <<_ACEOF
30391 #define HAVE_SQRTF 1
30392 _ACEOF
30393
30394 fi
30395 done
30396
30397 else
30398
30399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30400 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30401 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30402 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30403 $as_echo_n "(cached) " >&6
30404 else
30405
30406
30407 ac_ext=cpp
30408 ac_cpp='$CXXCPP $CPPFLAGS'
30409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30412
30413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30414 /* end confdefs.h. */
30415 #include <math.h>
30416 #ifdef HAVE_IEEEFP_H
30417 #include <ieeefp.h>
30418 #endif
30419
30420 int
30421 main ()
30422 {
30423 _sqrtf(0);
30424 ;
30425 return 0;
30426 }
30427 _ACEOF
30428 if ac_fn_cxx_try_compile "$LINENO"; then :
30429 glibcxx_cv_func__sqrtf_use=yes
30430 else
30431 glibcxx_cv_func__sqrtf_use=no
30432 fi
30433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30434 ac_ext=c
30435 ac_cpp='$CPP $CPPFLAGS'
30436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30439
30440
30441 fi
30442
30443 fi
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30445 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30446
30447 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30448 for ac_func in _sqrtf
30449 do :
30450 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30451 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30452 cat >>confdefs.h <<_ACEOF
30453 #define HAVE__SQRTF 1
30454 _ACEOF
30455
30456 fi
30457 done
30458
30459 fi
30460 fi
30461
30462
30463
30464
30465
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30467 $as_echo_n "checking for sincosf declaration... " >&6; }
30468 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30469 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30470 $as_echo_n "(cached) " >&6
30471 else
30472
30473
30474 ac_ext=cpp
30475 ac_cpp='$CXXCPP $CPPFLAGS'
30476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30479
30480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30481 /* end confdefs.h. */
30482 #include <math.h>
30483 int
30484 main ()
30485 {
30486 sincosf(0, 0, 0);
30487 ;
30488 return 0;
30489 }
30490 _ACEOF
30491 if ac_fn_cxx_try_compile "$LINENO"; then :
30492 glibcxx_cv_func_sincosf_use=yes
30493 else
30494 glibcxx_cv_func_sincosf_use=no
30495 fi
30496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30497 ac_ext=c
30498 ac_cpp='$CPP $CPPFLAGS'
30499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30502
30503
30504 fi
30505
30506 fi
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30508 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30509
30510 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30511 for ac_func in sincosf
30512 do :
30513 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30514 if test "x$ac_cv_func_sincosf" = x""yes; then :
30515 cat >>confdefs.h <<_ACEOF
30516 #define HAVE_SINCOSF 1
30517 _ACEOF
30518
30519 fi
30520 done
30521
30522 else
30523
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30525 $as_echo_n "checking for _sincosf declaration... " >&6; }
30526 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30527 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30528 $as_echo_n "(cached) " >&6
30529 else
30530
30531
30532 ac_ext=cpp
30533 ac_cpp='$CXXCPP $CPPFLAGS'
30534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30537
30538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30539 /* end confdefs.h. */
30540 #include <math.h>
30541 int
30542 main ()
30543 {
30544 _sincosf(0, 0, 0);
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 if ac_fn_cxx_try_compile "$LINENO"; then :
30550 glibcxx_cv_func__sincosf_use=yes
30551 else
30552 glibcxx_cv_func__sincosf_use=no
30553 fi
30554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30555 ac_ext=c
30556 ac_cpp='$CPP $CPPFLAGS'
30557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560
30561
30562 fi
30563
30564 fi
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30566 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30567
30568 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30569 for ac_func in _sincosf
30570 do :
30571 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30572 if test "x$ac_cv_func__sincosf" = x""yes; then :
30573 cat >>confdefs.h <<_ACEOF
30574 #define HAVE__SINCOSF 1
30575 _ACEOF
30576
30577 fi
30578 done
30579
30580 fi
30581 fi
30582
30583
30584
30585
30586
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30588 $as_echo_n "checking for finitef declaration... " >&6; }
30589 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30590 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30591 $as_echo_n "(cached) " >&6
30592 else
30593
30594
30595 ac_ext=cpp
30596 ac_cpp='$CXXCPP $CPPFLAGS'
30597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600
30601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30602 /* end confdefs.h. */
30603 #include <math.h>
30604 #ifdef HAVE_IEEEFP_H
30605 #include <ieeefp.h>
30606 #endif
30607
30608 int
30609 main ()
30610 {
30611 finitef(0);
30612 ;
30613 return 0;
30614 }
30615 _ACEOF
30616 if ac_fn_cxx_try_compile "$LINENO"; then :
30617 glibcxx_cv_func_finitef_use=yes
30618 else
30619 glibcxx_cv_func_finitef_use=no
30620 fi
30621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30622 ac_ext=c
30623 ac_cpp='$CPP $CPPFLAGS'
30624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30627
30628
30629 fi
30630
30631 fi
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30633 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30634
30635 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30636 for ac_func in finitef
30637 do :
30638 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30639 if test "x$ac_cv_func_finitef" = x""yes; then :
30640 cat >>confdefs.h <<_ACEOF
30641 #define HAVE_FINITEF 1
30642 _ACEOF
30643
30644 fi
30645 done
30646
30647 else
30648
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30650 $as_echo_n "checking for _finitef declaration... " >&6; }
30651 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30652 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30653 $as_echo_n "(cached) " >&6
30654 else
30655
30656
30657 ac_ext=cpp
30658 ac_cpp='$CXXCPP $CPPFLAGS'
30659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662
30663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30664 /* end confdefs.h. */
30665 #include <math.h>
30666 #ifdef HAVE_IEEEFP_H
30667 #include <ieeefp.h>
30668 #endif
30669
30670 int
30671 main ()
30672 {
30673 _finitef(0);
30674 ;
30675 return 0;
30676 }
30677 _ACEOF
30678 if ac_fn_cxx_try_compile "$LINENO"; then :
30679 glibcxx_cv_func__finitef_use=yes
30680 else
30681 glibcxx_cv_func__finitef_use=no
30682 fi
30683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30684 ac_ext=c
30685 ac_cpp='$CPP $CPPFLAGS'
30686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30689
30690
30691 fi
30692
30693 fi
30694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30695 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30696
30697 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30698 for ac_func in _finitef
30699 do :
30700 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30701 if test "x$ac_cv_func__finitef" = x""yes; then :
30702 cat >>confdefs.h <<_ACEOF
30703 #define HAVE__FINITEF 1
30704 _ACEOF
30705
30706 fi
30707 done
30708
30709 fi
30710 fi
30711
30712
30713
30714
30715
30716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30717 $as_echo_n "checking for long double trig functions... " >&6; }
30718 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30719 $as_echo_n "(cached) " >&6
30720 else
30721
30722
30723 ac_ext=cpp
30724 ac_cpp='$CXXCPP $CPPFLAGS'
30725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728
30729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30731 #include <math.h>
30732 int
30733 main ()
30734 {
30735 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 if ac_fn_cxx_try_compile "$LINENO"; then :
30741 glibcxx_cv_func_long_double_trig_use=yes
30742 else
30743 glibcxx_cv_func_long_double_trig_use=no
30744 fi
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746 ac_ext=c
30747 ac_cpp='$CPP $CPPFLAGS'
30748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751
30752 fi
30753
30754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30755 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30756 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30757 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30758 do :
30759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30761 eval as_val=\$$as_ac_var
30762 if test "x$as_val" = x""yes; then :
30763 cat >>confdefs.h <<_ACEOF
30764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30765 _ACEOF
30766
30767 fi
30768 done
30769
30770 else
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30772 $as_echo_n "checking for _long double trig functions... " >&6; }
30773 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30774 $as_echo_n "(cached) " >&6
30775 else
30776
30777
30778 ac_ext=cpp
30779 ac_cpp='$CXXCPP $CPPFLAGS'
30780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783
30784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30786 #include <math.h>
30787 int
30788 main ()
30789 {
30790 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30791 ;
30792 return 0;
30793 }
30794 _ACEOF
30795 if ac_fn_cxx_try_compile "$LINENO"; then :
30796 glibcxx_cv_func__long_double_trig_use=yes
30797 else
30798 glibcxx_cv_func__long_double_trig_use=no
30799 fi
30800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30801 ac_ext=c
30802 ac_cpp='$CPP $CPPFLAGS'
30803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806
30807 fi
30808
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30810 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30811 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30812 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30813 do :
30814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30816 eval as_val=\$$as_ac_var
30817 if test "x$as_val" = x""yes; then :
30818 cat >>confdefs.h <<_ACEOF
30819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30820 _ACEOF
30821
30822 fi
30823 done
30824
30825 fi
30826 fi
30827
30828
30829
30830
30831
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30833 $as_echo_n "checking for long double round functions... " >&6; }
30834 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30835 $as_echo_n "(cached) " >&6
30836 else
30837
30838
30839 ac_ext=cpp
30840 ac_cpp='$CXXCPP $CPPFLAGS'
30841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844
30845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30846 /* end confdefs.h. */
30847 #include <math.h>
30848 int
30849 main ()
30850 {
30851 ceill (0); floorl (0);
30852 ;
30853 return 0;
30854 }
30855 _ACEOF
30856 if ac_fn_cxx_try_compile "$LINENO"; then :
30857 glibcxx_cv_func_long_double_round_use=yes
30858 else
30859 glibcxx_cv_func_long_double_round_use=no
30860 fi
30861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30862 ac_ext=c
30863 ac_cpp='$CPP $CPPFLAGS'
30864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30867
30868 fi
30869
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30871 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30872 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30873 for ac_func in ceill floorl
30874 do :
30875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30877 eval as_val=\$$as_ac_var
30878 if test "x$as_val" = x""yes; then :
30879 cat >>confdefs.h <<_ACEOF
30880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30881 _ACEOF
30882
30883 fi
30884 done
30885
30886 else
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30888 $as_echo_n "checking for _long double round functions... " >&6; }
30889 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30892
30893
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30903 int
30904 main ()
30905 {
30906 _ceill (0); _floorl (0);
30907 ;
30908 return 0;
30909 }
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__long_double_round_use=yes
30913 else
30914 glibcxx_cv_func__long_double_round_use=no
30915 fi
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30922
30923 fi
30924
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30926 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30927 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30928 for ac_func in _ceill _floorl
30929 do :
30930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30932 eval as_val=\$$as_ac_var
30933 if test "x$as_val" = x""yes; then :
30934 cat >>confdefs.h <<_ACEOF
30935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941 fi
30942 fi
30943
30944
30945
30946
30947
30948
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30950 $as_echo_n "checking for isnanl declaration... " >&6; }
30951 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30952 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30955
30956
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30962
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30966 #ifdef HAVE_IEEEFP_H
30967 #include <ieeefp.h>
30968 #endif
30969
30970 int
30971 main ()
30972 {
30973 isnanl(0);
30974 ;
30975 return 0;
30976 }
30977 _ACEOF
30978 if ac_fn_cxx_try_compile "$LINENO"; then :
30979 glibcxx_cv_func_isnanl_use=yes
30980 else
30981 glibcxx_cv_func_isnanl_use=no
30982 fi
30983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984 ac_ext=c
30985 ac_cpp='$CPP $CPPFLAGS'
30986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30989
30990
30991 fi
30992
30993 fi
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30995 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30996
30997 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30998 for ac_func in isnanl
30999 do :
31000 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31001 if test "x$ac_cv_func_isnanl" = x""yes; then :
31002 cat >>confdefs.h <<_ACEOF
31003 #define HAVE_ISNANL 1
31004 _ACEOF
31005
31006 fi
31007 done
31008
31009 else
31010
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31012 $as_echo_n "checking for _isnanl declaration... " >&6; }
31013 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31014 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31015 $as_echo_n "(cached) " >&6
31016 else
31017
31018
31019 ac_ext=cpp
31020 ac_cpp='$CXXCPP $CPPFLAGS'
31021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31024
31025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31026 /* end confdefs.h. */
31027 #include <math.h>
31028 #ifdef HAVE_IEEEFP_H
31029 #include <ieeefp.h>
31030 #endif
31031
31032 int
31033 main ()
31034 {
31035 _isnanl(0);
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__isnanl_use=yes
31042 else
31043 glibcxx_cv_func__isnanl_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055 fi
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31057 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31058
31059 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31060 for ac_func in _isnanl
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31063 if test "x$ac_cv_func__isnanl" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__ISNANL 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071 fi
31072 fi
31073
31074
31075
31076
31077
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31079 $as_echo_n "checking for isinfl declaration... " >&6; }
31080 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31081 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31084
31085
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31095 #ifdef HAVE_IEEEFP_H
31096 #include <ieeefp.h>
31097 #endif
31098
31099 int
31100 main ()
31101 {
31102 isinfl(0);
31103 ;
31104 return 0;
31105 }
31106 _ACEOF
31107 if ac_fn_cxx_try_compile "$LINENO"; then :
31108 glibcxx_cv_func_isinfl_use=yes
31109 else
31110 glibcxx_cv_func_isinfl_use=no
31111 fi
31112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31113 ac_ext=c
31114 ac_cpp='$CPP $CPPFLAGS'
31115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31118
31119
31120 fi
31121
31122 fi
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31124 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31125
31126 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31127 for ac_func in isinfl
31128 do :
31129 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31130 if test "x$ac_cv_func_isinfl" = x""yes; then :
31131 cat >>confdefs.h <<_ACEOF
31132 #define HAVE_ISINFL 1
31133 _ACEOF
31134
31135 fi
31136 done
31137
31138 else
31139
31140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31141 $as_echo_n "checking for _isinfl declaration... " >&6; }
31142 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31143 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31144 $as_echo_n "(cached) " >&6
31145 else
31146
31147
31148 ac_ext=cpp
31149 ac_cpp='$CXXCPP $CPPFLAGS'
31150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31153
31154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31155 /* end confdefs.h. */
31156 #include <math.h>
31157 #ifdef HAVE_IEEEFP_H
31158 #include <ieeefp.h>
31159 #endif
31160
31161 int
31162 main ()
31163 {
31164 _isinfl(0);
31165 ;
31166 return 0;
31167 }
31168 _ACEOF
31169 if ac_fn_cxx_try_compile "$LINENO"; then :
31170 glibcxx_cv_func__isinfl_use=yes
31171 else
31172 glibcxx_cv_func__isinfl_use=no
31173 fi
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175 ac_ext=c
31176 ac_cpp='$CPP $CPPFLAGS'
31177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31180
31181
31182 fi
31183
31184 fi
31185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31186 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31187
31188 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31189 for ac_func in _isinfl
31190 do :
31191 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31192 if test "x$ac_cv_func__isinfl" = x""yes; then :
31193 cat >>confdefs.h <<_ACEOF
31194 #define HAVE__ISINFL 1
31195 _ACEOF
31196
31197 fi
31198 done
31199
31200 fi
31201 fi
31202
31203
31204
31205
31206
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31208 $as_echo_n "checking for atan2l declaration... " >&6; }
31209 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31210 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31211 $as_echo_n "(cached) " >&6
31212 else
31213
31214
31215 ac_ext=cpp
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220
31221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222 /* end confdefs.h. */
31223 #include <math.h>
31224 int
31225 main ()
31226 {
31227 atan2l(0, 0);
31228 ;
31229 return 0;
31230 }
31231 _ACEOF
31232 if ac_fn_cxx_try_compile "$LINENO"; then :
31233 glibcxx_cv_func_atan2l_use=yes
31234 else
31235 glibcxx_cv_func_atan2l_use=no
31236 fi
31237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31238 ac_ext=c
31239 ac_cpp='$CPP $CPPFLAGS'
31240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243
31244
31245 fi
31246
31247 fi
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31249 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31250
31251 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31252 for ac_func in atan2l
31253 do :
31254 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31255 if test "x$ac_cv_func_atan2l" = x""yes; then :
31256 cat >>confdefs.h <<_ACEOF
31257 #define HAVE_ATAN2L 1
31258 _ACEOF
31259
31260 fi
31261 done
31262
31263 else
31264
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31266 $as_echo_n "checking for _atan2l declaration... " >&6; }
31267 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31268 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31269 $as_echo_n "(cached) " >&6
31270 else
31271
31272
31273 ac_ext=cpp
31274 ac_cpp='$CXXCPP $CPPFLAGS'
31275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31278
31279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31280 /* end confdefs.h. */
31281 #include <math.h>
31282 int
31283 main ()
31284 {
31285 _atan2l(0, 0);
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func__atan2l_use=yes
31292 else
31293 glibcxx_cv_func__atan2l_use=no
31294 fi
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301
31302
31303 fi
31304
31305 fi
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31307 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31308
31309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31310 for ac_func in _atan2l
31311 do :
31312 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31313 if test "x$ac_cv_func__atan2l" = x""yes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE__ATAN2L 1
31316 _ACEOF
31317
31318 fi
31319 done
31320
31321 fi
31322 fi
31323
31324
31325
31326
31327
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31329 $as_echo_n "checking for expl declaration... " >&6; }
31330 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31331 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31332 $as_echo_n "(cached) " >&6
31333 else
31334
31335
31336 ac_ext=cpp
31337 ac_cpp='$CXXCPP $CPPFLAGS'
31338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341
31342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343 /* end confdefs.h. */
31344 #include <math.h>
31345 #ifdef HAVE_IEEEFP_H
31346 #include <ieeefp.h>
31347 #endif
31348
31349 int
31350 main ()
31351 {
31352 expl(0);
31353 ;
31354 return 0;
31355 }
31356 _ACEOF
31357 if ac_fn_cxx_try_compile "$LINENO"; then :
31358 glibcxx_cv_func_expl_use=yes
31359 else
31360 glibcxx_cv_func_expl_use=no
31361 fi
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363 ac_ext=c
31364 ac_cpp='$CPP $CPPFLAGS'
31365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368
31369
31370 fi
31371
31372 fi
31373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31374 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31375
31376 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31377 for ac_func in expl
31378 do :
31379 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31380 if test "x$ac_cv_func_expl" = x""yes; then :
31381 cat >>confdefs.h <<_ACEOF
31382 #define HAVE_EXPL 1
31383 _ACEOF
31384
31385 fi
31386 done
31387
31388 else
31389
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31391 $as_echo_n "checking for _expl declaration... " >&6; }
31392 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31393 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31394 $as_echo_n "(cached) " >&6
31395 else
31396
31397
31398 ac_ext=cpp
31399 ac_cpp='$CXXCPP $CPPFLAGS'
31400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31403
31404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405 /* end confdefs.h. */
31406 #include <math.h>
31407 #ifdef HAVE_IEEEFP_H
31408 #include <ieeefp.h>
31409 #endif
31410
31411 int
31412 main ()
31413 {
31414 _expl(0);
31415 ;
31416 return 0;
31417 }
31418 _ACEOF
31419 if ac_fn_cxx_try_compile "$LINENO"; then :
31420 glibcxx_cv_func__expl_use=yes
31421 else
31422 glibcxx_cv_func__expl_use=no
31423 fi
31424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31425 ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430
31431
31432 fi
31433
31434 fi
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31436 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31437
31438 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31439 for ac_func in _expl
31440 do :
31441 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31442 if test "x$ac_cv_func__expl" = x""yes; then :
31443 cat >>confdefs.h <<_ACEOF
31444 #define HAVE__EXPL 1
31445 _ACEOF
31446
31447 fi
31448 done
31449
31450 fi
31451 fi
31452
31453
31454
31455
31456
31457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31458 $as_echo_n "checking for fabsl declaration... " >&6; }
31459 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31460 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31461 $as_echo_n "(cached) " >&6
31462 else
31463
31464
31465 ac_ext=cpp
31466 ac_cpp='$CXXCPP $CPPFLAGS'
31467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31470
31471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31472 /* end confdefs.h. */
31473 #include <math.h>
31474 #ifdef HAVE_IEEEFP_H
31475 #include <ieeefp.h>
31476 #endif
31477
31478 int
31479 main ()
31480 {
31481 fabsl(0);
31482 ;
31483 return 0;
31484 }
31485 _ACEOF
31486 if ac_fn_cxx_try_compile "$LINENO"; then :
31487 glibcxx_cv_func_fabsl_use=yes
31488 else
31489 glibcxx_cv_func_fabsl_use=no
31490 fi
31491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31492 ac_ext=c
31493 ac_cpp='$CPP $CPPFLAGS'
31494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31497
31498
31499 fi
31500
31501 fi
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31503 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31504
31505 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31506 for ac_func in fabsl
31507 do :
31508 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31509 if test "x$ac_cv_func_fabsl" = x""yes; then :
31510 cat >>confdefs.h <<_ACEOF
31511 #define HAVE_FABSL 1
31512 _ACEOF
31513
31514 fi
31515 done
31516
31517 else
31518
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31520 $as_echo_n "checking for _fabsl declaration... " >&6; }
31521 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31522 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31523 $as_echo_n "(cached) " >&6
31524 else
31525
31526
31527 ac_ext=cpp
31528 ac_cpp='$CXXCPP $CPPFLAGS'
31529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31532
31533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31534 /* end confdefs.h. */
31535 #include <math.h>
31536 #ifdef HAVE_IEEEFP_H
31537 #include <ieeefp.h>
31538 #endif
31539
31540 int
31541 main ()
31542 {
31543 _fabsl(0);
31544 ;
31545 return 0;
31546 }
31547 _ACEOF
31548 if ac_fn_cxx_try_compile "$LINENO"; then :
31549 glibcxx_cv_func__fabsl_use=yes
31550 else
31551 glibcxx_cv_func__fabsl_use=no
31552 fi
31553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31554 ac_ext=c
31555 ac_cpp='$CPP $CPPFLAGS'
31556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559
31560
31561 fi
31562
31563 fi
31564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31565 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31566
31567 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31568 for ac_func in _fabsl
31569 do :
31570 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31571 if test "x$ac_cv_func__fabsl" = x""yes; then :
31572 cat >>confdefs.h <<_ACEOF
31573 #define HAVE__FABSL 1
31574 _ACEOF
31575
31576 fi
31577 done
31578
31579 fi
31580 fi
31581
31582
31583
31584
31585
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31587 $as_echo_n "checking for fmodl declaration... " >&6; }
31588 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31589 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31590 $as_echo_n "(cached) " >&6
31591 else
31592
31593
31594 ac_ext=cpp
31595 ac_cpp='$CXXCPP $CPPFLAGS'
31596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31599
31600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31601 /* end confdefs.h. */
31602 #include <math.h>
31603 int
31604 main ()
31605 {
31606 fmodl(0, 0);
31607 ;
31608 return 0;
31609 }
31610 _ACEOF
31611 if ac_fn_cxx_try_compile "$LINENO"; then :
31612 glibcxx_cv_func_fmodl_use=yes
31613 else
31614 glibcxx_cv_func_fmodl_use=no
31615 fi
31616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31617 ac_ext=c
31618 ac_cpp='$CPP $CPPFLAGS'
31619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31622
31623
31624 fi
31625
31626 fi
31627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31628 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31629
31630 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31631 for ac_func in fmodl
31632 do :
31633 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31634 if test "x$ac_cv_func_fmodl" = x""yes; then :
31635 cat >>confdefs.h <<_ACEOF
31636 #define HAVE_FMODL 1
31637 _ACEOF
31638
31639 fi
31640 done
31641
31642 else
31643
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31645 $as_echo_n "checking for _fmodl declaration... " >&6; }
31646 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31647 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31648 $as_echo_n "(cached) " >&6
31649 else
31650
31651
31652 ac_ext=cpp
31653 ac_cpp='$CXXCPP $CPPFLAGS'
31654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31657
31658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31659 /* end confdefs.h. */
31660 #include <math.h>
31661 int
31662 main ()
31663 {
31664 _fmodl(0, 0);
31665 ;
31666 return 0;
31667 }
31668 _ACEOF
31669 if ac_fn_cxx_try_compile "$LINENO"; then :
31670 glibcxx_cv_func__fmodl_use=yes
31671 else
31672 glibcxx_cv_func__fmodl_use=no
31673 fi
31674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31675 ac_ext=c
31676 ac_cpp='$CPP $CPPFLAGS'
31677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31680
31681
31682 fi
31683
31684 fi
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31686 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31687
31688 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31689 for ac_func in _fmodl
31690 do :
31691 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31692 if test "x$ac_cv_func__fmodl" = x""yes; then :
31693 cat >>confdefs.h <<_ACEOF
31694 #define HAVE__FMODL 1
31695 _ACEOF
31696
31697 fi
31698 done
31699
31700 fi
31701 fi
31702
31703
31704
31705
31706
31707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31708 $as_echo_n "checking for frexpl declaration... " >&6; }
31709 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31710 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31711 $as_echo_n "(cached) " >&6
31712 else
31713
31714
31715 ac_ext=cpp
31716 ac_cpp='$CXXCPP $CPPFLAGS'
31717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31720
31721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31722 /* end confdefs.h. */
31723 #include <math.h>
31724 int
31725 main ()
31726 {
31727 frexpl(0, 0);
31728 ;
31729 return 0;
31730 }
31731 _ACEOF
31732 if ac_fn_cxx_try_compile "$LINENO"; then :
31733 glibcxx_cv_func_frexpl_use=yes
31734 else
31735 glibcxx_cv_func_frexpl_use=no
31736 fi
31737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31738 ac_ext=c
31739 ac_cpp='$CPP $CPPFLAGS'
31740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31743
31744
31745 fi
31746
31747 fi
31748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31749 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31750
31751 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31752 for ac_func in frexpl
31753 do :
31754 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31755 if test "x$ac_cv_func_frexpl" = x""yes; then :
31756 cat >>confdefs.h <<_ACEOF
31757 #define HAVE_FREXPL 1
31758 _ACEOF
31759
31760 fi
31761 done
31762
31763 else
31764
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31766 $as_echo_n "checking for _frexpl declaration... " >&6; }
31767 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31768 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31769 $as_echo_n "(cached) " >&6
31770 else
31771
31772
31773 ac_ext=cpp
31774 ac_cpp='$CXXCPP $CPPFLAGS'
31775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31778
31779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31780 /* end confdefs.h. */
31781 #include <math.h>
31782 int
31783 main ()
31784 {
31785 _frexpl(0, 0);
31786 ;
31787 return 0;
31788 }
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791 glibcxx_cv_func__frexpl_use=yes
31792 else
31793 glibcxx_cv_func__frexpl_use=no
31794 fi
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796 ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801
31802
31803 fi
31804
31805 fi
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31807 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31808
31809 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31810 for ac_func in _frexpl
31811 do :
31812 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31813 if test "x$ac_cv_func__frexpl" = x""yes; then :
31814 cat >>confdefs.h <<_ACEOF
31815 #define HAVE__FREXPL 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821 fi
31822 fi
31823
31824
31825
31826
31827
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31829 $as_echo_n "checking for hypotl declaration... " >&6; }
31830 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31831 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31832 $as_echo_n "(cached) " >&6
31833 else
31834
31835
31836 ac_ext=cpp
31837 ac_cpp='$CXXCPP $CPPFLAGS'
31838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841
31842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31843 /* end confdefs.h. */
31844 #include <math.h>
31845 int
31846 main ()
31847 {
31848 hypotl(0, 0);
31849 ;
31850 return 0;
31851 }
31852 _ACEOF
31853 if ac_fn_cxx_try_compile "$LINENO"; then :
31854 glibcxx_cv_func_hypotl_use=yes
31855 else
31856 glibcxx_cv_func_hypotl_use=no
31857 fi
31858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859 ac_ext=c
31860 ac_cpp='$CPP $CPPFLAGS'
31861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864
31865
31866 fi
31867
31868 fi
31869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31870 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31871
31872 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31873 for ac_func in hypotl
31874 do :
31875 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31876 if test "x$ac_cv_func_hypotl" = x""yes; then :
31877 cat >>confdefs.h <<_ACEOF
31878 #define HAVE_HYPOTL 1
31879 _ACEOF
31880
31881 fi
31882 done
31883
31884 else
31885
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31887 $as_echo_n "checking for _hypotl declaration... " >&6; }
31888 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31889 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31890 $as_echo_n "(cached) " >&6
31891 else
31892
31893
31894 ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899
31900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h. */
31902 #include <math.h>
31903 int
31904 main ()
31905 {
31906 _hypotl(0, 0);
31907 ;
31908 return 0;
31909 }
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func__hypotl_use=yes
31913 else
31914 glibcxx_cv_func__hypotl_use=no
31915 fi
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922
31923
31924 fi
31925
31926 fi
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31928 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31929
31930 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31931 for ac_func in _hypotl
31932 do :
31933 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31934 if test "x$ac_cv_func__hypotl" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE__HYPOTL 1
31937 _ACEOF
31938
31939 fi
31940 done
31941
31942 fi
31943 fi
31944
31945
31946
31947
31948
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31950 $as_echo_n "checking for ldexpl declaration... " >&6; }
31951 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31952 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31953 $as_echo_n "(cached) " >&6
31954 else
31955
31956
31957 ac_ext=cpp
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962
31963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964 /* end confdefs.h. */
31965 #include <math.h>
31966 int
31967 main ()
31968 {
31969 ldexpl(0, 0);
31970 ;
31971 return 0;
31972 }
31973 _ACEOF
31974 if ac_fn_cxx_try_compile "$LINENO"; then :
31975 glibcxx_cv_func_ldexpl_use=yes
31976 else
31977 glibcxx_cv_func_ldexpl_use=no
31978 fi
31979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31980 ac_ext=c
31981 ac_cpp='$CPP $CPPFLAGS'
31982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985
31986
31987 fi
31988
31989 fi
31990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31991 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31992
31993 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31994 for ac_func in ldexpl
31995 do :
31996 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31997 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31998 cat >>confdefs.h <<_ACEOF
31999 #define HAVE_LDEXPL 1
32000 _ACEOF
32001
32002 fi
32003 done
32004
32005 else
32006
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32008 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32010 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32011 $as_echo_n "(cached) " >&6
32012 else
32013
32014
32015 ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020
32021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h. */
32023 #include <math.h>
32024 int
32025 main ()
32026 {
32027 _ldexpl(0, 0);
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func__ldexpl_use=yes
32034 else
32035 glibcxx_cv_func__ldexpl_use=no
32036 fi
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043
32044
32045 fi
32046
32047 fi
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32049 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32050
32051 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32052 for ac_func in _ldexpl
32053 do :
32054 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32055 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE__LDEXPL 1
32058 _ACEOF
32059
32060 fi
32061 done
32062
32063 fi
32064 fi
32065
32066
32067
32068
32069
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32071 $as_echo_n "checking for logl declaration... " >&6; }
32072 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32073 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32074 $as_echo_n "(cached) " >&6
32075 else
32076
32077
32078 ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083
32084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h. */
32086 #include <math.h>
32087 #ifdef HAVE_IEEEFP_H
32088 #include <ieeefp.h>
32089 #endif
32090
32091 int
32092 main ()
32093 {
32094 logl(0);
32095 ;
32096 return 0;
32097 }
32098 _ACEOF
32099 if ac_fn_cxx_try_compile "$LINENO"; then :
32100 glibcxx_cv_func_logl_use=yes
32101 else
32102 glibcxx_cv_func_logl_use=no
32103 fi
32104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32105 ac_ext=c
32106 ac_cpp='$CPP $CPPFLAGS'
32107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32110
32111
32112 fi
32113
32114 fi
32115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32116 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32117
32118 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32119 for ac_func in logl
32120 do :
32121 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32122 if test "x$ac_cv_func_logl" = x""yes; then :
32123 cat >>confdefs.h <<_ACEOF
32124 #define HAVE_LOGL 1
32125 _ACEOF
32126
32127 fi
32128 done
32129
32130 else
32131
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32133 $as_echo_n "checking for _logl declaration... " >&6; }
32134 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32135 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32136 $as_echo_n "(cached) " >&6
32137 else
32138
32139
32140 ac_ext=cpp
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145
32146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147 /* end confdefs.h. */
32148 #include <math.h>
32149 #ifdef HAVE_IEEEFP_H
32150 #include <ieeefp.h>
32151 #endif
32152
32153 int
32154 main ()
32155 {
32156 _logl(0);
32157 ;
32158 return 0;
32159 }
32160 _ACEOF
32161 if ac_fn_cxx_try_compile "$LINENO"; then :
32162 glibcxx_cv_func__logl_use=yes
32163 else
32164 glibcxx_cv_func__logl_use=no
32165 fi
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167 ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32172
32173
32174 fi
32175
32176 fi
32177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32178 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32179
32180 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32181 for ac_func in _logl
32182 do :
32183 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32184 if test "x$ac_cv_func__logl" = x""yes; then :
32185 cat >>confdefs.h <<_ACEOF
32186 #define HAVE__LOGL 1
32187 _ACEOF
32188
32189 fi
32190 done
32191
32192 fi
32193 fi
32194
32195
32196
32197
32198
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32200 $as_echo_n "checking for log10l declaration... " >&6; }
32201 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32202 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32203 $as_echo_n "(cached) " >&6
32204 else
32205
32206
32207 ac_ext=cpp
32208 ac_cpp='$CXXCPP $CPPFLAGS'
32209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32212
32213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32214 /* end confdefs.h. */
32215 #include <math.h>
32216 #ifdef HAVE_IEEEFP_H
32217 #include <ieeefp.h>
32218 #endif
32219
32220 int
32221 main ()
32222 {
32223 log10l(0);
32224 ;
32225 return 0;
32226 }
32227 _ACEOF
32228 if ac_fn_cxx_try_compile "$LINENO"; then :
32229 glibcxx_cv_func_log10l_use=yes
32230 else
32231 glibcxx_cv_func_log10l_use=no
32232 fi
32233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32234 ac_ext=c
32235 ac_cpp='$CPP $CPPFLAGS'
32236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239
32240
32241 fi
32242
32243 fi
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32245 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32246
32247 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32248 for ac_func in log10l
32249 do :
32250 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32251 if test "x$ac_cv_func_log10l" = x""yes; then :
32252 cat >>confdefs.h <<_ACEOF
32253 #define HAVE_LOG10L 1
32254 _ACEOF
32255
32256 fi
32257 done
32258
32259 else
32260
32261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32262 $as_echo_n "checking for _log10l declaration... " >&6; }
32263 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32264 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32265 $as_echo_n "(cached) " >&6
32266 else
32267
32268
32269 ac_ext=cpp
32270 ac_cpp='$CXXCPP $CPPFLAGS'
32271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274
32275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32276 /* end confdefs.h. */
32277 #include <math.h>
32278 #ifdef HAVE_IEEEFP_H
32279 #include <ieeefp.h>
32280 #endif
32281
32282 int
32283 main ()
32284 {
32285 _log10l(0);
32286 ;
32287 return 0;
32288 }
32289 _ACEOF
32290 if ac_fn_cxx_try_compile "$LINENO"; then :
32291 glibcxx_cv_func__log10l_use=yes
32292 else
32293 glibcxx_cv_func__log10l_use=no
32294 fi
32295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32296 ac_ext=c
32297 ac_cpp='$CPP $CPPFLAGS'
32298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32301
32302
32303 fi
32304
32305 fi
32306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32307 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32308
32309 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32310 for ac_func in _log10l
32311 do :
32312 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32313 if test "x$ac_cv_func__log10l" = x""yes; then :
32314 cat >>confdefs.h <<_ACEOF
32315 #define HAVE__LOG10L 1
32316 _ACEOF
32317
32318 fi
32319 done
32320
32321 fi
32322 fi
32323
32324
32325
32326
32327
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32329 $as_echo_n "checking for modfl declaration... " >&6; }
32330 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32331 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32332 $as_echo_n "(cached) " >&6
32333 else
32334
32335
32336 ac_ext=cpp
32337 ac_cpp='$CXXCPP $CPPFLAGS'
32338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32341
32342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32343 /* end confdefs.h. */
32344 #include <math.h>
32345 int
32346 main ()
32347 {
32348 modfl(0, 0);
32349 ;
32350 return 0;
32351 }
32352 _ACEOF
32353 if ac_fn_cxx_try_compile "$LINENO"; then :
32354 glibcxx_cv_func_modfl_use=yes
32355 else
32356 glibcxx_cv_func_modfl_use=no
32357 fi
32358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32359 ac_ext=c
32360 ac_cpp='$CPP $CPPFLAGS'
32361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32364
32365
32366 fi
32367
32368 fi
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32370 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32371
32372 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32373 for ac_func in modfl
32374 do :
32375 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32376 if test "x$ac_cv_func_modfl" = x""yes; then :
32377 cat >>confdefs.h <<_ACEOF
32378 #define HAVE_MODFL 1
32379 _ACEOF
32380
32381 fi
32382 done
32383
32384 else
32385
32386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32387 $as_echo_n "checking for _modfl declaration... " >&6; }
32388 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32389 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32390 $as_echo_n "(cached) " >&6
32391 else
32392
32393
32394 ac_ext=cpp
32395 ac_cpp='$CXXCPP $CPPFLAGS'
32396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32399
32400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32401 /* end confdefs.h. */
32402 #include <math.h>
32403 int
32404 main ()
32405 {
32406 _modfl(0, 0);
32407 ;
32408 return 0;
32409 }
32410 _ACEOF
32411 if ac_fn_cxx_try_compile "$LINENO"; then :
32412 glibcxx_cv_func__modfl_use=yes
32413 else
32414 glibcxx_cv_func__modfl_use=no
32415 fi
32416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32417 ac_ext=c
32418 ac_cpp='$CPP $CPPFLAGS'
32419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32422
32423
32424 fi
32425
32426 fi
32427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32428 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32429
32430 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32431 for ac_func in _modfl
32432 do :
32433 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32434 if test "x$ac_cv_func__modfl" = x""yes; then :
32435 cat >>confdefs.h <<_ACEOF
32436 #define HAVE__MODFL 1
32437 _ACEOF
32438
32439 fi
32440 done
32441
32442 fi
32443 fi
32444
32445
32446
32447
32448
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32450 $as_echo_n "checking for powl declaration... " >&6; }
32451 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32452 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32453 $as_echo_n "(cached) " >&6
32454 else
32455
32456
32457 ac_ext=cpp
32458 ac_cpp='$CXXCPP $CPPFLAGS'
32459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32462
32463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32464 /* end confdefs.h. */
32465 #include <math.h>
32466 int
32467 main ()
32468 {
32469 powl(0, 0);
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 if ac_fn_cxx_try_compile "$LINENO"; then :
32475 glibcxx_cv_func_powl_use=yes
32476 else
32477 glibcxx_cv_func_powl_use=no
32478 fi
32479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32480 ac_ext=c
32481 ac_cpp='$CPP $CPPFLAGS'
32482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32485
32486
32487 fi
32488
32489 fi
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32491 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32492
32493 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32494 for ac_func in powl
32495 do :
32496 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32497 if test "x$ac_cv_func_powl" = x""yes; then :
32498 cat >>confdefs.h <<_ACEOF
32499 #define HAVE_POWL 1
32500 _ACEOF
32501
32502 fi
32503 done
32504
32505 else
32506
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32508 $as_echo_n "checking for _powl declaration... " >&6; }
32509 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32510 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32511 $as_echo_n "(cached) " >&6
32512 else
32513
32514
32515 ac_ext=cpp
32516 ac_cpp='$CXXCPP $CPPFLAGS'
32517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32520
32521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h. */
32523 #include <math.h>
32524 int
32525 main ()
32526 {
32527 _powl(0, 0);
32528 ;
32529 return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_cxx_try_compile "$LINENO"; then :
32533 glibcxx_cv_func__powl_use=yes
32534 else
32535 glibcxx_cv_func__powl_use=no
32536 fi
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32543
32544
32545 fi
32546
32547 fi
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32549 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32550
32551 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32552 for ac_func in _powl
32553 do :
32554 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32555 if test "x$ac_cv_func__powl" = x""yes; then :
32556 cat >>confdefs.h <<_ACEOF
32557 #define HAVE__POWL 1
32558 _ACEOF
32559
32560 fi
32561 done
32562
32563 fi
32564 fi
32565
32566
32567
32568
32569
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32571 $as_echo_n "checking for sqrtl declaration... " >&6; }
32572 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32573 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32574 $as_echo_n "(cached) " >&6
32575 else
32576
32577
32578 ac_ext=cpp
32579 ac_cpp='$CXXCPP $CPPFLAGS'
32580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32583
32584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32585 /* end confdefs.h. */
32586 #include <math.h>
32587 #ifdef HAVE_IEEEFP_H
32588 #include <ieeefp.h>
32589 #endif
32590
32591 int
32592 main ()
32593 {
32594 sqrtl(0);
32595 ;
32596 return 0;
32597 }
32598 _ACEOF
32599 if ac_fn_cxx_try_compile "$LINENO"; then :
32600 glibcxx_cv_func_sqrtl_use=yes
32601 else
32602 glibcxx_cv_func_sqrtl_use=no
32603 fi
32604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32605 ac_ext=c
32606 ac_cpp='$CPP $CPPFLAGS'
32607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32610
32611
32612 fi
32613
32614 fi
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32616 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32617
32618 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32619 for ac_func in sqrtl
32620 do :
32621 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32622 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32623 cat >>confdefs.h <<_ACEOF
32624 #define HAVE_SQRTL 1
32625 _ACEOF
32626
32627 fi
32628 done
32629
32630 else
32631
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32633 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32634 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32635 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32636 $as_echo_n "(cached) " >&6
32637 else
32638
32639
32640 ac_ext=cpp
32641 ac_cpp='$CXXCPP $CPPFLAGS'
32642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645
32646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32647 /* end confdefs.h. */
32648 #include <math.h>
32649 #ifdef HAVE_IEEEFP_H
32650 #include <ieeefp.h>
32651 #endif
32652
32653 int
32654 main ()
32655 {
32656 _sqrtl(0);
32657 ;
32658 return 0;
32659 }
32660 _ACEOF
32661 if ac_fn_cxx_try_compile "$LINENO"; then :
32662 glibcxx_cv_func__sqrtl_use=yes
32663 else
32664 glibcxx_cv_func__sqrtl_use=no
32665 fi
32666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_ext=c
32668 ac_cpp='$CPP $CPPFLAGS'
32669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32672
32673
32674 fi
32675
32676 fi
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32678 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32679
32680 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32681 for ac_func in _sqrtl
32682 do :
32683 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32684 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32685 cat >>confdefs.h <<_ACEOF
32686 #define HAVE__SQRTL 1
32687 _ACEOF
32688
32689 fi
32690 done
32691
32692 fi
32693 fi
32694
32695
32696
32697
32698
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32700 $as_echo_n "checking for sincosl declaration... " >&6; }
32701 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32702 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32705
32706
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32716 int
32717 main ()
32718 {
32719 sincosl(0, 0, 0);
32720 ;
32721 return 0;
32722 }
32723 _ACEOF
32724 if ac_fn_cxx_try_compile "$LINENO"; then :
32725 glibcxx_cv_func_sincosl_use=yes
32726 else
32727 glibcxx_cv_func_sincosl_use=no
32728 fi
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730 ac_ext=c
32731 ac_cpp='$CPP $CPPFLAGS'
32732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32735
32736
32737 fi
32738
32739 fi
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32741 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32742
32743 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32744 for ac_func in sincosl
32745 do :
32746 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32747 if test "x$ac_cv_func_sincosl" = x""yes; then :
32748 cat >>confdefs.h <<_ACEOF
32749 #define HAVE_SINCOSL 1
32750 _ACEOF
32751
32752 fi
32753 done
32754
32755 else
32756
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32758 $as_echo_n "checking for _sincosl declaration... " >&6; }
32759 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32760 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32761 $as_echo_n "(cached) " >&6
32762 else
32763
32764
32765 ac_ext=cpp
32766 ac_cpp='$CXXCPP $CPPFLAGS'
32767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770
32771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32772 /* end confdefs.h. */
32773 #include <math.h>
32774 int
32775 main ()
32776 {
32777 _sincosl(0, 0, 0);
32778 ;
32779 return 0;
32780 }
32781 _ACEOF
32782 if ac_fn_cxx_try_compile "$LINENO"; then :
32783 glibcxx_cv_func__sincosl_use=yes
32784 else
32785 glibcxx_cv_func__sincosl_use=no
32786 fi
32787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32788 ac_ext=c
32789 ac_cpp='$CPP $CPPFLAGS'
32790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32793
32794
32795 fi
32796
32797 fi
32798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32799 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32800
32801 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32802 for ac_func in _sincosl
32803 do :
32804 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32805 if test "x$ac_cv_func__sincosl" = x""yes; then :
32806 cat >>confdefs.h <<_ACEOF
32807 #define HAVE__SINCOSL 1
32808 _ACEOF
32809
32810 fi
32811 done
32812
32813 fi
32814 fi
32815
32816
32817
32818
32819
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32821 $as_echo_n "checking for finitel declaration... " >&6; }
32822 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32823 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32824 $as_echo_n "(cached) " >&6
32825 else
32826
32827
32828 ac_ext=cpp
32829 ac_cpp='$CXXCPP $CPPFLAGS'
32830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32833
32834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32835 /* end confdefs.h. */
32836 #include <math.h>
32837 #ifdef HAVE_IEEEFP_H
32838 #include <ieeefp.h>
32839 #endif
32840
32841 int
32842 main ()
32843 {
32844 finitel(0);
32845 ;
32846 return 0;
32847 }
32848 _ACEOF
32849 if ac_fn_cxx_try_compile "$LINENO"; then :
32850 glibcxx_cv_func_finitel_use=yes
32851 else
32852 glibcxx_cv_func_finitel_use=no
32853 fi
32854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32855 ac_ext=c
32856 ac_cpp='$CPP $CPPFLAGS'
32857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32860
32861
32862 fi
32863
32864 fi
32865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32866 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32867
32868 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32869 for ac_func in finitel
32870 do :
32871 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32872 if test "x$ac_cv_func_finitel" = x""yes; then :
32873 cat >>confdefs.h <<_ACEOF
32874 #define HAVE_FINITEL 1
32875 _ACEOF
32876
32877 fi
32878 done
32879
32880 else
32881
32882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32883 $as_echo_n "checking for _finitel declaration... " >&6; }
32884 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32885 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32886 $as_echo_n "(cached) " >&6
32887 else
32888
32889
32890 ac_ext=cpp
32891 ac_cpp='$CXXCPP $CPPFLAGS'
32892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32895
32896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32897 /* end confdefs.h. */
32898 #include <math.h>
32899 #ifdef HAVE_IEEEFP_H
32900 #include <ieeefp.h>
32901 #endif
32902
32903 int
32904 main ()
32905 {
32906 _finitel(0);
32907 ;
32908 return 0;
32909 }
32910 _ACEOF
32911 if ac_fn_cxx_try_compile "$LINENO"; then :
32912 glibcxx_cv_func__finitel_use=yes
32913 else
32914 glibcxx_cv_func__finitel_use=no
32915 fi
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 ac_ext=c
32918 ac_cpp='$CPP $CPPFLAGS'
32919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32922
32923
32924 fi
32925
32926 fi
32927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32928 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32929
32930 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32931 for ac_func in _finitel
32932 do :
32933 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32934 if test "x$ac_cv_func__finitel" = x""yes; then :
32935 cat >>confdefs.h <<_ACEOF
32936 #define HAVE__FINITEL 1
32937 _ACEOF
32938
32939 fi
32940 done
32941
32942 fi
32943 fi
32944
32945
32946
32947
32948 LIBS="$ac_save_LIBS"
32949 CXXFLAGS="$ac_save_CXXFLAGS"
32950
32951
32952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32953 ac_save_CXXFLAGS="$CXXFLAGS"
32954 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32955
32956
32957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32958 $as_echo_n "checking for strtold declaration... " >&6; }
32959 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32960 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32961 $as_echo_n "(cached) " >&6
32962 else
32963
32964
32965 ac_ext=cpp
32966 ac_cpp='$CXXCPP $CPPFLAGS'
32967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32970
32971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32972 /* end confdefs.h. */
32973 #include <stdlib.h>
32974 int
32975 main ()
32976 {
32977 strtold(0, 0);
32978 ;
32979 return 0;
32980 }
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func_strtold_use=yes
32984 else
32985 glibcxx_cv_func_strtold_use=no
32986 fi
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32993
32994
32995 fi
32996
32997 fi
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32999 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33000 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33001 for ac_func in strtold
33002 do :
33003 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33004 if test "x$ac_cv_func_strtold" = x""yes; then :
33005 cat >>confdefs.h <<_ACEOF
33006 #define HAVE_STRTOLD 1
33007 _ACEOF
33008
33009 fi
33010 done
33011
33012 fi
33013
33014
33015
33016
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33018 $as_echo_n "checking for strtof declaration... " >&6; }
33019 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33020 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33023
33024
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33030
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <stdlib.h>
33034 int
33035 main ()
33036 {
33037 strtof(0, 0);
33038 ;
33039 return 0;
33040 }
33041 _ACEOF
33042 if ac_fn_cxx_try_compile "$LINENO"; then :
33043 glibcxx_cv_func_strtof_use=yes
33044 else
33045 glibcxx_cv_func_strtof_use=no
33046 fi
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053
33054
33055 fi
33056
33057 fi
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33059 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33060 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33061 for ac_func in strtof
33062 do :
33063 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33064 if test "x$ac_cv_func_strtof" = x""yes; then :
33065 cat >>confdefs.h <<_ACEOF
33066 #define HAVE_STRTOF 1
33067 _ACEOF
33068
33069 fi
33070 done
33071
33072 fi
33073
33074
33075
33076
33077 CXXFLAGS="$ac_save_CXXFLAGS"
33078
33079
33080 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33081
33082 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33083
33084 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33085
33086 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33087
33088
33089 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33090
33091 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33092
33093 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33094
33095 ;;
33096
33097 *-aix*)
33098
33099 # If we're not using GNU ld, then there's no point in even trying these
33100 # tests. Check for that first. We should have already tested for gld
33101 # by now (in libtool), but require it now just to be safe...
33102 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33103 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33104
33105
33106
33107 # The name set by libtool depends on the version of libtool. Shame on us
33108 # for depending on an impl detail, but c'est la vie. Older versions used
33109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33112 # set (hence we're using an older libtool), then set it.
33113 if test x${with_gnu_ld+set} != xset; then
33114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33115 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33116 with_gnu_ld=no
33117 else
33118 with_gnu_ld=$ac_cv_prog_gnu_ld
33119 fi
33120 fi
33121
33122 # Start by getting the version number. I think the libtool test already
33123 # does some of this, but throws away the result.
33124 glibcxx_ld_is_gold=no
33125 if test x"$with_gnu_ld" = x"yes"; then
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33127 $as_echo_n "checking for ld version... " >&6; }
33128
33129 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33130 glibcxx_ld_is_gold=yes
33131 fi
33132 ldver=`$LD --version 2>/dev/null |
33133 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'`
33134
33135 glibcxx_gnu_ld_version=`echo $ldver | \
33136 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33138 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33139 fi
33140
33141 # Set --gc-sections.
33142 glibcxx_have_gc_sections=no
33143 if test "$glibcxx_ld_is_gold" = "yes"; then
33144 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33145 glibcxx_have_gc_sections=yes
33146 fi
33147 else
33148 glibcxx_gcsections_min_ld=21602
33149 if test x"$with_gnu_ld" = x"yes" &&
33150 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33151 glibcxx_have_gc_sections=yes
33152 fi
33153 fi
33154 if test "$glibcxx_have_gc_sections" = "yes"; then
33155 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33156 # NB: This flag only works reliably after 2.16.1. Configure tests
33157 # for this are difficult, so hard wire a value that should work.
33158
33159 ac_test_CFLAGS="${CFLAGS+set}"
33160 ac_save_CFLAGS="$CFLAGS"
33161 CFLAGS='-Wl,--gc-sections'
33162
33163 # Check for -Wl,--gc-sections
33164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33165 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33166 if test x$gcc_no_link = xyes; then
33167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33168 fi
33169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33170 /* end confdefs.h. */
33171 int one(void) { return 1; }
33172 int two(void) { return 2; }
33173
33174 int
33175 main ()
33176 {
33177 two();
33178 ;
33179 return 0;
33180 }
33181 _ACEOF
33182 if ac_fn_c_try_link "$LINENO"; then :
33183 ac_gcsections=yes
33184 else
33185 ac_gcsections=no
33186 fi
33187 rm -f core conftest.err conftest.$ac_objext \
33188 conftest$ac_exeext conftest.$ac_ext
33189 if test "$ac_gcsections" = "yes"; then
33190 rm -f conftest.c
33191 touch conftest.c
33192 if $CC -c conftest.c; then
33193 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33194 grep "Warning: gc-sections option ignored" > /dev/null; then
33195 ac_gcsections=no
33196 fi
33197 fi
33198 rm -f conftest.c conftest.o conftest
33199 fi
33200 if test "$ac_gcsections" = "yes"; then
33201 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33202 fi
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33204 $as_echo "$ac_gcsections" >&6; }
33205
33206 if test "$ac_test_CFLAGS" = set; then
33207 CFLAGS="$ac_save_CFLAGS"
33208 else
33209 # this is the suspicious part
33210 CFLAGS=''
33211 fi
33212 fi
33213
33214 # Set -z,relro.
33215 # Note this is only for shared objects.
33216 ac_ld_relro=no
33217 if test x"$with_gnu_ld" = x"yes"; then
33218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33219 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33220 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33221 if test -n "$cxx_z_relo"; then
33222 OPT_LDFLAGS="-Wl,-z,relro"
33223 ac_ld_relro=yes
33224 fi
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33226 $as_echo "$ac_ld_relro" >&6; }
33227 fi
33228
33229 # Set linker optimization flags.
33230 if test x"$with_gnu_ld" = x"yes"; then
33231 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33232 fi
33233
33234
33235
33236
33237
33238 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33239 ac_save_CXXFLAGS="$CXXFLAGS"
33240 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33241
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33243 $as_echo_n "checking for sin in -lm... " >&6; }
33244 if test "${ac_cv_lib_m_sin+set}" = set; then :
33245 $as_echo_n "(cached) " >&6
33246 else
33247 ac_check_lib_save_LIBS=$LIBS
33248 LIBS="-lm $LIBS"
33249 if test x$gcc_no_link = xyes; then
33250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33251 fi
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254
33255 /* Override any GCC internal prototype to avoid an error.
33256 Use char because int might match the return type of a GCC
33257 builtin and then its argument prototype would still apply. */
33258 #ifdef __cplusplus
33259 extern "C"
33260 #endif
33261 char sin ();
33262 int
33263 main ()
33264 {
33265 return sin ();
33266 ;
33267 return 0;
33268 }
33269 _ACEOF
33270 if ac_fn_c_try_link "$LINENO"; then :
33271 ac_cv_lib_m_sin=yes
33272 else
33273 ac_cv_lib_m_sin=no
33274 fi
33275 rm -f core conftest.err conftest.$ac_objext \
33276 conftest$ac_exeext conftest.$ac_ext
33277 LIBS=$ac_check_lib_save_LIBS
33278 fi
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33280 $as_echo "$ac_cv_lib_m_sin" >&6; }
33281 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33282 libm="-lm"
33283 fi
33284
33285 ac_save_LIBS="$LIBS"
33286 LIBS="$LIBS $libm"
33287
33288
33289
33290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33291 $as_echo_n "checking for isinf declaration... " >&6; }
33292 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33293 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33294 $as_echo_n "(cached) " >&6
33295 else
33296
33297
33298 ac_ext=cpp
33299 ac_cpp='$CXXCPP $CPPFLAGS'
33300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33303
33304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33305 /* end confdefs.h. */
33306 #include <math.h>
33307 #ifdef HAVE_IEEEFP_H
33308 #include <ieeefp.h>
33309 #endif
33310
33311 int
33312 main ()
33313 {
33314 isinf(0);
33315 ;
33316 return 0;
33317 }
33318 _ACEOF
33319 if ac_fn_cxx_try_compile "$LINENO"; then :
33320 glibcxx_cv_func_isinf_use=yes
33321 else
33322 glibcxx_cv_func_isinf_use=no
33323 fi
33324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33325 ac_ext=c
33326 ac_cpp='$CPP $CPPFLAGS'
33327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33330
33331
33332 fi
33333
33334 fi
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33336 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33337
33338 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33339 for ac_func in isinf
33340 do :
33341 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33342 if test "x$ac_cv_func_isinf" = x""yes; then :
33343 cat >>confdefs.h <<_ACEOF
33344 #define HAVE_ISINF 1
33345 _ACEOF
33346
33347 fi
33348 done
33349
33350 else
33351
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33353 $as_echo_n "checking for _isinf declaration... " >&6; }
33354 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33355 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33356 $as_echo_n "(cached) " >&6
33357 else
33358
33359
33360 ac_ext=cpp
33361 ac_cpp='$CXXCPP $CPPFLAGS'
33362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33365
33366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33367 /* end confdefs.h. */
33368 #include <math.h>
33369 #ifdef HAVE_IEEEFP_H
33370 #include <ieeefp.h>
33371 #endif
33372
33373 int
33374 main ()
33375 {
33376 _isinf(0);
33377 ;
33378 return 0;
33379 }
33380 _ACEOF
33381 if ac_fn_cxx_try_compile "$LINENO"; then :
33382 glibcxx_cv_func__isinf_use=yes
33383 else
33384 glibcxx_cv_func__isinf_use=no
33385 fi
33386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33387 ac_ext=c
33388 ac_cpp='$CPP $CPPFLAGS'
33389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33392
33393
33394 fi
33395
33396 fi
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33398 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33399
33400 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33401 for ac_func in _isinf
33402 do :
33403 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33404 if test "x$ac_cv_func__isinf" = x""yes; then :
33405 cat >>confdefs.h <<_ACEOF
33406 #define HAVE__ISINF 1
33407 _ACEOF
33408
33409 fi
33410 done
33411
33412 fi
33413 fi
33414
33415
33416
33417
33418
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33420 $as_echo_n "checking for isnan declaration... " >&6; }
33421 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33422 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33423 $as_echo_n "(cached) " >&6
33424 else
33425
33426
33427 ac_ext=cpp
33428 ac_cpp='$CXXCPP $CPPFLAGS'
33429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432
33433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33434 /* end confdefs.h. */
33435 #include <math.h>
33436 #ifdef HAVE_IEEEFP_H
33437 #include <ieeefp.h>
33438 #endif
33439
33440 int
33441 main ()
33442 {
33443 isnan(0);
33444 ;
33445 return 0;
33446 }
33447 _ACEOF
33448 if ac_fn_cxx_try_compile "$LINENO"; then :
33449 glibcxx_cv_func_isnan_use=yes
33450 else
33451 glibcxx_cv_func_isnan_use=no
33452 fi
33453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33454 ac_ext=c
33455 ac_cpp='$CPP $CPPFLAGS'
33456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33459
33460
33461 fi
33462
33463 fi
33464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33465 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33466
33467 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33468 for ac_func in isnan
33469 do :
33470 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33471 if test "x$ac_cv_func_isnan" = x""yes; then :
33472 cat >>confdefs.h <<_ACEOF
33473 #define HAVE_ISNAN 1
33474 _ACEOF
33475
33476 fi
33477 done
33478
33479 else
33480
33481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33482 $as_echo_n "checking for _isnan declaration... " >&6; }
33483 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33484 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33485 $as_echo_n "(cached) " >&6
33486 else
33487
33488
33489 ac_ext=cpp
33490 ac_cpp='$CXXCPP $CPPFLAGS'
33491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33494
33495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33496 /* end confdefs.h. */
33497 #include <math.h>
33498 #ifdef HAVE_IEEEFP_H
33499 #include <ieeefp.h>
33500 #endif
33501
33502 int
33503 main ()
33504 {
33505 _isnan(0);
33506 ;
33507 return 0;
33508 }
33509 _ACEOF
33510 if ac_fn_cxx_try_compile "$LINENO"; then :
33511 glibcxx_cv_func__isnan_use=yes
33512 else
33513 glibcxx_cv_func__isnan_use=no
33514 fi
33515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33516 ac_ext=c
33517 ac_cpp='$CPP $CPPFLAGS'
33518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33521
33522
33523 fi
33524
33525 fi
33526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33527 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33528
33529 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33530 for ac_func in _isnan
33531 do :
33532 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33533 if test "x$ac_cv_func__isnan" = x""yes; then :
33534 cat >>confdefs.h <<_ACEOF
33535 #define HAVE__ISNAN 1
33536 _ACEOF
33537
33538 fi
33539 done
33540
33541 fi
33542 fi
33543
33544
33545
33546
33547
33548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33549 $as_echo_n "checking for finite declaration... " >&6; }
33550 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33551 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33552 $as_echo_n "(cached) " >&6
33553 else
33554
33555
33556 ac_ext=cpp
33557 ac_cpp='$CXXCPP $CPPFLAGS'
33558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33561
33562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33563 /* end confdefs.h. */
33564 #include <math.h>
33565 #ifdef HAVE_IEEEFP_H
33566 #include <ieeefp.h>
33567 #endif
33568
33569 int
33570 main ()
33571 {
33572 finite(0);
33573 ;
33574 return 0;
33575 }
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578 glibcxx_cv_func_finite_use=yes
33579 else
33580 glibcxx_cv_func_finite_use=no
33581 fi
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33588
33589
33590 fi
33591
33592 fi
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33594 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33595
33596 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33597 for ac_func in finite
33598 do :
33599 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33600 if test "x$ac_cv_func_finite" = x""yes; then :
33601 cat >>confdefs.h <<_ACEOF
33602 #define HAVE_FINITE 1
33603 _ACEOF
33604
33605 fi
33606 done
33607
33608 else
33609
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33611 $as_echo_n "checking for _finite declaration... " >&6; }
33612 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33613 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33616
33617
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33623
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <math.h>
33627 #ifdef HAVE_IEEEFP_H
33628 #include <ieeefp.h>
33629 #endif
33630
33631 int
33632 main ()
33633 {
33634 _finite(0);
33635 ;
33636 return 0;
33637 }
33638 _ACEOF
33639 if ac_fn_cxx_try_compile "$LINENO"; then :
33640 glibcxx_cv_func__finite_use=yes
33641 else
33642 glibcxx_cv_func__finite_use=no
33643 fi
33644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33645 ac_ext=c
33646 ac_cpp='$CPP $CPPFLAGS'
33647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33650
33651
33652 fi
33653
33654 fi
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33656 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33657
33658 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33659 for ac_func in _finite
33660 do :
33661 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33662 if test "x$ac_cv_func__finite" = x""yes; then :
33663 cat >>confdefs.h <<_ACEOF
33664 #define HAVE__FINITE 1
33665 _ACEOF
33666
33667 fi
33668 done
33669
33670 fi
33671 fi
33672
33673
33674
33675
33676
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33678 $as_echo_n "checking for sincos declaration... " >&6; }
33679 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33680 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33681 $as_echo_n "(cached) " >&6
33682 else
33683
33684
33685 ac_ext=cpp
33686 ac_cpp='$CXXCPP $CPPFLAGS'
33687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33690
33691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33692 /* end confdefs.h. */
33693 #include <math.h>
33694 int
33695 main ()
33696 {
33697 sincos(0, 0, 0);
33698 ;
33699 return 0;
33700 }
33701 _ACEOF
33702 if ac_fn_cxx_try_compile "$LINENO"; then :
33703 glibcxx_cv_func_sincos_use=yes
33704 else
33705 glibcxx_cv_func_sincos_use=no
33706 fi
33707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33708 ac_ext=c
33709 ac_cpp='$CPP $CPPFLAGS'
33710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33713
33714
33715 fi
33716
33717 fi
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33719 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33720
33721 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33722 for ac_func in sincos
33723 do :
33724 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33725 if test "x$ac_cv_func_sincos" = x""yes; then :
33726 cat >>confdefs.h <<_ACEOF
33727 #define HAVE_SINCOS 1
33728 _ACEOF
33729
33730 fi
33731 done
33732
33733 else
33734
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33736 $as_echo_n "checking for _sincos declaration... " >&6; }
33737 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33738 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33739 $as_echo_n "(cached) " >&6
33740 else
33741
33742
33743 ac_ext=cpp
33744 ac_cpp='$CXXCPP $CPPFLAGS'
33745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33748
33749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33750 /* end confdefs.h. */
33751 #include <math.h>
33752 int
33753 main ()
33754 {
33755 _sincos(0, 0, 0);
33756 ;
33757 return 0;
33758 }
33759 _ACEOF
33760 if ac_fn_cxx_try_compile "$LINENO"; then :
33761 glibcxx_cv_func__sincos_use=yes
33762 else
33763 glibcxx_cv_func__sincos_use=no
33764 fi
33765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33766 ac_ext=c
33767 ac_cpp='$CPP $CPPFLAGS'
33768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33771
33772
33773 fi
33774
33775 fi
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33777 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33778
33779 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33780 for ac_func in _sincos
33781 do :
33782 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33783 if test "x$ac_cv_func__sincos" = x""yes; then :
33784 cat >>confdefs.h <<_ACEOF
33785 #define HAVE__SINCOS 1
33786 _ACEOF
33787
33788 fi
33789 done
33790
33791 fi
33792 fi
33793
33794
33795
33796
33797
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33799 $as_echo_n "checking for fpclass declaration... " >&6; }
33800 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33801 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33802 $as_echo_n "(cached) " >&6
33803 else
33804
33805
33806 ac_ext=cpp
33807 ac_cpp='$CXXCPP $CPPFLAGS'
33808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33811
33812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33813 /* end confdefs.h. */
33814 #include <math.h>
33815 #ifdef HAVE_IEEEFP_H
33816 #include <ieeefp.h>
33817 #endif
33818
33819 int
33820 main ()
33821 {
33822 fpclass(0);
33823 ;
33824 return 0;
33825 }
33826 _ACEOF
33827 if ac_fn_cxx_try_compile "$LINENO"; then :
33828 glibcxx_cv_func_fpclass_use=yes
33829 else
33830 glibcxx_cv_func_fpclass_use=no
33831 fi
33832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33833 ac_ext=c
33834 ac_cpp='$CPP $CPPFLAGS'
33835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33838
33839
33840 fi
33841
33842 fi
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33844 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33845
33846 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33847 for ac_func in fpclass
33848 do :
33849 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33850 if test "x$ac_cv_func_fpclass" = x""yes; then :
33851 cat >>confdefs.h <<_ACEOF
33852 #define HAVE_FPCLASS 1
33853 _ACEOF
33854
33855 fi
33856 done
33857
33858 else
33859
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33861 $as_echo_n "checking for _fpclass declaration... " >&6; }
33862 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33863 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33864 $as_echo_n "(cached) " >&6
33865 else
33866
33867
33868 ac_ext=cpp
33869 ac_cpp='$CXXCPP $CPPFLAGS'
33870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33873
33874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33875 /* end confdefs.h. */
33876 #include <math.h>
33877 #ifdef HAVE_IEEEFP_H
33878 #include <ieeefp.h>
33879 #endif
33880
33881 int
33882 main ()
33883 {
33884 _fpclass(0);
33885 ;
33886 return 0;
33887 }
33888 _ACEOF
33889 if ac_fn_cxx_try_compile "$LINENO"; then :
33890 glibcxx_cv_func__fpclass_use=yes
33891 else
33892 glibcxx_cv_func__fpclass_use=no
33893 fi
33894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33895 ac_ext=c
33896 ac_cpp='$CPP $CPPFLAGS'
33897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33900
33901
33902 fi
33903
33904 fi
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33906 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33907
33908 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33909 for ac_func in _fpclass
33910 do :
33911 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33912 if test "x$ac_cv_func__fpclass" = x""yes; then :
33913 cat >>confdefs.h <<_ACEOF
33914 #define HAVE__FPCLASS 1
33915 _ACEOF
33916
33917 fi
33918 done
33919
33920 fi
33921 fi
33922
33923
33924
33925
33926
33927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33928 $as_echo_n "checking for qfpclass declaration... " >&6; }
33929 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33930 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33931 $as_echo_n "(cached) " >&6
33932 else
33933
33934
33935 ac_ext=cpp
33936 ac_cpp='$CXXCPP $CPPFLAGS'
33937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940
33941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33942 /* end confdefs.h. */
33943 #include <math.h>
33944 #ifdef HAVE_IEEEFP_H
33945 #include <ieeefp.h>
33946 #endif
33947
33948 int
33949 main ()
33950 {
33951 qfpclass(0);
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 if ac_fn_cxx_try_compile "$LINENO"; then :
33957 glibcxx_cv_func_qfpclass_use=yes
33958 else
33959 glibcxx_cv_func_qfpclass_use=no
33960 fi
33961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33962 ac_ext=c
33963 ac_cpp='$CPP $CPPFLAGS'
33964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967
33968
33969 fi
33970
33971 fi
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33973 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33974
33975 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33976 for ac_func in qfpclass
33977 do :
33978 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33979 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_QFPCLASS 1
33982 _ACEOF
33983
33984 fi
33985 done
33986
33987 else
33988
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33990 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33991 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33992 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33993 $as_echo_n "(cached) " >&6
33994 else
33995
33996
33997 ac_ext=cpp
33998 ac_cpp='$CXXCPP $CPPFLAGS'
33999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34002
34003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34004 /* end confdefs.h. */
34005 #include <math.h>
34006 #ifdef HAVE_IEEEFP_H
34007 #include <ieeefp.h>
34008 #endif
34009
34010 int
34011 main ()
34012 {
34013 _qfpclass(0);
34014 ;
34015 return 0;
34016 }
34017 _ACEOF
34018 if ac_fn_cxx_try_compile "$LINENO"; then :
34019 glibcxx_cv_func__qfpclass_use=yes
34020 else
34021 glibcxx_cv_func__qfpclass_use=no
34022 fi
34023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34024 ac_ext=c
34025 ac_cpp='$CPP $CPPFLAGS'
34026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34029
34030
34031 fi
34032
34033 fi
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34035 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34036
34037 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34038 for ac_func in _qfpclass
34039 do :
34040 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34041 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34042 cat >>confdefs.h <<_ACEOF
34043 #define HAVE__QFPCLASS 1
34044 _ACEOF
34045
34046 fi
34047 done
34048
34049 fi
34050 fi
34051
34052
34053
34054
34055
34056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34057 $as_echo_n "checking for hypot declaration... " >&6; }
34058 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34059 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34060 $as_echo_n "(cached) " >&6
34061 else
34062
34063
34064 ac_ext=cpp
34065 ac_cpp='$CXXCPP $CPPFLAGS'
34066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34069
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h. */
34072 #include <math.h>
34073 int
34074 main ()
34075 {
34076 hypot(0, 0);
34077 ;
34078 return 0;
34079 }
34080 _ACEOF
34081 if ac_fn_cxx_try_compile "$LINENO"; then :
34082 glibcxx_cv_func_hypot_use=yes
34083 else
34084 glibcxx_cv_func_hypot_use=no
34085 fi
34086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34087 ac_ext=c
34088 ac_cpp='$CPP $CPPFLAGS'
34089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34092
34093
34094 fi
34095
34096 fi
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34098 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34099
34100 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34101 for ac_func in hypot
34102 do :
34103 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34104 if test "x$ac_cv_func_hypot" = x""yes; then :
34105 cat >>confdefs.h <<_ACEOF
34106 #define HAVE_HYPOT 1
34107 _ACEOF
34108
34109 fi
34110 done
34111
34112 else
34113
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34115 $as_echo_n "checking for _hypot declaration... " >&6; }
34116 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34117 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34118 $as_echo_n "(cached) " >&6
34119 else
34120
34121
34122 ac_ext=cpp
34123 ac_cpp='$CXXCPP $CPPFLAGS'
34124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34127
34128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34129 /* end confdefs.h. */
34130 #include <math.h>
34131 int
34132 main ()
34133 {
34134 _hypot(0, 0);
34135 ;
34136 return 0;
34137 }
34138 _ACEOF
34139 if ac_fn_cxx_try_compile "$LINENO"; then :
34140 glibcxx_cv_func__hypot_use=yes
34141 else
34142 glibcxx_cv_func__hypot_use=no
34143 fi
34144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34145 ac_ext=c
34146 ac_cpp='$CPP $CPPFLAGS'
34147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34150
34151
34152 fi
34153
34154 fi
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34156 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34157
34158 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34159 for ac_func in _hypot
34160 do :
34161 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34162 if test "x$ac_cv_func__hypot" = x""yes; then :
34163 cat >>confdefs.h <<_ACEOF
34164 #define HAVE__HYPOT 1
34165 _ACEOF
34166
34167 fi
34168 done
34169
34170 fi
34171 fi
34172
34173
34174
34175
34176
34177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34178 $as_echo_n "checking for float trig functions... " >&6; }
34179 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34180 $as_echo_n "(cached) " >&6
34181 else
34182
34183
34184 ac_ext=cpp
34185 ac_cpp='$CXXCPP $CPPFLAGS'
34186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34189
34190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34191 /* end confdefs.h. */
34192 #include <math.h>
34193 int
34194 main ()
34195 {
34196 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 if ac_fn_cxx_try_compile "$LINENO"; then :
34202 glibcxx_cv_func_float_trig_use=yes
34203 else
34204 glibcxx_cv_func_float_trig_use=no
34205 fi
34206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34207 ac_ext=c
34208 ac_cpp='$CPP $CPPFLAGS'
34209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34212
34213 fi
34214
34215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34216 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34217 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34218 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34219 do :
34220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34222 eval as_val=\$$as_ac_var
34223 if test "x$as_val" = x""yes; then :
34224 cat >>confdefs.h <<_ACEOF
34225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34226 _ACEOF
34227
34228 fi
34229 done
34230
34231 else
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34233 $as_echo_n "checking for _float trig functions... " >&6; }
34234 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34235 $as_echo_n "(cached) " >&6
34236 else
34237
34238
34239 ac_ext=cpp
34240 ac_cpp='$CXXCPP $CPPFLAGS'
34241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34244
34245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34246 /* end confdefs.h. */
34247 #include <math.h>
34248 int
34249 main ()
34250 {
34251 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34252 ;
34253 return 0;
34254 }
34255 _ACEOF
34256 if ac_fn_cxx_try_compile "$LINENO"; then :
34257 glibcxx_cv_func__float_trig_use=yes
34258 else
34259 glibcxx_cv_func__float_trig_use=no
34260 fi
34261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 ac_ext=c
34263 ac_cpp='$CPP $CPPFLAGS'
34264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34267
34268 fi
34269
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34271 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34272 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34273 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34274 do :
34275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34277 eval as_val=\$$as_ac_var
34278 if test "x$as_val" = x""yes; then :
34279 cat >>confdefs.h <<_ACEOF
34280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34281 _ACEOF
34282
34283 fi
34284 done
34285
34286 fi
34287 fi
34288
34289
34290
34291
34292
34293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34294 $as_echo_n "checking for float round functions... " >&6; }
34295 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34296 $as_echo_n "(cached) " >&6
34297 else
34298
34299
34300 ac_ext=cpp
34301 ac_cpp='$CXXCPP $CPPFLAGS'
34302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34305
34306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34307 /* end confdefs.h. */
34308 #include <math.h>
34309 int
34310 main ()
34311 {
34312 ceilf (0); floorf (0);
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 if ac_fn_cxx_try_compile "$LINENO"; then :
34318 glibcxx_cv_func_float_round_use=yes
34319 else
34320 glibcxx_cv_func_float_round_use=no
34321 fi
34322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34323 ac_ext=c
34324 ac_cpp='$CPP $CPPFLAGS'
34325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34328
34329 fi
34330
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34332 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34333 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34334 for ac_func in ceilf floorf
34335 do :
34336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34338 eval as_val=\$$as_ac_var
34339 if test "x$as_val" = x""yes; then :
34340 cat >>confdefs.h <<_ACEOF
34341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34342 _ACEOF
34343
34344 fi
34345 done
34346
34347 else
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34349 $as_echo_n "checking for _float round functions... " >&6; }
34350 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34364 int
34365 main ()
34366 {
34367 _ceilf (0); _floorf (0);
34368 ;
34369 return 0;
34370 }
34371 _ACEOF
34372 if ac_fn_cxx_try_compile "$LINENO"; then :
34373 glibcxx_cv_func__float_round_use=yes
34374 else
34375 glibcxx_cv_func__float_round_use=no
34376 fi
34377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34378 ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383
34384 fi
34385
34386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34387 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34388 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34389 for ac_func in _ceilf _floorf
34390 do :
34391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34393 eval as_val=\$$as_ac_var
34394 if test "x$as_val" = x""yes; then :
34395 cat >>confdefs.h <<_ACEOF
34396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34397 _ACEOF
34398
34399 fi
34400 done
34401
34402 fi
34403 fi
34404
34405
34406
34407
34408
34409
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34411 $as_echo_n "checking for expf declaration... " >&6; }
34412 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34413 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34414 $as_echo_n "(cached) " >&6
34415 else
34416
34417
34418 ac_ext=cpp
34419 ac_cpp='$CXXCPP $CPPFLAGS'
34420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34423
34424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34425 /* end confdefs.h. */
34426 #include <math.h>
34427 #ifdef HAVE_IEEEFP_H
34428 #include <ieeefp.h>
34429 #endif
34430
34431 int
34432 main ()
34433 {
34434 expf(0);
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 if ac_fn_cxx_try_compile "$LINENO"; then :
34440 glibcxx_cv_func_expf_use=yes
34441 else
34442 glibcxx_cv_func_expf_use=no
34443 fi
34444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_ext=c
34446 ac_cpp='$CPP $CPPFLAGS'
34447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34450
34451
34452 fi
34453
34454 fi
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34456 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34457
34458 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34459 for ac_func in expf
34460 do :
34461 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34462 if test "x$ac_cv_func_expf" = x""yes; then :
34463 cat >>confdefs.h <<_ACEOF
34464 #define HAVE_EXPF 1
34465 _ACEOF
34466
34467 fi
34468 done
34469
34470 else
34471
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34473 $as_echo_n "checking for _expf declaration... " >&6; }
34474 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34475 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34476 $as_echo_n "(cached) " >&6
34477 else
34478
34479
34480 ac_ext=cpp
34481 ac_cpp='$CXXCPP $CPPFLAGS'
34482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485
34486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34487 /* end confdefs.h. */
34488 #include <math.h>
34489 #ifdef HAVE_IEEEFP_H
34490 #include <ieeefp.h>
34491 #endif
34492
34493 int
34494 main ()
34495 {
34496 _expf(0);
34497 ;
34498 return 0;
34499 }
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func__expf_use=yes
34503 else
34504 glibcxx_cv_func__expf_use=no
34505 fi
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512
34513
34514 fi
34515
34516 fi
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34518 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34519
34520 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34521 for ac_func in _expf
34522 do :
34523 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34524 if test "x$ac_cv_func__expf" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE__EXPF 1
34527 _ACEOF
34528
34529 fi
34530 done
34531
34532 fi
34533 fi
34534
34535
34536
34537
34538
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34540 $as_echo_n "checking for isnanf declaration... " >&6; }
34541 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34542 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34543 $as_echo_n "(cached) " >&6
34544 else
34545
34546
34547 ac_ext=cpp
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34552
34553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34554 /* end confdefs.h. */
34555 #include <math.h>
34556 #ifdef HAVE_IEEEFP_H
34557 #include <ieeefp.h>
34558 #endif
34559
34560 int
34561 main ()
34562 {
34563 isnanf(0);
34564 ;
34565 return 0;
34566 }
34567 _ACEOF
34568 if ac_fn_cxx_try_compile "$LINENO"; then :
34569 glibcxx_cv_func_isnanf_use=yes
34570 else
34571 glibcxx_cv_func_isnanf_use=no
34572 fi
34573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34574 ac_ext=c
34575 ac_cpp='$CPP $CPPFLAGS'
34576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34579
34580
34581 fi
34582
34583 fi
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34585 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34586
34587 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34588 for ac_func in isnanf
34589 do :
34590 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34591 if test "x$ac_cv_func_isnanf" = x""yes; then :
34592 cat >>confdefs.h <<_ACEOF
34593 #define HAVE_ISNANF 1
34594 _ACEOF
34595
34596 fi
34597 done
34598
34599 else
34600
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34602 $as_echo_n "checking for _isnanf declaration... " >&6; }
34603 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34604 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34605 $as_echo_n "(cached) " >&6
34606 else
34607
34608
34609 ac_ext=cpp
34610 ac_cpp='$CXXCPP $CPPFLAGS'
34611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34614
34615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34616 /* end confdefs.h. */
34617 #include <math.h>
34618 #ifdef HAVE_IEEEFP_H
34619 #include <ieeefp.h>
34620 #endif
34621
34622 int
34623 main ()
34624 {
34625 _isnanf(0);
34626 ;
34627 return 0;
34628 }
34629 _ACEOF
34630 if ac_fn_cxx_try_compile "$LINENO"; then :
34631 glibcxx_cv_func__isnanf_use=yes
34632 else
34633 glibcxx_cv_func__isnanf_use=no
34634 fi
34635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34636 ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34641
34642
34643 fi
34644
34645 fi
34646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34647 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34648
34649 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34650 for ac_func in _isnanf
34651 do :
34652 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34653 if test "x$ac_cv_func__isnanf" = x""yes; then :
34654 cat >>confdefs.h <<_ACEOF
34655 #define HAVE__ISNANF 1
34656 _ACEOF
34657
34658 fi
34659 done
34660
34661 fi
34662 fi
34663
34664
34665
34666
34667
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34669 $as_echo_n "checking for isinff declaration... " >&6; }
34670 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34671 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34672 $as_echo_n "(cached) " >&6
34673 else
34674
34675
34676 ac_ext=cpp
34677 ac_cpp='$CXXCPP $CPPFLAGS'
34678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34681
34682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34683 /* end confdefs.h. */
34684 #include <math.h>
34685 #ifdef HAVE_IEEEFP_H
34686 #include <ieeefp.h>
34687 #endif
34688
34689 int
34690 main ()
34691 {
34692 isinff(0);
34693 ;
34694 return 0;
34695 }
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func_isinff_use=yes
34699 else
34700 glibcxx_cv_func_isinff_use=no
34701 fi
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34708
34709
34710 fi
34711
34712 fi
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34714 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34715
34716 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34717 for ac_func in isinff
34718 do :
34719 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34720 if test "x$ac_cv_func_isinff" = x""yes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE_ISINFF 1
34723 _ACEOF
34724
34725 fi
34726 done
34727
34728 else
34729
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34731 $as_echo_n "checking for _isinff declaration... " >&6; }
34732 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34733 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34734 $as_echo_n "(cached) " >&6
34735 else
34736
34737
34738 ac_ext=cpp
34739 ac_cpp='$CXXCPP $CPPFLAGS'
34740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34743
34744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34745 /* end confdefs.h. */
34746 #include <math.h>
34747 #ifdef HAVE_IEEEFP_H
34748 #include <ieeefp.h>
34749 #endif
34750
34751 int
34752 main ()
34753 {
34754 _isinff(0);
34755 ;
34756 return 0;
34757 }
34758 _ACEOF
34759 if ac_fn_cxx_try_compile "$LINENO"; then :
34760 glibcxx_cv_func__isinff_use=yes
34761 else
34762 glibcxx_cv_func__isinff_use=no
34763 fi
34764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34765 ac_ext=c
34766 ac_cpp='$CPP $CPPFLAGS'
34767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34770
34771
34772 fi
34773
34774 fi
34775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34776 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34777
34778 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34779 for ac_func in _isinff
34780 do :
34781 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34782 if test "x$ac_cv_func__isinff" = x""yes; then :
34783 cat >>confdefs.h <<_ACEOF
34784 #define HAVE__ISINFF 1
34785 _ACEOF
34786
34787 fi
34788 done
34789
34790 fi
34791 fi
34792
34793
34794
34795
34796
34797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34798 $as_echo_n "checking for atan2f declaration... " >&6; }
34799 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34800 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34801 $as_echo_n "(cached) " >&6
34802 else
34803
34804
34805 ac_ext=cpp
34806 ac_cpp='$CXXCPP $CPPFLAGS'
34807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34810
34811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34812 /* end confdefs.h. */
34813 #include <math.h>
34814 int
34815 main ()
34816 {
34817 atan2f(0, 0);
34818 ;
34819 return 0;
34820 }
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func_atan2f_use=yes
34824 else
34825 glibcxx_cv_func_atan2f_use=no
34826 fi
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34833
34834
34835 fi
34836
34837 fi
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34839 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34840
34841 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34842 for ac_func in atan2f
34843 do :
34844 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34845 if test "x$ac_cv_func_atan2f" = x""yes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE_ATAN2F 1
34848 _ACEOF
34849
34850 fi
34851 done
34852
34853 else
34854
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34856 $as_echo_n "checking for _atan2f declaration... " >&6; }
34857 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34858 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34859 $as_echo_n "(cached) " >&6
34860 else
34861
34862
34863 ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34868
34869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h. */
34871 #include <math.h>
34872 int
34873 main ()
34874 {
34875 _atan2f(0, 0);
34876 ;
34877 return 0;
34878 }
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881 glibcxx_cv_func__atan2f_use=yes
34882 else
34883 glibcxx_cv_func__atan2f_use=no
34884 fi
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886 ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34891
34892
34893 fi
34894
34895 fi
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34897 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34898
34899 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34900 for ac_func in _atan2f
34901 do :
34902 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34903 if test "x$ac_cv_func__atan2f" = x""yes; then :
34904 cat >>confdefs.h <<_ACEOF
34905 #define HAVE__ATAN2F 1
34906 _ACEOF
34907
34908 fi
34909 done
34910
34911 fi
34912 fi
34913
34914
34915
34916
34917
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34919 $as_echo_n "checking for fabsf declaration... " >&6; }
34920 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34921 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34924
34925
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34935 #ifdef HAVE_IEEEFP_H
34936 #include <ieeefp.h>
34937 #endif
34938
34939 int
34940 main ()
34941 {
34942 fabsf(0);
34943 ;
34944 return 0;
34945 }
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_fabsf_use=yes
34949 else
34950 glibcxx_cv_func_fabsf_use=no
34951 fi
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34958
34959
34960 fi
34961
34962 fi
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34964 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34965
34966 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34967 for ac_func in fabsf
34968 do :
34969 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34970 if test "x$ac_cv_func_fabsf" = x""yes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_FABSF 1
34973 _ACEOF
34974
34975 fi
34976 done
34977
34978 else
34979
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34981 $as_echo_n "checking for _fabsf declaration... " >&6; }
34982 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34983 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34986
34987
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34997 #ifdef HAVE_IEEEFP_H
34998 #include <ieeefp.h>
34999 #endif
35000
35001 int
35002 main ()
35003 {
35004 _fabsf(0);
35005 ;
35006 return 0;
35007 }
35008 _ACEOF
35009 if ac_fn_cxx_try_compile "$LINENO"; then :
35010 glibcxx_cv_func__fabsf_use=yes
35011 else
35012 glibcxx_cv_func__fabsf_use=no
35013 fi
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015 ac_ext=c
35016 ac_cpp='$CPP $CPPFLAGS'
35017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35020
35021
35022 fi
35023
35024 fi
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35026 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35027
35028 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35029 for ac_func in _fabsf
35030 do :
35031 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35032 if test "x$ac_cv_func__fabsf" = x""yes; then :
35033 cat >>confdefs.h <<_ACEOF
35034 #define HAVE__FABSF 1
35035 _ACEOF
35036
35037 fi
35038 done
35039
35040 fi
35041 fi
35042
35043
35044
35045
35046
35047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35048 $as_echo_n "checking for fmodf declaration... " >&6; }
35049 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35050 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35053
35054
35055 ac_ext=cpp
35056 ac_cpp='$CXXCPP $CPPFLAGS'
35057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35060
35061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35062 /* end confdefs.h. */
35063 #include <math.h>
35064 int
35065 main ()
35066 {
35067 fmodf(0, 0);
35068 ;
35069 return 0;
35070 }
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func_fmodf_use=yes
35074 else
35075 glibcxx_cv_func_fmodf_use=no
35076 fi
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35083
35084
35085 fi
35086
35087 fi
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35089 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35090
35091 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35092 for ac_func in fmodf
35093 do :
35094 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35095 if test "x$ac_cv_func_fmodf" = x""yes; then :
35096 cat >>confdefs.h <<_ACEOF
35097 #define HAVE_FMODF 1
35098 _ACEOF
35099
35100 fi
35101 done
35102
35103 else
35104
35105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35106 $as_echo_n "checking for _fmodf declaration... " >&6; }
35107 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35108 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35109 $as_echo_n "(cached) " >&6
35110 else
35111
35112
35113 ac_ext=cpp
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35118
35119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35120 /* end confdefs.h. */
35121 #include <math.h>
35122 int
35123 main ()
35124 {
35125 _fmodf(0, 0);
35126 ;
35127 return 0;
35128 }
35129 _ACEOF
35130 if ac_fn_cxx_try_compile "$LINENO"; then :
35131 glibcxx_cv_func__fmodf_use=yes
35132 else
35133 glibcxx_cv_func__fmodf_use=no
35134 fi
35135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35136 ac_ext=c
35137 ac_cpp='$CPP $CPPFLAGS'
35138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35141
35142
35143 fi
35144
35145 fi
35146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35147 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35148
35149 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35150 for ac_func in _fmodf
35151 do :
35152 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35153 if test "x$ac_cv_func__fmodf" = x""yes; then :
35154 cat >>confdefs.h <<_ACEOF
35155 #define HAVE__FMODF 1
35156 _ACEOF
35157
35158 fi
35159 done
35160
35161 fi
35162 fi
35163
35164
35165
35166
35167
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35169 $as_echo_n "checking for frexpf declaration... " >&6; }
35170 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35171 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35172 $as_echo_n "(cached) " >&6
35173 else
35174
35175
35176 ac_ext=cpp
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35181
35182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35183 /* end confdefs.h. */
35184 #include <math.h>
35185 int
35186 main ()
35187 {
35188 frexpf(0, 0);
35189 ;
35190 return 0;
35191 }
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194 glibcxx_cv_func_frexpf_use=yes
35195 else
35196 glibcxx_cv_func_frexpf_use=no
35197 fi
35198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35199 ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35204
35205
35206 fi
35207
35208 fi
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35210 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35211
35212 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35213 for ac_func in frexpf
35214 do :
35215 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35216 if test "x$ac_cv_func_frexpf" = x""yes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define HAVE_FREXPF 1
35219 _ACEOF
35220
35221 fi
35222 done
35223
35224 else
35225
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35227 $as_echo_n "checking for _frexpf declaration... " >&6; }
35228 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35229 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35230 $as_echo_n "(cached) " >&6
35231 else
35232
35233
35234 ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239
35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h. */
35242 #include <math.h>
35243 int
35244 main ()
35245 {
35246 _frexpf(0, 0);
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 if ac_fn_cxx_try_compile "$LINENO"; then :
35252 glibcxx_cv_func__frexpf_use=yes
35253 else
35254 glibcxx_cv_func__frexpf_use=no
35255 fi
35256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35257 ac_ext=c
35258 ac_cpp='$CPP $CPPFLAGS'
35259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35262
35263
35264 fi
35265
35266 fi
35267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35268 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35269
35270 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35271 for ac_func in _frexpf
35272 do :
35273 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35274 if test "x$ac_cv_func__frexpf" = x""yes; then :
35275 cat >>confdefs.h <<_ACEOF
35276 #define HAVE__FREXPF 1
35277 _ACEOF
35278
35279 fi
35280 done
35281
35282 fi
35283 fi
35284
35285
35286
35287
35288
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35290 $as_echo_n "checking for hypotf declaration... " >&6; }
35291 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35292 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35293 $as_echo_n "(cached) " >&6
35294 else
35295
35296
35297 ac_ext=cpp
35298 ac_cpp='$CXXCPP $CPPFLAGS'
35299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35302
35303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35304 /* end confdefs.h. */
35305 #include <math.h>
35306 int
35307 main ()
35308 {
35309 hypotf(0, 0);
35310 ;
35311 return 0;
35312 }
35313 _ACEOF
35314 if ac_fn_cxx_try_compile "$LINENO"; then :
35315 glibcxx_cv_func_hypotf_use=yes
35316 else
35317 glibcxx_cv_func_hypotf_use=no
35318 fi
35319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35320 ac_ext=c
35321 ac_cpp='$CPP $CPPFLAGS'
35322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35325
35326
35327 fi
35328
35329 fi
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35331 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35332
35333 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35334 for ac_func in hypotf
35335 do :
35336 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35337 if test "x$ac_cv_func_hypotf" = x""yes; then :
35338 cat >>confdefs.h <<_ACEOF
35339 #define HAVE_HYPOTF 1
35340 _ACEOF
35341
35342 fi
35343 done
35344
35345 else
35346
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35348 $as_echo_n "checking for _hypotf declaration... " >&6; }
35349 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35350 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35351 $as_echo_n "(cached) " >&6
35352 else
35353
35354
35355 ac_ext=cpp
35356 ac_cpp='$CXXCPP $CPPFLAGS'
35357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35360
35361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35362 /* end confdefs.h. */
35363 #include <math.h>
35364 int
35365 main ()
35366 {
35367 _hypotf(0, 0);
35368 ;
35369 return 0;
35370 }
35371 _ACEOF
35372 if ac_fn_cxx_try_compile "$LINENO"; then :
35373 glibcxx_cv_func__hypotf_use=yes
35374 else
35375 glibcxx_cv_func__hypotf_use=no
35376 fi
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35383
35384
35385 fi
35386
35387 fi
35388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35389 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35390
35391 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35392 for ac_func in _hypotf
35393 do :
35394 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35395 if test "x$ac_cv_func__hypotf" = x""yes; then :
35396 cat >>confdefs.h <<_ACEOF
35397 #define HAVE__HYPOTF 1
35398 _ACEOF
35399
35400 fi
35401 done
35402
35403 fi
35404 fi
35405
35406
35407
35408
35409
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35411 $as_echo_n "checking for ldexpf declaration... " >&6; }
35412 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35413 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35414 $as_echo_n "(cached) " >&6
35415 else
35416
35417
35418 ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423
35424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h. */
35426 #include <math.h>
35427 int
35428 main ()
35429 {
35430 ldexpf(0, 0);
35431 ;
35432 return 0;
35433 }
35434 _ACEOF
35435 if ac_fn_cxx_try_compile "$LINENO"; then :
35436 glibcxx_cv_func_ldexpf_use=yes
35437 else
35438 glibcxx_cv_func_ldexpf_use=no
35439 fi
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441 ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446
35447
35448 fi
35449
35450 fi
35451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35452 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35453
35454 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35455 for ac_func in ldexpf
35456 do :
35457 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35458 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35459 cat >>confdefs.h <<_ACEOF
35460 #define HAVE_LDEXPF 1
35461 _ACEOF
35462
35463 fi
35464 done
35465
35466 else
35467
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35469 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35470 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35471 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35472 $as_echo_n "(cached) " >&6
35473 else
35474
35475
35476 ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h. */
35484 #include <math.h>
35485 int
35486 main ()
35487 {
35488 _ldexpf(0, 0);
35489 ;
35490 return 0;
35491 }
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494 glibcxx_cv_func__ldexpf_use=yes
35495 else
35496 glibcxx_cv_func__ldexpf_use=no
35497 fi
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499 ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504
35505
35506 fi
35507
35508 fi
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35510 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35511
35512 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35513 for ac_func in _ldexpf
35514 do :
35515 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35516 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35517 cat >>confdefs.h <<_ACEOF
35518 #define HAVE__LDEXPF 1
35519 _ACEOF
35520
35521 fi
35522 done
35523
35524 fi
35525 fi
35526
35527
35528
35529
35530
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35532 $as_echo_n "checking for logf declaration... " >&6; }
35533 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35534 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35535 $as_echo_n "(cached) " >&6
35536 else
35537
35538
35539 ac_ext=cpp
35540 ac_cpp='$CXXCPP $CPPFLAGS'
35541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35544
35545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35546 /* end confdefs.h. */
35547 #include <math.h>
35548 #ifdef HAVE_IEEEFP_H
35549 #include <ieeefp.h>
35550 #endif
35551
35552 int
35553 main ()
35554 {
35555 logf(0);
35556 ;
35557 return 0;
35558 }
35559 _ACEOF
35560 if ac_fn_cxx_try_compile "$LINENO"; then :
35561 glibcxx_cv_func_logf_use=yes
35562 else
35563 glibcxx_cv_func_logf_use=no
35564 fi
35565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35566 ac_ext=c
35567 ac_cpp='$CPP $CPPFLAGS'
35568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571
35572
35573 fi
35574
35575 fi
35576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35577 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35578
35579 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35580 for ac_func in logf
35581 do :
35582 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35583 if test "x$ac_cv_func_logf" = x""yes; then :
35584 cat >>confdefs.h <<_ACEOF
35585 #define HAVE_LOGF 1
35586 _ACEOF
35587
35588 fi
35589 done
35590
35591 else
35592
35593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35594 $as_echo_n "checking for _logf declaration... " >&6; }
35595 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35596 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35597 $as_echo_n "(cached) " >&6
35598 else
35599
35600
35601 ac_ext=cpp
35602 ac_cpp='$CXXCPP $CPPFLAGS'
35603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35606
35607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35608 /* end confdefs.h. */
35609 #include <math.h>
35610 #ifdef HAVE_IEEEFP_H
35611 #include <ieeefp.h>
35612 #endif
35613
35614 int
35615 main ()
35616 {
35617 _logf(0);
35618 ;
35619 return 0;
35620 }
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623 glibcxx_cv_func__logf_use=yes
35624 else
35625 glibcxx_cv_func__logf_use=no
35626 fi
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628 ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634
35635 fi
35636
35637 fi
35638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35639 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35640
35641 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35642 for ac_func in _logf
35643 do :
35644 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35645 if test "x$ac_cv_func__logf" = x""yes; then :
35646 cat >>confdefs.h <<_ACEOF
35647 #define HAVE__LOGF 1
35648 _ACEOF
35649
35650 fi
35651 done
35652
35653 fi
35654 fi
35655
35656
35657
35658
35659
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35661 $as_echo_n "checking for log10f declaration... " >&6; }
35662 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35663 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35664 $as_echo_n "(cached) " >&6
35665 else
35666
35667
35668 ac_ext=cpp
35669 ac_cpp='$CXXCPP $CPPFLAGS'
35670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35673
35674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35675 /* end confdefs.h. */
35676 #include <math.h>
35677 #ifdef HAVE_IEEEFP_H
35678 #include <ieeefp.h>
35679 #endif
35680
35681 int
35682 main ()
35683 {
35684 log10f(0);
35685 ;
35686 return 0;
35687 }
35688 _ACEOF
35689 if ac_fn_cxx_try_compile "$LINENO"; then :
35690 glibcxx_cv_func_log10f_use=yes
35691 else
35692 glibcxx_cv_func_log10f_use=no
35693 fi
35694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35695 ac_ext=c
35696 ac_cpp='$CPP $CPPFLAGS'
35697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35700
35701
35702 fi
35703
35704 fi
35705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35706 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35707
35708 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35709 for ac_func in log10f
35710 do :
35711 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35712 if test "x$ac_cv_func_log10f" = x""yes; then :
35713 cat >>confdefs.h <<_ACEOF
35714 #define HAVE_LOG10F 1
35715 _ACEOF
35716
35717 fi
35718 done
35719
35720 else
35721
35722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35723 $as_echo_n "checking for _log10f declaration... " >&6; }
35724 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35725 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35726 $as_echo_n "(cached) " >&6
35727 else
35728
35729
35730 ac_ext=cpp
35731 ac_cpp='$CXXCPP $CPPFLAGS'
35732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35735
35736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35737 /* end confdefs.h. */
35738 #include <math.h>
35739 #ifdef HAVE_IEEEFP_H
35740 #include <ieeefp.h>
35741 #endif
35742
35743 int
35744 main ()
35745 {
35746 _log10f(0);
35747 ;
35748 return 0;
35749 }
35750 _ACEOF
35751 if ac_fn_cxx_try_compile "$LINENO"; then :
35752 glibcxx_cv_func__log10f_use=yes
35753 else
35754 glibcxx_cv_func__log10f_use=no
35755 fi
35756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35757 ac_ext=c
35758 ac_cpp='$CPP $CPPFLAGS'
35759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35762
35763
35764 fi
35765
35766 fi
35767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35768 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35769
35770 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35771 for ac_func in _log10f
35772 do :
35773 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35774 if test "x$ac_cv_func__log10f" = x""yes; then :
35775 cat >>confdefs.h <<_ACEOF
35776 #define HAVE__LOG10F 1
35777 _ACEOF
35778
35779 fi
35780 done
35781
35782 fi
35783 fi
35784
35785
35786
35787
35788
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35790 $as_echo_n "checking for modff declaration... " >&6; }
35791 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35792 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35793 $as_echo_n "(cached) " >&6
35794 else
35795
35796
35797 ac_ext=cpp
35798 ac_cpp='$CXXCPP $CPPFLAGS'
35799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35802
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35804 /* end confdefs.h. */
35805 #include <math.h>
35806 int
35807 main ()
35808 {
35809 modff(0, 0);
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 if ac_fn_cxx_try_compile "$LINENO"; then :
35815 glibcxx_cv_func_modff_use=yes
35816 else
35817 glibcxx_cv_func_modff_use=no
35818 fi
35819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35820 ac_ext=c
35821 ac_cpp='$CPP $CPPFLAGS'
35822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35825
35826
35827 fi
35828
35829 fi
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35831 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35832
35833 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35834 for ac_func in modff
35835 do :
35836 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35837 if test "x$ac_cv_func_modff" = x""yes; then :
35838 cat >>confdefs.h <<_ACEOF
35839 #define HAVE_MODFF 1
35840 _ACEOF
35841
35842 fi
35843 done
35844
35845 else
35846
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35848 $as_echo_n "checking for _modff declaration... " >&6; }
35849 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35850 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35851 $as_echo_n "(cached) " >&6
35852 else
35853
35854
35855 ac_ext=cpp
35856 ac_cpp='$CXXCPP $CPPFLAGS'
35857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35860
35861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35862 /* end confdefs.h. */
35863 #include <math.h>
35864 int
35865 main ()
35866 {
35867 _modff(0, 0);
35868 ;
35869 return 0;
35870 }
35871 _ACEOF
35872 if ac_fn_cxx_try_compile "$LINENO"; then :
35873 glibcxx_cv_func__modff_use=yes
35874 else
35875 glibcxx_cv_func__modff_use=no
35876 fi
35877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35878 ac_ext=c
35879 ac_cpp='$CPP $CPPFLAGS'
35880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35883
35884
35885 fi
35886
35887 fi
35888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35889 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35890
35891 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35892 for ac_func in _modff
35893 do :
35894 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35895 if test "x$ac_cv_func__modff" = x""yes; then :
35896 cat >>confdefs.h <<_ACEOF
35897 #define HAVE__MODFF 1
35898 _ACEOF
35899
35900 fi
35901 done
35902
35903 fi
35904 fi
35905
35906
35907
35908
35909
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35911 $as_echo_n "checking for modf declaration... " >&6; }
35912 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35913 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35914 $as_echo_n "(cached) " >&6
35915 else
35916
35917
35918 ac_ext=cpp
35919 ac_cpp='$CXXCPP $CPPFLAGS'
35920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35923
35924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35925 /* end confdefs.h. */
35926 #include <math.h>
35927 int
35928 main ()
35929 {
35930 modf(0, 0);
35931 ;
35932 return 0;
35933 }
35934 _ACEOF
35935 if ac_fn_cxx_try_compile "$LINENO"; then :
35936 glibcxx_cv_func_modf_use=yes
35937 else
35938 glibcxx_cv_func_modf_use=no
35939 fi
35940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35941 ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946
35947
35948 fi
35949
35950 fi
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35952 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35953
35954 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35955 for ac_func in modf
35956 do :
35957 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35958 if test "x$ac_cv_func_modf" = x""yes; then :
35959 cat >>confdefs.h <<_ACEOF
35960 #define HAVE_MODF 1
35961 _ACEOF
35962
35963 fi
35964 done
35965
35966 else
35967
35968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35969 $as_echo_n "checking for _modf declaration... " >&6; }
35970 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35971 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35972 $as_echo_n "(cached) " >&6
35973 else
35974
35975
35976 ac_ext=cpp
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981
35982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35983 /* end confdefs.h. */
35984 #include <math.h>
35985 int
35986 main ()
35987 {
35988 _modf(0, 0);
35989 ;
35990 return 0;
35991 }
35992 _ACEOF
35993 if ac_fn_cxx_try_compile "$LINENO"; then :
35994 glibcxx_cv_func__modf_use=yes
35995 else
35996 glibcxx_cv_func__modf_use=no
35997 fi
35998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35999 ac_ext=c
36000 ac_cpp='$CPP $CPPFLAGS'
36001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004
36005
36006 fi
36007
36008 fi
36009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36010 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36011
36012 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36013 for ac_func in _modf
36014 do :
36015 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36016 if test "x$ac_cv_func__modf" = x""yes; then :
36017 cat >>confdefs.h <<_ACEOF
36018 #define HAVE__MODF 1
36019 _ACEOF
36020
36021 fi
36022 done
36023
36024 fi
36025 fi
36026
36027
36028
36029
36030
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36032 $as_echo_n "checking for powf declaration... " >&6; }
36033 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36034 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36035 $as_echo_n "(cached) " >&6
36036 else
36037
36038
36039 ac_ext=cpp
36040 ac_cpp='$CXXCPP $CPPFLAGS'
36041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044
36045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 /* end confdefs.h. */
36047 #include <math.h>
36048 int
36049 main ()
36050 {
36051 powf(0, 0);
36052 ;
36053 return 0;
36054 }
36055 _ACEOF
36056 if ac_fn_cxx_try_compile "$LINENO"; then :
36057 glibcxx_cv_func_powf_use=yes
36058 else
36059 glibcxx_cv_func_powf_use=no
36060 fi
36061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062 ac_ext=c
36063 ac_cpp='$CPP $CPPFLAGS'
36064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067
36068
36069 fi
36070
36071 fi
36072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36073 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36074
36075 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36076 for ac_func in powf
36077 do :
36078 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36079 if test "x$ac_cv_func_powf" = x""yes; then :
36080 cat >>confdefs.h <<_ACEOF
36081 #define HAVE_POWF 1
36082 _ACEOF
36083
36084 fi
36085 done
36086
36087 else
36088
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36090 $as_echo_n "checking for _powf declaration... " >&6; }
36091 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36092 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36093 $as_echo_n "(cached) " >&6
36094 else
36095
36096
36097 ac_ext=cpp
36098 ac_cpp='$CXXCPP $CPPFLAGS'
36099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102
36103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36104 /* end confdefs.h. */
36105 #include <math.h>
36106 int
36107 main ()
36108 {
36109 _powf(0, 0);
36110 ;
36111 return 0;
36112 }
36113 _ACEOF
36114 if ac_fn_cxx_try_compile "$LINENO"; then :
36115 glibcxx_cv_func__powf_use=yes
36116 else
36117 glibcxx_cv_func__powf_use=no
36118 fi
36119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36120 ac_ext=c
36121 ac_cpp='$CPP $CPPFLAGS'
36122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125
36126
36127 fi
36128
36129 fi
36130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36131 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36132
36133 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36134 for ac_func in _powf
36135 do :
36136 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36137 if test "x$ac_cv_func__powf" = x""yes; then :
36138 cat >>confdefs.h <<_ACEOF
36139 #define HAVE__POWF 1
36140 _ACEOF
36141
36142 fi
36143 done
36144
36145 fi
36146 fi
36147
36148
36149
36150
36151
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36153 $as_echo_n "checking for sqrtf declaration... " >&6; }
36154 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36155 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36156 $as_echo_n "(cached) " >&6
36157 else
36158
36159
36160 ac_ext=cpp
36161 ac_cpp='$CXXCPP $CPPFLAGS'
36162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36165
36166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36167 /* end confdefs.h. */
36168 #include <math.h>
36169 #ifdef HAVE_IEEEFP_H
36170 #include <ieeefp.h>
36171 #endif
36172
36173 int
36174 main ()
36175 {
36176 sqrtf(0);
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 if ac_fn_cxx_try_compile "$LINENO"; then :
36182 glibcxx_cv_func_sqrtf_use=yes
36183 else
36184 glibcxx_cv_func_sqrtf_use=no
36185 fi
36186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36187 ac_ext=c
36188 ac_cpp='$CPP $CPPFLAGS'
36189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36192
36193
36194 fi
36195
36196 fi
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36198 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36199
36200 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36201 for ac_func in sqrtf
36202 do :
36203 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36204 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36205 cat >>confdefs.h <<_ACEOF
36206 #define HAVE_SQRTF 1
36207 _ACEOF
36208
36209 fi
36210 done
36211
36212 else
36213
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36215 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36216 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36217 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36218 $as_echo_n "(cached) " >&6
36219 else
36220
36221
36222 ac_ext=cpp
36223 ac_cpp='$CXXCPP $CPPFLAGS'
36224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36227
36228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36229 /* end confdefs.h. */
36230 #include <math.h>
36231 #ifdef HAVE_IEEEFP_H
36232 #include <ieeefp.h>
36233 #endif
36234
36235 int
36236 main ()
36237 {
36238 _sqrtf(0);
36239 ;
36240 return 0;
36241 }
36242 _ACEOF
36243 if ac_fn_cxx_try_compile "$LINENO"; then :
36244 glibcxx_cv_func__sqrtf_use=yes
36245 else
36246 glibcxx_cv_func__sqrtf_use=no
36247 fi
36248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36249 ac_ext=c
36250 ac_cpp='$CPP $CPPFLAGS'
36251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36254
36255
36256 fi
36257
36258 fi
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36260 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36261
36262 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36263 for ac_func in _sqrtf
36264 do :
36265 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36266 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36267 cat >>confdefs.h <<_ACEOF
36268 #define HAVE__SQRTF 1
36269 _ACEOF
36270
36271 fi
36272 done
36273
36274 fi
36275 fi
36276
36277
36278
36279
36280
36281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36282 $as_echo_n "checking for sincosf declaration... " >&6; }
36283 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36284 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36285 $as_echo_n "(cached) " >&6
36286 else
36287
36288
36289 ac_ext=cpp
36290 ac_cpp='$CXXCPP $CPPFLAGS'
36291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36294
36295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36296 /* end confdefs.h. */
36297 #include <math.h>
36298 int
36299 main ()
36300 {
36301 sincosf(0, 0, 0);
36302 ;
36303 return 0;
36304 }
36305 _ACEOF
36306 if ac_fn_cxx_try_compile "$LINENO"; then :
36307 glibcxx_cv_func_sincosf_use=yes
36308 else
36309 glibcxx_cv_func_sincosf_use=no
36310 fi
36311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36312 ac_ext=c
36313 ac_cpp='$CPP $CPPFLAGS'
36314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36317
36318
36319 fi
36320
36321 fi
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36323 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36324
36325 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36326 for ac_func in sincosf
36327 do :
36328 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36329 if test "x$ac_cv_func_sincosf" = x""yes; then :
36330 cat >>confdefs.h <<_ACEOF
36331 #define HAVE_SINCOSF 1
36332 _ACEOF
36333
36334 fi
36335 done
36336
36337 else
36338
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36340 $as_echo_n "checking for _sincosf declaration... " >&6; }
36341 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36342 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36345
36346
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36352
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36356 int
36357 main ()
36358 {
36359 _sincosf(0, 0, 0);
36360 ;
36361 return 0;
36362 }
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365 glibcxx_cv_func__sincosf_use=yes
36366 else
36367 glibcxx_cv_func__sincosf_use=no
36368 fi
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36375
36376
36377 fi
36378
36379 fi
36380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36381 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36382
36383 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36384 for ac_func in _sincosf
36385 do :
36386 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36387 if test "x$ac_cv_func__sincosf" = x""yes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define HAVE__SINCOSF 1
36390 _ACEOF
36391
36392 fi
36393 done
36394
36395 fi
36396 fi
36397
36398
36399
36400
36401
36402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36403 $as_echo_n "checking for finitef declaration... " >&6; }
36404 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36405 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36406 $as_echo_n "(cached) " >&6
36407 else
36408
36409
36410 ac_ext=cpp
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415
36416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36417 /* end confdefs.h. */
36418 #include <math.h>
36419 #ifdef HAVE_IEEEFP_H
36420 #include <ieeefp.h>
36421 #endif
36422
36423 int
36424 main ()
36425 {
36426 finitef(0);
36427 ;
36428 return 0;
36429 }
36430 _ACEOF
36431 if ac_fn_cxx_try_compile "$LINENO"; then :
36432 glibcxx_cv_func_finitef_use=yes
36433 else
36434 glibcxx_cv_func_finitef_use=no
36435 fi
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 ac_ext=c
36438 ac_cpp='$CPP $CPPFLAGS'
36439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442
36443
36444 fi
36445
36446 fi
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36448 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36449
36450 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36451 for ac_func in finitef
36452 do :
36453 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36454 if test "x$ac_cv_func_finitef" = x""yes; then :
36455 cat >>confdefs.h <<_ACEOF
36456 #define HAVE_FINITEF 1
36457 _ACEOF
36458
36459 fi
36460 done
36461
36462 else
36463
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36465 $as_echo_n "checking for _finitef declaration... " >&6; }
36466 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36467 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36468 $as_echo_n "(cached) " >&6
36469 else
36470
36471
36472 ac_ext=cpp
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477
36478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36479 /* end confdefs.h. */
36480 #include <math.h>
36481 #ifdef HAVE_IEEEFP_H
36482 #include <ieeefp.h>
36483 #endif
36484
36485 int
36486 main ()
36487 {
36488 _finitef(0);
36489 ;
36490 return 0;
36491 }
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__finitef_use=yes
36495 else
36496 glibcxx_cv_func__finitef_use=no
36497 fi
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504
36505
36506 fi
36507
36508 fi
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36510 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36511
36512 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36513 for ac_func in _finitef
36514 do :
36515 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36516 if test "x$ac_cv_func__finitef" = x""yes; then :
36517 cat >>confdefs.h <<_ACEOF
36518 #define HAVE__FINITEF 1
36519 _ACEOF
36520
36521 fi
36522 done
36523
36524 fi
36525 fi
36526
36527
36528
36529
36530
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36532 $as_echo_n "checking for long double trig functions... " >&6; }
36533 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36534 $as_echo_n "(cached) " >&6
36535 else
36536
36537
36538 ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36543
36544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h. */
36546 #include <math.h>
36547 int
36548 main ()
36549 {
36550 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36551 ;
36552 return 0;
36553 }
36554 _ACEOF
36555 if ac_fn_cxx_try_compile "$LINENO"; then :
36556 glibcxx_cv_func_long_double_trig_use=yes
36557 else
36558 glibcxx_cv_func_long_double_trig_use=no
36559 fi
36560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36561 ac_ext=c
36562 ac_cpp='$CPP $CPPFLAGS'
36563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36566
36567 fi
36568
36569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36570 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36571 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36572 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36573 do :
36574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36576 eval as_val=\$$as_ac_var
36577 if test "x$as_val" = x""yes; then :
36578 cat >>confdefs.h <<_ACEOF
36579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36580 _ACEOF
36581
36582 fi
36583 done
36584
36585 else
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36587 $as_echo_n "checking for _long double trig functions... " >&6; }
36588 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36589 $as_echo_n "(cached) " >&6
36590 else
36591
36592
36593 ac_ext=cpp
36594 ac_cpp='$CXXCPP $CPPFLAGS'
36595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598
36599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36600 /* end confdefs.h. */
36601 #include <math.h>
36602 int
36603 main ()
36604 {
36605 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36606 ;
36607 return 0;
36608 }
36609 _ACEOF
36610 if ac_fn_cxx_try_compile "$LINENO"; then :
36611 glibcxx_cv_func__long_double_trig_use=yes
36612 else
36613 glibcxx_cv_func__long_double_trig_use=no
36614 fi
36615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36616 ac_ext=c
36617 ac_cpp='$CPP $CPPFLAGS'
36618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621
36622 fi
36623
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36625 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36626 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36627 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36628 do :
36629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36631 eval as_val=\$$as_ac_var
36632 if test "x$as_val" = x""yes; then :
36633 cat >>confdefs.h <<_ACEOF
36634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36635 _ACEOF
36636
36637 fi
36638 done
36639
36640 fi
36641 fi
36642
36643
36644
36645
36646
36647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36648 $as_echo_n "checking for long double round functions... " >&6; }
36649 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36650 $as_echo_n "(cached) " >&6
36651 else
36652
36653
36654 ac_ext=cpp
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36662 #include <math.h>
36663 int
36664 main ()
36665 {
36666 ceill (0); floorl (0);
36667 ;
36668 return 0;
36669 }
36670 _ACEOF
36671 if ac_fn_cxx_try_compile "$LINENO"; then :
36672 glibcxx_cv_func_long_double_round_use=yes
36673 else
36674 glibcxx_cv_func_long_double_round_use=no
36675 fi
36676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36677 ac_ext=c
36678 ac_cpp='$CPP $CPPFLAGS'
36679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36682
36683 fi
36684
36685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36686 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36687 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36688 for ac_func in ceill floorl
36689 do :
36690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36692 eval as_val=\$$as_ac_var
36693 if test "x$as_val" = x""yes; then :
36694 cat >>confdefs.h <<_ACEOF
36695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36696 _ACEOF
36697
36698 fi
36699 done
36700
36701 else
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36703 $as_echo_n "checking for _long double round functions... " >&6; }
36704 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 int
36719 main ()
36720 {
36721 _ceill (0); _floorl (0);
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func__long_double_round_use=yes
36728 else
36729 glibcxx_cv_func__long_double_round_use=no
36730 fi
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737
36738 fi
36739
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36741 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36742 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36743 for ac_func in _ceill _floorl
36744 do :
36745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36747 eval as_val=\$$as_ac_var
36748 if test "x$as_val" = x""yes; then :
36749 cat >>confdefs.h <<_ACEOF
36750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 _ACEOF
36752
36753 fi
36754 done
36755
36756 fi
36757 fi
36758
36759
36760
36761
36762
36763
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36765 $as_echo_n "checking for isnanl declaration... " >&6; }
36766 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36767 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36770
36771
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36781 #ifdef HAVE_IEEEFP_H
36782 #include <ieeefp.h>
36783 #endif
36784
36785 int
36786 main ()
36787 {
36788 isnanl(0);
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 if ac_fn_cxx_try_compile "$LINENO"; then :
36794 glibcxx_cv_func_isnanl_use=yes
36795 else
36796 glibcxx_cv_func_isnanl_use=no
36797 fi
36798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799 ac_ext=c
36800 ac_cpp='$CPP $CPPFLAGS'
36801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36804
36805
36806 fi
36807
36808 fi
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36810 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36811
36812 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36813 for ac_func in isnanl
36814 do :
36815 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36816 if test "x$ac_cv_func_isnanl" = x""yes; then :
36817 cat >>confdefs.h <<_ACEOF
36818 #define HAVE_ISNANL 1
36819 _ACEOF
36820
36821 fi
36822 done
36823
36824 else
36825
36826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36827 $as_echo_n "checking for _isnanl declaration... " >&6; }
36828 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36829 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36830 $as_echo_n "(cached) " >&6
36831 else
36832
36833
36834 ac_ext=cpp
36835 ac_cpp='$CXXCPP $CPPFLAGS'
36836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839
36840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36841 /* end confdefs.h. */
36842 #include <math.h>
36843 #ifdef HAVE_IEEEFP_H
36844 #include <ieeefp.h>
36845 #endif
36846
36847 int
36848 main ()
36849 {
36850 _isnanl(0);
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func__isnanl_use=yes
36857 else
36858 glibcxx_cv_func__isnanl_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870 fi
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36872 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36873
36874 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36875 for ac_func in _isnanl
36876 do :
36877 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36878 if test "x$ac_cv_func__isnanl" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE__ISNANL 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886 fi
36887 fi
36888
36889
36890
36891
36892
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36894 $as_echo_n "checking for isinfl declaration... " >&6; }
36895 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36896 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36897 $as_echo_n "(cached) " >&6
36898 else
36899
36900
36901 ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906
36907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908 /* end confdefs.h. */
36909 #include <math.h>
36910 #ifdef HAVE_IEEEFP_H
36911 #include <ieeefp.h>
36912 #endif
36913
36914 int
36915 main ()
36916 {
36917 isinfl(0);
36918 ;
36919 return 0;
36920 }
36921 _ACEOF
36922 if ac_fn_cxx_try_compile "$LINENO"; then :
36923 glibcxx_cv_func_isinfl_use=yes
36924 else
36925 glibcxx_cv_func_isinfl_use=no
36926 fi
36927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36928 ac_ext=c
36929 ac_cpp='$CPP $CPPFLAGS'
36930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36933
36934
36935 fi
36936
36937 fi
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36939 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36940
36941 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36942 for ac_func in isinfl
36943 do :
36944 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36945 if test "x$ac_cv_func_isinfl" = x""yes; then :
36946 cat >>confdefs.h <<_ACEOF
36947 #define HAVE_ISINFL 1
36948 _ACEOF
36949
36950 fi
36951 done
36952
36953 else
36954
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36956 $as_echo_n "checking for _isinfl declaration... " >&6; }
36957 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36958 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36959 $as_echo_n "(cached) " >&6
36960 else
36961
36962
36963 ac_ext=cpp
36964 ac_cpp='$CXXCPP $CPPFLAGS'
36965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968
36969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36970 /* end confdefs.h. */
36971 #include <math.h>
36972 #ifdef HAVE_IEEEFP_H
36973 #include <ieeefp.h>
36974 #endif
36975
36976 int
36977 main ()
36978 {
36979 _isinfl(0);
36980 ;
36981 return 0;
36982 }
36983 _ACEOF
36984 if ac_fn_cxx_try_compile "$LINENO"; then :
36985 glibcxx_cv_func__isinfl_use=yes
36986 else
36987 glibcxx_cv_func__isinfl_use=no
36988 fi
36989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36990 ac_ext=c
36991 ac_cpp='$CPP $CPPFLAGS'
36992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36995
36996
36997 fi
36998
36999 fi
37000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37001 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37002
37003 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37004 for ac_func in _isinfl
37005 do :
37006 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37007 if test "x$ac_cv_func__isinfl" = x""yes; then :
37008 cat >>confdefs.h <<_ACEOF
37009 #define HAVE__ISINFL 1
37010 _ACEOF
37011
37012 fi
37013 done
37014
37015 fi
37016 fi
37017
37018
37019
37020
37021
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37023 $as_echo_n "checking for atan2l declaration... " >&6; }
37024 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37025 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37026 $as_echo_n "(cached) " >&6
37027 else
37028
37029
37030 ac_ext=cpp
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035
37036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37037 /* end confdefs.h. */
37038 #include <math.h>
37039 int
37040 main ()
37041 {
37042 atan2l(0, 0);
37043 ;
37044 return 0;
37045 }
37046 _ACEOF
37047 if ac_fn_cxx_try_compile "$LINENO"; then :
37048 glibcxx_cv_func_atan2l_use=yes
37049 else
37050 glibcxx_cv_func_atan2l_use=no
37051 fi
37052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37053 ac_ext=c
37054 ac_cpp='$CPP $CPPFLAGS'
37055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058
37059
37060 fi
37061
37062 fi
37063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37064 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37065
37066 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37067 for ac_func in atan2l
37068 do :
37069 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37070 if test "x$ac_cv_func_atan2l" = x""yes; then :
37071 cat >>confdefs.h <<_ACEOF
37072 #define HAVE_ATAN2L 1
37073 _ACEOF
37074
37075 fi
37076 done
37077
37078 else
37079
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37081 $as_echo_n "checking for _atan2l declaration... " >&6; }
37082 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37083 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37084 $as_echo_n "(cached) " >&6
37085 else
37086
37087
37088 ac_ext=cpp
37089 ac_cpp='$CXXCPP $CPPFLAGS'
37090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093
37094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37095 /* end confdefs.h. */
37096 #include <math.h>
37097 int
37098 main ()
37099 {
37100 _atan2l(0, 0);
37101 ;
37102 return 0;
37103 }
37104 _ACEOF
37105 if ac_fn_cxx_try_compile "$LINENO"; then :
37106 glibcxx_cv_func__atan2l_use=yes
37107 else
37108 glibcxx_cv_func__atan2l_use=no
37109 fi
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111 ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 fi
37119
37120 fi
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37122 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37123
37124 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37125 for ac_func in _atan2l
37126 do :
37127 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37128 if test "x$ac_cv_func__atan2l" = x""yes; then :
37129 cat >>confdefs.h <<_ACEOF
37130 #define HAVE__ATAN2L 1
37131 _ACEOF
37132
37133 fi
37134 done
37135
37136 fi
37137 fi
37138
37139
37140
37141
37142
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37144 $as_echo_n "checking for expl declaration... " >&6; }
37145 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37146 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37147 $as_echo_n "(cached) " >&6
37148 else
37149
37150
37151 ac_ext=cpp
37152 ac_cpp='$CXXCPP $CPPFLAGS'
37153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156
37157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158 /* end confdefs.h. */
37159 #include <math.h>
37160 #ifdef HAVE_IEEEFP_H
37161 #include <ieeefp.h>
37162 #endif
37163
37164 int
37165 main ()
37166 {
37167 expl(0);
37168 ;
37169 return 0;
37170 }
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173 glibcxx_cv_func_expl_use=yes
37174 else
37175 glibcxx_cv_func_expl_use=no
37176 fi
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183
37184
37185 fi
37186
37187 fi
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37189 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37190
37191 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37192 for ac_func in expl
37193 do :
37194 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37195 if test "x$ac_cv_func_expl" = x""yes; then :
37196 cat >>confdefs.h <<_ACEOF
37197 #define HAVE_EXPL 1
37198 _ACEOF
37199
37200 fi
37201 done
37202
37203 else
37204
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37206 $as_echo_n "checking for _expl declaration... " >&6; }
37207 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37208 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37209 $as_echo_n "(cached) " >&6
37210 else
37211
37212
37213 ac_ext=cpp
37214 ac_cpp='$CXXCPP $CPPFLAGS'
37215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218
37219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37220 /* end confdefs.h. */
37221 #include <math.h>
37222 #ifdef HAVE_IEEEFP_H
37223 #include <ieeefp.h>
37224 #endif
37225
37226 int
37227 main ()
37228 {
37229 _expl(0);
37230 ;
37231 return 0;
37232 }
37233 _ACEOF
37234 if ac_fn_cxx_try_compile "$LINENO"; then :
37235 glibcxx_cv_func__expl_use=yes
37236 else
37237 glibcxx_cv_func__expl_use=no
37238 fi
37239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240 ac_ext=c
37241 ac_cpp='$CPP $CPPFLAGS'
37242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245
37246
37247 fi
37248
37249 fi
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37251 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37252
37253 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37254 for ac_func in _expl
37255 do :
37256 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37257 if test "x$ac_cv_func__expl" = x""yes; then :
37258 cat >>confdefs.h <<_ACEOF
37259 #define HAVE__EXPL 1
37260 _ACEOF
37261
37262 fi
37263 done
37264
37265 fi
37266 fi
37267
37268
37269
37270
37271
37272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37273 $as_echo_n "checking for fabsl declaration... " >&6; }
37274 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37275 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37278
37279
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37289 #ifdef HAVE_IEEEFP_H
37290 #include <ieeefp.h>
37291 #endif
37292
37293 int
37294 main ()
37295 {
37296 fabsl(0);
37297 ;
37298 return 0;
37299 }
37300 _ACEOF
37301 if ac_fn_cxx_try_compile "$LINENO"; then :
37302 glibcxx_cv_func_fabsl_use=yes
37303 else
37304 glibcxx_cv_func_fabsl_use=no
37305 fi
37306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 ac_ext=c
37308 ac_cpp='$CPP $CPPFLAGS'
37309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37312
37313
37314 fi
37315
37316 fi
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37318 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37319
37320 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37321 for ac_func in fabsl
37322 do :
37323 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37324 if test "x$ac_cv_func_fabsl" = x""yes; then :
37325 cat >>confdefs.h <<_ACEOF
37326 #define HAVE_FABSL 1
37327 _ACEOF
37328
37329 fi
37330 done
37331
37332 else
37333
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37335 $as_echo_n "checking for _fabsl declaration... " >&6; }
37336 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37337 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37338 $as_echo_n "(cached) " >&6
37339 else
37340
37341
37342 ac_ext=cpp
37343 ac_cpp='$CXXCPP $CPPFLAGS'
37344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37347
37348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37349 /* end confdefs.h. */
37350 #include <math.h>
37351 #ifdef HAVE_IEEEFP_H
37352 #include <ieeefp.h>
37353 #endif
37354
37355 int
37356 main ()
37357 {
37358 _fabsl(0);
37359 ;
37360 return 0;
37361 }
37362 _ACEOF
37363 if ac_fn_cxx_try_compile "$LINENO"; then :
37364 glibcxx_cv_func__fabsl_use=yes
37365 else
37366 glibcxx_cv_func__fabsl_use=no
37367 fi
37368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37369 ac_ext=c
37370 ac_cpp='$CPP $CPPFLAGS'
37371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37374
37375
37376 fi
37377
37378 fi
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37380 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37381
37382 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37383 for ac_func in _fabsl
37384 do :
37385 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37386 if test "x$ac_cv_func__fabsl" = x""yes; then :
37387 cat >>confdefs.h <<_ACEOF
37388 #define HAVE__FABSL 1
37389 _ACEOF
37390
37391 fi
37392 done
37393
37394 fi
37395 fi
37396
37397
37398
37399
37400
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37402 $as_echo_n "checking for fmodl declaration... " >&6; }
37403 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37404 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37405 $as_echo_n "(cached) " >&6
37406 else
37407
37408
37409 ac_ext=cpp
37410 ac_cpp='$CXXCPP $CPPFLAGS'
37411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37414
37415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37416 /* end confdefs.h. */
37417 #include <math.h>
37418 int
37419 main ()
37420 {
37421 fmodl(0, 0);
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func_fmodl_use=yes
37428 else
37429 glibcxx_cv_func_fmodl_use=no
37430 fi
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37437
37438
37439 fi
37440
37441 fi
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37443 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37444
37445 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37446 for ac_func in fmodl
37447 do :
37448 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37449 if test "x$ac_cv_func_fmodl" = x""yes; then :
37450 cat >>confdefs.h <<_ACEOF
37451 #define HAVE_FMODL 1
37452 _ACEOF
37453
37454 fi
37455 done
37456
37457 else
37458
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37460 $as_echo_n "checking for _fmodl declaration... " >&6; }
37461 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37462 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37464 else
37465
37466
37467 ac_ext=cpp
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37472
37473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37474 /* end confdefs.h. */
37475 #include <math.h>
37476 int
37477 main ()
37478 {
37479 _fmodl(0, 0);
37480 ;
37481 return 0;
37482 }
37483 _ACEOF
37484 if ac_fn_cxx_try_compile "$LINENO"; then :
37485 glibcxx_cv_func__fmodl_use=yes
37486 else
37487 glibcxx_cv_func__fmodl_use=no
37488 fi
37489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37490 ac_ext=c
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37495
37496
37497 fi
37498
37499 fi
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37501 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37502
37503 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37504 for ac_func in _fmodl
37505 do :
37506 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37507 if test "x$ac_cv_func__fmodl" = x""yes; then :
37508 cat >>confdefs.h <<_ACEOF
37509 #define HAVE__FMODL 1
37510 _ACEOF
37511
37512 fi
37513 done
37514
37515 fi
37516 fi
37517
37518
37519
37520
37521
37522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37523 $as_echo_n "checking for frexpl declaration... " >&6; }
37524 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37525 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37526 $as_echo_n "(cached) " >&6
37527 else
37528
37529
37530 ac_ext=cpp
37531 ac_cpp='$CXXCPP $CPPFLAGS'
37532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37535
37536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37537 /* end confdefs.h. */
37538 #include <math.h>
37539 int
37540 main ()
37541 {
37542 frexpl(0, 0);
37543 ;
37544 return 0;
37545 }
37546 _ACEOF
37547 if ac_fn_cxx_try_compile "$LINENO"; then :
37548 glibcxx_cv_func_frexpl_use=yes
37549 else
37550 glibcxx_cv_func_frexpl_use=no
37551 fi
37552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37553 ac_ext=c
37554 ac_cpp='$CPP $CPPFLAGS'
37555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37558
37559
37560 fi
37561
37562 fi
37563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37564 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37565
37566 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37567 for ac_func in frexpl
37568 do :
37569 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37570 if test "x$ac_cv_func_frexpl" = x""yes; then :
37571 cat >>confdefs.h <<_ACEOF
37572 #define HAVE_FREXPL 1
37573 _ACEOF
37574
37575 fi
37576 done
37577
37578 else
37579
37580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37581 $as_echo_n "checking for _frexpl declaration... " >&6; }
37582 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37583 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37584 $as_echo_n "(cached) " >&6
37585 else
37586
37587
37588 ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593
37594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37595 /* end confdefs.h. */
37596 #include <math.h>
37597 int
37598 main ()
37599 {
37600 _frexpl(0, 0);
37601 ;
37602 return 0;
37603 }
37604 _ACEOF
37605 if ac_fn_cxx_try_compile "$LINENO"; then :
37606 glibcxx_cv_func__frexpl_use=yes
37607 else
37608 glibcxx_cv_func__frexpl_use=no
37609 fi
37610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37611 ac_ext=c
37612 ac_cpp='$CPP $CPPFLAGS'
37613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37616
37617
37618 fi
37619
37620 fi
37621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37622 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37623
37624 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37625 for ac_func in _frexpl
37626 do :
37627 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37628 if test "x$ac_cv_func__frexpl" = x""yes; then :
37629 cat >>confdefs.h <<_ACEOF
37630 #define HAVE__FREXPL 1
37631 _ACEOF
37632
37633 fi
37634 done
37635
37636 fi
37637 fi
37638
37639
37640
37641
37642
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37644 $as_echo_n "checking for hypotl declaration... " >&6; }
37645 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37646 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37647 $as_echo_n "(cached) " >&6
37648 else
37649
37650
37651 ac_ext=cpp
37652 ac_cpp='$CXXCPP $CPPFLAGS'
37653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656
37657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37658 /* end confdefs.h. */
37659 #include <math.h>
37660 int
37661 main ()
37662 {
37663 hypotl(0, 0);
37664 ;
37665 return 0;
37666 }
37667 _ACEOF
37668 if ac_fn_cxx_try_compile "$LINENO"; then :
37669 glibcxx_cv_func_hypotl_use=yes
37670 else
37671 glibcxx_cv_func_hypotl_use=no
37672 fi
37673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37674 ac_ext=c
37675 ac_cpp='$CPP $CPPFLAGS'
37676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679
37680
37681 fi
37682
37683 fi
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37685 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37686
37687 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37688 for ac_func in hypotl
37689 do :
37690 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37691 if test "x$ac_cv_func_hypotl" = x""yes; then :
37692 cat >>confdefs.h <<_ACEOF
37693 #define HAVE_HYPOTL 1
37694 _ACEOF
37695
37696 fi
37697 done
37698
37699 else
37700
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37702 $as_echo_n "checking for _hypotl declaration... " >&6; }
37703 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37704 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37705 $as_echo_n "(cached) " >&6
37706 else
37707
37708
37709 ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37717 #include <math.h>
37718 int
37719 main ()
37720 {
37721 _hypotl(0, 0);
37722 ;
37723 return 0;
37724 }
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727 glibcxx_cv_func__hypotl_use=yes
37728 else
37729 glibcxx_cv_func__hypotl_use=no
37730 fi
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732 ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737
37738
37739 fi
37740
37741 fi
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37743 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37744
37745 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37746 for ac_func in _hypotl
37747 do :
37748 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37749 if test "x$ac_cv_func__hypotl" = x""yes; then :
37750 cat >>confdefs.h <<_ACEOF
37751 #define HAVE__HYPOTL 1
37752 _ACEOF
37753
37754 fi
37755 done
37756
37757 fi
37758 fi
37759
37760
37761
37762
37763
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37765 $as_echo_n "checking for ldexpl declaration... " >&6; }
37766 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37767 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37768 $as_echo_n "(cached) " >&6
37769 else
37770
37771
37772 ac_ext=cpp
37773 ac_cpp='$CXXCPP $CPPFLAGS'
37774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777
37778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779 /* end confdefs.h. */
37780 #include <math.h>
37781 int
37782 main ()
37783 {
37784 ldexpl(0, 0);
37785 ;
37786 return 0;
37787 }
37788 _ACEOF
37789 if ac_fn_cxx_try_compile "$LINENO"; then :
37790 glibcxx_cv_func_ldexpl_use=yes
37791 else
37792 glibcxx_cv_func_ldexpl_use=no
37793 fi
37794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37795 ac_ext=c
37796 ac_cpp='$CPP $CPPFLAGS'
37797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37800
37801
37802 fi
37803
37804 fi
37805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37806 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37807
37808 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37809 for ac_func in ldexpl
37810 do :
37811 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37812 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37813 cat >>confdefs.h <<_ACEOF
37814 #define HAVE_LDEXPL 1
37815 _ACEOF
37816
37817 fi
37818 done
37819
37820 else
37821
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37823 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37824 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37825 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37826 $as_echo_n "(cached) " >&6
37827 else
37828
37829
37830 ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h. */
37838 #include <math.h>
37839 int
37840 main ()
37841 {
37842 _ldexpl(0, 0);
37843 ;
37844 return 0;
37845 }
37846 _ACEOF
37847 if ac_fn_cxx_try_compile "$LINENO"; then :
37848 glibcxx_cv_func__ldexpl_use=yes
37849 else
37850 glibcxx_cv_func__ldexpl_use=no
37851 fi
37852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37853 ac_ext=c
37854 ac_cpp='$CPP $CPPFLAGS'
37855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37858
37859
37860 fi
37861
37862 fi
37863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37864 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37865
37866 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37867 for ac_func in _ldexpl
37868 do :
37869 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37870 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37871 cat >>confdefs.h <<_ACEOF
37872 #define HAVE__LDEXPL 1
37873 _ACEOF
37874
37875 fi
37876 done
37877
37878 fi
37879 fi
37880
37881
37882
37883
37884
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37886 $as_echo_n "checking for logl declaration... " >&6; }
37887 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37888 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37889 $as_echo_n "(cached) " >&6
37890 else
37891
37892
37893 ac_ext=cpp
37894 ac_cpp='$CXXCPP $CPPFLAGS'
37895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898
37899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37900 /* end confdefs.h. */
37901 #include <math.h>
37902 #ifdef HAVE_IEEEFP_H
37903 #include <ieeefp.h>
37904 #endif
37905
37906 int
37907 main ()
37908 {
37909 logl(0);
37910 ;
37911 return 0;
37912 }
37913 _ACEOF
37914 if ac_fn_cxx_try_compile "$LINENO"; then :
37915 glibcxx_cv_func_logl_use=yes
37916 else
37917 glibcxx_cv_func_logl_use=no
37918 fi
37919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920 ac_ext=c
37921 ac_cpp='$CPP $CPPFLAGS'
37922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37925
37926
37927 fi
37928
37929 fi
37930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37931 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37932
37933 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37934 for ac_func in logl
37935 do :
37936 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37937 if test "x$ac_cv_func_logl" = x""yes; then :
37938 cat >>confdefs.h <<_ACEOF
37939 #define HAVE_LOGL 1
37940 _ACEOF
37941
37942 fi
37943 done
37944
37945 else
37946
37947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37948 $as_echo_n "checking for _logl declaration... " >&6; }
37949 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37950 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37951 $as_echo_n "(cached) " >&6
37952 else
37953
37954
37955 ac_ext=cpp
37956 ac_cpp='$CXXCPP $CPPFLAGS'
37957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37960
37961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37962 /* end confdefs.h. */
37963 #include <math.h>
37964 #ifdef HAVE_IEEEFP_H
37965 #include <ieeefp.h>
37966 #endif
37967
37968 int
37969 main ()
37970 {
37971 _logl(0);
37972 ;
37973 return 0;
37974 }
37975 _ACEOF
37976 if ac_fn_cxx_try_compile "$LINENO"; then :
37977 glibcxx_cv_func__logl_use=yes
37978 else
37979 glibcxx_cv_func__logl_use=no
37980 fi
37981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982 ac_ext=c
37983 ac_cpp='$CPP $CPPFLAGS'
37984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37987
37988
37989 fi
37990
37991 fi
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37993 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37994
37995 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37996 for ac_func in _logl
37997 do :
37998 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37999 if test "x$ac_cv_func__logl" = x""yes; then :
38000 cat >>confdefs.h <<_ACEOF
38001 #define HAVE__LOGL 1
38002 _ACEOF
38003
38004 fi
38005 done
38006
38007 fi
38008 fi
38009
38010
38011
38012
38013
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38015 $as_echo_n "checking for log10l declaration... " >&6; }
38016 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38017 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38018 $as_echo_n "(cached) " >&6
38019 else
38020
38021
38022 ac_ext=cpp
38023 ac_cpp='$CXXCPP $CPPFLAGS'
38024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027
38028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38029 /* end confdefs.h. */
38030 #include <math.h>
38031 #ifdef HAVE_IEEEFP_H
38032 #include <ieeefp.h>
38033 #endif
38034
38035 int
38036 main ()
38037 {
38038 log10l(0);
38039 ;
38040 return 0;
38041 }
38042 _ACEOF
38043 if ac_fn_cxx_try_compile "$LINENO"; then :
38044 glibcxx_cv_func_log10l_use=yes
38045 else
38046 glibcxx_cv_func_log10l_use=no
38047 fi
38048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38049 ac_ext=c
38050 ac_cpp='$CPP $CPPFLAGS'
38051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38054
38055
38056 fi
38057
38058 fi
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38060 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38061
38062 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38063 for ac_func in log10l
38064 do :
38065 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38066 if test "x$ac_cv_func_log10l" = x""yes; then :
38067 cat >>confdefs.h <<_ACEOF
38068 #define HAVE_LOG10L 1
38069 _ACEOF
38070
38071 fi
38072 done
38073
38074 else
38075
38076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38077 $as_echo_n "checking for _log10l declaration... " >&6; }
38078 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38079 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38080 $as_echo_n "(cached) " >&6
38081 else
38082
38083
38084 ac_ext=cpp
38085 ac_cpp='$CXXCPP $CPPFLAGS'
38086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38089
38090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38091 /* end confdefs.h. */
38092 #include <math.h>
38093 #ifdef HAVE_IEEEFP_H
38094 #include <ieeefp.h>
38095 #endif
38096
38097 int
38098 main ()
38099 {
38100 _log10l(0);
38101 ;
38102 return 0;
38103 }
38104 _ACEOF
38105 if ac_fn_cxx_try_compile "$LINENO"; then :
38106 glibcxx_cv_func__log10l_use=yes
38107 else
38108 glibcxx_cv_func__log10l_use=no
38109 fi
38110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38111 ac_ext=c
38112 ac_cpp='$CPP $CPPFLAGS'
38113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38116
38117
38118 fi
38119
38120 fi
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38122 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38123
38124 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38125 for ac_func in _log10l
38126 do :
38127 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38128 if test "x$ac_cv_func__log10l" = x""yes; then :
38129 cat >>confdefs.h <<_ACEOF
38130 #define HAVE__LOG10L 1
38131 _ACEOF
38132
38133 fi
38134 done
38135
38136 fi
38137 fi
38138
38139
38140
38141
38142
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38144 $as_echo_n "checking for modfl declaration... " >&6; }
38145 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38146 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38147 $as_echo_n "(cached) " >&6
38148 else
38149
38150
38151 ac_ext=cpp
38152 ac_cpp='$CXXCPP $CPPFLAGS'
38153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156
38157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38158 /* end confdefs.h. */
38159 #include <math.h>
38160 int
38161 main ()
38162 {
38163 modfl(0, 0);
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 if ac_fn_cxx_try_compile "$LINENO"; then :
38169 glibcxx_cv_func_modfl_use=yes
38170 else
38171 glibcxx_cv_func_modfl_use=no
38172 fi
38173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38174 ac_ext=c
38175 ac_cpp='$CPP $CPPFLAGS'
38176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38179
38180
38181 fi
38182
38183 fi
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38185 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38186
38187 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38188 for ac_func in modfl
38189 do :
38190 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38191 if test "x$ac_cv_func_modfl" = x""yes; then :
38192 cat >>confdefs.h <<_ACEOF
38193 #define HAVE_MODFL 1
38194 _ACEOF
38195
38196 fi
38197 done
38198
38199 else
38200
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38202 $as_echo_n "checking for _modfl declaration... " >&6; }
38203 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38204 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38205 $as_echo_n "(cached) " >&6
38206 else
38207
38208
38209 ac_ext=cpp
38210 ac_cpp='$CXXCPP $CPPFLAGS'
38211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38214
38215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38216 /* end confdefs.h. */
38217 #include <math.h>
38218 int
38219 main ()
38220 {
38221 _modfl(0, 0);
38222 ;
38223 return 0;
38224 }
38225 _ACEOF
38226 if ac_fn_cxx_try_compile "$LINENO"; then :
38227 glibcxx_cv_func__modfl_use=yes
38228 else
38229 glibcxx_cv_func__modfl_use=no
38230 fi
38231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232 ac_ext=c
38233 ac_cpp='$CPP $CPPFLAGS'
38234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38237
38238
38239 fi
38240
38241 fi
38242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38243 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38244
38245 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38246 for ac_func in _modfl
38247 do :
38248 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38249 if test "x$ac_cv_func__modfl" = x""yes; then :
38250 cat >>confdefs.h <<_ACEOF
38251 #define HAVE__MODFL 1
38252 _ACEOF
38253
38254 fi
38255 done
38256
38257 fi
38258 fi
38259
38260
38261
38262
38263
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38265 $as_echo_n "checking for powl declaration... " >&6; }
38266 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38267 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38268 $as_echo_n "(cached) " >&6
38269 else
38270
38271
38272 ac_ext=cpp
38273 ac_cpp='$CXXCPP $CPPFLAGS'
38274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38277
38278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38279 /* end confdefs.h. */
38280 #include <math.h>
38281 int
38282 main ()
38283 {
38284 powl(0, 0);
38285 ;
38286 return 0;
38287 }
38288 _ACEOF
38289 if ac_fn_cxx_try_compile "$LINENO"; then :
38290 glibcxx_cv_func_powl_use=yes
38291 else
38292 glibcxx_cv_func_powl_use=no
38293 fi
38294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38295 ac_ext=c
38296 ac_cpp='$CPP $CPPFLAGS'
38297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38300
38301
38302 fi
38303
38304 fi
38305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38306 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38307
38308 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38309 for ac_func in powl
38310 do :
38311 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38312 if test "x$ac_cv_func_powl" = x""yes; then :
38313 cat >>confdefs.h <<_ACEOF
38314 #define HAVE_POWL 1
38315 _ACEOF
38316
38317 fi
38318 done
38319
38320 else
38321
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38323 $as_echo_n "checking for _powl declaration... " >&6; }
38324 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38325 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38326 $as_echo_n "(cached) " >&6
38327 else
38328
38329
38330 ac_ext=cpp
38331 ac_cpp='$CXXCPP $CPPFLAGS'
38332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38335
38336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38337 /* end confdefs.h. */
38338 #include <math.h>
38339 int
38340 main ()
38341 {
38342 _powl(0, 0);
38343 ;
38344 return 0;
38345 }
38346 _ACEOF
38347 if ac_fn_cxx_try_compile "$LINENO"; then :
38348 glibcxx_cv_func__powl_use=yes
38349 else
38350 glibcxx_cv_func__powl_use=no
38351 fi
38352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38353 ac_ext=c
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358
38359
38360 fi
38361
38362 fi
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38364 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38365
38366 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38367 for ac_func in _powl
38368 do :
38369 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38370 if test "x$ac_cv_func__powl" = x""yes; then :
38371 cat >>confdefs.h <<_ACEOF
38372 #define HAVE__POWL 1
38373 _ACEOF
38374
38375 fi
38376 done
38377
38378 fi
38379 fi
38380
38381
38382
38383
38384
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38386 $as_echo_n "checking for sqrtl declaration... " >&6; }
38387 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38388 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38389 $as_echo_n "(cached) " >&6
38390 else
38391
38392
38393 ac_ext=cpp
38394 ac_cpp='$CXXCPP $CPPFLAGS'
38395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38398
38399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38400 /* end confdefs.h. */
38401 #include <math.h>
38402 #ifdef HAVE_IEEEFP_H
38403 #include <ieeefp.h>
38404 #endif
38405
38406 int
38407 main ()
38408 {
38409 sqrtl(0);
38410 ;
38411 return 0;
38412 }
38413 _ACEOF
38414 if ac_fn_cxx_try_compile "$LINENO"; then :
38415 glibcxx_cv_func_sqrtl_use=yes
38416 else
38417 glibcxx_cv_func_sqrtl_use=no
38418 fi
38419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38420 ac_ext=c
38421 ac_cpp='$CPP $CPPFLAGS'
38422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38425
38426
38427 fi
38428
38429 fi
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38431 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38432
38433 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38434 for ac_func in sqrtl
38435 do :
38436 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38437 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38438 cat >>confdefs.h <<_ACEOF
38439 #define HAVE_SQRTL 1
38440 _ACEOF
38441
38442 fi
38443 done
38444
38445 else
38446
38447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38448 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38449 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38450 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38451 $as_echo_n "(cached) " >&6
38452 else
38453
38454
38455 ac_ext=cpp
38456 ac_cpp='$CXXCPP $CPPFLAGS'
38457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460
38461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38462 /* end confdefs.h. */
38463 #include <math.h>
38464 #ifdef HAVE_IEEEFP_H
38465 #include <ieeefp.h>
38466 #endif
38467
38468 int
38469 main ()
38470 {
38471 _sqrtl(0);
38472 ;
38473 return 0;
38474 }
38475 _ACEOF
38476 if ac_fn_cxx_try_compile "$LINENO"; then :
38477 glibcxx_cv_func__sqrtl_use=yes
38478 else
38479 glibcxx_cv_func__sqrtl_use=no
38480 fi
38481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38482 ac_ext=c
38483 ac_cpp='$CPP $CPPFLAGS'
38484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38487
38488
38489 fi
38490
38491 fi
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38493 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38494
38495 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38496 for ac_func in _sqrtl
38497 do :
38498 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38499 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38500 cat >>confdefs.h <<_ACEOF
38501 #define HAVE__SQRTL 1
38502 _ACEOF
38503
38504 fi
38505 done
38506
38507 fi
38508 fi
38509
38510
38511
38512
38513
38514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38515 $as_echo_n "checking for sincosl declaration... " >&6; }
38516 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38517 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38518 $as_echo_n "(cached) " >&6
38519 else
38520
38521
38522 ac_ext=cpp
38523 ac_cpp='$CXXCPP $CPPFLAGS'
38524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38527
38528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38529 /* end confdefs.h. */
38530 #include <math.h>
38531 int
38532 main ()
38533 {
38534 sincosl(0, 0, 0);
38535 ;
38536 return 0;
38537 }
38538 _ACEOF
38539 if ac_fn_cxx_try_compile "$LINENO"; then :
38540 glibcxx_cv_func_sincosl_use=yes
38541 else
38542 glibcxx_cv_func_sincosl_use=no
38543 fi
38544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38545 ac_ext=c
38546 ac_cpp='$CPP $CPPFLAGS'
38547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38550
38551
38552 fi
38553
38554 fi
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38556 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38557
38558 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38559 for ac_func in sincosl
38560 do :
38561 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38562 if test "x$ac_cv_func_sincosl" = x""yes; then :
38563 cat >>confdefs.h <<_ACEOF
38564 #define HAVE_SINCOSL 1
38565 _ACEOF
38566
38567 fi
38568 done
38569
38570 else
38571
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38573 $as_echo_n "checking for _sincosl declaration... " >&6; }
38574 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38575 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38576 $as_echo_n "(cached) " >&6
38577 else
38578
38579
38580 ac_ext=cpp
38581 ac_cpp='$CXXCPP $CPPFLAGS'
38582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585
38586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38587 /* end confdefs.h. */
38588 #include <math.h>
38589 int
38590 main ()
38591 {
38592 _sincosl(0, 0, 0);
38593 ;
38594 return 0;
38595 }
38596 _ACEOF
38597 if ac_fn_cxx_try_compile "$LINENO"; then :
38598 glibcxx_cv_func__sincosl_use=yes
38599 else
38600 glibcxx_cv_func__sincosl_use=no
38601 fi
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603 ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608
38609
38610 fi
38611
38612 fi
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38614 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38615
38616 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38617 for ac_func in _sincosl
38618 do :
38619 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38620 if test "x$ac_cv_func__sincosl" = x""yes; then :
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE__SINCOSL 1
38623 _ACEOF
38624
38625 fi
38626 done
38627
38628 fi
38629 fi
38630
38631
38632
38633
38634
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38636 $as_echo_n "checking for finitel declaration... " >&6; }
38637 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38638 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38639 $as_echo_n "(cached) " >&6
38640 else
38641
38642
38643 ac_ext=cpp
38644 ac_cpp='$CXXCPP $CPPFLAGS'
38645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38648
38649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38650 /* end confdefs.h. */
38651 #include <math.h>
38652 #ifdef HAVE_IEEEFP_H
38653 #include <ieeefp.h>
38654 #endif
38655
38656 int
38657 main ()
38658 {
38659 finitel(0);
38660 ;
38661 return 0;
38662 }
38663 _ACEOF
38664 if ac_fn_cxx_try_compile "$LINENO"; then :
38665 glibcxx_cv_func_finitel_use=yes
38666 else
38667 glibcxx_cv_func_finitel_use=no
38668 fi
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670 ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38675
38676
38677 fi
38678
38679 fi
38680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38681 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38682
38683 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38684 for ac_func in finitel
38685 do :
38686 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38687 if test "x$ac_cv_func_finitel" = x""yes; then :
38688 cat >>confdefs.h <<_ACEOF
38689 #define HAVE_FINITEL 1
38690 _ACEOF
38691
38692 fi
38693 done
38694
38695 else
38696
38697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38698 $as_echo_n "checking for _finitel declaration... " >&6; }
38699 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38700 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38701 $as_echo_n "(cached) " >&6
38702 else
38703
38704
38705 ac_ext=cpp
38706 ac_cpp='$CXXCPP $CPPFLAGS'
38707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38710
38711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38712 /* end confdefs.h. */
38713 #include <math.h>
38714 #ifdef HAVE_IEEEFP_H
38715 #include <ieeefp.h>
38716 #endif
38717
38718 int
38719 main ()
38720 {
38721 _finitel(0);
38722 ;
38723 return 0;
38724 }
38725 _ACEOF
38726 if ac_fn_cxx_try_compile "$LINENO"; then :
38727 glibcxx_cv_func__finitel_use=yes
38728 else
38729 glibcxx_cv_func__finitel_use=no
38730 fi
38731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38732 ac_ext=c
38733 ac_cpp='$CPP $CPPFLAGS'
38734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38737
38738
38739 fi
38740
38741 fi
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38743 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38744
38745 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38746 for ac_func in _finitel
38747 do :
38748 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38749 if test "x$ac_cv_func__finitel" = x""yes; then :
38750 cat >>confdefs.h <<_ACEOF
38751 #define HAVE__FINITEL 1
38752 _ACEOF
38753
38754 fi
38755 done
38756
38757 fi
38758 fi
38759
38760
38761
38762
38763 LIBS="$ac_save_LIBS"
38764 CXXFLAGS="$ac_save_CXXFLAGS"
38765
38766
38767 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38768 ac_save_CXXFLAGS="$CXXFLAGS"
38769 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38770
38771
38772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38773 $as_echo_n "checking for strtold declaration... " >&6; }
38774 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38775 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38776 $as_echo_n "(cached) " >&6
38777 else
38778
38779
38780 ac_ext=cpp
38781 ac_cpp='$CXXCPP $CPPFLAGS'
38782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38785
38786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38787 /* end confdefs.h. */
38788 #include <stdlib.h>
38789 int
38790 main ()
38791 {
38792 strtold(0, 0);
38793 ;
38794 return 0;
38795 }
38796 _ACEOF
38797 if ac_fn_cxx_try_compile "$LINENO"; then :
38798 glibcxx_cv_func_strtold_use=yes
38799 else
38800 glibcxx_cv_func_strtold_use=no
38801 fi
38802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38803 ac_ext=c
38804 ac_cpp='$CPP $CPPFLAGS'
38805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38808
38809
38810 fi
38811
38812 fi
38813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38814 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38815 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38816 for ac_func in strtold
38817 do :
38818 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38819 if test "x$ac_cv_func_strtold" = x""yes; then :
38820 cat >>confdefs.h <<_ACEOF
38821 #define HAVE_STRTOLD 1
38822 _ACEOF
38823
38824 fi
38825 done
38826
38827 fi
38828
38829
38830
38831
38832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38833 $as_echo_n "checking for strtof declaration... " >&6; }
38834 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38835 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38836 $as_echo_n "(cached) " >&6
38837 else
38838
38839
38840 ac_ext=cpp
38841 ac_cpp='$CXXCPP $CPPFLAGS'
38842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38845
38846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38847 /* end confdefs.h. */
38848 #include <stdlib.h>
38849 int
38850 main ()
38851 {
38852 strtof(0, 0);
38853 ;
38854 return 0;
38855 }
38856 _ACEOF
38857 if ac_fn_cxx_try_compile "$LINENO"; then :
38858 glibcxx_cv_func_strtof_use=yes
38859 else
38860 glibcxx_cv_func_strtof_use=no
38861 fi
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 ac_ext=c
38864 ac_cpp='$CPP $CPPFLAGS'
38865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868
38869
38870 fi
38871
38872 fi
38873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38874 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38875 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38876 for ac_func in strtof
38877 do :
38878 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38879 if test "x$ac_cv_func_strtof" = x""yes; then :
38880 cat >>confdefs.h <<_ACEOF
38881 #define HAVE_STRTOF 1
38882 _ACEOF
38883
38884 fi
38885 done
38886
38887 fi
38888
38889
38890
38891
38892 CXXFLAGS="$ac_save_CXXFLAGS"
38893
38894 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38895
38896 # We don't yet support AIX's TLS ABI.
38897 #GCC_CHECK_TLS
38898
38899
38900
38901
38902
38903 am_save_CPPFLAGS="$CPPFLAGS"
38904
38905 for element in $INCICONV; do
38906 haveit=
38907 for x in $CPPFLAGS; do
38908
38909 acl_save_prefix="$prefix"
38910 prefix="$acl_final_prefix"
38911 acl_save_exec_prefix="$exec_prefix"
38912 exec_prefix="$acl_final_exec_prefix"
38913 eval x=\"$x\"
38914 exec_prefix="$acl_save_exec_prefix"
38915 prefix="$acl_save_prefix"
38916
38917 if test "X$x" = "X$element"; then
38918 haveit=yes
38919 break
38920 fi
38921 done
38922 if test -z "$haveit"; then
38923 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38924 fi
38925 done
38926
38927
38928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38929 $as_echo_n "checking for iconv... " >&6; }
38930 if test "${am_cv_func_iconv+set}" = set; then :
38931 $as_echo_n "(cached) " >&6
38932 else
38933
38934 am_cv_func_iconv="no, consider installing GNU libiconv"
38935 am_cv_lib_iconv=no
38936 if test x$gcc_no_link = xyes; then
38937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38938 fi
38939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38940 /* end confdefs.h. */
38941 #include <stdlib.h>
38942 #include <iconv.h>
38943 int
38944 main ()
38945 {
38946 iconv_t cd = iconv_open("","");
38947 iconv(cd,NULL,NULL,NULL,NULL);
38948 iconv_close(cd);
38949 ;
38950 return 0;
38951 }
38952 _ACEOF
38953 if ac_fn_c_try_link "$LINENO"; then :
38954 am_cv_func_iconv=yes
38955 fi
38956 rm -f core conftest.err conftest.$ac_objext \
38957 conftest$ac_exeext conftest.$ac_ext
38958 if test "$am_cv_func_iconv" != yes; then
38959 am_save_LIBS="$LIBS"
38960 LIBS="$LIBS $LIBICONV"
38961 if test x$gcc_no_link = xyes; then
38962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38963 fi
38964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38965 /* end confdefs.h. */
38966 #include <stdlib.h>
38967 #include <iconv.h>
38968 int
38969 main ()
38970 {
38971 iconv_t cd = iconv_open("","");
38972 iconv(cd,NULL,NULL,NULL,NULL);
38973 iconv_close(cd);
38974 ;
38975 return 0;
38976 }
38977 _ACEOF
38978 if ac_fn_c_try_link "$LINENO"; then :
38979 am_cv_lib_iconv=yes
38980 am_cv_func_iconv=yes
38981 fi
38982 rm -f core conftest.err conftest.$ac_objext \
38983 conftest$ac_exeext conftest.$ac_ext
38984 LIBS="$am_save_LIBS"
38985 fi
38986
38987 fi
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38989 $as_echo "$am_cv_func_iconv" >&6; }
38990 if test "$am_cv_func_iconv" = yes; then
38991
38992 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38993
38994 fi
38995 if test "$am_cv_lib_iconv" = yes; then
38996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38997 $as_echo_n "checking how to link with libiconv... " >&6; }
38998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38999 $as_echo "$LIBICONV" >&6; }
39000 else
39001 CPPFLAGS="$am_save_CPPFLAGS"
39002 LIBICONV=
39003 LTLIBICONV=
39004 fi
39005
39006
39007
39008 if test "$am_cv_func_iconv" = yes; then
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39010 $as_echo_n "checking for iconv declaration... " >&6; }
39011 if test "${am_cv_proto_iconv+set}" = set; then :
39012 $as_echo_n "(cached) " >&6
39013 else
39014
39015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39016 /* end confdefs.h. */
39017
39018 #include <stdlib.h>
39019 #include <iconv.h>
39020 extern
39021 #ifdef __cplusplus
39022 "C"
39023 #endif
39024 #if defined(__STDC__) || defined(__cplusplus)
39025 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39026 #else
39027 size_t iconv();
39028 #endif
39029
39030 int
39031 main ()
39032 {
39033
39034 ;
39035 return 0;
39036 }
39037 _ACEOF
39038 if ac_fn_c_try_compile "$LINENO"; then :
39039 am_cv_proto_iconv_arg1=""
39040 else
39041 am_cv_proto_iconv_arg1="const"
39042 fi
39043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39044 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);"
39045 fi
39046
39047 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39049 }$am_cv_proto_iconv" >&5
39050 $as_echo "${ac_t:-
39051 }$am_cv_proto_iconv" >&6; }
39052
39053 cat >>confdefs.h <<_ACEOF
39054 #define ICONV_CONST $am_cv_proto_iconv_arg1
39055 _ACEOF
39056
39057 fi
39058
39059 ;;
39060
39061 *-darwin*)
39062 # Darwin versions vary, but the linker should work in a cross environment,
39063 # so we just check for all the features here.
39064 # Check for available headers.
39065
39066 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39067
39068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39069 ac_save_CXXFLAGS="$CXXFLAGS"
39070 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39071
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39073 $as_echo_n "checking for sin in -lm... " >&6; }
39074 if test "${ac_cv_lib_m_sin+set}" = set; then :
39075 $as_echo_n "(cached) " >&6
39076 else
39077 ac_check_lib_save_LIBS=$LIBS
39078 LIBS="-lm $LIBS"
39079 if test x$gcc_no_link = xyes; then
39080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39081 fi
39082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39083 /* end confdefs.h. */
39084
39085 /* Override any GCC internal prototype to avoid an error.
39086 Use char because int might match the return type of a GCC
39087 builtin and then its argument prototype would still apply. */
39088 #ifdef __cplusplus
39089 extern "C"
39090 #endif
39091 char sin ();
39092 int
39093 main ()
39094 {
39095 return sin ();
39096 ;
39097 return 0;
39098 }
39099 _ACEOF
39100 if ac_fn_c_try_link "$LINENO"; then :
39101 ac_cv_lib_m_sin=yes
39102 else
39103 ac_cv_lib_m_sin=no
39104 fi
39105 rm -f core conftest.err conftest.$ac_objext \
39106 conftest$ac_exeext conftest.$ac_ext
39107 LIBS=$ac_check_lib_save_LIBS
39108 fi
39109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39110 $as_echo "$ac_cv_lib_m_sin" >&6; }
39111 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39112 libm="-lm"
39113 fi
39114
39115 ac_save_LIBS="$LIBS"
39116 LIBS="$LIBS $libm"
39117
39118
39119
39120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39121 $as_echo_n "checking for isinf declaration... " >&6; }
39122 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39123 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39124 $as_echo_n "(cached) " >&6
39125 else
39126
39127
39128 ac_ext=cpp
39129 ac_cpp='$CXXCPP $CPPFLAGS'
39130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39133
39134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39135 /* end confdefs.h. */
39136 #include <math.h>
39137 #ifdef HAVE_IEEEFP_H
39138 #include <ieeefp.h>
39139 #endif
39140
39141 int
39142 main ()
39143 {
39144 isinf(0);
39145 ;
39146 return 0;
39147 }
39148 _ACEOF
39149 if ac_fn_cxx_try_compile "$LINENO"; then :
39150 glibcxx_cv_func_isinf_use=yes
39151 else
39152 glibcxx_cv_func_isinf_use=no
39153 fi
39154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39155 ac_ext=c
39156 ac_cpp='$CPP $CPPFLAGS'
39157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39160
39161
39162 fi
39163
39164 fi
39165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39166 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39167
39168 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39169 for ac_func in isinf
39170 do :
39171 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39172 if test "x$ac_cv_func_isinf" = x""yes; then :
39173 cat >>confdefs.h <<_ACEOF
39174 #define HAVE_ISINF 1
39175 _ACEOF
39176
39177 fi
39178 done
39179
39180 else
39181
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39183 $as_echo_n "checking for _isinf declaration... " >&6; }
39184 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39185 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39186 $as_echo_n "(cached) " >&6
39187 else
39188
39189
39190 ac_ext=cpp
39191 ac_cpp='$CXXCPP $CPPFLAGS'
39192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39195
39196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39197 /* end confdefs.h. */
39198 #include <math.h>
39199 #ifdef HAVE_IEEEFP_H
39200 #include <ieeefp.h>
39201 #endif
39202
39203 int
39204 main ()
39205 {
39206 _isinf(0);
39207 ;
39208 return 0;
39209 }
39210 _ACEOF
39211 if ac_fn_cxx_try_compile "$LINENO"; then :
39212 glibcxx_cv_func__isinf_use=yes
39213 else
39214 glibcxx_cv_func__isinf_use=no
39215 fi
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39217 ac_ext=c
39218 ac_cpp='$CPP $CPPFLAGS'
39219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39222
39223
39224 fi
39225
39226 fi
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39228 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39229
39230 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39231 for ac_func in _isinf
39232 do :
39233 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39234 if test "x$ac_cv_func__isinf" = x""yes; then :
39235 cat >>confdefs.h <<_ACEOF
39236 #define HAVE__ISINF 1
39237 _ACEOF
39238
39239 fi
39240 done
39241
39242 fi
39243 fi
39244
39245
39246
39247
39248
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39250 $as_echo_n "checking for isnan declaration... " >&6; }
39251 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39252 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39253 $as_echo_n "(cached) " >&6
39254 else
39255
39256
39257 ac_ext=cpp
39258 ac_cpp='$CXXCPP $CPPFLAGS'
39259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39262
39263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39264 /* end confdefs.h. */
39265 #include <math.h>
39266 #ifdef HAVE_IEEEFP_H
39267 #include <ieeefp.h>
39268 #endif
39269
39270 int
39271 main ()
39272 {
39273 isnan(0);
39274 ;
39275 return 0;
39276 }
39277 _ACEOF
39278 if ac_fn_cxx_try_compile "$LINENO"; then :
39279 glibcxx_cv_func_isnan_use=yes
39280 else
39281 glibcxx_cv_func_isnan_use=no
39282 fi
39283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284 ac_ext=c
39285 ac_cpp='$CPP $CPPFLAGS'
39286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39289
39290
39291 fi
39292
39293 fi
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39295 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39296
39297 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39298 for ac_func in isnan
39299 do :
39300 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39301 if test "x$ac_cv_func_isnan" = x""yes; then :
39302 cat >>confdefs.h <<_ACEOF
39303 #define HAVE_ISNAN 1
39304 _ACEOF
39305
39306 fi
39307 done
39308
39309 else
39310
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39312 $as_echo_n "checking for _isnan declaration... " >&6; }
39313 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39314 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39315 $as_echo_n "(cached) " >&6
39316 else
39317
39318
39319 ac_ext=cpp
39320 ac_cpp='$CXXCPP $CPPFLAGS'
39321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39324
39325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39326 /* end confdefs.h. */
39327 #include <math.h>
39328 #ifdef HAVE_IEEEFP_H
39329 #include <ieeefp.h>
39330 #endif
39331
39332 int
39333 main ()
39334 {
39335 _isnan(0);
39336 ;
39337 return 0;
39338 }
39339 _ACEOF
39340 if ac_fn_cxx_try_compile "$LINENO"; then :
39341 glibcxx_cv_func__isnan_use=yes
39342 else
39343 glibcxx_cv_func__isnan_use=no
39344 fi
39345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39346 ac_ext=c
39347 ac_cpp='$CPP $CPPFLAGS'
39348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351
39352
39353 fi
39354
39355 fi
39356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39357 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39358
39359 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39360 for ac_func in _isnan
39361 do :
39362 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39363 if test "x$ac_cv_func__isnan" = x""yes; then :
39364 cat >>confdefs.h <<_ACEOF
39365 #define HAVE__ISNAN 1
39366 _ACEOF
39367
39368 fi
39369 done
39370
39371 fi
39372 fi
39373
39374
39375
39376
39377
39378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39379 $as_echo_n "checking for finite declaration... " >&6; }
39380 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39381 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39382 $as_echo_n "(cached) " >&6
39383 else
39384
39385
39386 ac_ext=cpp
39387 ac_cpp='$CXXCPP $CPPFLAGS'
39388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39391
39392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39393 /* end confdefs.h. */
39394 #include <math.h>
39395 #ifdef HAVE_IEEEFP_H
39396 #include <ieeefp.h>
39397 #endif
39398
39399 int
39400 main ()
39401 {
39402 finite(0);
39403 ;
39404 return 0;
39405 }
39406 _ACEOF
39407 if ac_fn_cxx_try_compile "$LINENO"; then :
39408 glibcxx_cv_func_finite_use=yes
39409 else
39410 glibcxx_cv_func_finite_use=no
39411 fi
39412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39413 ac_ext=c
39414 ac_cpp='$CPP $CPPFLAGS'
39415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39418
39419
39420 fi
39421
39422 fi
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39424 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39425
39426 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39427 for ac_func in finite
39428 do :
39429 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39430 if test "x$ac_cv_func_finite" = x""yes; then :
39431 cat >>confdefs.h <<_ACEOF
39432 #define HAVE_FINITE 1
39433 _ACEOF
39434
39435 fi
39436 done
39437
39438 else
39439
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39441 $as_echo_n "checking for _finite declaration... " >&6; }
39442 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39443 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39444 $as_echo_n "(cached) " >&6
39445 else
39446
39447
39448 ac_ext=cpp
39449 ac_cpp='$CXXCPP $CPPFLAGS'
39450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39453
39454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39455 /* end confdefs.h. */
39456 #include <math.h>
39457 #ifdef HAVE_IEEEFP_H
39458 #include <ieeefp.h>
39459 #endif
39460
39461 int
39462 main ()
39463 {
39464 _finite(0);
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 if ac_fn_cxx_try_compile "$LINENO"; then :
39470 glibcxx_cv_func__finite_use=yes
39471 else
39472 glibcxx_cv_func__finite_use=no
39473 fi
39474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39475 ac_ext=c
39476 ac_cpp='$CPP $CPPFLAGS'
39477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39480
39481
39482 fi
39483
39484 fi
39485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39486 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39487
39488 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39489 for ac_func in _finite
39490 do :
39491 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39492 if test "x$ac_cv_func__finite" = x""yes; then :
39493 cat >>confdefs.h <<_ACEOF
39494 #define HAVE__FINITE 1
39495 _ACEOF
39496
39497 fi
39498 done
39499
39500 fi
39501 fi
39502
39503
39504
39505
39506
39507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39508 $as_echo_n "checking for sincos declaration... " >&6; }
39509 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39510 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39511 $as_echo_n "(cached) " >&6
39512 else
39513
39514
39515 ac_ext=cpp
39516 ac_cpp='$CXXCPP $CPPFLAGS'
39517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39520
39521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39522 /* end confdefs.h. */
39523 #include <math.h>
39524 int
39525 main ()
39526 {
39527 sincos(0, 0, 0);
39528 ;
39529 return 0;
39530 }
39531 _ACEOF
39532 if ac_fn_cxx_try_compile "$LINENO"; then :
39533 glibcxx_cv_func_sincos_use=yes
39534 else
39535 glibcxx_cv_func_sincos_use=no
39536 fi
39537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39538 ac_ext=c
39539 ac_cpp='$CPP $CPPFLAGS'
39540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39543
39544
39545 fi
39546
39547 fi
39548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39549 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39550
39551 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39552 for ac_func in sincos
39553 do :
39554 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39555 if test "x$ac_cv_func_sincos" = x""yes; then :
39556 cat >>confdefs.h <<_ACEOF
39557 #define HAVE_SINCOS 1
39558 _ACEOF
39559
39560 fi
39561 done
39562
39563 else
39564
39565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39566 $as_echo_n "checking for _sincos declaration... " >&6; }
39567 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39568 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39569 $as_echo_n "(cached) " >&6
39570 else
39571
39572
39573 ac_ext=cpp
39574 ac_cpp='$CXXCPP $CPPFLAGS'
39575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578
39579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39580 /* end confdefs.h. */
39581 #include <math.h>
39582 int
39583 main ()
39584 {
39585 _sincos(0, 0, 0);
39586 ;
39587 return 0;
39588 }
39589 _ACEOF
39590 if ac_fn_cxx_try_compile "$LINENO"; then :
39591 glibcxx_cv_func__sincos_use=yes
39592 else
39593 glibcxx_cv_func__sincos_use=no
39594 fi
39595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39596 ac_ext=c
39597 ac_cpp='$CPP $CPPFLAGS'
39598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39601
39602
39603 fi
39604
39605 fi
39606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39607 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39608
39609 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39610 for ac_func in _sincos
39611 do :
39612 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39613 if test "x$ac_cv_func__sincos" = x""yes; then :
39614 cat >>confdefs.h <<_ACEOF
39615 #define HAVE__SINCOS 1
39616 _ACEOF
39617
39618 fi
39619 done
39620
39621 fi
39622 fi
39623
39624
39625
39626
39627
39628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39629 $as_echo_n "checking for fpclass declaration... " >&6; }
39630 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39631 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39632 $as_echo_n "(cached) " >&6
39633 else
39634
39635
39636 ac_ext=cpp
39637 ac_cpp='$CXXCPP $CPPFLAGS'
39638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39641
39642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39643 /* end confdefs.h. */
39644 #include <math.h>
39645 #ifdef HAVE_IEEEFP_H
39646 #include <ieeefp.h>
39647 #endif
39648
39649 int
39650 main ()
39651 {
39652 fpclass(0);
39653 ;
39654 return 0;
39655 }
39656 _ACEOF
39657 if ac_fn_cxx_try_compile "$LINENO"; then :
39658 glibcxx_cv_func_fpclass_use=yes
39659 else
39660 glibcxx_cv_func_fpclass_use=no
39661 fi
39662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39663 ac_ext=c
39664 ac_cpp='$CPP $CPPFLAGS'
39665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39668
39669
39670 fi
39671
39672 fi
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39674 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39675
39676 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39677 for ac_func in fpclass
39678 do :
39679 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39680 if test "x$ac_cv_func_fpclass" = x""yes; then :
39681 cat >>confdefs.h <<_ACEOF
39682 #define HAVE_FPCLASS 1
39683 _ACEOF
39684
39685 fi
39686 done
39687
39688 else
39689
39690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39691 $as_echo_n "checking for _fpclass declaration... " >&6; }
39692 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39693 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39694 $as_echo_n "(cached) " >&6
39695 else
39696
39697
39698 ac_ext=cpp
39699 ac_cpp='$CXXCPP $CPPFLAGS'
39700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39703
39704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39705 /* end confdefs.h. */
39706 #include <math.h>
39707 #ifdef HAVE_IEEEFP_H
39708 #include <ieeefp.h>
39709 #endif
39710
39711 int
39712 main ()
39713 {
39714 _fpclass(0);
39715 ;
39716 return 0;
39717 }
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720 glibcxx_cv_func__fpclass_use=yes
39721 else
39722 glibcxx_cv_func__fpclass_use=no
39723 fi
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725 ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730
39731
39732 fi
39733
39734 fi
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39736 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39737
39738 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39739 for ac_func in _fpclass
39740 do :
39741 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39742 if test "x$ac_cv_func__fpclass" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE__FPCLASS 1
39745 _ACEOF
39746
39747 fi
39748 done
39749
39750 fi
39751 fi
39752
39753
39754
39755
39756
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39758 $as_echo_n "checking for qfpclass declaration... " >&6; }
39759 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39760 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39761 $as_echo_n "(cached) " >&6
39762 else
39763
39764
39765 ac_ext=cpp
39766 ac_cpp='$CXXCPP $CPPFLAGS'
39767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770
39771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39772 /* end confdefs.h. */
39773 #include <math.h>
39774 #ifdef HAVE_IEEEFP_H
39775 #include <ieeefp.h>
39776 #endif
39777
39778 int
39779 main ()
39780 {
39781 qfpclass(0);
39782 ;
39783 return 0;
39784 }
39785 _ACEOF
39786 if ac_fn_cxx_try_compile "$LINENO"; then :
39787 glibcxx_cv_func_qfpclass_use=yes
39788 else
39789 glibcxx_cv_func_qfpclass_use=no
39790 fi
39791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39792 ac_ext=c
39793 ac_cpp='$CPP $CPPFLAGS'
39794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797
39798
39799 fi
39800
39801 fi
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39803 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39804
39805 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39806 for ac_func in qfpclass
39807 do :
39808 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39809 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39810 cat >>confdefs.h <<_ACEOF
39811 #define HAVE_QFPCLASS 1
39812 _ACEOF
39813
39814 fi
39815 done
39816
39817 else
39818
39819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39820 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39821 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39822 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39823 $as_echo_n "(cached) " >&6
39824 else
39825
39826
39827 ac_ext=cpp
39828 ac_cpp='$CXXCPP $CPPFLAGS'
39829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39832
39833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39834 /* end confdefs.h. */
39835 #include <math.h>
39836 #ifdef HAVE_IEEEFP_H
39837 #include <ieeefp.h>
39838 #endif
39839
39840 int
39841 main ()
39842 {
39843 _qfpclass(0);
39844 ;
39845 return 0;
39846 }
39847 _ACEOF
39848 if ac_fn_cxx_try_compile "$LINENO"; then :
39849 glibcxx_cv_func__qfpclass_use=yes
39850 else
39851 glibcxx_cv_func__qfpclass_use=no
39852 fi
39853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39854 ac_ext=c
39855 ac_cpp='$CPP $CPPFLAGS'
39856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39859
39860
39861 fi
39862
39863 fi
39864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39865 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39866
39867 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39868 for ac_func in _qfpclass
39869 do :
39870 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39871 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39872 cat >>confdefs.h <<_ACEOF
39873 #define HAVE__QFPCLASS 1
39874 _ACEOF
39875
39876 fi
39877 done
39878
39879 fi
39880 fi
39881
39882
39883
39884
39885
39886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39887 $as_echo_n "checking for hypot declaration... " >&6; }
39888 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39889 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39890 $as_echo_n "(cached) " >&6
39891 else
39892
39893
39894 ac_ext=cpp
39895 ac_cpp='$CXXCPP $CPPFLAGS'
39896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899
39900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39901 /* end confdefs.h. */
39902 #include <math.h>
39903 int
39904 main ()
39905 {
39906 hypot(0, 0);
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 if ac_fn_cxx_try_compile "$LINENO"; then :
39912 glibcxx_cv_func_hypot_use=yes
39913 else
39914 glibcxx_cv_func_hypot_use=no
39915 fi
39916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39917 ac_ext=c
39918 ac_cpp='$CPP $CPPFLAGS'
39919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39922
39923
39924 fi
39925
39926 fi
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39928 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39929
39930 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39931 for ac_func in hypot
39932 do :
39933 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39934 if test "x$ac_cv_func_hypot" = x""yes; then :
39935 cat >>confdefs.h <<_ACEOF
39936 #define HAVE_HYPOT 1
39937 _ACEOF
39938
39939 fi
39940 done
39941
39942 else
39943
39944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39945 $as_echo_n "checking for _hypot declaration... " >&6; }
39946 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39947 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39948 $as_echo_n "(cached) " >&6
39949 else
39950
39951
39952 ac_ext=cpp
39953 ac_cpp='$CXXCPP $CPPFLAGS'
39954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957
39958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39959 /* end confdefs.h. */
39960 #include <math.h>
39961 int
39962 main ()
39963 {
39964 _hypot(0, 0);
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func__hypot_use=yes
39971 else
39972 glibcxx_cv_func__hypot_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984 fi
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39986 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39987
39988 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39989 for ac_func in _hypot
39990 do :
39991 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39992 if test "x$ac_cv_func__hypot" = x""yes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE__HYPOT 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000 fi
40001 fi
40002
40003
40004
40005
40006
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40008 $as_echo_n "checking for float trig functions... " >&6; }
40009 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40010 $as_echo_n "(cached) " >&6
40011 else
40012
40013
40014 ac_ext=cpp
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40019
40020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40021 /* end confdefs.h. */
40022 #include <math.h>
40023 int
40024 main ()
40025 {
40026 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40027 ;
40028 return 0;
40029 }
40030 _ACEOF
40031 if ac_fn_cxx_try_compile "$LINENO"; then :
40032 glibcxx_cv_func_float_trig_use=yes
40033 else
40034 glibcxx_cv_func_float_trig_use=no
40035 fi
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037 ac_ext=c
40038 ac_cpp='$CPP $CPPFLAGS'
40039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40042
40043 fi
40044
40045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40046 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40047 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40048 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40049 do :
40050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40052 eval as_val=\$$as_ac_var
40053 if test "x$as_val" = x""yes; then :
40054 cat >>confdefs.h <<_ACEOF
40055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40056 _ACEOF
40057
40058 fi
40059 done
40060
40061 else
40062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40063 $as_echo_n "checking for _float trig functions... " >&6; }
40064 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40065 $as_echo_n "(cached) " >&6
40066 else
40067
40068
40069 ac_ext=cpp
40070 ac_cpp='$CXXCPP $CPPFLAGS'
40071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40074
40075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40076 /* end confdefs.h. */
40077 #include <math.h>
40078 int
40079 main ()
40080 {
40081 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 if ac_fn_cxx_try_compile "$LINENO"; then :
40087 glibcxx_cv_func__float_trig_use=yes
40088 else
40089 glibcxx_cv_func__float_trig_use=no
40090 fi
40091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40092 ac_ext=c
40093 ac_cpp='$CPP $CPPFLAGS'
40094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40097
40098 fi
40099
40100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40101 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40102 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40103 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40104 do :
40105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40107 eval as_val=\$$as_ac_var
40108 if test "x$as_val" = x""yes; then :
40109 cat >>confdefs.h <<_ACEOF
40110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40111 _ACEOF
40112
40113 fi
40114 done
40115
40116 fi
40117 fi
40118
40119
40120
40121
40122
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40124 $as_echo_n "checking for float round functions... " >&6; }
40125 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40126 $as_echo_n "(cached) " >&6
40127 else
40128
40129
40130 ac_ext=cpp
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40138 #include <math.h>
40139 int
40140 main ()
40141 {
40142 ceilf (0); floorf (0);
40143 ;
40144 return 0;
40145 }
40146 _ACEOF
40147 if ac_fn_cxx_try_compile "$LINENO"; then :
40148 glibcxx_cv_func_float_round_use=yes
40149 else
40150 glibcxx_cv_func_float_round_use=no
40151 fi
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40153 ac_ext=c
40154 ac_cpp='$CPP $CPPFLAGS'
40155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40158
40159 fi
40160
40161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40162 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40163 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40164 for ac_func in ceilf floorf
40165 do :
40166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40168 eval as_val=\$$as_ac_var
40169 if test "x$as_val" = x""yes; then :
40170 cat >>confdefs.h <<_ACEOF
40171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40172 _ACEOF
40173
40174 fi
40175 done
40176
40177 else
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40179 $as_echo_n "checking for _float round functions... " >&6; }
40180 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40183
40184
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40194 int
40195 main ()
40196 {
40197 _ceilf (0); _floorf (0);
40198 ;
40199 return 0;
40200 }
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203 glibcxx_cv_func__float_round_use=yes
40204 else
40205 glibcxx_cv_func__float_round_use=no
40206 fi
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213
40214 fi
40215
40216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40217 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40218 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40219 for ac_func in _ceilf _floorf
40220 do :
40221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40223 eval as_val=\$$as_ac_var
40224 if test "x$as_val" = x""yes; then :
40225 cat >>confdefs.h <<_ACEOF
40226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40227 _ACEOF
40228
40229 fi
40230 done
40231
40232 fi
40233 fi
40234
40235
40236
40237
40238
40239
40240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40241 $as_echo_n "checking for expf declaration... " >&6; }
40242 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40243 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40244 $as_echo_n "(cached) " >&6
40245 else
40246
40247
40248 ac_ext=cpp
40249 ac_cpp='$CXXCPP $CPPFLAGS'
40250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40253
40254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40255 /* end confdefs.h. */
40256 #include <math.h>
40257 #ifdef HAVE_IEEEFP_H
40258 #include <ieeefp.h>
40259 #endif
40260
40261 int
40262 main ()
40263 {
40264 expf(0);
40265 ;
40266 return 0;
40267 }
40268 _ACEOF
40269 if ac_fn_cxx_try_compile "$LINENO"; then :
40270 glibcxx_cv_func_expf_use=yes
40271 else
40272 glibcxx_cv_func_expf_use=no
40273 fi
40274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40275 ac_ext=c
40276 ac_cpp='$CPP $CPPFLAGS'
40277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40280
40281
40282 fi
40283
40284 fi
40285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40286 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40287
40288 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40289 for ac_func in expf
40290 do :
40291 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40292 if test "x$ac_cv_func_expf" = x""yes; then :
40293 cat >>confdefs.h <<_ACEOF
40294 #define HAVE_EXPF 1
40295 _ACEOF
40296
40297 fi
40298 done
40299
40300 else
40301
40302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40303 $as_echo_n "checking for _expf declaration... " >&6; }
40304 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40305 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40306 $as_echo_n "(cached) " >&6
40307 else
40308
40309
40310 ac_ext=cpp
40311 ac_cpp='$CXXCPP $CPPFLAGS'
40312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315
40316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40317 /* end confdefs.h. */
40318 #include <math.h>
40319 #ifdef HAVE_IEEEFP_H
40320 #include <ieeefp.h>
40321 #endif
40322
40323 int
40324 main ()
40325 {
40326 _expf(0);
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func__expf_use=yes
40333 else
40334 glibcxx_cv_func__expf_use=no
40335 fi
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337 ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40342
40343
40344 fi
40345
40346 fi
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40348 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40349
40350 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40351 for ac_func in _expf
40352 do :
40353 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40354 if test "x$ac_cv_func__expf" = x""yes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE__EXPF 1
40357 _ACEOF
40358
40359 fi
40360 done
40361
40362 fi
40363 fi
40364
40365
40366
40367
40368
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40370 $as_echo_n "checking for isnanf declaration... " >&6; }
40371 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40372 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40373 $as_echo_n "(cached) " >&6
40374 else
40375
40376
40377 ac_ext=cpp
40378 ac_cpp='$CXXCPP $CPPFLAGS'
40379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40382
40383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40384 /* end confdefs.h. */
40385 #include <math.h>
40386 #ifdef HAVE_IEEEFP_H
40387 #include <ieeefp.h>
40388 #endif
40389
40390 int
40391 main ()
40392 {
40393 isnanf(0);
40394 ;
40395 return 0;
40396 }
40397 _ACEOF
40398 if ac_fn_cxx_try_compile "$LINENO"; then :
40399 glibcxx_cv_func_isnanf_use=yes
40400 else
40401 glibcxx_cv_func_isnanf_use=no
40402 fi
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40404 ac_ext=c
40405 ac_cpp='$CPP $CPPFLAGS'
40406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40409
40410
40411 fi
40412
40413 fi
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40415 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40416
40417 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40418 for ac_func in isnanf
40419 do :
40420 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40421 if test "x$ac_cv_func_isnanf" = x""yes; then :
40422 cat >>confdefs.h <<_ACEOF
40423 #define HAVE_ISNANF 1
40424 _ACEOF
40425
40426 fi
40427 done
40428
40429 else
40430
40431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40432 $as_echo_n "checking for _isnanf declaration... " >&6; }
40433 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40434 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40435 $as_echo_n "(cached) " >&6
40436 else
40437
40438
40439 ac_ext=cpp
40440 ac_cpp='$CXXCPP $CPPFLAGS'
40441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40444
40445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40446 /* end confdefs.h. */
40447 #include <math.h>
40448 #ifdef HAVE_IEEEFP_H
40449 #include <ieeefp.h>
40450 #endif
40451
40452 int
40453 main ()
40454 {
40455 _isnanf(0);
40456 ;
40457 return 0;
40458 }
40459 _ACEOF
40460 if ac_fn_cxx_try_compile "$LINENO"; then :
40461 glibcxx_cv_func__isnanf_use=yes
40462 else
40463 glibcxx_cv_func__isnanf_use=no
40464 fi
40465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40466 ac_ext=c
40467 ac_cpp='$CPP $CPPFLAGS'
40468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40471
40472
40473 fi
40474
40475 fi
40476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40477 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40478
40479 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40480 for ac_func in _isnanf
40481 do :
40482 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40483 if test "x$ac_cv_func__isnanf" = x""yes; then :
40484 cat >>confdefs.h <<_ACEOF
40485 #define HAVE__ISNANF 1
40486 _ACEOF
40487
40488 fi
40489 done
40490
40491 fi
40492 fi
40493
40494
40495
40496
40497
40498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40499 $as_echo_n "checking for isinff declaration... " >&6; }
40500 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40501 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40502 $as_echo_n "(cached) " >&6
40503 else
40504
40505
40506 ac_ext=cpp
40507 ac_cpp='$CXXCPP $CPPFLAGS'
40508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40511
40512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40513 /* end confdefs.h. */
40514 #include <math.h>
40515 #ifdef HAVE_IEEEFP_H
40516 #include <ieeefp.h>
40517 #endif
40518
40519 int
40520 main ()
40521 {
40522 isinff(0);
40523 ;
40524 return 0;
40525 }
40526 _ACEOF
40527 if ac_fn_cxx_try_compile "$LINENO"; then :
40528 glibcxx_cv_func_isinff_use=yes
40529 else
40530 glibcxx_cv_func_isinff_use=no
40531 fi
40532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40533 ac_ext=c
40534 ac_cpp='$CPP $CPPFLAGS'
40535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40538
40539
40540 fi
40541
40542 fi
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40544 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40545
40546 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40547 for ac_func in isinff
40548 do :
40549 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40550 if test "x$ac_cv_func_isinff" = x""yes; then :
40551 cat >>confdefs.h <<_ACEOF
40552 #define HAVE_ISINFF 1
40553 _ACEOF
40554
40555 fi
40556 done
40557
40558 else
40559
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40561 $as_echo_n "checking for _isinff declaration... " >&6; }
40562 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40563 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40564 $as_echo_n "(cached) " >&6
40565 else
40566
40567
40568 ac_ext=cpp
40569 ac_cpp='$CXXCPP $CPPFLAGS'
40570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40573
40574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40575 /* end confdefs.h. */
40576 #include <math.h>
40577 #ifdef HAVE_IEEEFP_H
40578 #include <ieeefp.h>
40579 #endif
40580
40581 int
40582 main ()
40583 {
40584 _isinff(0);
40585 ;
40586 return 0;
40587 }
40588 _ACEOF
40589 if ac_fn_cxx_try_compile "$LINENO"; then :
40590 glibcxx_cv_func__isinff_use=yes
40591 else
40592 glibcxx_cv_func__isinff_use=no
40593 fi
40594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40595 ac_ext=c
40596 ac_cpp='$CPP $CPPFLAGS'
40597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40600
40601
40602 fi
40603
40604 fi
40605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40606 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40607
40608 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40609 for ac_func in _isinff
40610 do :
40611 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40612 if test "x$ac_cv_func__isinff" = x""yes; then :
40613 cat >>confdefs.h <<_ACEOF
40614 #define HAVE__ISINFF 1
40615 _ACEOF
40616
40617 fi
40618 done
40619
40620 fi
40621 fi
40622
40623
40624
40625
40626
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40628 $as_echo_n "checking for atan2f declaration... " >&6; }
40629 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40630 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40633
40634
40635 ac_ext=cpp
40636 ac_cpp='$CXXCPP $CPPFLAGS'
40637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40640
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <math.h>
40644 int
40645 main ()
40646 {
40647 atan2f(0, 0);
40648 ;
40649 return 0;
40650 }
40651 _ACEOF
40652 if ac_fn_cxx_try_compile "$LINENO"; then :
40653 glibcxx_cv_func_atan2f_use=yes
40654 else
40655 glibcxx_cv_func_atan2f_use=no
40656 fi
40657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40663
40664
40665 fi
40666
40667 fi
40668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40669 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40670
40671 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40672 for ac_func in atan2f
40673 do :
40674 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40675 if test "x$ac_cv_func_atan2f" = x""yes; then :
40676 cat >>confdefs.h <<_ACEOF
40677 #define HAVE_ATAN2F 1
40678 _ACEOF
40679
40680 fi
40681 done
40682
40683 else
40684
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40686 $as_echo_n "checking for _atan2f declaration... " >&6; }
40687 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40688 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40689 $as_echo_n "(cached) " >&6
40690 else
40691
40692
40693 ac_ext=cpp
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40698
40699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40700 /* end confdefs.h. */
40701 #include <math.h>
40702 int
40703 main ()
40704 {
40705 _atan2f(0, 0);
40706 ;
40707 return 0;
40708 }
40709 _ACEOF
40710 if ac_fn_cxx_try_compile "$LINENO"; then :
40711 glibcxx_cv_func__atan2f_use=yes
40712 else
40713 glibcxx_cv_func__atan2f_use=no
40714 fi
40715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40716 ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721
40722
40723 fi
40724
40725 fi
40726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40727 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40728
40729 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40730 for ac_func in _atan2f
40731 do :
40732 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40733 if test "x$ac_cv_func__atan2f" = x""yes; then :
40734 cat >>confdefs.h <<_ACEOF
40735 #define HAVE__ATAN2F 1
40736 _ACEOF
40737
40738 fi
40739 done
40740
40741 fi
40742 fi
40743
40744
40745
40746
40747
40748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40749 $as_echo_n "checking for fabsf declaration... " >&6; }
40750 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40751 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40754
40755
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <math.h>
40765 #ifdef HAVE_IEEEFP_H
40766 #include <ieeefp.h>
40767 #endif
40768
40769 int
40770 main ()
40771 {
40772 fabsf(0);
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 if ac_fn_cxx_try_compile "$LINENO"; then :
40778 glibcxx_cv_func_fabsf_use=yes
40779 else
40780 glibcxx_cv_func_fabsf_use=no
40781 fi
40782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40783 ac_ext=c
40784 ac_cpp='$CPP $CPPFLAGS'
40785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40788
40789
40790 fi
40791
40792 fi
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40794 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40795
40796 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40797 for ac_func in fabsf
40798 do :
40799 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40800 if test "x$ac_cv_func_fabsf" = x""yes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE_FABSF 1
40803 _ACEOF
40804
40805 fi
40806 done
40807
40808 else
40809
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40811 $as_echo_n "checking for _fabsf declaration... " >&6; }
40812 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40813 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40814 $as_echo_n "(cached) " >&6
40815 else
40816
40817
40818 ac_ext=cpp
40819 ac_cpp='$CXXCPP $CPPFLAGS'
40820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40823
40824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40825 /* end confdefs.h. */
40826 #include <math.h>
40827 #ifdef HAVE_IEEEFP_H
40828 #include <ieeefp.h>
40829 #endif
40830
40831 int
40832 main ()
40833 {
40834 _fabsf(0);
40835 ;
40836 return 0;
40837 }
40838 _ACEOF
40839 if ac_fn_cxx_try_compile "$LINENO"; then :
40840 glibcxx_cv_func__fabsf_use=yes
40841 else
40842 glibcxx_cv_func__fabsf_use=no
40843 fi
40844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40845 ac_ext=c
40846 ac_cpp='$CPP $CPPFLAGS'
40847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40850
40851
40852 fi
40853
40854 fi
40855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40856 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40857
40858 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40859 for ac_func in _fabsf
40860 do :
40861 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40862 if test "x$ac_cv_func__fabsf" = x""yes; then :
40863 cat >>confdefs.h <<_ACEOF
40864 #define HAVE__FABSF 1
40865 _ACEOF
40866
40867 fi
40868 done
40869
40870 fi
40871 fi
40872
40873
40874
40875
40876
40877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40878 $as_echo_n "checking for fmodf declaration... " >&6; }
40879 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40880 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40881 $as_echo_n "(cached) " >&6
40882 else
40883
40884
40885 ac_ext=cpp
40886 ac_cpp='$CXXCPP $CPPFLAGS'
40887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40890
40891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40892 /* end confdefs.h. */
40893 #include <math.h>
40894 int
40895 main ()
40896 {
40897 fmodf(0, 0);
40898 ;
40899 return 0;
40900 }
40901 _ACEOF
40902 if ac_fn_cxx_try_compile "$LINENO"; then :
40903 glibcxx_cv_func_fmodf_use=yes
40904 else
40905 glibcxx_cv_func_fmodf_use=no
40906 fi
40907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40908 ac_ext=c
40909 ac_cpp='$CPP $CPPFLAGS'
40910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40913
40914
40915 fi
40916
40917 fi
40918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40919 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40920
40921 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40922 for ac_func in fmodf
40923 do :
40924 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40925 if test "x$ac_cv_func_fmodf" = x""yes; then :
40926 cat >>confdefs.h <<_ACEOF
40927 #define HAVE_FMODF 1
40928 _ACEOF
40929
40930 fi
40931 done
40932
40933 else
40934
40935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40936 $as_echo_n "checking for _fmodf declaration... " >&6; }
40937 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40938 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40939 $as_echo_n "(cached) " >&6
40940 else
40941
40942
40943 ac_ext=cpp
40944 ac_cpp='$CXXCPP $CPPFLAGS'
40945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40948
40949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40950 /* end confdefs.h. */
40951 #include <math.h>
40952 int
40953 main ()
40954 {
40955 _fmodf(0, 0);
40956 ;
40957 return 0;
40958 }
40959 _ACEOF
40960 if ac_fn_cxx_try_compile "$LINENO"; then :
40961 glibcxx_cv_func__fmodf_use=yes
40962 else
40963 glibcxx_cv_func__fmodf_use=no
40964 fi
40965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40966 ac_ext=c
40967 ac_cpp='$CPP $CPPFLAGS'
40968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40971
40972
40973 fi
40974
40975 fi
40976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40977 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40978
40979 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40980 for ac_func in _fmodf
40981 do :
40982 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40983 if test "x$ac_cv_func__fmodf" = x""yes; then :
40984 cat >>confdefs.h <<_ACEOF
40985 #define HAVE__FMODF 1
40986 _ACEOF
40987
40988 fi
40989 done
40990
40991 fi
40992 fi
40993
40994
40995
40996
40997
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40999 $as_echo_n "checking for frexpf declaration... " >&6; }
41000 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41001 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41002 $as_echo_n "(cached) " >&6
41003 else
41004
41005
41006 ac_ext=cpp
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41011
41012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41013 /* end confdefs.h. */
41014 #include <math.h>
41015 int
41016 main ()
41017 {
41018 frexpf(0, 0);
41019 ;
41020 return 0;
41021 }
41022 _ACEOF
41023 if ac_fn_cxx_try_compile "$LINENO"; then :
41024 glibcxx_cv_func_frexpf_use=yes
41025 else
41026 glibcxx_cv_func_frexpf_use=no
41027 fi
41028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41029 ac_ext=c
41030 ac_cpp='$CPP $CPPFLAGS'
41031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41034
41035
41036 fi
41037
41038 fi
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41040 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41041
41042 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41043 for ac_func in frexpf
41044 do :
41045 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41046 if test "x$ac_cv_func_frexpf" = x""yes; then :
41047 cat >>confdefs.h <<_ACEOF
41048 #define HAVE_FREXPF 1
41049 _ACEOF
41050
41051 fi
41052 done
41053
41054 else
41055
41056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41057 $as_echo_n "checking for _frexpf declaration... " >&6; }
41058 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41059 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41060 $as_echo_n "(cached) " >&6
41061 else
41062
41063
41064 ac_ext=cpp
41065 ac_cpp='$CXXCPP $CPPFLAGS'
41066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41069
41070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41071 /* end confdefs.h. */
41072 #include <math.h>
41073 int
41074 main ()
41075 {
41076 _frexpf(0, 0);
41077 ;
41078 return 0;
41079 }
41080 _ACEOF
41081 if ac_fn_cxx_try_compile "$LINENO"; then :
41082 glibcxx_cv_func__frexpf_use=yes
41083 else
41084 glibcxx_cv_func__frexpf_use=no
41085 fi
41086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41087 ac_ext=c
41088 ac_cpp='$CPP $CPPFLAGS'
41089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41092
41093
41094 fi
41095
41096 fi
41097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41098 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41099
41100 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41101 for ac_func in _frexpf
41102 do :
41103 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41104 if test "x$ac_cv_func__frexpf" = x""yes; then :
41105 cat >>confdefs.h <<_ACEOF
41106 #define HAVE__FREXPF 1
41107 _ACEOF
41108
41109 fi
41110 done
41111
41112 fi
41113 fi
41114
41115
41116
41117
41118
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41120 $as_echo_n "checking for hypotf declaration... " >&6; }
41121 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41122 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41123 $as_echo_n "(cached) " >&6
41124 else
41125
41126
41127 ac_ext=cpp
41128 ac_cpp='$CXXCPP $CPPFLAGS'
41129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132
41133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41134 /* end confdefs.h. */
41135 #include <math.h>
41136 int
41137 main ()
41138 {
41139 hypotf(0, 0);
41140 ;
41141 return 0;
41142 }
41143 _ACEOF
41144 if ac_fn_cxx_try_compile "$LINENO"; then :
41145 glibcxx_cv_func_hypotf_use=yes
41146 else
41147 glibcxx_cv_func_hypotf_use=no
41148 fi
41149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41150 ac_ext=c
41151 ac_cpp='$CPP $CPPFLAGS'
41152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41155
41156
41157 fi
41158
41159 fi
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41161 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41162
41163 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41164 for ac_func in hypotf
41165 do :
41166 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41167 if test "x$ac_cv_func_hypotf" = x""yes; then :
41168 cat >>confdefs.h <<_ACEOF
41169 #define HAVE_HYPOTF 1
41170 _ACEOF
41171
41172 fi
41173 done
41174
41175 else
41176
41177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41178 $as_echo_n "checking for _hypotf declaration... " >&6; }
41179 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41180 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41181 $as_echo_n "(cached) " >&6
41182 else
41183
41184
41185 ac_ext=cpp
41186 ac_cpp='$CXXCPP $CPPFLAGS'
41187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41190
41191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41192 /* end confdefs.h. */
41193 #include <math.h>
41194 int
41195 main ()
41196 {
41197 _hypotf(0, 0);
41198 ;
41199 return 0;
41200 }
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203 glibcxx_cv_func__hypotf_use=yes
41204 else
41205 glibcxx_cv_func__hypotf_use=no
41206 fi
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208 ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213
41214
41215 fi
41216
41217 fi
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41219 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41220
41221 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41222 for ac_func in _hypotf
41223 do :
41224 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41225 if test "x$ac_cv_func__hypotf" = x""yes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE__HYPOTF 1
41228 _ACEOF
41229
41230 fi
41231 done
41232
41233 fi
41234 fi
41235
41236
41237
41238
41239
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41241 $as_echo_n "checking for ldexpf declaration... " >&6; }
41242 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41243 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41244 $as_echo_n "(cached) " >&6
41245 else
41246
41247
41248 ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253
41254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h. */
41256 #include <math.h>
41257 int
41258 main ()
41259 {
41260 ldexpf(0, 0);
41261 ;
41262 return 0;
41263 }
41264 _ACEOF
41265 if ac_fn_cxx_try_compile "$LINENO"; then :
41266 glibcxx_cv_func_ldexpf_use=yes
41267 else
41268 glibcxx_cv_func_ldexpf_use=no
41269 fi
41270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41271 ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277
41278 fi
41279
41280 fi
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41282 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41283
41284 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41285 for ac_func in ldexpf
41286 do :
41287 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41288 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41289 cat >>confdefs.h <<_ACEOF
41290 #define HAVE_LDEXPF 1
41291 _ACEOF
41292
41293 fi
41294 done
41295
41296 else
41297
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41299 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41300 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41301 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41302 $as_echo_n "(cached) " >&6
41303 else
41304
41305
41306 ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311
41312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h. */
41314 #include <math.h>
41315 int
41316 main ()
41317 {
41318 _ldexpf(0, 0);
41319 ;
41320 return 0;
41321 }
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func__ldexpf_use=yes
41325 else
41326 glibcxx_cv_func__ldexpf_use=no
41327 fi
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334
41335
41336 fi
41337
41338 fi
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41340 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41341
41342 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41343 for ac_func in _ldexpf
41344 do :
41345 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41346 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE__LDEXPF 1
41349 _ACEOF
41350
41351 fi
41352 done
41353
41354 fi
41355 fi
41356
41357
41358
41359
41360
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41362 $as_echo_n "checking for logf declaration... " >&6; }
41363 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41364 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41365 $as_echo_n "(cached) " >&6
41366 else
41367
41368
41369 ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41377 #include <math.h>
41378 #ifdef HAVE_IEEEFP_H
41379 #include <ieeefp.h>
41380 #endif
41381
41382 int
41383 main ()
41384 {
41385 logf(0);
41386 ;
41387 return 0;
41388 }
41389 _ACEOF
41390 if ac_fn_cxx_try_compile "$LINENO"; then :
41391 glibcxx_cv_func_logf_use=yes
41392 else
41393 glibcxx_cv_func_logf_use=no
41394 fi
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41396 ac_ext=c
41397 ac_cpp='$CPP $CPPFLAGS'
41398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41401
41402
41403 fi
41404
41405 fi
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41407 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41408
41409 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41410 for ac_func in logf
41411 do :
41412 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41413 if test "x$ac_cv_func_logf" = x""yes; then :
41414 cat >>confdefs.h <<_ACEOF
41415 #define HAVE_LOGF 1
41416 _ACEOF
41417
41418 fi
41419 done
41420
41421 else
41422
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41424 $as_echo_n "checking for _logf declaration... " >&6; }
41425 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41426 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41427 $as_echo_n "(cached) " >&6
41428 else
41429
41430
41431 ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41436
41437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h. */
41439 #include <math.h>
41440 #ifdef HAVE_IEEEFP_H
41441 #include <ieeefp.h>
41442 #endif
41443
41444 int
41445 main ()
41446 {
41447 _logf(0);
41448 ;
41449 return 0;
41450 }
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__logf_use=yes
41454 else
41455 glibcxx_cv_func__logf_use=no
41456 fi
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463
41464
41465 fi
41466
41467 fi
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41469 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41470
41471 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41472 for ac_func in _logf
41473 do :
41474 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41475 if test "x$ac_cv_func__logf" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE__LOGF 1
41478 _ACEOF
41479
41480 fi
41481 done
41482
41483 fi
41484 fi
41485
41486
41487
41488
41489
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41491 $as_echo_n "checking for log10f declaration... " >&6; }
41492 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41493 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41494 $as_echo_n "(cached) " >&6
41495 else
41496
41497
41498 ac_ext=cpp
41499 ac_cpp='$CXXCPP $CPPFLAGS'
41500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41503
41504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41505 /* end confdefs.h. */
41506 #include <math.h>
41507 #ifdef HAVE_IEEEFP_H
41508 #include <ieeefp.h>
41509 #endif
41510
41511 int
41512 main ()
41513 {
41514 log10f(0);
41515 ;
41516 return 0;
41517 }
41518 _ACEOF
41519 if ac_fn_cxx_try_compile "$LINENO"; then :
41520 glibcxx_cv_func_log10f_use=yes
41521 else
41522 glibcxx_cv_func_log10f_use=no
41523 fi
41524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41525 ac_ext=c
41526 ac_cpp='$CPP $CPPFLAGS'
41527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41530
41531
41532 fi
41533
41534 fi
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41536 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41537
41538 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41539 for ac_func in log10f
41540 do :
41541 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41542 if test "x$ac_cv_func_log10f" = x""yes; then :
41543 cat >>confdefs.h <<_ACEOF
41544 #define HAVE_LOG10F 1
41545 _ACEOF
41546
41547 fi
41548 done
41549
41550 else
41551
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41553 $as_echo_n "checking for _log10f declaration... " >&6; }
41554 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41555 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41556 $as_echo_n "(cached) " >&6
41557 else
41558
41559
41560 ac_ext=cpp
41561 ac_cpp='$CXXCPP $CPPFLAGS'
41562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41565
41566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41567 /* end confdefs.h. */
41568 #include <math.h>
41569 #ifdef HAVE_IEEEFP_H
41570 #include <ieeefp.h>
41571 #endif
41572
41573 int
41574 main ()
41575 {
41576 _log10f(0);
41577 ;
41578 return 0;
41579 }
41580 _ACEOF
41581 if ac_fn_cxx_try_compile "$LINENO"; then :
41582 glibcxx_cv_func__log10f_use=yes
41583 else
41584 glibcxx_cv_func__log10f_use=no
41585 fi
41586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41587 ac_ext=c
41588 ac_cpp='$CPP $CPPFLAGS'
41589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41592
41593
41594 fi
41595
41596 fi
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41598 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41599
41600 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41601 for ac_func in _log10f
41602 do :
41603 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41604 if test "x$ac_cv_func__log10f" = x""yes; then :
41605 cat >>confdefs.h <<_ACEOF
41606 #define HAVE__LOG10F 1
41607 _ACEOF
41608
41609 fi
41610 done
41611
41612 fi
41613 fi
41614
41615
41616
41617
41618
41619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41620 $as_echo_n "checking for modff declaration... " >&6; }
41621 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41622 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41623 $as_echo_n "(cached) " >&6
41624 else
41625
41626
41627 ac_ext=cpp
41628 ac_cpp='$CXXCPP $CPPFLAGS'
41629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41632
41633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634 /* end confdefs.h. */
41635 #include <math.h>
41636 int
41637 main ()
41638 {
41639 modff(0, 0);
41640 ;
41641 return 0;
41642 }
41643 _ACEOF
41644 if ac_fn_cxx_try_compile "$LINENO"; then :
41645 glibcxx_cv_func_modff_use=yes
41646 else
41647 glibcxx_cv_func_modff_use=no
41648 fi
41649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41650 ac_ext=c
41651 ac_cpp='$CPP $CPPFLAGS'
41652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41655
41656
41657 fi
41658
41659 fi
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41661 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41662
41663 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41664 for ac_func in modff
41665 do :
41666 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41667 if test "x$ac_cv_func_modff" = x""yes; then :
41668 cat >>confdefs.h <<_ACEOF
41669 #define HAVE_MODFF 1
41670 _ACEOF
41671
41672 fi
41673 done
41674
41675 else
41676
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41678 $as_echo_n "checking for _modff declaration... " >&6; }
41679 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41680 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41681 $as_echo_n "(cached) " >&6
41682 else
41683
41684
41685 ac_ext=cpp
41686 ac_cpp='$CXXCPP $CPPFLAGS'
41687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41690
41691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41692 /* end confdefs.h. */
41693 #include <math.h>
41694 int
41695 main ()
41696 {
41697 _modff(0, 0);
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__modff_use=yes
41704 else
41705 glibcxx_cv_func__modff_use=no
41706 fi
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713
41714
41715 fi
41716
41717 fi
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41719 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41720
41721 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41722 for ac_func in _modff
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41725 if test "x$ac_cv_func__modff" = x""yes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__MODFF 1
41728 _ACEOF
41729
41730 fi
41731 done
41732
41733 fi
41734 fi
41735
41736
41737
41738
41739
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41741 $as_echo_n "checking for modf declaration... " >&6; }
41742 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41743 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41746
41747
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 int
41758 main ()
41759 {
41760 modf(0, 0);
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 if ac_fn_cxx_try_compile "$LINENO"; then :
41766 glibcxx_cv_func_modf_use=yes
41767 else
41768 glibcxx_cv_func_modf_use=no
41769 fi
41770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41771 ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41776
41777
41778 fi
41779
41780 fi
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41782 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41783
41784 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41785 for ac_func in modf
41786 do :
41787 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41788 if test "x$ac_cv_func_modf" = x""yes; then :
41789 cat >>confdefs.h <<_ACEOF
41790 #define HAVE_MODF 1
41791 _ACEOF
41792
41793 fi
41794 done
41795
41796 else
41797
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41799 $as_echo_n "checking for _modf declaration... " >&6; }
41800 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41801 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41802 $as_echo_n "(cached) " >&6
41803 else
41804
41805
41806 ac_ext=cpp
41807 ac_cpp='$CXXCPP $CPPFLAGS'
41808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41811
41812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h. */
41814 #include <math.h>
41815 int
41816 main ()
41817 {
41818 _modf(0, 0);
41819 ;
41820 return 0;
41821 }
41822 _ACEOF
41823 if ac_fn_cxx_try_compile "$LINENO"; then :
41824 glibcxx_cv_func__modf_use=yes
41825 else
41826 glibcxx_cv_func__modf_use=no
41827 fi
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829 ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41834
41835
41836 fi
41837
41838 fi
41839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41840 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41841
41842 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41843 for ac_func in _modf
41844 do :
41845 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41846 if test "x$ac_cv_func__modf" = x""yes; then :
41847 cat >>confdefs.h <<_ACEOF
41848 #define HAVE__MODF 1
41849 _ACEOF
41850
41851 fi
41852 done
41853
41854 fi
41855 fi
41856
41857
41858
41859
41860
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41862 $as_echo_n "checking for powf declaration... " >&6; }
41863 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41864 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41865 $as_echo_n "(cached) " >&6
41866 else
41867
41868
41869 ac_ext=cpp
41870 ac_cpp='$CXXCPP $CPPFLAGS'
41871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41874
41875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41876 /* end confdefs.h. */
41877 #include <math.h>
41878 int
41879 main ()
41880 {
41881 powf(0, 0);
41882 ;
41883 return 0;
41884 }
41885 _ACEOF
41886 if ac_fn_cxx_try_compile "$LINENO"; then :
41887 glibcxx_cv_func_powf_use=yes
41888 else
41889 glibcxx_cv_func_powf_use=no
41890 fi
41891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41892 ac_ext=c
41893 ac_cpp='$CPP $CPPFLAGS'
41894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897
41898
41899 fi
41900
41901 fi
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41903 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41904
41905 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41906 for ac_func in powf
41907 do :
41908 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41909 if test "x$ac_cv_func_powf" = x""yes; then :
41910 cat >>confdefs.h <<_ACEOF
41911 #define HAVE_POWF 1
41912 _ACEOF
41913
41914 fi
41915 done
41916
41917 else
41918
41919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41920 $as_echo_n "checking for _powf declaration... " >&6; }
41921 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41922 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41923 $as_echo_n "(cached) " >&6
41924 else
41925
41926
41927 ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932
41933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h. */
41935 #include <math.h>
41936 int
41937 main ()
41938 {
41939 _powf(0, 0);
41940 ;
41941 return 0;
41942 }
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__powf_use=yes
41946 else
41947 glibcxx_cv_func__powf_use=no
41948 fi
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955
41956
41957 fi
41958
41959 fi
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41961 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41962
41963 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41964 for ac_func in _powf
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41967 if test "x$ac_cv_func__powf" = x""yes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__POWF 1
41970 _ACEOF
41971
41972 fi
41973 done
41974
41975 fi
41976 fi
41977
41978
41979
41980
41981
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41983 $as_echo_n "checking for sqrtf declaration... " >&6; }
41984 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41985 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41988
41989
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
41999 #ifdef HAVE_IEEEFP_H
42000 #include <ieeefp.h>
42001 #endif
42002
42003 int
42004 main ()
42005 {
42006 sqrtf(0);
42007 ;
42008 return 0;
42009 }
42010 _ACEOF
42011 if ac_fn_cxx_try_compile "$LINENO"; then :
42012 glibcxx_cv_func_sqrtf_use=yes
42013 else
42014 glibcxx_cv_func_sqrtf_use=no
42015 fi
42016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42017 ac_ext=c
42018 ac_cpp='$CPP $CPPFLAGS'
42019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42022
42023
42024 fi
42025
42026 fi
42027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42028 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42029
42030 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42031 for ac_func in sqrtf
42032 do :
42033 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42034 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42035 cat >>confdefs.h <<_ACEOF
42036 #define HAVE_SQRTF 1
42037 _ACEOF
42038
42039 fi
42040 done
42041
42042 else
42043
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42045 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42046 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42047 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42048 $as_echo_n "(cached) " >&6
42049 else
42050
42051
42052 ac_ext=cpp
42053 ac_cpp='$CXXCPP $CPPFLAGS'
42054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42057
42058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42059 /* end confdefs.h. */
42060 #include <math.h>
42061 #ifdef HAVE_IEEEFP_H
42062 #include <ieeefp.h>
42063 #endif
42064
42065 int
42066 main ()
42067 {
42068 _sqrtf(0);
42069 ;
42070 return 0;
42071 }
42072 _ACEOF
42073 if ac_fn_cxx_try_compile "$LINENO"; then :
42074 glibcxx_cv_func__sqrtf_use=yes
42075 else
42076 glibcxx_cv_func__sqrtf_use=no
42077 fi
42078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42079 ac_ext=c
42080 ac_cpp='$CPP $CPPFLAGS'
42081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42084
42085
42086 fi
42087
42088 fi
42089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42090 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42091
42092 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42093 for ac_func in _sqrtf
42094 do :
42095 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42096 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42097 cat >>confdefs.h <<_ACEOF
42098 #define HAVE__SQRTF 1
42099 _ACEOF
42100
42101 fi
42102 done
42103
42104 fi
42105 fi
42106
42107
42108
42109
42110
42111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42112 $as_echo_n "checking for sincosf declaration... " >&6; }
42113 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42114 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42115 $as_echo_n "(cached) " >&6
42116 else
42117
42118
42119 ac_ext=cpp
42120 ac_cpp='$CXXCPP $CPPFLAGS'
42121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42124
42125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42126 /* end confdefs.h. */
42127 #include <math.h>
42128 int
42129 main ()
42130 {
42131 sincosf(0, 0, 0);
42132 ;
42133 return 0;
42134 }
42135 _ACEOF
42136 if ac_fn_cxx_try_compile "$LINENO"; then :
42137 glibcxx_cv_func_sincosf_use=yes
42138 else
42139 glibcxx_cv_func_sincosf_use=no
42140 fi
42141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42142 ac_ext=c
42143 ac_cpp='$CPP $CPPFLAGS'
42144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42147
42148
42149 fi
42150
42151 fi
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42153 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42154
42155 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42156 for ac_func in sincosf
42157 do :
42158 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42159 if test "x$ac_cv_func_sincosf" = x""yes; then :
42160 cat >>confdefs.h <<_ACEOF
42161 #define HAVE_SINCOSF 1
42162 _ACEOF
42163
42164 fi
42165 done
42166
42167 else
42168
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42170 $as_echo_n "checking for _sincosf declaration... " >&6; }
42171 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42172 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42173 $as_echo_n "(cached) " >&6
42174 else
42175
42176
42177 ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182
42183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <math.h>
42186 int
42187 main ()
42188 {
42189 _sincosf(0, 0, 0);
42190 ;
42191 return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func__sincosf_use=yes
42196 else
42197 glibcxx_cv_func__sincosf_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209 fi
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42211 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42212
42213 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42214 for ac_func in _sincosf
42215 do :
42216 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42217 if test "x$ac_cv_func__sincosf" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE__SINCOSF 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225 fi
42226 fi
42227
42228
42229
42230
42231
42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42233 $as_echo_n "checking for finitef declaration... " >&6; }
42234 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42235 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42236 $as_echo_n "(cached) " >&6
42237 else
42238
42239
42240 ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245
42246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h. */
42248 #include <math.h>
42249 #ifdef HAVE_IEEEFP_H
42250 #include <ieeefp.h>
42251 #endif
42252
42253 int
42254 main ()
42255 {
42256 finitef(0);
42257 ;
42258 return 0;
42259 }
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_finitef_use=yes
42263 else
42264 glibcxx_cv_func_finitef_use=no
42265 fi
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42272
42273
42274 fi
42275
42276 fi
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42278 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42279
42280 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42281 for ac_func in finitef
42282 do :
42283 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42284 if test "x$ac_cv_func_finitef" = x""yes; then :
42285 cat >>confdefs.h <<_ACEOF
42286 #define HAVE_FINITEF 1
42287 _ACEOF
42288
42289 fi
42290 done
42291
42292 else
42293
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42295 $as_echo_n "checking for _finitef declaration... " >&6; }
42296 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42297 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42300
42301
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42311 #ifdef HAVE_IEEEFP_H
42312 #include <ieeefp.h>
42313 #endif
42314
42315 int
42316 main ()
42317 {
42318 _finitef(0);
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func__finitef_use=yes
42325 else
42326 glibcxx_cv_func__finitef_use=no
42327 fi
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42334
42335
42336 fi
42337
42338 fi
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42340 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42341
42342 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42343 for ac_func in _finitef
42344 do :
42345 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42346 if test "x$ac_cv_func__finitef" = x""yes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE__FINITEF 1
42349 _ACEOF
42350
42351 fi
42352 done
42353
42354 fi
42355 fi
42356
42357
42358
42359
42360
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42362 $as_echo_n "checking for long double trig functions... " >&6; }
42363 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42364 $as_echo_n "(cached) " >&6
42365 else
42366
42367
42368 ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42373
42374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h. */
42376 #include <math.h>
42377 int
42378 main ()
42379 {
42380 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42381 ;
42382 return 0;
42383 }
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386 glibcxx_cv_func_long_double_trig_use=yes
42387 else
42388 glibcxx_cv_func_long_double_trig_use=no
42389 fi
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396
42397 fi
42398
42399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42400 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42401 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42402 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42403 do :
42404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42406 eval as_val=\$$as_ac_var
42407 if test "x$as_val" = x""yes; then :
42408 cat >>confdefs.h <<_ACEOF
42409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42410 _ACEOF
42411
42412 fi
42413 done
42414
42415 else
42416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42417 $as_echo_n "checking for _long double trig functions... " >&6; }
42418 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42419 $as_echo_n "(cached) " >&6
42420 else
42421
42422
42423 ac_ext=cpp
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428
42429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42430 /* end confdefs.h. */
42431 #include <math.h>
42432 int
42433 main ()
42434 {
42435 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42436 ;
42437 return 0;
42438 }
42439 _ACEOF
42440 if ac_fn_cxx_try_compile "$LINENO"; then :
42441 glibcxx_cv_func__long_double_trig_use=yes
42442 else
42443 glibcxx_cv_func__long_double_trig_use=no
42444 fi
42445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42446 ac_ext=c
42447 ac_cpp='$CPP $CPPFLAGS'
42448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451
42452 fi
42453
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42455 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42456 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42457 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42458 do :
42459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42461 eval as_val=\$$as_ac_var
42462 if test "x$as_val" = x""yes; then :
42463 cat >>confdefs.h <<_ACEOF
42464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42465 _ACEOF
42466
42467 fi
42468 done
42469
42470 fi
42471 fi
42472
42473
42474
42475
42476
42477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42478 $as_echo_n "checking for long double round functions... " >&6; }
42479 if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
42497 ;
42498 return 0;
42499 }
42500 _ACEOF
42501 if ac_fn_cxx_try_compile "$LINENO"; then :
42502 glibcxx_cv_func_long_double_round_use=yes
42503 else
42504 glibcxx_cv_func_long_double_round_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 fi
42514
42515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42516 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42517 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42518 for ac_func in ceill floorl
42519 do :
42520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42522 eval as_val=\$$as_ac_var
42523 if test "x$as_val" = x""yes; then :
42524 cat >>confdefs.h <<_ACEOF
42525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42526 _ACEOF
42527
42528 fi
42529 done
42530
42531 else
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42533 $as_echo_n "checking for _long double round functions... " >&6; }
42534 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42535 $as_echo_n "(cached) " >&6
42536 else
42537
42538
42539 ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42544
42545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h. */
42547 #include <math.h>
42548 int
42549 main ()
42550 {
42551 _ceill (0); _floorl (0);
42552 ;
42553 return 0;
42554 }
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func__long_double_round_use=yes
42558 else
42559 glibcxx_cv_func__long_double_round_use=no
42560 fi
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567
42568 fi
42569
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42571 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42572 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42573 for ac_func in _ceill _floorl
42574 do :
42575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42577 eval as_val=\$$as_ac_var
42578 if test "x$as_val" = x""yes; then :
42579 cat >>confdefs.h <<_ACEOF
42580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42581 _ACEOF
42582
42583 fi
42584 done
42585
42586 fi
42587 fi
42588
42589
42590
42591
42592
42593
42594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42595 $as_echo_n "checking for isnanl declaration... " >&6; }
42596 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42597 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42598 $as_echo_n "(cached) " >&6
42599 else
42600
42601
42602 ac_ext=cpp
42603 ac_cpp='$CXXCPP $CPPFLAGS'
42604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42607
42608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42609 /* end confdefs.h. */
42610 #include <math.h>
42611 #ifdef HAVE_IEEEFP_H
42612 #include <ieeefp.h>
42613 #endif
42614
42615 int
42616 main ()
42617 {
42618 isnanl(0);
42619 ;
42620 return 0;
42621 }
42622 _ACEOF
42623 if ac_fn_cxx_try_compile "$LINENO"; then :
42624 glibcxx_cv_func_isnanl_use=yes
42625 else
42626 glibcxx_cv_func_isnanl_use=no
42627 fi
42628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42629 ac_ext=c
42630 ac_cpp='$CPP $CPPFLAGS'
42631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42634
42635
42636 fi
42637
42638 fi
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42640 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42641
42642 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42643 for ac_func in isnanl
42644 do :
42645 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42646 if test "x$ac_cv_func_isnanl" = x""yes; then :
42647 cat >>confdefs.h <<_ACEOF
42648 #define HAVE_ISNANL 1
42649 _ACEOF
42650
42651 fi
42652 done
42653
42654 else
42655
42656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42657 $as_echo_n "checking for _isnanl declaration... " >&6; }
42658 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42659 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42660 $as_echo_n "(cached) " >&6
42661 else
42662
42663
42664 ac_ext=cpp
42665 ac_cpp='$CXXCPP $CPPFLAGS'
42666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42669
42670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42671 /* end confdefs.h. */
42672 #include <math.h>
42673 #ifdef HAVE_IEEEFP_H
42674 #include <ieeefp.h>
42675 #endif
42676
42677 int
42678 main ()
42679 {
42680 _isnanl(0);
42681 ;
42682 return 0;
42683 }
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func__isnanl_use=yes
42687 else
42688 glibcxx_cv_func__isnanl_use=no
42689 fi
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696
42697
42698 fi
42699
42700 fi
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42702 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42703
42704 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42705 for ac_func in _isnanl
42706 do :
42707 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42708 if test "x$ac_cv_func__isnanl" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE__ISNANL 1
42711 _ACEOF
42712
42713 fi
42714 done
42715
42716 fi
42717 fi
42718
42719
42720
42721
42722
42723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42724 $as_echo_n "checking for isinfl declaration... " >&6; }
42725 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42726 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42727 $as_echo_n "(cached) " >&6
42728 else
42729
42730
42731 ac_ext=cpp
42732 ac_cpp='$CXXCPP $CPPFLAGS'
42733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42736
42737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42738 /* end confdefs.h. */
42739 #include <math.h>
42740 #ifdef HAVE_IEEEFP_H
42741 #include <ieeefp.h>
42742 #endif
42743
42744 int
42745 main ()
42746 {
42747 isinfl(0);
42748 ;
42749 return 0;
42750 }
42751 _ACEOF
42752 if ac_fn_cxx_try_compile "$LINENO"; then :
42753 glibcxx_cv_func_isinfl_use=yes
42754 else
42755 glibcxx_cv_func_isinfl_use=no
42756 fi
42757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42758 ac_ext=c
42759 ac_cpp='$CPP $CPPFLAGS'
42760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42763
42764
42765 fi
42766
42767 fi
42768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42769 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42770
42771 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42772 for ac_func in isinfl
42773 do :
42774 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42775 if test "x$ac_cv_func_isinfl" = x""yes; then :
42776 cat >>confdefs.h <<_ACEOF
42777 #define HAVE_ISINFL 1
42778 _ACEOF
42779
42780 fi
42781 done
42782
42783 else
42784
42785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42786 $as_echo_n "checking for _isinfl declaration... " >&6; }
42787 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42788 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42789 $as_echo_n "(cached) " >&6
42790 else
42791
42792
42793 ac_ext=cpp
42794 ac_cpp='$CXXCPP $CPPFLAGS'
42795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42798
42799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42800 /* end confdefs.h. */
42801 #include <math.h>
42802 #ifdef HAVE_IEEEFP_H
42803 #include <ieeefp.h>
42804 #endif
42805
42806 int
42807 main ()
42808 {
42809 _isinfl(0);
42810 ;
42811 return 0;
42812 }
42813 _ACEOF
42814 if ac_fn_cxx_try_compile "$LINENO"; then :
42815 glibcxx_cv_func__isinfl_use=yes
42816 else
42817 glibcxx_cv_func__isinfl_use=no
42818 fi
42819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42820 ac_ext=c
42821 ac_cpp='$CPP $CPPFLAGS'
42822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42825
42826
42827 fi
42828
42829 fi
42830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42831 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42832
42833 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42834 for ac_func in _isinfl
42835 do :
42836 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42837 if test "x$ac_cv_func__isinfl" = x""yes; then :
42838 cat >>confdefs.h <<_ACEOF
42839 #define HAVE__ISINFL 1
42840 _ACEOF
42841
42842 fi
42843 done
42844
42845 fi
42846 fi
42847
42848
42849
42850
42851
42852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42853 $as_echo_n "checking for atan2l declaration... " >&6; }
42854 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42855 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42856 $as_echo_n "(cached) " >&6
42857 else
42858
42859
42860 ac_ext=cpp
42861 ac_cpp='$CXXCPP $CPPFLAGS'
42862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42865
42866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42867 /* end confdefs.h. */
42868 #include <math.h>
42869 int
42870 main ()
42871 {
42872 atan2l(0, 0);
42873 ;
42874 return 0;
42875 }
42876 _ACEOF
42877 if ac_fn_cxx_try_compile "$LINENO"; then :
42878 glibcxx_cv_func_atan2l_use=yes
42879 else
42880 glibcxx_cv_func_atan2l_use=no
42881 fi
42882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42883 ac_ext=c
42884 ac_cpp='$CPP $CPPFLAGS'
42885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42888
42889
42890 fi
42891
42892 fi
42893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42894 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42895
42896 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42897 for ac_func in atan2l
42898 do :
42899 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42900 if test "x$ac_cv_func_atan2l" = x""yes; then :
42901 cat >>confdefs.h <<_ACEOF
42902 #define HAVE_ATAN2L 1
42903 _ACEOF
42904
42905 fi
42906 done
42907
42908 else
42909
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42911 $as_echo_n "checking for _atan2l declaration... " >&6; }
42912 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42913 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42914 $as_echo_n "(cached) " >&6
42915 else
42916
42917
42918 ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923
42924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h. */
42926 #include <math.h>
42927 int
42928 main ()
42929 {
42930 _atan2l(0, 0);
42931 ;
42932 return 0;
42933 }
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func__atan2l_use=yes
42937 else
42938 glibcxx_cv_func__atan2l_use=no
42939 fi
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42946
42947
42948 fi
42949
42950 fi
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42952 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42953
42954 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42955 for ac_func in _atan2l
42956 do :
42957 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42958 if test "x$ac_cv_func__atan2l" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE__ATAN2L 1
42961 _ACEOF
42962
42963 fi
42964 done
42965
42966 fi
42967 fi
42968
42969
42970
42971
42972
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42974 $as_echo_n "checking for expl declaration... " >&6; }
42975 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42976 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42977 $as_echo_n "(cached) " >&6
42978 else
42979
42980
42981 ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42986
42987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h. */
42989 #include <math.h>
42990 #ifdef HAVE_IEEEFP_H
42991 #include <ieeefp.h>
42992 #endif
42993
42994 int
42995 main ()
42996 {
42997 expl(0);
42998 ;
42999 return 0;
43000 }
43001 _ACEOF
43002 if ac_fn_cxx_try_compile "$LINENO"; then :
43003 glibcxx_cv_func_expl_use=yes
43004 else
43005 glibcxx_cv_func_expl_use=no
43006 fi
43007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43008 ac_ext=c
43009 ac_cpp='$CPP $CPPFLAGS'
43010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43013
43014
43015 fi
43016
43017 fi
43018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43019 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43020
43021 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43022 for ac_func in expl
43023 do :
43024 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43025 if test "x$ac_cv_func_expl" = x""yes; then :
43026 cat >>confdefs.h <<_ACEOF
43027 #define HAVE_EXPL 1
43028 _ACEOF
43029
43030 fi
43031 done
43032
43033 else
43034
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43036 $as_echo_n "checking for _expl declaration... " >&6; }
43037 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43038 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43039 $as_echo_n "(cached) " >&6
43040 else
43041
43042
43043 ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43048
43049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43050 /* end confdefs.h. */
43051 #include <math.h>
43052 #ifdef HAVE_IEEEFP_H
43053 #include <ieeefp.h>
43054 #endif
43055
43056 int
43057 main ()
43058 {
43059 _expl(0);
43060 ;
43061 return 0;
43062 }
43063 _ACEOF
43064 if ac_fn_cxx_try_compile "$LINENO"; then :
43065 glibcxx_cv_func__expl_use=yes
43066 else
43067 glibcxx_cv_func__expl_use=no
43068 fi
43069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43070 ac_ext=c
43071 ac_cpp='$CPP $CPPFLAGS'
43072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075
43076
43077 fi
43078
43079 fi
43080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43081 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43082
43083 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43084 for ac_func in _expl
43085 do :
43086 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43087 if test "x$ac_cv_func__expl" = x""yes; then :
43088 cat >>confdefs.h <<_ACEOF
43089 #define HAVE__EXPL 1
43090 _ACEOF
43091
43092 fi
43093 done
43094
43095 fi
43096 fi
43097
43098
43099
43100
43101
43102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43103 $as_echo_n "checking for fabsl declaration... " >&6; }
43104 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43105 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43106 $as_echo_n "(cached) " >&6
43107 else
43108
43109
43110 ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43115
43116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h. */
43118 #include <math.h>
43119 #ifdef HAVE_IEEEFP_H
43120 #include <ieeefp.h>
43121 #endif
43122
43123 int
43124 main ()
43125 {
43126 fabsl(0);
43127 ;
43128 return 0;
43129 }
43130 _ACEOF
43131 if ac_fn_cxx_try_compile "$LINENO"; then :
43132 glibcxx_cv_func_fabsl_use=yes
43133 else
43134 glibcxx_cv_func_fabsl_use=no
43135 fi
43136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43137 ac_ext=c
43138 ac_cpp='$CPP $CPPFLAGS'
43139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43142
43143
43144 fi
43145
43146 fi
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43148 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43149
43150 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43151 for ac_func in fabsl
43152 do :
43153 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43154 if test "x$ac_cv_func_fabsl" = x""yes; then :
43155 cat >>confdefs.h <<_ACEOF
43156 #define HAVE_FABSL 1
43157 _ACEOF
43158
43159 fi
43160 done
43161
43162 else
43163
43164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43165 $as_echo_n "checking for _fabsl declaration... " >&6; }
43166 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43167 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43168 $as_echo_n "(cached) " >&6
43169 else
43170
43171
43172 ac_ext=cpp
43173 ac_cpp='$CXXCPP $CPPFLAGS'
43174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43177
43178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43179 /* end confdefs.h. */
43180 #include <math.h>
43181 #ifdef HAVE_IEEEFP_H
43182 #include <ieeefp.h>
43183 #endif
43184
43185 int
43186 main ()
43187 {
43188 _fabsl(0);
43189 ;
43190 return 0;
43191 }
43192 _ACEOF
43193 if ac_fn_cxx_try_compile "$LINENO"; then :
43194 glibcxx_cv_func__fabsl_use=yes
43195 else
43196 glibcxx_cv_func__fabsl_use=no
43197 fi
43198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43199 ac_ext=c
43200 ac_cpp='$CPP $CPPFLAGS'
43201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43204
43205
43206 fi
43207
43208 fi
43209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43210 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43211
43212 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43213 for ac_func in _fabsl
43214 do :
43215 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43216 if test "x$ac_cv_func__fabsl" = x""yes; then :
43217 cat >>confdefs.h <<_ACEOF
43218 #define HAVE__FABSL 1
43219 _ACEOF
43220
43221 fi
43222 done
43223
43224 fi
43225 fi
43226
43227
43228
43229
43230
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43232 $as_echo_n "checking for fmodl declaration... " >&6; }
43233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43235 $as_echo_n "(cached) " >&6
43236 else
43237
43238
43239 ac_ext=cpp
43240 ac_cpp='$CXXCPP $CPPFLAGS'
43241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43244
43245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43246 /* end confdefs.h. */
43247 #include <math.h>
43248 int
43249 main ()
43250 {
43251 fmodl(0, 0);
43252 ;
43253 return 0;
43254 }
43255 _ACEOF
43256 if ac_fn_cxx_try_compile "$LINENO"; then :
43257 glibcxx_cv_func_fmodl_use=yes
43258 else
43259 glibcxx_cv_func_fmodl_use=no
43260 fi
43261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43267
43268
43269 fi
43270
43271 fi
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43273 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43274
43275 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43276 for ac_func in fmodl
43277 do :
43278 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43279 if test "x$ac_cv_func_fmodl" = x""yes; then :
43280 cat >>confdefs.h <<_ACEOF
43281 #define HAVE_FMODL 1
43282 _ACEOF
43283
43284 fi
43285 done
43286
43287 else
43288
43289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43290 $as_echo_n "checking for _fmodl declaration... " >&6; }
43291 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43292 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43293 $as_echo_n "(cached) " >&6
43294 else
43295
43296
43297 ac_ext=cpp
43298 ac_cpp='$CXXCPP $CPPFLAGS'
43299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43302
43303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43304 /* end confdefs.h. */
43305 #include <math.h>
43306 int
43307 main ()
43308 {
43309 _fmodl(0, 0);
43310 ;
43311 return 0;
43312 }
43313 _ACEOF
43314 if ac_fn_cxx_try_compile "$LINENO"; then :
43315 glibcxx_cv_func__fmodl_use=yes
43316 else
43317 glibcxx_cv_func__fmodl_use=no
43318 fi
43319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43320 ac_ext=c
43321 ac_cpp='$CPP $CPPFLAGS'
43322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43325
43326
43327 fi
43328
43329 fi
43330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43331 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43332
43333 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43334 for ac_func in _fmodl
43335 do :
43336 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43337 if test "x$ac_cv_func__fmodl" = x""yes; then :
43338 cat >>confdefs.h <<_ACEOF
43339 #define HAVE__FMODL 1
43340 _ACEOF
43341
43342 fi
43343 done
43344
43345 fi
43346 fi
43347
43348
43349
43350
43351
43352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43353 $as_echo_n "checking for frexpl declaration... " >&6; }
43354 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43355 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43356 $as_echo_n "(cached) " >&6
43357 else
43358
43359
43360 ac_ext=cpp
43361 ac_cpp='$CXXCPP $CPPFLAGS'
43362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43365
43366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43367 /* end confdefs.h. */
43368 #include <math.h>
43369 int
43370 main ()
43371 {
43372 frexpl(0, 0);
43373 ;
43374 return 0;
43375 }
43376 _ACEOF
43377 if ac_fn_cxx_try_compile "$LINENO"; then :
43378 glibcxx_cv_func_frexpl_use=yes
43379 else
43380 glibcxx_cv_func_frexpl_use=no
43381 fi
43382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43383 ac_ext=c
43384 ac_cpp='$CPP $CPPFLAGS'
43385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43388
43389
43390 fi
43391
43392 fi
43393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43394 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43395
43396 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43397 for ac_func in frexpl
43398 do :
43399 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43400 if test "x$ac_cv_func_frexpl" = x""yes; then :
43401 cat >>confdefs.h <<_ACEOF
43402 #define HAVE_FREXPL 1
43403 _ACEOF
43404
43405 fi
43406 done
43407
43408 else
43409
43410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43411 $as_echo_n "checking for _frexpl declaration... " >&6; }
43412 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43413 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43414 $as_echo_n "(cached) " >&6
43415 else
43416
43417
43418 ac_ext=cpp
43419 ac_cpp='$CXXCPP $CPPFLAGS'
43420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43423
43424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43425 /* end confdefs.h. */
43426 #include <math.h>
43427 int
43428 main ()
43429 {
43430 _frexpl(0, 0);
43431 ;
43432 return 0;
43433 }
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436 glibcxx_cv_func__frexpl_use=yes
43437 else
43438 glibcxx_cv_func__frexpl_use=no
43439 fi
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441 ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43446
43447
43448 fi
43449
43450 fi
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43452 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43453
43454 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43455 for ac_func in _frexpl
43456 do :
43457 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43458 if test "x$ac_cv_func__frexpl" = x""yes; then :
43459 cat >>confdefs.h <<_ACEOF
43460 #define HAVE__FREXPL 1
43461 _ACEOF
43462
43463 fi
43464 done
43465
43466 fi
43467 fi
43468
43469
43470
43471
43472
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43474 $as_echo_n "checking for hypotl declaration... " >&6; }
43475 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43476 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43477 $as_echo_n "(cached) " >&6
43478 else
43479
43480
43481 ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43486
43487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h. */
43489 #include <math.h>
43490 int
43491 main ()
43492 {
43493 hypotl(0, 0);
43494 ;
43495 return 0;
43496 }
43497 _ACEOF
43498 if ac_fn_cxx_try_compile "$LINENO"; then :
43499 glibcxx_cv_func_hypotl_use=yes
43500 else
43501 glibcxx_cv_func_hypotl_use=no
43502 fi
43503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43504 ac_ext=c
43505 ac_cpp='$CPP $CPPFLAGS'
43506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509
43510
43511 fi
43512
43513 fi
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43515 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43516
43517 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43518 for ac_func in hypotl
43519 do :
43520 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43521 if test "x$ac_cv_func_hypotl" = x""yes; then :
43522 cat >>confdefs.h <<_ACEOF
43523 #define HAVE_HYPOTL 1
43524 _ACEOF
43525
43526 fi
43527 done
43528
43529 else
43530
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43532 $as_echo_n "checking for _hypotl declaration... " >&6; }
43533 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43534 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43535 $as_echo_n "(cached) " >&6
43536 else
43537
43538
43539 ac_ext=cpp
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544
43545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h. */
43547 #include <math.h>
43548 int
43549 main ()
43550 {
43551 _hypotl(0, 0);
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func__hypotl_use=yes
43558 else
43559 glibcxx_cv_func__hypotl_use=no
43560 fi
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567
43568
43569 fi
43570
43571 fi
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43573 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43574
43575 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43576 for ac_func in _hypotl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43579 if test "x$ac_cv_func__hypotl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE__HYPOTL 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587 fi
43588 fi
43589
43590
43591
43592
43593
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43595 $as_echo_n "checking for ldexpl declaration... " >&6; }
43596 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43597 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43598 $as_echo_n "(cached) " >&6
43599 else
43600
43601
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607
43608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h. */
43610 #include <math.h>
43611 int
43612 main ()
43613 {
43614 ldexpl(0, 0);
43615 ;
43616 return 0;
43617 }
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620 glibcxx_cv_func_ldexpl_use=yes
43621 else
43622 glibcxx_cv_func_ldexpl_use=no
43623 fi
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625 ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43630
43631
43632 fi
43633
43634 fi
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43636 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43637
43638 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43639 for ac_func in ldexpl
43640 do :
43641 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43642 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43643 cat >>confdefs.h <<_ACEOF
43644 #define HAVE_LDEXPL 1
43645 _ACEOF
43646
43647 fi
43648 done
43649
43650 else
43651
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43653 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43654 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43655 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43658
43659
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43669 int
43670 main ()
43671 {
43672 _ldexpl(0, 0);
43673 ;
43674 return 0;
43675 }
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func__ldexpl_use=yes
43679 else
43680 glibcxx_cv_func__ldexpl_use=no
43681 fi
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688
43689
43690 fi
43691
43692 fi
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43694 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43695
43696 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43697 for ac_func in _ldexpl
43698 do :
43699 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43700 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE__LDEXPL 1
43703 _ACEOF
43704
43705 fi
43706 done
43707
43708 fi
43709 fi
43710
43711
43712
43713
43714
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43716 $as_echo_n "checking for logl declaration... " >&6; }
43717 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43718 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43719 $as_echo_n "(cached) " >&6
43720 else
43721
43722
43723 ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43728
43729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h. */
43731 #include <math.h>
43732 #ifdef HAVE_IEEEFP_H
43733 #include <ieeefp.h>
43734 #endif
43735
43736 int
43737 main ()
43738 {
43739 logl(0);
43740 ;
43741 return 0;
43742 }
43743 _ACEOF
43744 if ac_fn_cxx_try_compile "$LINENO"; then :
43745 glibcxx_cv_func_logl_use=yes
43746 else
43747 glibcxx_cv_func_logl_use=no
43748 fi
43749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_ext=c
43751 ac_cpp='$CPP $CPPFLAGS'
43752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43755
43756
43757 fi
43758
43759 fi
43760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43761 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43762
43763 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43764 for ac_func in logl
43765 do :
43766 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43767 if test "x$ac_cv_func_logl" = x""yes; then :
43768 cat >>confdefs.h <<_ACEOF
43769 #define HAVE_LOGL 1
43770 _ACEOF
43771
43772 fi
43773 done
43774
43775 else
43776
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43778 $as_echo_n "checking for _logl declaration... " >&6; }
43779 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43780 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43783
43784
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43790
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43794 #ifdef HAVE_IEEEFP_H
43795 #include <ieeefp.h>
43796 #endif
43797
43798 int
43799 main ()
43800 {
43801 _logl(0);
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func__logl_use=yes
43808 else
43809 glibcxx_cv_func__logl_use=no
43810 fi
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43817
43818
43819 fi
43820
43821 fi
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43823 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43824
43825 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43826 for ac_func in _logl
43827 do :
43828 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43829 if test "x$ac_cv_func__logl" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE__LOGL 1
43832 _ACEOF
43833
43834 fi
43835 done
43836
43837 fi
43838 fi
43839
43840
43841
43842
43843
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43845 $as_echo_n "checking for log10l declaration... " >&6; }
43846 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43847 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43850
43851
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <math.h>
43861 #ifdef HAVE_IEEEFP_H
43862 #include <ieeefp.h>
43863 #endif
43864
43865 int
43866 main ()
43867 {
43868 log10l(0);
43869 ;
43870 return 0;
43871 }
43872 _ACEOF
43873 if ac_fn_cxx_try_compile "$LINENO"; then :
43874 glibcxx_cv_func_log10l_use=yes
43875 else
43876 glibcxx_cv_func_log10l_use=no
43877 fi
43878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43884
43885
43886 fi
43887
43888 fi
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43890 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43891
43892 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43893 for ac_func in log10l
43894 do :
43895 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43896 if test "x$ac_cv_func_log10l" = x""yes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_LOG10L 1
43899 _ACEOF
43900
43901 fi
43902 done
43903
43904 else
43905
43906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43907 $as_echo_n "checking for _log10l declaration... " >&6; }
43908 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43909 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43910 $as_echo_n "(cached) " >&6
43911 else
43912
43913
43914 ac_ext=cpp
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43919
43920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43921 /* end confdefs.h. */
43922 #include <math.h>
43923 #ifdef HAVE_IEEEFP_H
43924 #include <ieeefp.h>
43925 #endif
43926
43927 int
43928 main ()
43929 {
43930 _log10l(0);
43931 ;
43932 return 0;
43933 }
43934 _ACEOF
43935 if ac_fn_cxx_try_compile "$LINENO"; then :
43936 glibcxx_cv_func__log10l_use=yes
43937 else
43938 glibcxx_cv_func__log10l_use=no
43939 fi
43940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43941 ac_ext=c
43942 ac_cpp='$CPP $CPPFLAGS'
43943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43946
43947
43948 fi
43949
43950 fi
43951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43952 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43953
43954 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43955 for ac_func in _log10l
43956 do :
43957 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43958 if test "x$ac_cv_func__log10l" = x""yes; then :
43959 cat >>confdefs.h <<_ACEOF
43960 #define HAVE__LOG10L 1
43961 _ACEOF
43962
43963 fi
43964 done
43965
43966 fi
43967 fi
43968
43969
43970
43971
43972
43973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43974 $as_echo_n "checking for modfl declaration... " >&6; }
43975 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43976 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43977 $as_echo_n "(cached) " >&6
43978 else
43979
43980
43981 ac_ext=cpp
43982 ac_cpp='$CXXCPP $CPPFLAGS'
43983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43986
43987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43988 /* end confdefs.h. */
43989 #include <math.h>
43990 int
43991 main ()
43992 {
43993 modfl(0, 0);
43994 ;
43995 return 0;
43996 }
43997 _ACEOF
43998 if ac_fn_cxx_try_compile "$LINENO"; then :
43999 glibcxx_cv_func_modfl_use=yes
44000 else
44001 glibcxx_cv_func_modfl_use=no
44002 fi
44003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 ac_ext=c
44005 ac_cpp='$CPP $CPPFLAGS'
44006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44009
44010
44011 fi
44012
44013 fi
44014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44015 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44016
44017 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44018 for ac_func in modfl
44019 do :
44020 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44021 if test "x$ac_cv_func_modfl" = x""yes; then :
44022 cat >>confdefs.h <<_ACEOF
44023 #define HAVE_MODFL 1
44024 _ACEOF
44025
44026 fi
44027 done
44028
44029 else
44030
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44032 $as_echo_n "checking for _modfl declaration... " >&6; }
44033 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44034 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44035 $as_echo_n "(cached) " >&6
44036 else
44037
44038
44039 ac_ext=cpp
44040 ac_cpp='$CXXCPP $CPPFLAGS'
44041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44044
44045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44046 /* end confdefs.h. */
44047 #include <math.h>
44048 int
44049 main ()
44050 {
44051 _modfl(0, 0);
44052 ;
44053 return 0;
44054 }
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057 glibcxx_cv_func__modfl_use=yes
44058 else
44059 glibcxx_cv_func__modfl_use=no
44060 fi
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44067
44068
44069 fi
44070
44071 fi
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44073 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44074
44075 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44076 for ac_func in _modfl
44077 do :
44078 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44079 if test "x$ac_cv_func__modfl" = x""yes; then :
44080 cat >>confdefs.h <<_ACEOF
44081 #define HAVE__MODFL 1
44082 _ACEOF
44083
44084 fi
44085 done
44086
44087 fi
44088 fi
44089
44090
44091
44092
44093
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44095 $as_echo_n "checking for powl declaration... " >&6; }
44096 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44097 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44098 $as_echo_n "(cached) " >&6
44099 else
44100
44101
44102 ac_ext=cpp
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107
44108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h. */
44110 #include <math.h>
44111 int
44112 main ()
44113 {
44114 powl(0, 0);
44115 ;
44116 return 0;
44117 }
44118 _ACEOF
44119 if ac_fn_cxx_try_compile "$LINENO"; then :
44120 glibcxx_cv_func_powl_use=yes
44121 else
44122 glibcxx_cv_func_powl_use=no
44123 fi
44124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44125 ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44130
44131
44132 fi
44133
44134 fi
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44136 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44137
44138 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44139 for ac_func in powl
44140 do :
44141 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44142 if test "x$ac_cv_func_powl" = x""yes; then :
44143 cat >>confdefs.h <<_ACEOF
44144 #define HAVE_POWL 1
44145 _ACEOF
44146
44147 fi
44148 done
44149
44150 else
44151
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44153 $as_echo_n "checking for _powl declaration... " >&6; }
44154 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44155 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44156 $as_echo_n "(cached) " >&6
44157 else
44158
44159
44160 ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44165
44166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h. */
44168 #include <math.h>
44169 int
44170 main ()
44171 {
44172 _powl(0, 0);
44173 ;
44174 return 0;
44175 }
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178 glibcxx_cv_func__powl_use=yes
44179 else
44180 glibcxx_cv_func__powl_use=no
44181 fi
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188
44189
44190 fi
44191
44192 fi
44193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44194 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44195
44196 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44197 for ac_func in _powl
44198 do :
44199 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44200 if test "x$ac_cv_func__powl" = x""yes; then :
44201 cat >>confdefs.h <<_ACEOF
44202 #define HAVE__POWL 1
44203 _ACEOF
44204
44205 fi
44206 done
44207
44208 fi
44209 fi
44210
44211
44212
44213
44214
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44216 $as_echo_n "checking for sqrtl declaration... " >&6; }
44217 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44218 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44219 $as_echo_n "(cached) " >&6
44220 else
44221
44222
44223 ac_ext=cpp
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44228
44229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44230 /* end confdefs.h. */
44231 #include <math.h>
44232 #ifdef HAVE_IEEEFP_H
44233 #include <ieeefp.h>
44234 #endif
44235
44236 int
44237 main ()
44238 {
44239 sqrtl(0);
44240 ;
44241 return 0;
44242 }
44243 _ACEOF
44244 if ac_fn_cxx_try_compile "$LINENO"; then :
44245 glibcxx_cv_func_sqrtl_use=yes
44246 else
44247 glibcxx_cv_func_sqrtl_use=no
44248 fi
44249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44250 ac_ext=c
44251 ac_cpp='$CPP $CPPFLAGS'
44252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44255
44256
44257 fi
44258
44259 fi
44260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44261 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44262
44263 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44264 for ac_func in sqrtl
44265 do :
44266 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44267 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44268 cat >>confdefs.h <<_ACEOF
44269 #define HAVE_SQRTL 1
44270 _ACEOF
44271
44272 fi
44273 done
44274
44275 else
44276
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44278 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44279 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44280 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44281 $as_echo_n "(cached) " >&6
44282 else
44283
44284
44285 ac_ext=cpp
44286 ac_cpp='$CXXCPP $CPPFLAGS'
44287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44290
44291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44292 /* end confdefs.h. */
44293 #include <math.h>
44294 #ifdef HAVE_IEEEFP_H
44295 #include <ieeefp.h>
44296 #endif
44297
44298 int
44299 main ()
44300 {
44301 _sqrtl(0);
44302 ;
44303 return 0;
44304 }
44305 _ACEOF
44306 if ac_fn_cxx_try_compile "$LINENO"; then :
44307 glibcxx_cv_func__sqrtl_use=yes
44308 else
44309 glibcxx_cv_func__sqrtl_use=no
44310 fi
44311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44312 ac_ext=c
44313 ac_cpp='$CPP $CPPFLAGS'
44314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44317
44318
44319 fi
44320
44321 fi
44322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44323 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44324
44325 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44326 for ac_func in _sqrtl
44327 do :
44328 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44329 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44330 cat >>confdefs.h <<_ACEOF
44331 #define HAVE__SQRTL 1
44332 _ACEOF
44333
44334 fi
44335 done
44336
44337 fi
44338 fi
44339
44340
44341
44342
44343
44344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44345 $as_echo_n "checking for sincosl declaration... " >&6; }
44346 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44347 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44348 $as_echo_n "(cached) " >&6
44349 else
44350
44351
44352 ac_ext=cpp
44353 ac_cpp='$CXXCPP $CPPFLAGS'
44354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44357
44358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44359 /* end confdefs.h. */
44360 #include <math.h>
44361 int
44362 main ()
44363 {
44364 sincosl(0, 0, 0);
44365 ;
44366 return 0;
44367 }
44368 _ACEOF
44369 if ac_fn_cxx_try_compile "$LINENO"; then :
44370 glibcxx_cv_func_sincosl_use=yes
44371 else
44372 glibcxx_cv_func_sincosl_use=no
44373 fi
44374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44375 ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44380
44381
44382 fi
44383
44384 fi
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44386 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44387
44388 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44389 for ac_func in sincosl
44390 do :
44391 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44392 if test "x$ac_cv_func_sincosl" = x""yes; then :
44393 cat >>confdefs.h <<_ACEOF
44394 #define HAVE_SINCOSL 1
44395 _ACEOF
44396
44397 fi
44398 done
44399
44400 else
44401
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44403 $as_echo_n "checking for _sincosl declaration... " >&6; }
44404 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44405 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44406 $as_echo_n "(cached) " >&6
44407 else
44408
44409
44410 ac_ext=cpp
44411 ac_cpp='$CXXCPP $CPPFLAGS'
44412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44415
44416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44417 /* end confdefs.h. */
44418 #include <math.h>
44419 int
44420 main ()
44421 {
44422 _sincosl(0, 0, 0);
44423 ;
44424 return 0;
44425 }
44426 _ACEOF
44427 if ac_fn_cxx_try_compile "$LINENO"; then :
44428 glibcxx_cv_func__sincosl_use=yes
44429 else
44430 glibcxx_cv_func__sincosl_use=no
44431 fi
44432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44433 ac_ext=c
44434 ac_cpp='$CPP $CPPFLAGS'
44435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44438
44439
44440 fi
44441
44442 fi
44443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44444 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44445
44446 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44447 for ac_func in _sincosl
44448 do :
44449 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44450 if test "x$ac_cv_func__sincosl" = x""yes; then :
44451 cat >>confdefs.h <<_ACEOF
44452 #define HAVE__SINCOSL 1
44453 _ACEOF
44454
44455 fi
44456 done
44457
44458 fi
44459 fi
44460
44461
44462
44463
44464
44465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44466 $as_echo_n "checking for finitel declaration... " >&6; }
44467 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44468 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44469 $as_echo_n "(cached) " >&6
44470 else
44471
44472
44473 ac_ext=cpp
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478
44479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h. */
44481 #include <math.h>
44482 #ifdef HAVE_IEEEFP_H
44483 #include <ieeefp.h>
44484 #endif
44485
44486 int
44487 main ()
44488 {
44489 finitel(0);
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_finitel_use=yes
44496 else
44497 glibcxx_cv_func_finitel_use=no
44498 fi
44499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44500 ac_ext=c
44501 ac_cpp='$CPP $CPPFLAGS'
44502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44505
44506
44507 fi
44508
44509 fi
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44511 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44512
44513 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44514 for ac_func in finitel
44515 do :
44516 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44517 if test "x$ac_cv_func_finitel" = x""yes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_FINITEL 1
44520 _ACEOF
44521
44522 fi
44523 done
44524
44525 else
44526
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44528 $as_echo_n "checking for _finitel declaration... " >&6; }
44529 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44530 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44533
44534
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44540
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44544 #ifdef HAVE_IEEEFP_H
44545 #include <ieeefp.h>
44546 #endif
44547
44548 int
44549 main ()
44550 {
44551 _finitel(0);
44552 ;
44553 return 0;
44554 }
44555 _ACEOF
44556 if ac_fn_cxx_try_compile "$LINENO"; then :
44557 glibcxx_cv_func__finitel_use=yes
44558 else
44559 glibcxx_cv_func__finitel_use=no
44560 fi
44561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44562 ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44567
44568
44569 fi
44570
44571 fi
44572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44573 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44574
44575 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44576 for ac_func in _finitel
44577 do :
44578 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44579 if test "x$ac_cv_func__finitel" = x""yes; then :
44580 cat >>confdefs.h <<_ACEOF
44581 #define HAVE__FINITEL 1
44582 _ACEOF
44583
44584 fi
44585 done
44586
44587 fi
44588 fi
44589
44590
44591
44592
44593 LIBS="$ac_save_LIBS"
44594 CXXFLAGS="$ac_save_CXXFLAGS"
44595
44596
44597 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44598 ac_save_CXXFLAGS="$CXXFLAGS"
44599 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44600
44601
44602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44603 $as_echo_n "checking for strtold declaration... " >&6; }
44604 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44605 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44606 $as_echo_n "(cached) " >&6
44607 else
44608
44609
44610 ac_ext=cpp
44611 ac_cpp='$CXXCPP $CPPFLAGS'
44612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44615
44616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44617 /* end confdefs.h. */
44618 #include <stdlib.h>
44619 int
44620 main ()
44621 {
44622 strtold(0, 0);
44623 ;
44624 return 0;
44625 }
44626 _ACEOF
44627 if ac_fn_cxx_try_compile "$LINENO"; then :
44628 glibcxx_cv_func_strtold_use=yes
44629 else
44630 glibcxx_cv_func_strtold_use=no
44631 fi
44632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44633 ac_ext=c
44634 ac_cpp='$CPP $CPPFLAGS'
44635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44638
44639
44640 fi
44641
44642 fi
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44644 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44645 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44646 for ac_func in strtold
44647 do :
44648 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44649 if test "x$ac_cv_func_strtold" = x""yes; then :
44650 cat >>confdefs.h <<_ACEOF
44651 #define HAVE_STRTOLD 1
44652 _ACEOF
44653
44654 fi
44655 done
44656
44657 fi
44658
44659
44660
44661
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44663 $as_echo_n "checking for strtof declaration... " >&6; }
44664 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44665 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44666 $as_echo_n "(cached) " >&6
44667 else
44668
44669
44670 ac_ext=cpp
44671 ac_cpp='$CXXCPP $CPPFLAGS'
44672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44675
44676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44677 /* end confdefs.h. */
44678 #include <stdlib.h>
44679 int
44680 main ()
44681 {
44682 strtof(0, 0);
44683 ;
44684 return 0;
44685 }
44686 _ACEOF
44687 if ac_fn_cxx_try_compile "$LINENO"; then :
44688 glibcxx_cv_func_strtof_use=yes
44689 else
44690 glibcxx_cv_func_strtof_use=no
44691 fi
44692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44693 ac_ext=c
44694 ac_cpp='$CPP $CPPFLAGS'
44695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44698
44699
44700 fi
44701
44702 fi
44703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44704 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44705 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44706 for ac_func in strtof
44707 do :
44708 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44709 if test "x$ac_cv_func_strtof" = x""yes; then :
44710 cat >>confdefs.h <<_ACEOF
44711 #define HAVE_STRTOF 1
44712 _ACEOF
44713
44714 fi
44715 done
44716
44717 fi
44718
44719
44720
44721
44722 CXXFLAGS="$ac_save_CXXFLAGS"
44723
44724 ;;
44725
44726 *djgpp)
44727 # GLIBCXX_CHECK_MATH_SUPPORT
44728 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44729
44730 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44731
44732 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44733
44734 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44735
44736 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44737
44738 ;;
44739
44740 *-freebsd*)
44741 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44742
44743
44744 # If we're not using GNU ld, then there's no point in even trying these
44745 # tests. Check for that first. We should have already tested for gld
44746 # by now (in libtool), but require it now just to be safe...
44747 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44748 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44749
44750
44751
44752 # The name set by libtool depends on the version of libtool. Shame on us
44753 # for depending on an impl detail, but c'est la vie. Older versions used
44754 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44755 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44756 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44757 # set (hence we're using an older libtool), then set it.
44758 if test x${with_gnu_ld+set} != xset; then
44759 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44760 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44761 with_gnu_ld=no
44762 else
44763 with_gnu_ld=$ac_cv_prog_gnu_ld
44764 fi
44765 fi
44766
44767 # Start by getting the version number. I think the libtool test already
44768 # does some of this, but throws away the result.
44769 glibcxx_ld_is_gold=no
44770 if test x"$with_gnu_ld" = x"yes"; then
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44772 $as_echo_n "checking for ld version... " >&6; }
44773
44774 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44775 glibcxx_ld_is_gold=yes
44776 fi
44777 ldver=`$LD --version 2>/dev/null |
44778 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'`
44779
44780 glibcxx_gnu_ld_version=`echo $ldver | \
44781 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44783 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44784 fi
44785
44786 # Set --gc-sections.
44787 glibcxx_have_gc_sections=no
44788 if test "$glibcxx_ld_is_gold" = "yes"; then
44789 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44790 glibcxx_have_gc_sections=yes
44791 fi
44792 else
44793 glibcxx_gcsections_min_ld=21602
44794 if test x"$with_gnu_ld" = x"yes" &&
44795 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44796 glibcxx_have_gc_sections=yes
44797 fi
44798 fi
44799 if test "$glibcxx_have_gc_sections" = "yes"; then
44800 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44801 # NB: This flag only works reliably after 2.16.1. Configure tests
44802 # for this are difficult, so hard wire a value that should work.
44803
44804 ac_test_CFLAGS="${CFLAGS+set}"
44805 ac_save_CFLAGS="$CFLAGS"
44806 CFLAGS='-Wl,--gc-sections'
44807
44808 # Check for -Wl,--gc-sections
44809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44810 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44811 if test x$gcc_no_link = xyes; then
44812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44813 fi
44814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44815 /* end confdefs.h. */
44816 int one(void) { return 1; }
44817 int two(void) { return 2; }
44818
44819 int
44820 main ()
44821 {
44822 two();
44823 ;
44824 return 0;
44825 }
44826 _ACEOF
44827 if ac_fn_c_try_link "$LINENO"; then :
44828 ac_gcsections=yes
44829 else
44830 ac_gcsections=no
44831 fi
44832 rm -f core conftest.err conftest.$ac_objext \
44833 conftest$ac_exeext conftest.$ac_ext
44834 if test "$ac_gcsections" = "yes"; then
44835 rm -f conftest.c
44836 touch conftest.c
44837 if $CC -c conftest.c; then
44838 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44839 grep "Warning: gc-sections option ignored" > /dev/null; then
44840 ac_gcsections=no
44841 fi
44842 fi
44843 rm -f conftest.c conftest.o conftest
44844 fi
44845 if test "$ac_gcsections" = "yes"; then
44846 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44847 fi
44848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44849 $as_echo "$ac_gcsections" >&6; }
44850
44851 if test "$ac_test_CFLAGS" = set; then
44852 CFLAGS="$ac_save_CFLAGS"
44853 else
44854 # this is the suspicious part
44855 CFLAGS=''
44856 fi
44857 fi
44858
44859 # Set -z,relro.
44860 # Note this is only for shared objects.
44861 ac_ld_relro=no
44862 if test x"$with_gnu_ld" = x"yes"; then
44863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44864 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44865 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44866 if test -n "$cxx_z_relo"; then
44867 OPT_LDFLAGS="-Wl,-z,relro"
44868 ac_ld_relro=yes
44869 fi
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44871 $as_echo "$ac_ld_relro" >&6; }
44872 fi
44873
44874 # Set linker optimization flags.
44875 if test x"$with_gnu_ld" = x"yes"; then
44876 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44877 fi
44878
44879
44880
44881
44882 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44883
44884 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44885
44886 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44887
44888 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44889
44890 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44891
44892 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44893
44894 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44895
44896 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44897
44898 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44899
44900
44901 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44902
44903 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44904
44905 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44906
44907 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44908
44909 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44910
44911 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44912
44913 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44914
44915 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44916
44917 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44918
44919 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44920
44921 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44922
44923 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44924
44925 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44926
44927 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44928
44929 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44930
44931 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44932
44933 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44934
44935 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44936
44937 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44938
44939 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44940
44941 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44942
44943 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44944
44945 if test x"long_double_math_on_this_cpu" = x"yes"; then
44946 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44947
44948 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44949
44950 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44951
44952 fi
44953 ;;
44954 *-hpux*)
44955 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44956
44957
44958 # If we're not using GNU ld, then there's no point in even trying these
44959 # tests. Check for that first. We should have already tested for gld
44960 # by now (in libtool), but require it now just to be safe...
44961 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44962 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44963
44964
44965
44966 # The name set by libtool depends on the version of libtool. Shame on us
44967 # for depending on an impl detail, but c'est la vie. Older versions used
44968 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44969 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44970 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44971 # set (hence we're using an older libtool), then set it.
44972 if test x${with_gnu_ld+set} != xset; then
44973 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44974 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44975 with_gnu_ld=no
44976 else
44977 with_gnu_ld=$ac_cv_prog_gnu_ld
44978 fi
44979 fi
44980
44981 # Start by getting the version number. I think the libtool test already
44982 # does some of this, but throws away the result.
44983 glibcxx_ld_is_gold=no
44984 if test x"$with_gnu_ld" = x"yes"; then
44985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44986 $as_echo_n "checking for ld version... " >&6; }
44987
44988 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44989 glibcxx_ld_is_gold=yes
44990 fi
44991 ldver=`$LD --version 2>/dev/null |
44992 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'`
44993
44994 glibcxx_gnu_ld_version=`echo $ldver | \
44995 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44997 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44998 fi
44999
45000 # Set --gc-sections.
45001 glibcxx_have_gc_sections=no
45002 if test "$glibcxx_ld_is_gold" = "yes"; then
45003 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45004 glibcxx_have_gc_sections=yes
45005 fi
45006 else
45007 glibcxx_gcsections_min_ld=21602
45008 if test x"$with_gnu_ld" = x"yes" &&
45009 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45010 glibcxx_have_gc_sections=yes
45011 fi
45012 fi
45013 if test "$glibcxx_have_gc_sections" = "yes"; then
45014 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45015 # NB: This flag only works reliably after 2.16.1. Configure tests
45016 # for this are difficult, so hard wire a value that should work.
45017
45018 ac_test_CFLAGS="${CFLAGS+set}"
45019 ac_save_CFLAGS="$CFLAGS"
45020 CFLAGS='-Wl,--gc-sections'
45021
45022 # Check for -Wl,--gc-sections
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45024 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45025 if test x$gcc_no_link = xyes; then
45026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45027 fi
45028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45029 /* end confdefs.h. */
45030 int one(void) { return 1; }
45031 int two(void) { return 2; }
45032
45033 int
45034 main ()
45035 {
45036 two();
45037 ;
45038 return 0;
45039 }
45040 _ACEOF
45041 if ac_fn_c_try_link "$LINENO"; then :
45042 ac_gcsections=yes
45043 else
45044 ac_gcsections=no
45045 fi
45046 rm -f core conftest.err conftest.$ac_objext \
45047 conftest$ac_exeext conftest.$ac_ext
45048 if test "$ac_gcsections" = "yes"; then
45049 rm -f conftest.c
45050 touch conftest.c
45051 if $CC -c conftest.c; then
45052 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45053 grep "Warning: gc-sections option ignored" > /dev/null; then
45054 ac_gcsections=no
45055 fi
45056 fi
45057 rm -f conftest.c conftest.o conftest
45058 fi
45059 if test "$ac_gcsections" = "yes"; then
45060 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45061 fi
45062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45063 $as_echo "$ac_gcsections" >&6; }
45064
45065 if test "$ac_test_CFLAGS" = set; then
45066 CFLAGS="$ac_save_CFLAGS"
45067 else
45068 # this is the suspicious part
45069 CFLAGS=''
45070 fi
45071 fi
45072
45073 # Set -z,relro.
45074 # Note this is only for shared objects.
45075 ac_ld_relro=no
45076 if test x"$with_gnu_ld" = x"yes"; then
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45078 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45079 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45080 if test -n "$cxx_z_relo"; then
45081 OPT_LDFLAGS="-Wl,-z,relro"
45082 ac_ld_relro=yes
45083 fi
45084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45085 $as_echo "$ac_ld_relro" >&6; }
45086 fi
45087
45088 # Set linker optimization flags.
45089 if test x"$with_gnu_ld" = x"yes"; then
45090 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45091 fi
45092
45093
45094
45095
45096
45097 # GLIBCXX_CHECK_MATH_SUPPORT
45098 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45099
45100 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45101
45102 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45103
45104 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45105
45106 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45107
45108 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45109
45110 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45111
45112 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45113
45114 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45115
45116 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45117
45118 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45119
45120 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45121
45122 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45123
45124 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45125
45126 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45127
45128 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45129
45130 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45131
45132 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45133
45134 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45135
45136 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45137
45138 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45139
45140
45141 # GLIBCXX_CHECK_STDLIB_SUPPORT
45142 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45143
45144
45145
45146
45147 # Check whether --enable-tls was given.
45148 if test "${enable_tls+set}" = set; then :
45149 enableval=$enable_tls;
45150 case "$enableval" in
45151 yes|no) ;;
45152 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45153 esac
45154
45155 else
45156 enable_tls=yes
45157 fi
45158
45159
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45161 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45162 if test "${gcc_cv_have_tls+set}" = set; then :
45163 $as_echo_n "(cached) " >&6
45164 else
45165
45166 if test "$cross_compiling" = yes; then :
45167 if test x$gcc_no_link = xyes; then
45168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45169 fi
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45172 __thread int a; int b; int main() { return a = b; }
45173 _ACEOF
45174 if ac_fn_c_try_link "$LINENO"; then :
45175 chktls_save_LDFLAGS="$LDFLAGS"
45176 case $host in
45177 *-*-linux*)
45178 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45179 ;;
45180 esac
45181 chktls_save_CFLAGS="$CFLAGS"
45182 CFLAGS="-fPIC $CFLAGS"
45183 if test x$gcc_no_link = xyes; then
45184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45185 fi
45186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45187 /* end confdefs.h. */
45188 int f() { return 0; }
45189 _ACEOF
45190 if ac_fn_c_try_link "$LINENO"; then :
45191 if test x$gcc_no_link = xyes; then
45192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45193 fi
45194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45195 /* end confdefs.h. */
45196 __thread int a; int b; int f() { return a = b; }
45197 _ACEOF
45198 if ac_fn_c_try_link "$LINENO"; then :
45199 gcc_cv_have_tls=yes
45200 else
45201 gcc_cv_have_tls=no
45202 fi
45203 rm -f core conftest.err conftest.$ac_objext \
45204 conftest$ac_exeext conftest.$ac_ext
45205 else
45206 gcc_cv_have_tls=yes
45207 fi
45208 rm -f core conftest.err conftest.$ac_objext \
45209 conftest$ac_exeext conftest.$ac_ext
45210 CFLAGS="$chktls_save_CFLAGS"
45211 LDFLAGS="$chktls_save_LDFLAGS"
45212 else
45213 gcc_cv_have_tls=no
45214 fi
45215 rm -f core conftest.err conftest.$ac_objext \
45216 conftest$ac_exeext conftest.$ac_ext
45217
45218
45219 else
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 __thread int a; int b; int main() { return a = b; }
45223 _ACEOF
45224 if ac_fn_c_try_run "$LINENO"; then :
45225 chktls_save_LDFLAGS="$LDFLAGS"
45226 LDFLAGS="-static $LDFLAGS"
45227 if test x$gcc_no_link = xyes; then
45228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45229 fi
45230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45231 /* end confdefs.h. */
45232 int main() { return 0; }
45233 _ACEOF
45234 if ac_fn_c_try_link "$LINENO"; then :
45235 if test "$cross_compiling" = yes; then :
45236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45238 as_fn_error "cannot run test program while cross compiling
45239 See \`config.log' for more details." "$LINENO" 5; }
45240 else
45241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45242 /* end confdefs.h. */
45243 __thread int a; int b; int main() { return a = b; }
45244 _ACEOF
45245 if ac_fn_c_try_run "$LINENO"; then :
45246 gcc_cv_have_tls=yes
45247 else
45248 gcc_cv_have_tls=no
45249 fi
45250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45251 conftest.$ac_objext conftest.beam conftest.$ac_ext
45252 fi
45253
45254 else
45255 gcc_cv_have_tls=yes
45256 fi
45257 rm -f core conftest.err conftest.$ac_objext \
45258 conftest$ac_exeext conftest.$ac_ext
45259 LDFLAGS="$chktls_save_LDFLAGS"
45260 if test $gcc_cv_have_tls = yes; then
45261 chktls_save_CFLAGS="$CFLAGS"
45262 thread_CFLAGS=failed
45263 for flag in '' '-pthread' '-lpthread'; do
45264 CFLAGS="$flag $chktls_save_CFLAGS"
45265 if test x$gcc_no_link = xyes; then
45266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45267 fi
45268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45269 /* end confdefs.h. */
45270 #include <pthread.h>
45271 void *g(void *d) { return NULL; }
45272 int
45273 main ()
45274 {
45275 pthread_t t; pthread_create(&t,NULL,g,NULL);
45276 ;
45277 return 0;
45278 }
45279 _ACEOF
45280 if ac_fn_c_try_link "$LINENO"; then :
45281 thread_CFLAGS="$flag"
45282 fi
45283 rm -f core conftest.err conftest.$ac_objext \
45284 conftest$ac_exeext conftest.$ac_ext
45285 if test "X$thread_CFLAGS" != Xfailed; then
45286 break
45287 fi
45288 done
45289 CFLAGS="$chktls_save_CFLAGS"
45290 if test "X$thread_CFLAGS" != Xfailed; then
45291 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45292 if test "$cross_compiling" = yes; then :
45293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45295 as_fn_error "cannot run test program while cross compiling
45296 See \`config.log' for more details." "$LINENO" 5; }
45297 else
45298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45299 /* end confdefs.h. */
45300 #include <pthread.h>
45301 __thread int a;
45302 static int *volatile a_in_other_thread;
45303 static void *
45304 thread_func (void *arg)
45305 {
45306 a_in_other_thread = &a;
45307 return (void *)0;
45308 }
45309 int
45310 main ()
45311 {
45312 pthread_t thread;
45313 void *thread_retval;
45314 int *volatile a_in_main_thread;
45315 a_in_main_thread = &a;
45316 if (pthread_create (&thread, (pthread_attr_t *)0,
45317 thread_func, (void *)0))
45318 return 0;
45319 if (pthread_join (thread, &thread_retval))
45320 return 0;
45321 return (a_in_other_thread == a_in_main_thread);
45322 ;
45323 return 0;
45324 }
45325 _ACEOF
45326 if ac_fn_c_try_run "$LINENO"; then :
45327 gcc_cv_have_tls=yes
45328 else
45329 gcc_cv_have_tls=no
45330 fi
45331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45332 conftest.$ac_objext conftest.beam conftest.$ac_ext
45333 fi
45334
45335 CFLAGS="$chktls_save_CFLAGS"
45336 fi
45337 fi
45338 else
45339 gcc_cv_have_tls=no
45340 fi
45341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45342 conftest.$ac_objext conftest.beam conftest.$ac_ext
45343 fi
45344
45345 fi
45346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45347 $as_echo "$gcc_cv_have_tls" >&6; }
45348 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45349
45350 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45351
45352 fi
45353 case "$target" in
45354 *-hpux10*)
45355 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45356
45357 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45358
45359 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45360
45361 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45362
45363 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45364
45365 ;;
45366 esac
45367 ;;
45368 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45369
45370 # All these tests are for C++; save the language and the compiler flags.
45371 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45372 # found in GLIBCXX_CONFIGURE.
45373
45374 ac_ext=cpp
45375 ac_cpp='$CXXCPP $CPPFLAGS'
45376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45379
45380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45381 ac_save_CXXFLAGS="$CXXFLAGS"
45382
45383 # Check for maintainer-mode bits.
45384 if test x"$USE_MAINTAINER_MODE" = xno; then
45385 WERROR=''
45386 else
45387 WERROR='-Werror'
45388 fi
45389
45390 # Check for -ffunction-sections -fdata-sections
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45392 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45393 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45395 /* end confdefs.h. */
45396 int foo; void bar() { };
45397 int
45398 main ()
45399 {
45400
45401 ;
45402 return 0;
45403 }
45404 _ACEOF
45405 if ac_fn_cxx_try_compile "$LINENO"; then :
45406 ac_fdsections=yes
45407 else
45408 ac_fdsections=no
45409 fi
45410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45411 if test "$ac_test_CXXFLAGS" = set; then
45412 CXXFLAGS="$ac_save_CXXFLAGS"
45413 else
45414 # this is the suspicious part
45415 CXXFLAGS=''
45416 fi
45417 if test x"$ac_fdsections" = x"yes"; then
45418 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45419 fi
45420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45421 $as_echo "$ac_fdsections" >&6; }
45422
45423 ac_ext=c
45424 ac_cpp='$CPP $CPPFLAGS'
45425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45428
45429
45430
45431
45432
45433 # If we're not using GNU ld, then there's no point in even trying these
45434 # tests. Check for that first. We should have already tested for gld
45435 # by now (in libtool), but require it now just to be safe...
45436 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45437 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45438
45439
45440
45441 # The name set by libtool depends on the version of libtool. Shame on us
45442 # for depending on an impl detail, but c'est la vie. Older versions used
45443 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45444 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45445 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45446 # set (hence we're using an older libtool), then set it.
45447 if test x${with_gnu_ld+set} != xset; then
45448 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45449 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45450 with_gnu_ld=no
45451 else
45452 with_gnu_ld=$ac_cv_prog_gnu_ld
45453 fi
45454 fi
45455
45456 # Start by getting the version number. I think the libtool test already
45457 # does some of this, but throws away the result.
45458 glibcxx_ld_is_gold=no
45459 if test x"$with_gnu_ld" = x"yes"; then
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45461 $as_echo_n "checking for ld version... " >&6; }
45462
45463 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45464 glibcxx_ld_is_gold=yes
45465 fi
45466 ldver=`$LD --version 2>/dev/null |
45467 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'`
45468
45469 glibcxx_gnu_ld_version=`echo $ldver | \
45470 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45472 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45473 fi
45474
45475 # Set --gc-sections.
45476 glibcxx_have_gc_sections=no
45477 if test "$glibcxx_ld_is_gold" = "yes"; then
45478 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45479 glibcxx_have_gc_sections=yes
45480 fi
45481 else
45482 glibcxx_gcsections_min_ld=21602
45483 if test x"$with_gnu_ld" = x"yes" &&
45484 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45485 glibcxx_have_gc_sections=yes
45486 fi
45487 fi
45488 if test "$glibcxx_have_gc_sections" = "yes"; then
45489 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45490 # NB: This flag only works reliably after 2.16.1. Configure tests
45491 # for this are difficult, so hard wire a value that should work.
45492
45493 ac_test_CFLAGS="${CFLAGS+set}"
45494 ac_save_CFLAGS="$CFLAGS"
45495 CFLAGS='-Wl,--gc-sections'
45496
45497 # Check for -Wl,--gc-sections
45498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45499 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45500 if test x$gcc_no_link = xyes; then
45501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45502 fi
45503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45504 /* end confdefs.h. */
45505 int one(void) { return 1; }
45506 int two(void) { return 2; }
45507
45508 int
45509 main ()
45510 {
45511 two();
45512 ;
45513 return 0;
45514 }
45515 _ACEOF
45516 if ac_fn_c_try_link "$LINENO"; then :
45517 ac_gcsections=yes
45518 else
45519 ac_gcsections=no
45520 fi
45521 rm -f core conftest.err conftest.$ac_objext \
45522 conftest$ac_exeext conftest.$ac_ext
45523 if test "$ac_gcsections" = "yes"; then
45524 rm -f conftest.c
45525 touch conftest.c
45526 if $CC -c conftest.c; then
45527 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45528 grep "Warning: gc-sections option ignored" > /dev/null; then
45529 ac_gcsections=no
45530 fi
45531 fi
45532 rm -f conftest.c conftest.o conftest
45533 fi
45534 if test "$ac_gcsections" = "yes"; then
45535 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45536 fi
45537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45538 $as_echo "$ac_gcsections" >&6; }
45539
45540 if test "$ac_test_CFLAGS" = set; then
45541 CFLAGS="$ac_save_CFLAGS"
45542 else
45543 # this is the suspicious part
45544 CFLAGS=''
45545 fi
45546 fi
45547
45548 # Set -z,relro.
45549 # Note this is only for shared objects.
45550 ac_ld_relro=no
45551 if test x"$with_gnu_ld" = x"yes"; then
45552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45553 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45554 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45555 if test -n "$cxx_z_relo"; then
45556 OPT_LDFLAGS="-Wl,-z,relro"
45557 ac_ld_relro=yes
45558 fi
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45560 $as_echo "$ac_ld_relro" >&6; }
45561 fi
45562
45563 # Set linker optimization flags.
45564 if test x"$with_gnu_ld" = x"yes"; then
45565 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45566 fi
45567
45568
45569
45570
45571
45572 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45573 ac_save_CXXFLAGS="$CXXFLAGS"
45574 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45575
45576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45577 $as_echo_n "checking for sin in -lm... " >&6; }
45578 if test "${ac_cv_lib_m_sin+set}" = set; then :
45579 $as_echo_n "(cached) " >&6
45580 else
45581 ac_check_lib_save_LIBS=$LIBS
45582 LIBS="-lm $LIBS"
45583 if test x$gcc_no_link = xyes; then
45584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45585 fi
45586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45587 /* end confdefs.h. */
45588
45589 /* Override any GCC internal prototype to avoid an error.
45590 Use char because int might match the return type of a GCC
45591 builtin and then its argument prototype would still apply. */
45592 #ifdef __cplusplus
45593 extern "C"
45594 #endif
45595 char sin ();
45596 int
45597 main ()
45598 {
45599 return sin ();
45600 ;
45601 return 0;
45602 }
45603 _ACEOF
45604 if ac_fn_c_try_link "$LINENO"; then :
45605 ac_cv_lib_m_sin=yes
45606 else
45607 ac_cv_lib_m_sin=no
45608 fi
45609 rm -f core conftest.err conftest.$ac_objext \
45610 conftest$ac_exeext conftest.$ac_ext
45611 LIBS=$ac_check_lib_save_LIBS
45612 fi
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45614 $as_echo "$ac_cv_lib_m_sin" >&6; }
45615 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45616 libm="-lm"
45617 fi
45618
45619 ac_save_LIBS="$LIBS"
45620 LIBS="$LIBS $libm"
45621
45622
45623
45624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45625 $as_echo_n "checking for isinf declaration... " >&6; }
45626 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45627 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45628 $as_echo_n "(cached) " >&6
45629 else
45630
45631
45632 ac_ext=cpp
45633 ac_cpp='$CXXCPP $CPPFLAGS'
45634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45637
45638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45639 /* end confdefs.h. */
45640 #include <math.h>
45641 #ifdef HAVE_IEEEFP_H
45642 #include <ieeefp.h>
45643 #endif
45644
45645 int
45646 main ()
45647 {
45648 isinf(0);
45649 ;
45650 return 0;
45651 }
45652 _ACEOF
45653 if ac_fn_cxx_try_compile "$LINENO"; then :
45654 glibcxx_cv_func_isinf_use=yes
45655 else
45656 glibcxx_cv_func_isinf_use=no
45657 fi
45658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45659 ac_ext=c
45660 ac_cpp='$CPP $CPPFLAGS'
45661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45664
45665
45666 fi
45667
45668 fi
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45670 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45671
45672 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45673 for ac_func in isinf
45674 do :
45675 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45676 if test "x$ac_cv_func_isinf" = x""yes; then :
45677 cat >>confdefs.h <<_ACEOF
45678 #define HAVE_ISINF 1
45679 _ACEOF
45680
45681 fi
45682 done
45683
45684 else
45685
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45687 $as_echo_n "checking for _isinf declaration... " >&6; }
45688 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45689 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45690 $as_echo_n "(cached) " >&6
45691 else
45692
45693
45694 ac_ext=cpp
45695 ac_cpp='$CXXCPP $CPPFLAGS'
45696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45699
45700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45701 /* end confdefs.h. */
45702 #include <math.h>
45703 #ifdef HAVE_IEEEFP_H
45704 #include <ieeefp.h>
45705 #endif
45706
45707 int
45708 main ()
45709 {
45710 _isinf(0);
45711 ;
45712 return 0;
45713 }
45714 _ACEOF
45715 if ac_fn_cxx_try_compile "$LINENO"; then :
45716 glibcxx_cv_func__isinf_use=yes
45717 else
45718 glibcxx_cv_func__isinf_use=no
45719 fi
45720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45721 ac_ext=c
45722 ac_cpp='$CPP $CPPFLAGS'
45723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45726
45727
45728 fi
45729
45730 fi
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45732 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45733
45734 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45735 for ac_func in _isinf
45736 do :
45737 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45738 if test "x$ac_cv_func__isinf" = x""yes; then :
45739 cat >>confdefs.h <<_ACEOF
45740 #define HAVE__ISINF 1
45741 _ACEOF
45742
45743 fi
45744 done
45745
45746 fi
45747 fi
45748
45749
45750
45751
45752
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45754 $as_echo_n "checking for isnan declaration... " >&6; }
45755 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45756 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45757 $as_echo_n "(cached) " >&6
45758 else
45759
45760
45761 ac_ext=cpp
45762 ac_cpp='$CXXCPP $CPPFLAGS'
45763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766
45767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45768 /* end confdefs.h. */
45769 #include <math.h>
45770 #ifdef HAVE_IEEEFP_H
45771 #include <ieeefp.h>
45772 #endif
45773
45774 int
45775 main ()
45776 {
45777 isnan(0);
45778 ;
45779 return 0;
45780 }
45781 _ACEOF
45782 if ac_fn_cxx_try_compile "$LINENO"; then :
45783 glibcxx_cv_func_isnan_use=yes
45784 else
45785 glibcxx_cv_func_isnan_use=no
45786 fi
45787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45788 ac_ext=c
45789 ac_cpp='$CPP $CPPFLAGS'
45790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45793
45794
45795 fi
45796
45797 fi
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45799 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45800
45801 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45802 for ac_func in isnan
45803 do :
45804 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45805 if test "x$ac_cv_func_isnan" = x""yes; then :
45806 cat >>confdefs.h <<_ACEOF
45807 #define HAVE_ISNAN 1
45808 _ACEOF
45809
45810 fi
45811 done
45812
45813 else
45814
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45816 $as_echo_n "checking for _isnan declaration... " >&6; }
45817 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45818 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45819 $as_echo_n "(cached) " >&6
45820 else
45821
45822
45823 ac_ext=cpp
45824 ac_cpp='$CXXCPP $CPPFLAGS'
45825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828
45829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45830 /* end confdefs.h. */
45831 #include <math.h>
45832 #ifdef HAVE_IEEEFP_H
45833 #include <ieeefp.h>
45834 #endif
45835
45836 int
45837 main ()
45838 {
45839 _isnan(0);
45840 ;
45841 return 0;
45842 }
45843 _ACEOF
45844 if ac_fn_cxx_try_compile "$LINENO"; then :
45845 glibcxx_cv_func__isnan_use=yes
45846 else
45847 glibcxx_cv_func__isnan_use=no
45848 fi
45849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45850 ac_ext=c
45851 ac_cpp='$CPP $CPPFLAGS'
45852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855
45856
45857 fi
45858
45859 fi
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45861 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45862
45863 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45864 for ac_func in _isnan
45865 do :
45866 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45867 if test "x$ac_cv_func__isnan" = x""yes; then :
45868 cat >>confdefs.h <<_ACEOF
45869 #define HAVE__ISNAN 1
45870 _ACEOF
45871
45872 fi
45873 done
45874
45875 fi
45876 fi
45877
45878
45879
45880
45881
45882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45883 $as_echo_n "checking for finite declaration... " >&6; }
45884 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45885 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45886 $as_echo_n "(cached) " >&6
45887 else
45888
45889
45890 ac_ext=cpp
45891 ac_cpp='$CXXCPP $CPPFLAGS'
45892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45895
45896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45897 /* end confdefs.h. */
45898 #include <math.h>
45899 #ifdef HAVE_IEEEFP_H
45900 #include <ieeefp.h>
45901 #endif
45902
45903 int
45904 main ()
45905 {
45906 finite(0);
45907 ;
45908 return 0;
45909 }
45910 _ACEOF
45911 if ac_fn_cxx_try_compile "$LINENO"; then :
45912 glibcxx_cv_func_finite_use=yes
45913 else
45914 glibcxx_cv_func_finite_use=no
45915 fi
45916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45917 ac_ext=c
45918 ac_cpp='$CPP $CPPFLAGS'
45919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45922
45923
45924 fi
45925
45926 fi
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45928 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45929
45930 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45931 for ac_func in finite
45932 do :
45933 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45934 if test "x$ac_cv_func_finite" = x""yes; then :
45935 cat >>confdefs.h <<_ACEOF
45936 #define HAVE_FINITE 1
45937 _ACEOF
45938
45939 fi
45940 done
45941
45942 else
45943
45944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45945 $as_echo_n "checking for _finite declaration... " >&6; }
45946 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45947 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45948 $as_echo_n "(cached) " >&6
45949 else
45950
45951
45952 ac_ext=cpp
45953 ac_cpp='$CXXCPP $CPPFLAGS'
45954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45957
45958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45959 /* end confdefs.h. */
45960 #include <math.h>
45961 #ifdef HAVE_IEEEFP_H
45962 #include <ieeefp.h>
45963 #endif
45964
45965 int
45966 main ()
45967 {
45968 _finite(0);
45969 ;
45970 return 0;
45971 }
45972 _ACEOF
45973 if ac_fn_cxx_try_compile "$LINENO"; then :
45974 glibcxx_cv_func__finite_use=yes
45975 else
45976 glibcxx_cv_func__finite_use=no
45977 fi
45978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45979 ac_ext=c
45980 ac_cpp='$CPP $CPPFLAGS'
45981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45984
45985
45986 fi
45987
45988 fi
45989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45990 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45991
45992 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45993 for ac_func in _finite
45994 do :
45995 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45996 if test "x$ac_cv_func__finite" = x""yes; then :
45997 cat >>confdefs.h <<_ACEOF
45998 #define HAVE__FINITE 1
45999 _ACEOF
46000
46001 fi
46002 done
46003
46004 fi
46005 fi
46006
46007
46008
46009
46010
46011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46012 $as_echo_n "checking for sincos declaration... " >&6; }
46013 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46014 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46015 $as_echo_n "(cached) " >&6
46016 else
46017
46018
46019 ac_ext=cpp
46020 ac_cpp='$CXXCPP $CPPFLAGS'
46021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46024
46025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46026 /* end confdefs.h. */
46027 #include <math.h>
46028 int
46029 main ()
46030 {
46031 sincos(0, 0, 0);
46032 ;
46033 return 0;
46034 }
46035 _ACEOF
46036 if ac_fn_cxx_try_compile "$LINENO"; then :
46037 glibcxx_cv_func_sincos_use=yes
46038 else
46039 glibcxx_cv_func_sincos_use=no
46040 fi
46041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46042 ac_ext=c
46043 ac_cpp='$CPP $CPPFLAGS'
46044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46047
46048
46049 fi
46050
46051 fi
46052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46053 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46054
46055 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46056 for ac_func in sincos
46057 do :
46058 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46059 if test "x$ac_cv_func_sincos" = x""yes; then :
46060 cat >>confdefs.h <<_ACEOF
46061 #define HAVE_SINCOS 1
46062 _ACEOF
46063
46064 fi
46065 done
46066
46067 else
46068
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46070 $as_echo_n "checking for _sincos declaration... " >&6; }
46071 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46072 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46073 $as_echo_n "(cached) " >&6
46074 else
46075
46076
46077 ac_ext=cpp
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082
46083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46084 /* end confdefs.h. */
46085 #include <math.h>
46086 int
46087 main ()
46088 {
46089 _sincos(0, 0, 0);
46090 ;
46091 return 0;
46092 }
46093 _ACEOF
46094 if ac_fn_cxx_try_compile "$LINENO"; then :
46095 glibcxx_cv_func__sincos_use=yes
46096 else
46097 glibcxx_cv_func__sincos_use=no
46098 fi
46099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46100 ac_ext=c
46101 ac_cpp='$CPP $CPPFLAGS'
46102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105
46106
46107 fi
46108
46109 fi
46110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46111 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46112
46113 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46114 for ac_func in _sincos
46115 do :
46116 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46117 if test "x$ac_cv_func__sincos" = x""yes; then :
46118 cat >>confdefs.h <<_ACEOF
46119 #define HAVE__SINCOS 1
46120 _ACEOF
46121
46122 fi
46123 done
46124
46125 fi
46126 fi
46127
46128
46129
46130
46131
46132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46133 $as_echo_n "checking for fpclass declaration... " >&6; }
46134 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46135 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46136 $as_echo_n "(cached) " >&6
46137 else
46138
46139
46140 ac_ext=cpp
46141 ac_cpp='$CXXCPP $CPPFLAGS'
46142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145
46146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46147 /* end confdefs.h. */
46148 #include <math.h>
46149 #ifdef HAVE_IEEEFP_H
46150 #include <ieeefp.h>
46151 #endif
46152
46153 int
46154 main ()
46155 {
46156 fpclass(0);
46157 ;
46158 return 0;
46159 }
46160 _ACEOF
46161 if ac_fn_cxx_try_compile "$LINENO"; then :
46162 glibcxx_cv_func_fpclass_use=yes
46163 else
46164 glibcxx_cv_func_fpclass_use=no
46165 fi
46166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46167 ac_ext=c
46168 ac_cpp='$CPP $CPPFLAGS'
46169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46172
46173
46174 fi
46175
46176 fi
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46178 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46179
46180 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46181 for ac_func in fpclass
46182 do :
46183 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46184 if test "x$ac_cv_func_fpclass" = x""yes; then :
46185 cat >>confdefs.h <<_ACEOF
46186 #define HAVE_FPCLASS 1
46187 _ACEOF
46188
46189 fi
46190 done
46191
46192 else
46193
46194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46195 $as_echo_n "checking for _fpclass declaration... " >&6; }
46196 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46197 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46198 $as_echo_n "(cached) " >&6
46199 else
46200
46201
46202 ac_ext=cpp
46203 ac_cpp='$CXXCPP $CPPFLAGS'
46204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46207
46208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46209 /* end confdefs.h. */
46210 #include <math.h>
46211 #ifdef HAVE_IEEEFP_H
46212 #include <ieeefp.h>
46213 #endif
46214
46215 int
46216 main ()
46217 {
46218 _fpclass(0);
46219 ;
46220 return 0;
46221 }
46222 _ACEOF
46223 if ac_fn_cxx_try_compile "$LINENO"; then :
46224 glibcxx_cv_func__fpclass_use=yes
46225 else
46226 glibcxx_cv_func__fpclass_use=no
46227 fi
46228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46229 ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234
46235
46236 fi
46237
46238 fi
46239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46240 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46241
46242 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46243 for ac_func in _fpclass
46244 do :
46245 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46246 if test "x$ac_cv_func__fpclass" = x""yes; then :
46247 cat >>confdefs.h <<_ACEOF
46248 #define HAVE__FPCLASS 1
46249 _ACEOF
46250
46251 fi
46252 done
46253
46254 fi
46255 fi
46256
46257
46258
46259
46260
46261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46262 $as_echo_n "checking for qfpclass declaration... " >&6; }
46263 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46264 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46265 $as_echo_n "(cached) " >&6
46266 else
46267
46268
46269 ac_ext=cpp
46270 ac_cpp='$CXXCPP $CPPFLAGS'
46271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274
46275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46276 /* end confdefs.h. */
46277 #include <math.h>
46278 #ifdef HAVE_IEEEFP_H
46279 #include <ieeefp.h>
46280 #endif
46281
46282 int
46283 main ()
46284 {
46285 qfpclass(0);
46286 ;
46287 return 0;
46288 }
46289 _ACEOF
46290 if ac_fn_cxx_try_compile "$LINENO"; then :
46291 glibcxx_cv_func_qfpclass_use=yes
46292 else
46293 glibcxx_cv_func_qfpclass_use=no
46294 fi
46295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46296 ac_ext=c
46297 ac_cpp='$CPP $CPPFLAGS'
46298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46301
46302
46303 fi
46304
46305 fi
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46307 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46308
46309 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46310 for ac_func in qfpclass
46311 do :
46312 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46313 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46314 cat >>confdefs.h <<_ACEOF
46315 #define HAVE_QFPCLASS 1
46316 _ACEOF
46317
46318 fi
46319 done
46320
46321 else
46322
46323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46324 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46325 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46326 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46327 $as_echo_n "(cached) " >&6
46328 else
46329
46330
46331 ac_ext=cpp
46332 ac_cpp='$CXXCPP $CPPFLAGS'
46333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336
46337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46338 /* end confdefs.h. */
46339 #include <math.h>
46340 #ifdef HAVE_IEEEFP_H
46341 #include <ieeefp.h>
46342 #endif
46343
46344 int
46345 main ()
46346 {
46347 _qfpclass(0);
46348 ;
46349 return 0;
46350 }
46351 _ACEOF
46352 if ac_fn_cxx_try_compile "$LINENO"; then :
46353 glibcxx_cv_func__qfpclass_use=yes
46354 else
46355 glibcxx_cv_func__qfpclass_use=no
46356 fi
46357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 ac_ext=c
46359 ac_cpp='$CPP $CPPFLAGS'
46360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46363
46364
46365 fi
46366
46367 fi
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46369 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46370
46371 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46372 for ac_func in _qfpclass
46373 do :
46374 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46375 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46376 cat >>confdefs.h <<_ACEOF
46377 #define HAVE__QFPCLASS 1
46378 _ACEOF
46379
46380 fi
46381 done
46382
46383 fi
46384 fi
46385
46386
46387
46388
46389
46390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46391 $as_echo_n "checking for hypot declaration... " >&6; }
46392 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46393 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46394 $as_echo_n "(cached) " >&6
46395 else
46396
46397
46398 ac_ext=cpp
46399 ac_cpp='$CXXCPP $CPPFLAGS'
46400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46403
46404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46405 /* end confdefs.h. */
46406 #include <math.h>
46407 int
46408 main ()
46409 {
46410 hypot(0, 0);
46411 ;
46412 return 0;
46413 }
46414 _ACEOF
46415 if ac_fn_cxx_try_compile "$LINENO"; then :
46416 glibcxx_cv_func_hypot_use=yes
46417 else
46418 glibcxx_cv_func_hypot_use=no
46419 fi
46420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46421 ac_ext=c
46422 ac_cpp='$CPP $CPPFLAGS'
46423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426
46427
46428 fi
46429
46430 fi
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46432 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46433
46434 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46435 for ac_func in hypot
46436 do :
46437 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46438 if test "x$ac_cv_func_hypot" = x""yes; then :
46439 cat >>confdefs.h <<_ACEOF
46440 #define HAVE_HYPOT 1
46441 _ACEOF
46442
46443 fi
46444 done
46445
46446 else
46447
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46449 $as_echo_n "checking for _hypot declaration... " >&6; }
46450 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46451 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46454
46455
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46465 int
46466 main ()
46467 {
46468 _hypot(0, 0);
46469 ;
46470 return 0;
46471 }
46472 _ACEOF
46473 if ac_fn_cxx_try_compile "$LINENO"; then :
46474 glibcxx_cv_func__hypot_use=yes
46475 else
46476 glibcxx_cv_func__hypot_use=no
46477 fi
46478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46479 ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484
46485
46486 fi
46487
46488 fi
46489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46490 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46491
46492 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46493 for ac_func in _hypot
46494 do :
46495 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46496 if test "x$ac_cv_func__hypot" = x""yes; then :
46497 cat >>confdefs.h <<_ACEOF
46498 #define HAVE__HYPOT 1
46499 _ACEOF
46500
46501 fi
46502 done
46503
46504 fi
46505 fi
46506
46507
46508
46509
46510
46511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46512 $as_echo_n "checking for float trig functions... " >&6; }
46513 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46514 $as_echo_n "(cached) " >&6
46515 else
46516
46517
46518 ac_ext=cpp
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523
46524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46525 /* end confdefs.h. */
46526 #include <math.h>
46527 int
46528 main ()
46529 {
46530 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46531 ;
46532 return 0;
46533 }
46534 _ACEOF
46535 if ac_fn_cxx_try_compile "$LINENO"; then :
46536 glibcxx_cv_func_float_trig_use=yes
46537 else
46538 glibcxx_cv_func_float_trig_use=no
46539 fi
46540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46541 ac_ext=c
46542 ac_cpp='$CPP $CPPFLAGS'
46543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46546
46547 fi
46548
46549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46550 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46551 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46552 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46553 do :
46554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46556 eval as_val=\$$as_ac_var
46557 if test "x$as_val" = x""yes; then :
46558 cat >>confdefs.h <<_ACEOF
46559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46560 _ACEOF
46561
46562 fi
46563 done
46564
46565 else
46566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46567 $as_echo_n "checking for _float trig functions... " >&6; }
46568 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46569 $as_echo_n "(cached) " >&6
46570 else
46571
46572
46573 ac_ext=cpp
46574 ac_cpp='$CXXCPP $CPPFLAGS'
46575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46578
46579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46580 /* end confdefs.h. */
46581 #include <math.h>
46582 int
46583 main ()
46584 {
46585 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46586 ;
46587 return 0;
46588 }
46589 _ACEOF
46590 if ac_fn_cxx_try_compile "$LINENO"; then :
46591 glibcxx_cv_func__float_trig_use=yes
46592 else
46593 glibcxx_cv_func__float_trig_use=no
46594 fi
46595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46596 ac_ext=c
46597 ac_cpp='$CPP $CPPFLAGS'
46598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601
46602 fi
46603
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46605 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46606 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46607 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46608 do :
46609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46611 eval as_val=\$$as_ac_var
46612 if test "x$as_val" = x""yes; then :
46613 cat >>confdefs.h <<_ACEOF
46614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46615 _ACEOF
46616
46617 fi
46618 done
46619
46620 fi
46621 fi
46622
46623
46624
46625
46626
46627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46628 $as_echo_n "checking for float round functions... " >&6; }
46629 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46630 $as_echo_n "(cached) " >&6
46631 else
46632
46633
46634 ac_ext=cpp
46635 ac_cpp='$CXXCPP $CPPFLAGS'
46636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46639
46640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46641 /* end confdefs.h. */
46642 #include <math.h>
46643 int
46644 main ()
46645 {
46646 ceilf (0); floorf (0);
46647 ;
46648 return 0;
46649 }
46650 _ACEOF
46651 if ac_fn_cxx_try_compile "$LINENO"; then :
46652 glibcxx_cv_func_float_round_use=yes
46653 else
46654 glibcxx_cv_func_float_round_use=no
46655 fi
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662
46663 fi
46664
46665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46666 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46667 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46668 for ac_func in ceilf floorf
46669 do :
46670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46672 eval as_val=\$$as_ac_var
46673 if test "x$as_val" = x""yes; then :
46674 cat >>confdefs.h <<_ACEOF
46675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46676 _ACEOF
46677
46678 fi
46679 done
46680
46681 else
46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46683 $as_echo_n "checking for _float round functions... " >&6; }
46684 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46687
46688
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46698 int
46699 main ()
46700 {
46701 _ceilf (0); _floorf (0);
46702 ;
46703 return 0;
46704 }
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707 glibcxx_cv_func__float_round_use=yes
46708 else
46709 glibcxx_cv_func__float_round_use=no
46710 fi
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712 ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46717
46718 fi
46719
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46721 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46722 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46723 for ac_func in _ceilf _floorf
46724 do :
46725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46727 eval as_val=\$$as_ac_var
46728 if test "x$as_val" = x""yes; then :
46729 cat >>confdefs.h <<_ACEOF
46730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46731 _ACEOF
46732
46733 fi
46734 done
46735
46736 fi
46737 fi
46738
46739
46740
46741
46742
46743
46744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46745 $as_echo_n "checking for expf declaration... " >&6; }
46746 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46747 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46748 $as_echo_n "(cached) " >&6
46749 else
46750
46751
46752 ac_ext=cpp
46753 ac_cpp='$CXXCPP $CPPFLAGS'
46754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46757
46758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46759 /* end confdefs.h. */
46760 #include <math.h>
46761 #ifdef HAVE_IEEEFP_H
46762 #include <ieeefp.h>
46763 #endif
46764
46765 int
46766 main ()
46767 {
46768 expf(0);
46769 ;
46770 return 0;
46771 }
46772 _ACEOF
46773 if ac_fn_cxx_try_compile "$LINENO"; then :
46774 glibcxx_cv_func_expf_use=yes
46775 else
46776 glibcxx_cv_func_expf_use=no
46777 fi
46778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46779 ac_ext=c
46780 ac_cpp='$CPP $CPPFLAGS'
46781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46784
46785
46786 fi
46787
46788 fi
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46790 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46791
46792 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46793 for ac_func in expf
46794 do :
46795 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46796 if test "x$ac_cv_func_expf" = x""yes; then :
46797 cat >>confdefs.h <<_ACEOF
46798 #define HAVE_EXPF 1
46799 _ACEOF
46800
46801 fi
46802 done
46803
46804 else
46805
46806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46807 $as_echo_n "checking for _expf declaration... " >&6; }
46808 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46809 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46810 $as_echo_n "(cached) " >&6
46811 else
46812
46813
46814 ac_ext=cpp
46815 ac_cpp='$CXXCPP $CPPFLAGS'
46816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46819
46820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46821 /* end confdefs.h. */
46822 #include <math.h>
46823 #ifdef HAVE_IEEEFP_H
46824 #include <ieeefp.h>
46825 #endif
46826
46827 int
46828 main ()
46829 {
46830 _expf(0);
46831 ;
46832 return 0;
46833 }
46834 _ACEOF
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836 glibcxx_cv_func__expf_use=yes
46837 else
46838 glibcxx_cv_func__expf_use=no
46839 fi
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46846
46847
46848 fi
46849
46850 fi
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46852 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46853
46854 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46855 for ac_func in _expf
46856 do :
46857 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46858 if test "x$ac_cv_func__expf" = x""yes; then :
46859 cat >>confdefs.h <<_ACEOF
46860 #define HAVE__EXPF 1
46861 _ACEOF
46862
46863 fi
46864 done
46865
46866 fi
46867 fi
46868
46869
46870
46871
46872
46873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46874 $as_echo_n "checking for isnanf declaration... " >&6; }
46875 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46876 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46877 $as_echo_n "(cached) " >&6
46878 else
46879
46880
46881 ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46886
46887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h. */
46889 #include <math.h>
46890 #ifdef HAVE_IEEEFP_H
46891 #include <ieeefp.h>
46892 #endif
46893
46894 int
46895 main ()
46896 {
46897 isnanf(0);
46898 ;
46899 return 0;
46900 }
46901 _ACEOF
46902 if ac_fn_cxx_try_compile "$LINENO"; then :
46903 glibcxx_cv_func_isnanf_use=yes
46904 else
46905 glibcxx_cv_func_isnanf_use=no
46906 fi
46907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46908 ac_ext=c
46909 ac_cpp='$CPP $CPPFLAGS'
46910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46913
46914
46915 fi
46916
46917 fi
46918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46919 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46920
46921 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46922 for ac_func in isnanf
46923 do :
46924 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46925 if test "x$ac_cv_func_isnanf" = x""yes; then :
46926 cat >>confdefs.h <<_ACEOF
46927 #define HAVE_ISNANF 1
46928 _ACEOF
46929
46930 fi
46931 done
46932
46933 else
46934
46935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46936 $as_echo_n "checking for _isnanf declaration... " >&6; }
46937 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46938 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46939 $as_echo_n "(cached) " >&6
46940 else
46941
46942
46943 ac_ext=cpp
46944 ac_cpp='$CXXCPP $CPPFLAGS'
46945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46948
46949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46950 /* end confdefs.h. */
46951 #include <math.h>
46952 #ifdef HAVE_IEEEFP_H
46953 #include <ieeefp.h>
46954 #endif
46955
46956 int
46957 main ()
46958 {
46959 _isnanf(0);
46960 ;
46961 return 0;
46962 }
46963 _ACEOF
46964 if ac_fn_cxx_try_compile "$LINENO"; then :
46965 glibcxx_cv_func__isnanf_use=yes
46966 else
46967 glibcxx_cv_func__isnanf_use=no
46968 fi
46969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46970 ac_ext=c
46971 ac_cpp='$CPP $CPPFLAGS'
46972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46975
46976
46977 fi
46978
46979 fi
46980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46981 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46982
46983 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46984 for ac_func in _isnanf
46985 do :
46986 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46987 if test "x$ac_cv_func__isnanf" = x""yes; then :
46988 cat >>confdefs.h <<_ACEOF
46989 #define HAVE__ISNANF 1
46990 _ACEOF
46991
46992 fi
46993 done
46994
46995 fi
46996 fi
46997
46998
46999
47000
47001
47002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47003 $as_echo_n "checking for isinff declaration... " >&6; }
47004 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47005 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47006 $as_echo_n "(cached) " >&6
47007 else
47008
47009
47010 ac_ext=cpp
47011 ac_cpp='$CXXCPP $CPPFLAGS'
47012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47015
47016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47017 /* end confdefs.h. */
47018 #include <math.h>
47019 #ifdef HAVE_IEEEFP_H
47020 #include <ieeefp.h>
47021 #endif
47022
47023 int
47024 main ()
47025 {
47026 isinff(0);
47027 ;
47028 return 0;
47029 }
47030 _ACEOF
47031 if ac_fn_cxx_try_compile "$LINENO"; then :
47032 glibcxx_cv_func_isinff_use=yes
47033 else
47034 glibcxx_cv_func_isinff_use=no
47035 fi
47036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47037 ac_ext=c
47038 ac_cpp='$CPP $CPPFLAGS'
47039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47042
47043
47044 fi
47045
47046 fi
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47048 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47049
47050 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47051 for ac_func in isinff
47052 do :
47053 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47054 if test "x$ac_cv_func_isinff" = x""yes; then :
47055 cat >>confdefs.h <<_ACEOF
47056 #define HAVE_ISINFF 1
47057 _ACEOF
47058
47059 fi
47060 done
47061
47062 else
47063
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47065 $as_echo_n "checking for _isinff declaration... " >&6; }
47066 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47067 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47068 $as_echo_n "(cached) " >&6
47069 else
47070
47071
47072 ac_ext=cpp
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47077
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47080 #include <math.h>
47081 #ifdef HAVE_IEEEFP_H
47082 #include <ieeefp.h>
47083 #endif
47084
47085 int
47086 main ()
47087 {
47088 _isinff(0);
47089 ;
47090 return 0;
47091 }
47092 _ACEOF
47093 if ac_fn_cxx_try_compile "$LINENO"; then :
47094 glibcxx_cv_func__isinff_use=yes
47095 else
47096 glibcxx_cv_func__isinff_use=no
47097 fi
47098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47099 ac_ext=c
47100 ac_cpp='$CPP $CPPFLAGS'
47101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47104
47105
47106 fi
47107
47108 fi
47109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47110 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47111
47112 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47113 for ac_func in _isinff
47114 do :
47115 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47116 if test "x$ac_cv_func__isinff" = x""yes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define HAVE__ISINFF 1
47119 _ACEOF
47120
47121 fi
47122 done
47123
47124 fi
47125 fi
47126
47127
47128
47129
47130
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47132 $as_echo_n "checking for atan2f declaration... " >&6; }
47133 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47134 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47137
47138
47139 ac_ext=cpp
47140 ac_cpp='$CXXCPP $CPPFLAGS'
47141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47144
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <math.h>
47148 int
47149 main ()
47150 {
47151 atan2f(0, 0);
47152 ;
47153 return 0;
47154 }
47155 _ACEOF
47156 if ac_fn_cxx_try_compile "$LINENO"; then :
47157 glibcxx_cv_func_atan2f_use=yes
47158 else
47159 glibcxx_cv_func_atan2f_use=no
47160 fi
47161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47162 ac_ext=c
47163 ac_cpp='$CPP $CPPFLAGS'
47164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47167
47168
47169 fi
47170
47171 fi
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47173 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47174
47175 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47176 for ac_func in atan2f
47177 do :
47178 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47179 if test "x$ac_cv_func_atan2f" = x""yes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE_ATAN2F 1
47182 _ACEOF
47183
47184 fi
47185 done
47186
47187 else
47188
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47190 $as_echo_n "checking for _atan2f declaration... " >&6; }
47191 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47192 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47193 $as_echo_n "(cached) " >&6
47194 else
47195
47196
47197 ac_ext=cpp
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202
47203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47204 /* end confdefs.h. */
47205 #include <math.h>
47206 int
47207 main ()
47208 {
47209 _atan2f(0, 0);
47210 ;
47211 return 0;
47212 }
47213 _ACEOF
47214 if ac_fn_cxx_try_compile "$LINENO"; then :
47215 glibcxx_cv_func__atan2f_use=yes
47216 else
47217 glibcxx_cv_func__atan2f_use=no
47218 fi
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220 ac_ext=c
47221 ac_cpp='$CPP $CPPFLAGS'
47222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47225
47226
47227 fi
47228
47229 fi
47230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47231 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47232
47233 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47234 for ac_func in _atan2f
47235 do :
47236 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47237 if test "x$ac_cv_func__atan2f" = x""yes; then :
47238 cat >>confdefs.h <<_ACEOF
47239 #define HAVE__ATAN2F 1
47240 _ACEOF
47241
47242 fi
47243 done
47244
47245 fi
47246 fi
47247
47248
47249
47250
47251
47252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47253 $as_echo_n "checking for fabsf declaration... " >&6; }
47254 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47255 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47256 $as_echo_n "(cached) " >&6
47257 else
47258
47259
47260 ac_ext=cpp
47261 ac_cpp='$CXXCPP $CPPFLAGS'
47262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47265
47266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47267 /* end confdefs.h. */
47268 #include <math.h>
47269 #ifdef HAVE_IEEEFP_H
47270 #include <ieeefp.h>
47271 #endif
47272
47273 int
47274 main ()
47275 {
47276 fabsf(0);
47277 ;
47278 return 0;
47279 }
47280 _ACEOF
47281 if ac_fn_cxx_try_compile "$LINENO"; then :
47282 glibcxx_cv_func_fabsf_use=yes
47283 else
47284 glibcxx_cv_func_fabsf_use=no
47285 fi
47286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 ac_ext=c
47288 ac_cpp='$CPP $CPPFLAGS'
47289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47292
47293
47294 fi
47295
47296 fi
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47298 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47299
47300 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47301 for ac_func in fabsf
47302 do :
47303 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47304 if test "x$ac_cv_func_fabsf" = x""yes; then :
47305 cat >>confdefs.h <<_ACEOF
47306 #define HAVE_FABSF 1
47307 _ACEOF
47308
47309 fi
47310 done
47311
47312 else
47313
47314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47315 $as_echo_n "checking for _fabsf declaration... " >&6; }
47316 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47317 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47318 $as_echo_n "(cached) " >&6
47319 else
47320
47321
47322 ac_ext=cpp
47323 ac_cpp='$CXXCPP $CPPFLAGS'
47324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47327
47328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47329 /* end confdefs.h. */
47330 #include <math.h>
47331 #ifdef HAVE_IEEEFP_H
47332 #include <ieeefp.h>
47333 #endif
47334
47335 int
47336 main ()
47337 {
47338 _fabsf(0);
47339 ;
47340 return 0;
47341 }
47342 _ACEOF
47343 if ac_fn_cxx_try_compile "$LINENO"; then :
47344 glibcxx_cv_func__fabsf_use=yes
47345 else
47346 glibcxx_cv_func__fabsf_use=no
47347 fi
47348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47349 ac_ext=c
47350 ac_cpp='$CPP $CPPFLAGS'
47351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47354
47355
47356 fi
47357
47358 fi
47359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47360 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47361
47362 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47363 for ac_func in _fabsf
47364 do :
47365 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47366 if test "x$ac_cv_func__fabsf" = x""yes; then :
47367 cat >>confdefs.h <<_ACEOF
47368 #define HAVE__FABSF 1
47369 _ACEOF
47370
47371 fi
47372 done
47373
47374 fi
47375 fi
47376
47377
47378
47379
47380
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47382 $as_echo_n "checking for fmodf declaration... " >&6; }
47383 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47384 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47385 $as_echo_n "(cached) " >&6
47386 else
47387
47388
47389 ac_ext=cpp
47390 ac_cpp='$CXXCPP $CPPFLAGS'
47391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47394
47395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47396 /* end confdefs.h. */
47397 #include <math.h>
47398 int
47399 main ()
47400 {
47401 fmodf(0, 0);
47402 ;
47403 return 0;
47404 }
47405 _ACEOF
47406 if ac_fn_cxx_try_compile "$LINENO"; then :
47407 glibcxx_cv_func_fmodf_use=yes
47408 else
47409 glibcxx_cv_func_fmodf_use=no
47410 fi
47411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47412 ac_ext=c
47413 ac_cpp='$CPP $CPPFLAGS'
47414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47417
47418
47419 fi
47420
47421 fi
47422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47423 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47424
47425 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47426 for ac_func in fmodf
47427 do :
47428 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47429 if test "x$ac_cv_func_fmodf" = x""yes; then :
47430 cat >>confdefs.h <<_ACEOF
47431 #define HAVE_FMODF 1
47432 _ACEOF
47433
47434 fi
47435 done
47436
47437 else
47438
47439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47440 $as_echo_n "checking for _fmodf declaration... " >&6; }
47441 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47442 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47443 $as_echo_n "(cached) " >&6
47444 else
47445
47446
47447 ac_ext=cpp
47448 ac_cpp='$CXXCPP $CPPFLAGS'
47449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47452
47453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47454 /* end confdefs.h. */
47455 #include <math.h>
47456 int
47457 main ()
47458 {
47459 _fmodf(0, 0);
47460 ;
47461 return 0;
47462 }
47463 _ACEOF
47464 if ac_fn_cxx_try_compile "$LINENO"; then :
47465 glibcxx_cv_func__fmodf_use=yes
47466 else
47467 glibcxx_cv_func__fmodf_use=no
47468 fi
47469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47470 ac_ext=c
47471 ac_cpp='$CPP $CPPFLAGS'
47472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47475
47476
47477 fi
47478
47479 fi
47480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47481 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47482
47483 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47484 for ac_func in _fmodf
47485 do :
47486 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47487 if test "x$ac_cv_func__fmodf" = x""yes; then :
47488 cat >>confdefs.h <<_ACEOF
47489 #define HAVE__FMODF 1
47490 _ACEOF
47491
47492 fi
47493 done
47494
47495 fi
47496 fi
47497
47498
47499
47500
47501
47502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47503 $as_echo_n "checking for frexpf declaration... " >&6; }
47504 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47505 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47506 $as_echo_n "(cached) " >&6
47507 else
47508
47509
47510 ac_ext=cpp
47511 ac_cpp='$CXXCPP $CPPFLAGS'
47512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47515
47516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47517 /* end confdefs.h. */
47518 #include <math.h>
47519 int
47520 main ()
47521 {
47522 frexpf(0, 0);
47523 ;
47524 return 0;
47525 }
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_frexpf_use=yes
47529 else
47530 glibcxx_cv_func_frexpf_use=no
47531 fi
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47538
47539
47540 fi
47541
47542 fi
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47544 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47545
47546 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47547 for ac_func in frexpf
47548 do :
47549 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47550 if test "x$ac_cv_func_frexpf" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_FREXPF 1
47553 _ACEOF
47554
47555 fi
47556 done
47557
47558 else
47559
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47561 $as_echo_n "checking for _frexpf declaration... " >&6; }
47562 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47563 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47566
47567
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47573
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 int
47578 main ()
47579 {
47580 _frexpf(0, 0);
47581 ;
47582 return 0;
47583 }
47584 _ACEOF
47585 if ac_fn_cxx_try_compile "$LINENO"; then :
47586 glibcxx_cv_func__frexpf_use=yes
47587 else
47588 glibcxx_cv_func__frexpf_use=no
47589 fi
47590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47591 ac_ext=c
47592 ac_cpp='$CPP $CPPFLAGS'
47593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47596
47597
47598 fi
47599
47600 fi
47601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47602 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47603
47604 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47605 for ac_func in _frexpf
47606 do :
47607 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47608 if test "x$ac_cv_func__frexpf" = x""yes; then :
47609 cat >>confdefs.h <<_ACEOF
47610 #define HAVE__FREXPF 1
47611 _ACEOF
47612
47613 fi
47614 done
47615
47616 fi
47617 fi
47618
47619
47620
47621
47622
47623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47624 $as_echo_n "checking for hypotf declaration... " >&6; }
47625 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47626 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47627 $as_echo_n "(cached) " >&6
47628 else
47629
47630
47631 ac_ext=cpp
47632 ac_cpp='$CXXCPP $CPPFLAGS'
47633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47636
47637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47638 /* end confdefs.h. */
47639 #include <math.h>
47640 int
47641 main ()
47642 {
47643 hypotf(0, 0);
47644 ;
47645 return 0;
47646 }
47647 _ACEOF
47648 if ac_fn_cxx_try_compile "$LINENO"; then :
47649 glibcxx_cv_func_hypotf_use=yes
47650 else
47651 glibcxx_cv_func_hypotf_use=no
47652 fi
47653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47654 ac_ext=c
47655 ac_cpp='$CPP $CPPFLAGS'
47656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47659
47660
47661 fi
47662
47663 fi
47664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47665 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47666
47667 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47668 for ac_func in hypotf
47669 do :
47670 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47671 if test "x$ac_cv_func_hypotf" = x""yes; then :
47672 cat >>confdefs.h <<_ACEOF
47673 #define HAVE_HYPOTF 1
47674 _ACEOF
47675
47676 fi
47677 done
47678
47679 else
47680
47681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47682 $as_echo_n "checking for _hypotf declaration... " >&6; }
47683 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47684 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47685 $as_echo_n "(cached) " >&6
47686 else
47687
47688
47689 ac_ext=cpp
47690 ac_cpp='$CXXCPP $CPPFLAGS'
47691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47694
47695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47696 /* end confdefs.h. */
47697 #include <math.h>
47698 int
47699 main ()
47700 {
47701 _hypotf(0, 0);
47702 ;
47703 return 0;
47704 }
47705 _ACEOF
47706 if ac_fn_cxx_try_compile "$LINENO"; then :
47707 glibcxx_cv_func__hypotf_use=yes
47708 else
47709 glibcxx_cv_func__hypotf_use=no
47710 fi
47711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47712 ac_ext=c
47713 ac_cpp='$CPP $CPPFLAGS'
47714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47717
47718
47719 fi
47720
47721 fi
47722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47723 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47724
47725 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47726 for ac_func in _hypotf
47727 do :
47728 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47729 if test "x$ac_cv_func__hypotf" = x""yes; then :
47730 cat >>confdefs.h <<_ACEOF
47731 #define HAVE__HYPOTF 1
47732 _ACEOF
47733
47734 fi
47735 done
47736
47737 fi
47738 fi
47739
47740
47741
47742
47743
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47745 $as_echo_n "checking for ldexpf declaration... " >&6; }
47746 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47747 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47748 $as_echo_n "(cached) " >&6
47749 else
47750
47751
47752 ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757
47758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 int
47762 main ()
47763 {
47764 ldexpf(0, 0);
47765 ;
47766 return 0;
47767 }
47768 _ACEOF
47769 if ac_fn_cxx_try_compile "$LINENO"; then :
47770 glibcxx_cv_func_ldexpf_use=yes
47771 else
47772 glibcxx_cv_func_ldexpf_use=no
47773 fi
47774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47775 ac_ext=c
47776 ac_cpp='$CPP $CPPFLAGS'
47777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47780
47781
47782 fi
47783
47784 fi
47785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47786 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47787
47788 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47789 for ac_func in ldexpf
47790 do :
47791 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47792 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47793 cat >>confdefs.h <<_ACEOF
47794 #define HAVE_LDEXPF 1
47795 _ACEOF
47796
47797 fi
47798 done
47799
47800 else
47801
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47803 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47804 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47805 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47806 $as_echo_n "(cached) " >&6
47807 else
47808
47809
47810 ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815
47816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h. */
47818 #include <math.h>
47819 int
47820 main ()
47821 {
47822 _ldexpf(0, 0);
47823 ;
47824 return 0;
47825 }
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func__ldexpf_use=yes
47829 else
47830 glibcxx_cv_func__ldexpf_use=no
47831 fi
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833 ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838
47839
47840 fi
47841
47842 fi
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47844 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47845
47846 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47847 for ac_func in _ldexpf
47848 do :
47849 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47850 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE__LDEXPF 1
47853 _ACEOF
47854
47855 fi
47856 done
47857
47858 fi
47859 fi
47860
47861
47862
47863
47864
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47866 $as_echo_n "checking for logf declaration... " >&6; }
47867 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47868 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47869 $as_echo_n "(cached) " >&6
47870 else
47871
47872
47873 ac_ext=cpp
47874 ac_cpp='$CXXCPP $CPPFLAGS'
47875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47878
47879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47880 /* end confdefs.h. */
47881 #include <math.h>
47882 #ifdef HAVE_IEEEFP_H
47883 #include <ieeefp.h>
47884 #endif
47885
47886 int
47887 main ()
47888 {
47889 logf(0);
47890 ;
47891 return 0;
47892 }
47893 _ACEOF
47894 if ac_fn_cxx_try_compile "$LINENO"; then :
47895 glibcxx_cv_func_logf_use=yes
47896 else
47897 glibcxx_cv_func_logf_use=no
47898 fi
47899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47900 ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47905
47906
47907 fi
47908
47909 fi
47910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47911 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47912
47913 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47914 for ac_func in logf
47915 do :
47916 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47917 if test "x$ac_cv_func_logf" = x""yes; then :
47918 cat >>confdefs.h <<_ACEOF
47919 #define HAVE_LOGF 1
47920 _ACEOF
47921
47922 fi
47923 done
47924
47925 else
47926
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47928 $as_echo_n "checking for _logf declaration... " >&6; }
47929 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47930 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47931 $as_echo_n "(cached) " >&6
47932 else
47933
47934
47935 ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940
47941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47942 /* end confdefs.h. */
47943 #include <math.h>
47944 #ifdef HAVE_IEEEFP_H
47945 #include <ieeefp.h>
47946 #endif
47947
47948 int
47949 main ()
47950 {
47951 _logf(0);
47952 ;
47953 return 0;
47954 }
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957 glibcxx_cv_func__logf_use=yes
47958 else
47959 glibcxx_cv_func__logf_use=no
47960 fi
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962 ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967
47968
47969 fi
47970
47971 fi
47972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47973 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47974
47975 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47976 for ac_func in _logf
47977 do :
47978 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47979 if test "x$ac_cv_func__logf" = x""yes; then :
47980 cat >>confdefs.h <<_ACEOF
47981 #define HAVE__LOGF 1
47982 _ACEOF
47983
47984 fi
47985 done
47986
47987 fi
47988 fi
47989
47990
47991
47992
47993
47994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47995 $as_echo_n "checking for log10f declaration... " >&6; }
47996 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47997 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47998 $as_echo_n "(cached) " >&6
47999 else
48000
48001
48002 ac_ext=cpp
48003 ac_cpp='$CXXCPP $CPPFLAGS'
48004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48007
48008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48009 /* end confdefs.h. */
48010 #include <math.h>
48011 #ifdef HAVE_IEEEFP_H
48012 #include <ieeefp.h>
48013 #endif
48014
48015 int
48016 main ()
48017 {
48018 log10f(0);
48019 ;
48020 return 0;
48021 }
48022 _ACEOF
48023 if ac_fn_cxx_try_compile "$LINENO"; then :
48024 glibcxx_cv_func_log10f_use=yes
48025 else
48026 glibcxx_cv_func_log10f_use=no
48027 fi
48028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48029 ac_ext=c
48030 ac_cpp='$CPP $CPPFLAGS'
48031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48034
48035
48036 fi
48037
48038 fi
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48040 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48041
48042 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48043 for ac_func in log10f
48044 do :
48045 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48046 if test "x$ac_cv_func_log10f" = x""yes; then :
48047 cat >>confdefs.h <<_ACEOF
48048 #define HAVE_LOG10F 1
48049 _ACEOF
48050
48051 fi
48052 done
48053
48054 else
48055
48056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48057 $as_echo_n "checking for _log10f declaration... " >&6; }
48058 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48059 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48060 $as_echo_n "(cached) " >&6
48061 else
48062
48063
48064 ac_ext=cpp
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069
48070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48071 /* end confdefs.h. */
48072 #include <math.h>
48073 #ifdef HAVE_IEEEFP_H
48074 #include <ieeefp.h>
48075 #endif
48076
48077 int
48078 main ()
48079 {
48080 _log10f(0);
48081 ;
48082 return 0;
48083 }
48084 _ACEOF
48085 if ac_fn_cxx_try_compile "$LINENO"; then :
48086 glibcxx_cv_func__log10f_use=yes
48087 else
48088 glibcxx_cv_func__log10f_use=no
48089 fi
48090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48091 ac_ext=c
48092 ac_cpp='$CPP $CPPFLAGS'
48093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48096
48097
48098 fi
48099
48100 fi
48101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48102 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48103
48104 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48105 for ac_func in _log10f
48106 do :
48107 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48108 if test "x$ac_cv_func__log10f" = x""yes; then :
48109 cat >>confdefs.h <<_ACEOF
48110 #define HAVE__LOG10F 1
48111 _ACEOF
48112
48113 fi
48114 done
48115
48116 fi
48117 fi
48118
48119
48120
48121
48122
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48124 $as_echo_n "checking for modff declaration... " >&6; }
48125 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48126 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48127 $as_echo_n "(cached) " >&6
48128 else
48129
48130
48131 ac_ext=cpp
48132 ac_cpp='$CXXCPP $CPPFLAGS'
48133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136
48137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48138 /* end confdefs.h. */
48139 #include <math.h>
48140 int
48141 main ()
48142 {
48143 modff(0, 0);
48144 ;
48145 return 0;
48146 }
48147 _ACEOF
48148 if ac_fn_cxx_try_compile "$LINENO"; then :
48149 glibcxx_cv_func_modff_use=yes
48150 else
48151 glibcxx_cv_func_modff_use=no
48152 fi
48153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48154 ac_ext=c
48155 ac_cpp='$CPP $CPPFLAGS'
48156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48159
48160
48161 fi
48162
48163 fi
48164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48165 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48166
48167 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48168 for ac_func in modff
48169 do :
48170 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48171 if test "x$ac_cv_func_modff" = x""yes; then :
48172 cat >>confdefs.h <<_ACEOF
48173 #define HAVE_MODFF 1
48174 _ACEOF
48175
48176 fi
48177 done
48178
48179 else
48180
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48182 $as_echo_n "checking for _modff declaration... " >&6; }
48183 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48184 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48185 $as_echo_n "(cached) " >&6
48186 else
48187
48188
48189 ac_ext=cpp
48190 ac_cpp='$CXXCPP $CPPFLAGS'
48191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48194
48195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48196 /* end confdefs.h. */
48197 #include <math.h>
48198 int
48199 main ()
48200 {
48201 _modff(0, 0);
48202 ;
48203 return 0;
48204 }
48205 _ACEOF
48206 if ac_fn_cxx_try_compile "$LINENO"; then :
48207 glibcxx_cv_func__modff_use=yes
48208 else
48209 glibcxx_cv_func__modff_use=no
48210 fi
48211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48212 ac_ext=c
48213 ac_cpp='$CPP $CPPFLAGS'
48214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48217
48218
48219 fi
48220
48221 fi
48222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48223 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48224
48225 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48226 for ac_func in _modff
48227 do :
48228 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48229 if test "x$ac_cv_func__modff" = x""yes; then :
48230 cat >>confdefs.h <<_ACEOF
48231 #define HAVE__MODFF 1
48232 _ACEOF
48233
48234 fi
48235 done
48236
48237 fi
48238 fi
48239
48240
48241
48242
48243
48244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48245 $as_echo_n "checking for modf declaration... " >&6; }
48246 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48247 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48248 $as_echo_n "(cached) " >&6
48249 else
48250
48251
48252 ac_ext=cpp
48253 ac_cpp='$CXXCPP $CPPFLAGS'
48254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257
48258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48259 /* end confdefs.h. */
48260 #include <math.h>
48261 int
48262 main ()
48263 {
48264 modf(0, 0);
48265 ;
48266 return 0;
48267 }
48268 _ACEOF
48269 if ac_fn_cxx_try_compile "$LINENO"; then :
48270 glibcxx_cv_func_modf_use=yes
48271 else
48272 glibcxx_cv_func_modf_use=no
48273 fi
48274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48275 ac_ext=c
48276 ac_cpp='$CPP $CPPFLAGS'
48277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48280
48281
48282 fi
48283
48284 fi
48285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48286 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48287
48288 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48289 for ac_func in modf
48290 do :
48291 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48292 if test "x$ac_cv_func_modf" = x""yes; then :
48293 cat >>confdefs.h <<_ACEOF
48294 #define HAVE_MODF 1
48295 _ACEOF
48296
48297 fi
48298 done
48299
48300 else
48301
48302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48303 $as_echo_n "checking for _modf declaration... " >&6; }
48304 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48305 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48306 $as_echo_n "(cached) " >&6
48307 else
48308
48309
48310 ac_ext=cpp
48311 ac_cpp='$CXXCPP $CPPFLAGS'
48312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48315
48316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48317 /* end confdefs.h. */
48318 #include <math.h>
48319 int
48320 main ()
48321 {
48322 _modf(0, 0);
48323 ;
48324 return 0;
48325 }
48326 _ACEOF
48327 if ac_fn_cxx_try_compile "$LINENO"; then :
48328 glibcxx_cv_func__modf_use=yes
48329 else
48330 glibcxx_cv_func__modf_use=no
48331 fi
48332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48333 ac_ext=c
48334 ac_cpp='$CPP $CPPFLAGS'
48335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48338
48339
48340 fi
48341
48342 fi
48343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48344 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48345
48346 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48347 for ac_func in _modf
48348 do :
48349 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48350 if test "x$ac_cv_func__modf" = x""yes; then :
48351 cat >>confdefs.h <<_ACEOF
48352 #define HAVE__MODF 1
48353 _ACEOF
48354
48355 fi
48356 done
48357
48358 fi
48359 fi
48360
48361
48362
48363
48364
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48366 $as_echo_n "checking for powf declaration... " >&6; }
48367 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48368 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48369 $as_echo_n "(cached) " >&6
48370 else
48371
48372
48373 ac_ext=cpp
48374 ac_cpp='$CXXCPP $CPPFLAGS'
48375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378
48379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48380 /* end confdefs.h. */
48381 #include <math.h>
48382 int
48383 main ()
48384 {
48385 powf(0, 0);
48386 ;
48387 return 0;
48388 }
48389 _ACEOF
48390 if ac_fn_cxx_try_compile "$LINENO"; then :
48391 glibcxx_cv_func_powf_use=yes
48392 else
48393 glibcxx_cv_func_powf_use=no
48394 fi
48395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48396 ac_ext=c
48397 ac_cpp='$CPP $CPPFLAGS'
48398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48401
48402
48403 fi
48404
48405 fi
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48407 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48408
48409 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48410 for ac_func in powf
48411 do :
48412 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48413 if test "x$ac_cv_func_powf" = x""yes; then :
48414 cat >>confdefs.h <<_ACEOF
48415 #define HAVE_POWF 1
48416 _ACEOF
48417
48418 fi
48419 done
48420
48421 else
48422
48423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48424 $as_echo_n "checking for _powf declaration... " >&6; }
48425 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48426 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48427 $as_echo_n "(cached) " >&6
48428 else
48429
48430
48431 ac_ext=cpp
48432 ac_cpp='$CXXCPP $CPPFLAGS'
48433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436
48437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48438 /* end confdefs.h. */
48439 #include <math.h>
48440 int
48441 main ()
48442 {
48443 _powf(0, 0);
48444 ;
48445 return 0;
48446 }
48447 _ACEOF
48448 if ac_fn_cxx_try_compile "$LINENO"; then :
48449 glibcxx_cv_func__powf_use=yes
48450 else
48451 glibcxx_cv_func__powf_use=no
48452 fi
48453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48454 ac_ext=c
48455 ac_cpp='$CPP $CPPFLAGS'
48456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459
48460
48461 fi
48462
48463 fi
48464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48465 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48466
48467 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48468 for ac_func in _powf
48469 do :
48470 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48471 if test "x$ac_cv_func__powf" = x""yes; then :
48472 cat >>confdefs.h <<_ACEOF
48473 #define HAVE__POWF 1
48474 _ACEOF
48475
48476 fi
48477 done
48478
48479 fi
48480 fi
48481
48482
48483
48484
48485
48486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48487 $as_echo_n "checking for sqrtf declaration... " >&6; }
48488 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48489 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48490 $as_echo_n "(cached) " >&6
48491 else
48492
48493
48494 ac_ext=cpp
48495 ac_cpp='$CXXCPP $CPPFLAGS'
48496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499
48500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48501 /* end confdefs.h. */
48502 #include <math.h>
48503 #ifdef HAVE_IEEEFP_H
48504 #include <ieeefp.h>
48505 #endif
48506
48507 int
48508 main ()
48509 {
48510 sqrtf(0);
48511 ;
48512 return 0;
48513 }
48514 _ACEOF
48515 if ac_fn_cxx_try_compile "$LINENO"; then :
48516 glibcxx_cv_func_sqrtf_use=yes
48517 else
48518 glibcxx_cv_func_sqrtf_use=no
48519 fi
48520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48521 ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526
48527
48528 fi
48529
48530 fi
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48532 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48533
48534 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48535 for ac_func in sqrtf
48536 do :
48537 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48538 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48539 cat >>confdefs.h <<_ACEOF
48540 #define HAVE_SQRTF 1
48541 _ACEOF
48542
48543 fi
48544 done
48545
48546 else
48547
48548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48549 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48550 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48551 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48552 $as_echo_n "(cached) " >&6
48553 else
48554
48555
48556 ac_ext=cpp
48557 ac_cpp='$CXXCPP $CPPFLAGS'
48558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48561
48562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48563 /* end confdefs.h. */
48564 #include <math.h>
48565 #ifdef HAVE_IEEEFP_H
48566 #include <ieeefp.h>
48567 #endif
48568
48569 int
48570 main ()
48571 {
48572 _sqrtf(0);
48573 ;
48574 return 0;
48575 }
48576 _ACEOF
48577 if ac_fn_cxx_try_compile "$LINENO"; then :
48578 glibcxx_cv_func__sqrtf_use=yes
48579 else
48580 glibcxx_cv_func__sqrtf_use=no
48581 fi
48582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48583 ac_ext=c
48584 ac_cpp='$CPP $CPPFLAGS'
48585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48588
48589
48590 fi
48591
48592 fi
48593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48594 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48595
48596 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48597 for ac_func in _sqrtf
48598 do :
48599 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48600 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48601 cat >>confdefs.h <<_ACEOF
48602 #define HAVE__SQRTF 1
48603 _ACEOF
48604
48605 fi
48606 done
48607
48608 fi
48609 fi
48610
48611
48612
48613
48614
48615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48616 $as_echo_n "checking for sincosf declaration... " >&6; }
48617 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48618 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48619 $as_echo_n "(cached) " >&6
48620 else
48621
48622
48623 ac_ext=cpp
48624 ac_cpp='$CXXCPP $CPPFLAGS'
48625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48628
48629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48630 /* end confdefs.h. */
48631 #include <math.h>
48632 int
48633 main ()
48634 {
48635 sincosf(0, 0, 0);
48636 ;
48637 return 0;
48638 }
48639 _ACEOF
48640 if ac_fn_cxx_try_compile "$LINENO"; then :
48641 glibcxx_cv_func_sincosf_use=yes
48642 else
48643 glibcxx_cv_func_sincosf_use=no
48644 fi
48645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48646 ac_ext=c
48647 ac_cpp='$CPP $CPPFLAGS'
48648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48651
48652
48653 fi
48654
48655 fi
48656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48657 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48658
48659 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48660 for ac_func in sincosf
48661 do :
48662 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48663 if test "x$ac_cv_func_sincosf" = x""yes; then :
48664 cat >>confdefs.h <<_ACEOF
48665 #define HAVE_SINCOSF 1
48666 _ACEOF
48667
48668 fi
48669 done
48670
48671 else
48672
48673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48674 $as_echo_n "checking for _sincosf declaration... " >&6; }
48675 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48676 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48677 $as_echo_n "(cached) " >&6
48678 else
48679
48680
48681 ac_ext=cpp
48682 ac_cpp='$CXXCPP $CPPFLAGS'
48683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48686
48687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48688 /* end confdefs.h. */
48689 #include <math.h>
48690 int
48691 main ()
48692 {
48693 _sincosf(0, 0, 0);
48694 ;
48695 return 0;
48696 }
48697 _ACEOF
48698 if ac_fn_cxx_try_compile "$LINENO"; then :
48699 glibcxx_cv_func__sincosf_use=yes
48700 else
48701 glibcxx_cv_func__sincosf_use=no
48702 fi
48703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48704 ac_ext=c
48705 ac_cpp='$CPP $CPPFLAGS'
48706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709
48710
48711 fi
48712
48713 fi
48714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48715 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48716
48717 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48718 for ac_func in _sincosf
48719 do :
48720 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48721 if test "x$ac_cv_func__sincosf" = x""yes; then :
48722 cat >>confdefs.h <<_ACEOF
48723 #define HAVE__SINCOSF 1
48724 _ACEOF
48725
48726 fi
48727 done
48728
48729 fi
48730 fi
48731
48732
48733
48734
48735
48736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48737 $as_echo_n "checking for finitef declaration... " >&6; }
48738 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48739 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48740 $as_echo_n "(cached) " >&6
48741 else
48742
48743
48744 ac_ext=cpp
48745 ac_cpp='$CXXCPP $CPPFLAGS'
48746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749
48750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48751 /* end confdefs.h. */
48752 #include <math.h>
48753 #ifdef HAVE_IEEEFP_H
48754 #include <ieeefp.h>
48755 #endif
48756
48757 int
48758 main ()
48759 {
48760 finitef(0);
48761 ;
48762 return 0;
48763 }
48764 _ACEOF
48765 if ac_fn_cxx_try_compile "$LINENO"; then :
48766 glibcxx_cv_func_finitef_use=yes
48767 else
48768 glibcxx_cv_func_finitef_use=no
48769 fi
48770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48776
48777
48778 fi
48779
48780 fi
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48782 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48783
48784 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48785 for ac_func in finitef
48786 do :
48787 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48788 if test "x$ac_cv_func_finitef" = x""yes; then :
48789 cat >>confdefs.h <<_ACEOF
48790 #define HAVE_FINITEF 1
48791 _ACEOF
48792
48793 fi
48794 done
48795
48796 else
48797
48798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48799 $as_echo_n "checking for _finitef declaration... " >&6; }
48800 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48801 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48802 $as_echo_n "(cached) " >&6
48803 else
48804
48805
48806 ac_ext=cpp
48807 ac_cpp='$CXXCPP $CPPFLAGS'
48808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48811
48812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48813 /* end confdefs.h. */
48814 #include <math.h>
48815 #ifdef HAVE_IEEEFP_H
48816 #include <ieeefp.h>
48817 #endif
48818
48819 int
48820 main ()
48821 {
48822 _finitef(0);
48823 ;
48824 return 0;
48825 }
48826 _ACEOF
48827 if ac_fn_cxx_try_compile "$LINENO"; then :
48828 glibcxx_cv_func__finitef_use=yes
48829 else
48830 glibcxx_cv_func__finitef_use=no
48831 fi
48832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48833 ac_ext=c
48834 ac_cpp='$CPP $CPPFLAGS'
48835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48838
48839
48840 fi
48841
48842 fi
48843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48844 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48845
48846 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48847 for ac_func in _finitef
48848 do :
48849 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48850 if test "x$ac_cv_func__finitef" = x""yes; then :
48851 cat >>confdefs.h <<_ACEOF
48852 #define HAVE__FINITEF 1
48853 _ACEOF
48854
48855 fi
48856 done
48857
48858 fi
48859 fi
48860
48861
48862
48863
48864
48865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48866 $as_echo_n "checking for long double trig functions... " >&6; }
48867 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48868 $as_echo_n "(cached) " >&6
48869 else
48870
48871
48872 ac_ext=cpp
48873 ac_cpp='$CXXCPP $CPPFLAGS'
48874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48877
48878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48879 /* end confdefs.h. */
48880 #include <math.h>
48881 int
48882 main ()
48883 {
48884 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48885 ;
48886 return 0;
48887 }
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890 glibcxx_cv_func_long_double_trig_use=yes
48891 else
48892 glibcxx_cv_func_long_double_trig_use=no
48893 fi
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895 ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48900
48901 fi
48902
48903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48904 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48905 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48906 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48907 do :
48908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48910 eval as_val=\$$as_ac_var
48911 if test "x$as_val" = x""yes; then :
48912 cat >>confdefs.h <<_ACEOF
48913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48914 _ACEOF
48915
48916 fi
48917 done
48918
48919 else
48920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48921 $as_echo_n "checking for _long double trig functions... " >&6; }
48922 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48923 $as_echo_n "(cached) " >&6
48924 else
48925
48926
48927 ac_ext=cpp
48928 ac_cpp='$CXXCPP $CPPFLAGS'
48929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48932
48933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48934 /* end confdefs.h. */
48935 #include <math.h>
48936 int
48937 main ()
48938 {
48939 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48940 ;
48941 return 0;
48942 }
48943 _ACEOF
48944 if ac_fn_cxx_try_compile "$LINENO"; then :
48945 glibcxx_cv_func__long_double_trig_use=yes
48946 else
48947 glibcxx_cv_func__long_double_trig_use=no
48948 fi
48949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48950 ac_ext=c
48951 ac_cpp='$CPP $CPPFLAGS'
48952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48955
48956 fi
48957
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48959 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48960 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48961 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48962 do :
48963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48965 eval as_val=\$$as_ac_var
48966 if test "x$as_val" = x""yes; then :
48967 cat >>confdefs.h <<_ACEOF
48968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48969 _ACEOF
48970
48971 fi
48972 done
48973
48974 fi
48975 fi
48976
48977
48978
48979
48980
48981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48982 $as_echo_n "checking for long double round functions... " >&6; }
48983 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48984 $as_echo_n "(cached) " >&6
48985 else
48986
48987
48988 ac_ext=cpp
48989 ac_cpp='$CXXCPP $CPPFLAGS'
48990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48993
48994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48995 /* end confdefs.h. */
48996 #include <math.h>
48997 int
48998 main ()
48999 {
49000 ceill (0); floorl (0);
49001 ;
49002 return 0;
49003 }
49004 _ACEOF
49005 if ac_fn_cxx_try_compile "$LINENO"; then :
49006 glibcxx_cv_func_long_double_round_use=yes
49007 else
49008 glibcxx_cv_func_long_double_round_use=no
49009 fi
49010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49011 ac_ext=c
49012 ac_cpp='$CPP $CPPFLAGS'
49013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49016
49017 fi
49018
49019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49020 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49021 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49022 for ac_func in ceill floorl
49023 do :
49024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49026 eval as_val=\$$as_ac_var
49027 if test "x$as_val" = x""yes; then :
49028 cat >>confdefs.h <<_ACEOF
49029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49030 _ACEOF
49031
49032 fi
49033 done
49034
49035 else
49036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49037 $as_echo_n "checking for _long double round functions... " >&6; }
49038 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49039 $as_echo_n "(cached) " >&6
49040 else
49041
49042
49043 ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048
49049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h. */
49051 #include <math.h>
49052 int
49053 main ()
49054 {
49055 _ceill (0); _floorl (0);
49056 ;
49057 return 0;
49058 }
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func__long_double_round_use=yes
49062 else
49063 glibcxx_cv_func__long_double_round_use=no
49064 fi
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49071
49072 fi
49073
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49075 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49076 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49077 for ac_func in _ceill _floorl
49078 do :
49079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49081 eval as_val=\$$as_ac_var
49082 if test "x$as_val" = x""yes; then :
49083 cat >>confdefs.h <<_ACEOF
49084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49085 _ACEOF
49086
49087 fi
49088 done
49089
49090 fi
49091 fi
49092
49093
49094
49095
49096
49097
49098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49099 $as_echo_n "checking for isnanl declaration... " >&6; }
49100 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49101 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49102 $as_echo_n "(cached) " >&6
49103 else
49104
49105
49106 ac_ext=cpp
49107 ac_cpp='$CXXCPP $CPPFLAGS'
49108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49111
49112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49113 /* end confdefs.h. */
49114 #include <math.h>
49115 #ifdef HAVE_IEEEFP_H
49116 #include <ieeefp.h>
49117 #endif
49118
49119 int
49120 main ()
49121 {
49122 isnanl(0);
49123 ;
49124 return 0;
49125 }
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func_isnanl_use=yes
49129 else
49130 glibcxx_cv_func_isnanl_use=no
49131 fi
49132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_ext=c
49134 ac_cpp='$CPP $CPPFLAGS'
49135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49138
49139
49140 fi
49141
49142 fi
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49144 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49145
49146 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49147 for ac_func in isnanl
49148 do :
49149 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49150 if test "x$ac_cv_func_isnanl" = x""yes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE_ISNANL 1
49153 _ACEOF
49154
49155 fi
49156 done
49157
49158 else
49159
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49161 $as_echo_n "checking for _isnanl declaration... " >&6; }
49162 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49163 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49166
49167
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49173
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49177 #ifdef HAVE_IEEEFP_H
49178 #include <ieeefp.h>
49179 #endif
49180
49181 int
49182 main ()
49183 {
49184 _isnanl(0);
49185 ;
49186 return 0;
49187 }
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func__isnanl_use=yes
49191 else
49192 glibcxx_cv_func__isnanl_use=no
49193 fi
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195 ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49200
49201
49202 fi
49203
49204 fi
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49206 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49207
49208 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49209 for ac_func in _isnanl
49210 do :
49211 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49212 if test "x$ac_cv_func__isnanl" = x""yes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE__ISNANL 1
49215 _ACEOF
49216
49217 fi
49218 done
49219
49220 fi
49221 fi
49222
49223
49224
49225
49226
49227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49228 $as_echo_n "checking for isinfl declaration... " >&6; }
49229 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49230 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49231 $as_echo_n "(cached) " >&6
49232 else
49233
49234
49235 ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49240
49241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h. */
49243 #include <math.h>
49244 #ifdef HAVE_IEEEFP_H
49245 #include <ieeefp.h>
49246 #endif
49247
49248 int
49249 main ()
49250 {
49251 isinfl(0);
49252 ;
49253 return 0;
49254 }
49255 _ACEOF
49256 if ac_fn_cxx_try_compile "$LINENO"; then :
49257 glibcxx_cv_func_isinfl_use=yes
49258 else
49259 glibcxx_cv_func_isinfl_use=no
49260 fi
49261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49262 ac_ext=c
49263 ac_cpp='$CPP $CPPFLAGS'
49264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49267
49268
49269 fi
49270
49271 fi
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49273 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49274
49275 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49276 for ac_func in isinfl
49277 do :
49278 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49279 if test "x$ac_cv_func_isinfl" = x""yes; then :
49280 cat >>confdefs.h <<_ACEOF
49281 #define HAVE_ISINFL 1
49282 _ACEOF
49283
49284 fi
49285 done
49286
49287 else
49288
49289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49290 $as_echo_n "checking for _isinfl declaration... " >&6; }
49291 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49292 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49293 $as_echo_n "(cached) " >&6
49294 else
49295
49296
49297 ac_ext=cpp
49298 ac_cpp='$CXXCPP $CPPFLAGS'
49299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49302
49303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49304 /* end confdefs.h. */
49305 #include <math.h>
49306 #ifdef HAVE_IEEEFP_H
49307 #include <ieeefp.h>
49308 #endif
49309
49310 int
49311 main ()
49312 {
49313 _isinfl(0);
49314 ;
49315 return 0;
49316 }
49317 _ACEOF
49318 if ac_fn_cxx_try_compile "$LINENO"; then :
49319 glibcxx_cv_func__isinfl_use=yes
49320 else
49321 glibcxx_cv_func__isinfl_use=no
49322 fi
49323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49324 ac_ext=c
49325 ac_cpp='$CPP $CPPFLAGS'
49326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49329
49330
49331 fi
49332
49333 fi
49334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49335 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49336
49337 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49338 for ac_func in _isinfl
49339 do :
49340 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49341 if test "x$ac_cv_func__isinfl" = x""yes; then :
49342 cat >>confdefs.h <<_ACEOF
49343 #define HAVE__ISINFL 1
49344 _ACEOF
49345
49346 fi
49347 done
49348
49349 fi
49350 fi
49351
49352
49353
49354
49355
49356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49357 $as_echo_n "checking for atan2l declaration... " >&6; }
49358 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49359 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49360 $as_echo_n "(cached) " >&6
49361 else
49362
49363
49364 ac_ext=cpp
49365 ac_cpp='$CXXCPP $CPPFLAGS'
49366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49369
49370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49371 /* end confdefs.h. */
49372 #include <math.h>
49373 int
49374 main ()
49375 {
49376 atan2l(0, 0);
49377 ;
49378 return 0;
49379 }
49380 _ACEOF
49381 if ac_fn_cxx_try_compile "$LINENO"; then :
49382 glibcxx_cv_func_atan2l_use=yes
49383 else
49384 glibcxx_cv_func_atan2l_use=no
49385 fi
49386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49387 ac_ext=c
49388 ac_cpp='$CPP $CPPFLAGS'
49389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49392
49393
49394 fi
49395
49396 fi
49397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49398 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49399
49400 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49401 for ac_func in atan2l
49402 do :
49403 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49404 if test "x$ac_cv_func_atan2l" = x""yes; then :
49405 cat >>confdefs.h <<_ACEOF
49406 #define HAVE_ATAN2L 1
49407 _ACEOF
49408
49409 fi
49410 done
49411
49412 else
49413
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49415 $as_echo_n "checking for _atan2l declaration... " >&6; }
49416 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49417 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49418 $as_echo_n "(cached) " >&6
49419 else
49420
49421
49422 ac_ext=cpp
49423 ac_cpp='$CXXCPP $CPPFLAGS'
49424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427
49428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49429 /* end confdefs.h. */
49430 #include <math.h>
49431 int
49432 main ()
49433 {
49434 _atan2l(0, 0);
49435 ;
49436 return 0;
49437 }
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440 glibcxx_cv_func__atan2l_use=yes
49441 else
49442 glibcxx_cv_func__atan2l_use=no
49443 fi
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445 ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49450
49451
49452 fi
49453
49454 fi
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49456 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49457
49458 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49459 for ac_func in _atan2l
49460 do :
49461 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49462 if test "x$ac_cv_func__atan2l" = x""yes; then :
49463 cat >>confdefs.h <<_ACEOF
49464 #define HAVE__ATAN2L 1
49465 _ACEOF
49466
49467 fi
49468 done
49469
49470 fi
49471 fi
49472
49473
49474
49475
49476
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49478 $as_echo_n "checking for expl declaration... " >&6; }
49479 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49480 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49481 $as_echo_n "(cached) " >&6
49482 else
49483
49484
49485 ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49490
49491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h. */
49493 #include <math.h>
49494 #ifdef HAVE_IEEEFP_H
49495 #include <ieeefp.h>
49496 #endif
49497
49498 int
49499 main ()
49500 {
49501 expl(0);
49502 ;
49503 return 0;
49504 }
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_expl_use=yes
49508 else
49509 glibcxx_cv_func_expl_use=no
49510 fi
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49517
49518
49519 fi
49520
49521 fi
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49523 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49524
49525 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49526 for ac_func in expl
49527 do :
49528 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49529 if test "x$ac_cv_func_expl" = x""yes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_EXPL 1
49532 _ACEOF
49533
49534 fi
49535 done
49536
49537 else
49538
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49540 $as_echo_n "checking for _expl declaration... " >&6; }
49541 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49542 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49545
49546
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49552
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49556 #ifdef HAVE_IEEEFP_H
49557 #include <ieeefp.h>
49558 #endif
49559
49560 int
49561 main ()
49562 {
49563 _expl(0);
49564 ;
49565 return 0;
49566 }
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func__expl_use=yes
49570 else
49571 glibcxx_cv_func__expl_use=no
49572 fi
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49579
49580
49581 fi
49582
49583 fi
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49585 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49586
49587 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49588 for ac_func in _expl
49589 do :
49590 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49591 if test "x$ac_cv_func__expl" = x""yes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE__EXPL 1
49594 _ACEOF
49595
49596 fi
49597 done
49598
49599 fi
49600 fi
49601
49602
49603
49604
49605
49606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49607 $as_echo_n "checking for fabsl declaration... " >&6; }
49608 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49609 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49610 $as_echo_n "(cached) " >&6
49611 else
49612
49613
49614 ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49619
49620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h. */
49622 #include <math.h>
49623 #ifdef HAVE_IEEEFP_H
49624 #include <ieeefp.h>
49625 #endif
49626
49627 int
49628 main ()
49629 {
49630 fabsl(0);
49631 ;
49632 return 0;
49633 }
49634 _ACEOF
49635 if ac_fn_cxx_try_compile "$LINENO"; then :
49636 glibcxx_cv_func_fabsl_use=yes
49637 else
49638 glibcxx_cv_func_fabsl_use=no
49639 fi
49640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49646
49647
49648 fi
49649
49650 fi
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49652 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49653
49654 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49655 for ac_func in fabsl
49656 do :
49657 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49658 if test "x$ac_cv_func_fabsl" = x""yes; then :
49659 cat >>confdefs.h <<_ACEOF
49660 #define HAVE_FABSL 1
49661 _ACEOF
49662
49663 fi
49664 done
49665
49666 else
49667
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49669 $as_echo_n "checking for _fabsl declaration... " >&6; }
49670 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49671 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49672 $as_echo_n "(cached) " >&6
49673 else
49674
49675
49676 ac_ext=cpp
49677 ac_cpp='$CXXCPP $CPPFLAGS'
49678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49681
49682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49683 /* end confdefs.h. */
49684 #include <math.h>
49685 #ifdef HAVE_IEEEFP_H
49686 #include <ieeefp.h>
49687 #endif
49688
49689 int
49690 main ()
49691 {
49692 _fabsl(0);
49693 ;
49694 return 0;
49695 }
49696 _ACEOF
49697 if ac_fn_cxx_try_compile "$LINENO"; then :
49698 glibcxx_cv_func__fabsl_use=yes
49699 else
49700 glibcxx_cv_func__fabsl_use=no
49701 fi
49702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49703 ac_ext=c
49704 ac_cpp='$CPP $CPPFLAGS'
49705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49708
49709
49710 fi
49711
49712 fi
49713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49714 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49715
49716 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49717 for ac_func in _fabsl
49718 do :
49719 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49720 if test "x$ac_cv_func__fabsl" = x""yes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define HAVE__FABSL 1
49723 _ACEOF
49724
49725 fi
49726 done
49727
49728 fi
49729 fi
49730
49731
49732
49733
49734
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49736 $as_echo_n "checking for fmodl declaration... " >&6; }
49737 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49738 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49739 $as_echo_n "(cached) " >&6
49740 else
49741
49742
49743 ac_ext=cpp
49744 ac_cpp='$CXXCPP $CPPFLAGS'
49745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748
49749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49750 /* end confdefs.h. */
49751 #include <math.h>
49752 int
49753 main ()
49754 {
49755 fmodl(0, 0);
49756 ;
49757 return 0;
49758 }
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_fmodl_use=yes
49762 else
49763 glibcxx_cv_func_fmodl_use=no
49764 fi
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49771
49772
49773 fi
49774
49775 fi
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49777 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49778
49779 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49780 for ac_func in fmodl
49781 do :
49782 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49783 if test "x$ac_cv_func_fmodl" = x""yes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_FMODL 1
49786 _ACEOF
49787
49788 fi
49789 done
49790
49791 else
49792
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49794 $as_echo_n "checking for _fmodl declaration... " >&6; }
49795 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49796 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49799
49800
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49806
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49810 int
49811 main ()
49812 {
49813 _fmodl(0, 0);
49814 ;
49815 return 0;
49816 }
49817 _ACEOF
49818 if ac_fn_cxx_try_compile "$LINENO"; then :
49819 glibcxx_cv_func__fmodl_use=yes
49820 else
49821 glibcxx_cv_func__fmodl_use=no
49822 fi
49823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49824 ac_ext=c
49825 ac_cpp='$CPP $CPPFLAGS'
49826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49829
49830
49831 fi
49832
49833 fi
49834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49835 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49836
49837 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49838 for ac_func in _fmodl
49839 do :
49840 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49841 if test "x$ac_cv_func__fmodl" = x""yes; then :
49842 cat >>confdefs.h <<_ACEOF
49843 #define HAVE__FMODL 1
49844 _ACEOF
49845
49846 fi
49847 done
49848
49849 fi
49850 fi
49851
49852
49853
49854
49855
49856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49857 $as_echo_n "checking for frexpl declaration... " >&6; }
49858 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49859 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49860 $as_echo_n "(cached) " >&6
49861 else
49862
49863
49864 ac_ext=cpp
49865 ac_cpp='$CXXCPP $CPPFLAGS'
49866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49869
49870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49871 /* end confdefs.h. */
49872 #include <math.h>
49873 int
49874 main ()
49875 {
49876 frexpl(0, 0);
49877 ;
49878 return 0;
49879 }
49880 _ACEOF
49881 if ac_fn_cxx_try_compile "$LINENO"; then :
49882 glibcxx_cv_func_frexpl_use=yes
49883 else
49884 glibcxx_cv_func_frexpl_use=no
49885 fi
49886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887 ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49892
49893
49894 fi
49895
49896 fi
49897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49898 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49899
49900 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49901 for ac_func in frexpl
49902 do :
49903 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49904 if test "x$ac_cv_func_frexpl" = x""yes; then :
49905 cat >>confdefs.h <<_ACEOF
49906 #define HAVE_FREXPL 1
49907 _ACEOF
49908
49909 fi
49910 done
49911
49912 else
49913
49914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49915 $as_echo_n "checking for _frexpl declaration... " >&6; }
49916 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49917 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49918 $as_echo_n "(cached) " >&6
49919 else
49920
49921
49922 ac_ext=cpp
49923 ac_cpp='$CXXCPP $CPPFLAGS'
49924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49927
49928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49929 /* end confdefs.h. */
49930 #include <math.h>
49931 int
49932 main ()
49933 {
49934 _frexpl(0, 0);
49935 ;
49936 return 0;
49937 }
49938 _ACEOF
49939 if ac_fn_cxx_try_compile "$LINENO"; then :
49940 glibcxx_cv_func__frexpl_use=yes
49941 else
49942 glibcxx_cv_func__frexpl_use=no
49943 fi
49944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49945 ac_ext=c
49946 ac_cpp='$CPP $CPPFLAGS'
49947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49950
49951
49952 fi
49953
49954 fi
49955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49956 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49957
49958 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49959 for ac_func in _frexpl
49960 do :
49961 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49962 if test "x$ac_cv_func__frexpl" = x""yes; then :
49963 cat >>confdefs.h <<_ACEOF
49964 #define HAVE__FREXPL 1
49965 _ACEOF
49966
49967 fi
49968 done
49969
49970 fi
49971 fi
49972
49973
49974
49975
49976
49977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49978 $as_echo_n "checking for hypotl declaration... " >&6; }
49979 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49980 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49981 $as_echo_n "(cached) " >&6
49982 else
49983
49984
49985 ac_ext=cpp
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990
49991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49992 /* end confdefs.h. */
49993 #include <math.h>
49994 int
49995 main ()
49996 {
49997 hypotl(0, 0);
49998 ;
49999 return 0;
50000 }
50001 _ACEOF
50002 if ac_fn_cxx_try_compile "$LINENO"; then :
50003 glibcxx_cv_func_hypotl_use=yes
50004 else
50005 glibcxx_cv_func_hypotl_use=no
50006 fi
50007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008 ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013
50014
50015 fi
50016
50017 fi
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50019 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50020
50021 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50022 for ac_func in hypotl
50023 do :
50024 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50025 if test "x$ac_cv_func_hypotl" = x""yes; then :
50026 cat >>confdefs.h <<_ACEOF
50027 #define HAVE_HYPOTL 1
50028 _ACEOF
50029
50030 fi
50031 done
50032
50033 else
50034
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50036 $as_echo_n "checking for _hypotl declaration... " >&6; }
50037 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50038 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50039 $as_echo_n "(cached) " >&6
50040 else
50041
50042
50043 ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50051 #include <math.h>
50052 int
50053 main ()
50054 {
50055 _hypotl(0, 0);
50056 ;
50057 return 0;
50058 }
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func__hypotl_use=yes
50062 else
50063 glibcxx_cv_func__hypotl_use=no
50064 fi
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066 ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071
50072
50073 fi
50074
50075 fi
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50077 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50078
50079 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50080 for ac_func in _hypotl
50081 do :
50082 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50083 if test "x$ac_cv_func__hypotl" = x""yes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE__HYPOTL 1
50086 _ACEOF
50087
50088 fi
50089 done
50090
50091 fi
50092 fi
50093
50094
50095
50096
50097
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50099 $as_echo_n "checking for ldexpl declaration... " >&6; }
50100 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50101 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50102 $as_echo_n "(cached) " >&6
50103 else
50104
50105
50106 ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h. */
50114 #include <math.h>
50115 int
50116 main ()
50117 {
50118 ldexpl(0, 0);
50119 ;
50120 return 0;
50121 }
50122 _ACEOF
50123 if ac_fn_cxx_try_compile "$LINENO"; then :
50124 glibcxx_cv_func_ldexpl_use=yes
50125 else
50126 glibcxx_cv_func_ldexpl_use=no
50127 fi
50128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50129 ac_ext=c
50130 ac_cpp='$CPP $CPPFLAGS'
50131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50134
50135
50136 fi
50137
50138 fi
50139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50140 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50141
50142 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50143 for ac_func in ldexpl
50144 do :
50145 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50146 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50147 cat >>confdefs.h <<_ACEOF
50148 #define HAVE_LDEXPL 1
50149 _ACEOF
50150
50151 fi
50152 done
50153
50154 else
50155
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50157 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50158 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50159 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50160 $as_echo_n "(cached) " >&6
50161 else
50162
50163
50164 ac_ext=cpp
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169
50170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h. */
50172 #include <math.h>
50173 int
50174 main ()
50175 {
50176 _ldexpl(0, 0);
50177 ;
50178 return 0;
50179 }
50180 _ACEOF
50181 if ac_fn_cxx_try_compile "$LINENO"; then :
50182 glibcxx_cv_func__ldexpl_use=yes
50183 else
50184 glibcxx_cv_func__ldexpl_use=no
50185 fi
50186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50187 ac_ext=c
50188 ac_cpp='$CPP $CPPFLAGS'
50189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50192
50193
50194 fi
50195
50196 fi
50197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50198 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50199
50200 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50201 for ac_func in _ldexpl
50202 do :
50203 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50204 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50205 cat >>confdefs.h <<_ACEOF
50206 #define HAVE__LDEXPL 1
50207 _ACEOF
50208
50209 fi
50210 done
50211
50212 fi
50213 fi
50214
50215
50216
50217
50218
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50220 $as_echo_n "checking for logl declaration... " >&6; }
50221 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50222 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50223 $as_echo_n "(cached) " >&6
50224 else
50225
50226
50227 ac_ext=cpp
50228 ac_cpp='$CXXCPP $CPPFLAGS'
50229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232
50233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50234 /* end confdefs.h. */
50235 #include <math.h>
50236 #ifdef HAVE_IEEEFP_H
50237 #include <ieeefp.h>
50238 #endif
50239
50240 int
50241 main ()
50242 {
50243 logl(0);
50244 ;
50245 return 0;
50246 }
50247 _ACEOF
50248 if ac_fn_cxx_try_compile "$LINENO"; then :
50249 glibcxx_cv_func_logl_use=yes
50250 else
50251 glibcxx_cv_func_logl_use=no
50252 fi
50253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254 ac_ext=c
50255 ac_cpp='$CPP $CPPFLAGS'
50256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259
50260
50261 fi
50262
50263 fi
50264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50265 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50266
50267 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50268 for ac_func in logl
50269 do :
50270 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50271 if test "x$ac_cv_func_logl" = x""yes; then :
50272 cat >>confdefs.h <<_ACEOF
50273 #define HAVE_LOGL 1
50274 _ACEOF
50275
50276 fi
50277 done
50278
50279 else
50280
50281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50282 $as_echo_n "checking for _logl declaration... " >&6; }
50283 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50284 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50285 $as_echo_n "(cached) " >&6
50286 else
50287
50288
50289 ac_ext=cpp
50290 ac_cpp='$CXXCPP $CPPFLAGS'
50291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50294
50295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50296 /* end confdefs.h. */
50297 #include <math.h>
50298 #ifdef HAVE_IEEEFP_H
50299 #include <ieeefp.h>
50300 #endif
50301
50302 int
50303 main ()
50304 {
50305 _logl(0);
50306 ;
50307 return 0;
50308 }
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311 glibcxx_cv_func__logl_use=yes
50312 else
50313 glibcxx_cv_func__logl_use=no
50314 fi
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316 ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50321
50322
50323 fi
50324
50325 fi
50326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50327 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50328
50329 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50330 for ac_func in _logl
50331 do :
50332 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50333 if test "x$ac_cv_func__logl" = x""yes; then :
50334 cat >>confdefs.h <<_ACEOF
50335 #define HAVE__LOGL 1
50336 _ACEOF
50337
50338 fi
50339 done
50340
50341 fi
50342 fi
50343
50344
50345
50346
50347
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50349 $as_echo_n "checking for log10l declaration... " >&6; }
50350 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50351 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50354
50355
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50361
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <math.h>
50365 #ifdef HAVE_IEEEFP_H
50366 #include <ieeefp.h>
50367 #endif
50368
50369 int
50370 main ()
50371 {
50372 log10l(0);
50373 ;
50374 return 0;
50375 }
50376 _ACEOF
50377 if ac_fn_cxx_try_compile "$LINENO"; then :
50378 glibcxx_cv_func_log10l_use=yes
50379 else
50380 glibcxx_cv_func_log10l_use=no
50381 fi
50382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50383 ac_ext=c
50384 ac_cpp='$CPP $CPPFLAGS'
50385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50388
50389
50390 fi
50391
50392 fi
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50394 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50395
50396 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50397 for ac_func in log10l
50398 do :
50399 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50400 if test "x$ac_cv_func_log10l" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE_LOG10L 1
50403 _ACEOF
50404
50405 fi
50406 done
50407
50408 else
50409
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50411 $as_echo_n "checking for _log10l declaration... " >&6; }
50412 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50413 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50414 $as_echo_n "(cached) " >&6
50415 else
50416
50417
50418 ac_ext=cpp
50419 ac_cpp='$CXXCPP $CPPFLAGS'
50420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50423
50424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50425 /* end confdefs.h. */
50426 #include <math.h>
50427 #ifdef HAVE_IEEEFP_H
50428 #include <ieeefp.h>
50429 #endif
50430
50431 int
50432 main ()
50433 {
50434 _log10l(0);
50435 ;
50436 return 0;
50437 }
50438 _ACEOF
50439 if ac_fn_cxx_try_compile "$LINENO"; then :
50440 glibcxx_cv_func__log10l_use=yes
50441 else
50442 glibcxx_cv_func__log10l_use=no
50443 fi
50444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50445 ac_ext=c
50446 ac_cpp='$CPP $CPPFLAGS'
50447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50450
50451
50452 fi
50453
50454 fi
50455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50456 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50457
50458 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50459 for ac_func in _log10l
50460 do :
50461 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50462 if test "x$ac_cv_func__log10l" = x""yes; then :
50463 cat >>confdefs.h <<_ACEOF
50464 #define HAVE__LOG10L 1
50465 _ACEOF
50466
50467 fi
50468 done
50469
50470 fi
50471 fi
50472
50473
50474
50475
50476
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50478 $as_echo_n "checking for modfl declaration... " >&6; }
50479 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50480 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50483
50484
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50490
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50494 int
50495 main ()
50496 {
50497 modfl(0, 0);
50498 ;
50499 return 0;
50500 }
50501 _ACEOF
50502 if ac_fn_cxx_try_compile "$LINENO"; then :
50503 glibcxx_cv_func_modfl_use=yes
50504 else
50505 glibcxx_cv_func_modfl_use=no
50506 fi
50507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50508 ac_ext=c
50509 ac_cpp='$CPP $CPPFLAGS'
50510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50513
50514
50515 fi
50516
50517 fi
50518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50519 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50520
50521 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50522 for ac_func in modfl
50523 do :
50524 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50525 if test "x$ac_cv_func_modfl" = x""yes; then :
50526 cat >>confdefs.h <<_ACEOF
50527 #define HAVE_MODFL 1
50528 _ACEOF
50529
50530 fi
50531 done
50532
50533 else
50534
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50536 $as_echo_n "checking for _modfl declaration... " >&6; }
50537 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50538 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50539 $as_echo_n "(cached) " >&6
50540 else
50541
50542
50543 ac_ext=cpp
50544 ac_cpp='$CXXCPP $CPPFLAGS'
50545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50548
50549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h. */
50551 #include <math.h>
50552 int
50553 main ()
50554 {
50555 _modfl(0, 0);
50556 ;
50557 return 0;
50558 }
50559 _ACEOF
50560 if ac_fn_cxx_try_compile "$LINENO"; then :
50561 glibcxx_cv_func__modfl_use=yes
50562 else
50563 glibcxx_cv_func__modfl_use=no
50564 fi
50565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50566 ac_ext=c
50567 ac_cpp='$CPP $CPPFLAGS'
50568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50571
50572
50573 fi
50574
50575 fi
50576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50577 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50578
50579 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50580 for ac_func in _modfl
50581 do :
50582 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50583 if test "x$ac_cv_func__modfl" = x""yes; then :
50584 cat >>confdefs.h <<_ACEOF
50585 #define HAVE__MODFL 1
50586 _ACEOF
50587
50588 fi
50589 done
50590
50591 fi
50592 fi
50593
50594
50595
50596
50597
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50599 $as_echo_n "checking for powl declaration... " >&6; }
50600 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50601 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50602 $as_echo_n "(cached) " >&6
50603 else
50604
50605
50606 ac_ext=cpp
50607 ac_cpp='$CXXCPP $CPPFLAGS'
50608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50611
50612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50613 /* end confdefs.h. */
50614 #include <math.h>
50615 int
50616 main ()
50617 {
50618 powl(0, 0);
50619 ;
50620 return 0;
50621 }
50622 _ACEOF
50623 if ac_fn_cxx_try_compile "$LINENO"; then :
50624 glibcxx_cv_func_powl_use=yes
50625 else
50626 glibcxx_cv_func_powl_use=no
50627 fi
50628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50629 ac_ext=c
50630 ac_cpp='$CPP $CPPFLAGS'
50631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634
50635
50636 fi
50637
50638 fi
50639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50640 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50641
50642 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50643 for ac_func in powl
50644 do :
50645 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50646 if test "x$ac_cv_func_powl" = x""yes; then :
50647 cat >>confdefs.h <<_ACEOF
50648 #define HAVE_POWL 1
50649 _ACEOF
50650
50651 fi
50652 done
50653
50654 else
50655
50656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50657 $as_echo_n "checking for _powl declaration... " >&6; }
50658 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50659 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50660 $as_echo_n "(cached) " >&6
50661 else
50662
50663
50664 ac_ext=cpp
50665 ac_cpp='$CXXCPP $CPPFLAGS'
50666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669
50670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50671 /* end confdefs.h. */
50672 #include <math.h>
50673 int
50674 main ()
50675 {
50676 _powl(0, 0);
50677 ;
50678 return 0;
50679 }
50680 _ACEOF
50681 if ac_fn_cxx_try_compile "$LINENO"; then :
50682 glibcxx_cv_func__powl_use=yes
50683 else
50684 glibcxx_cv_func__powl_use=no
50685 fi
50686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50687 ac_ext=c
50688 ac_cpp='$CPP $CPPFLAGS'
50689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692
50693
50694 fi
50695
50696 fi
50697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50698 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50699
50700 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50701 for ac_func in _powl
50702 do :
50703 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50704 if test "x$ac_cv_func__powl" = x""yes; then :
50705 cat >>confdefs.h <<_ACEOF
50706 #define HAVE__POWL 1
50707 _ACEOF
50708
50709 fi
50710 done
50711
50712 fi
50713 fi
50714
50715
50716
50717
50718
50719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50720 $as_echo_n "checking for sqrtl declaration... " >&6; }
50721 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50722 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50723 $as_echo_n "(cached) " >&6
50724 else
50725
50726
50727 ac_ext=cpp
50728 ac_cpp='$CXXCPP $CPPFLAGS'
50729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732
50733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50734 /* end confdefs.h. */
50735 #include <math.h>
50736 #ifdef HAVE_IEEEFP_H
50737 #include <ieeefp.h>
50738 #endif
50739
50740 int
50741 main ()
50742 {
50743 sqrtl(0);
50744 ;
50745 return 0;
50746 }
50747 _ACEOF
50748 if ac_fn_cxx_try_compile "$LINENO"; then :
50749 glibcxx_cv_func_sqrtl_use=yes
50750 else
50751 glibcxx_cv_func_sqrtl_use=no
50752 fi
50753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50759
50760
50761 fi
50762
50763 fi
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50765 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50766
50767 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50768 for ac_func in sqrtl
50769 do :
50770 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50771 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50772 cat >>confdefs.h <<_ACEOF
50773 #define HAVE_SQRTL 1
50774 _ACEOF
50775
50776 fi
50777 done
50778
50779 else
50780
50781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50782 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50783 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50784 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50785 $as_echo_n "(cached) " >&6
50786 else
50787
50788
50789 ac_ext=cpp
50790 ac_cpp='$CXXCPP $CPPFLAGS'
50791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50794
50795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50796 /* end confdefs.h. */
50797 #include <math.h>
50798 #ifdef HAVE_IEEEFP_H
50799 #include <ieeefp.h>
50800 #endif
50801
50802 int
50803 main ()
50804 {
50805 _sqrtl(0);
50806 ;
50807 return 0;
50808 }
50809 _ACEOF
50810 if ac_fn_cxx_try_compile "$LINENO"; then :
50811 glibcxx_cv_func__sqrtl_use=yes
50812 else
50813 glibcxx_cv_func__sqrtl_use=no
50814 fi
50815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50816 ac_ext=c
50817 ac_cpp='$CPP $CPPFLAGS'
50818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50821
50822
50823 fi
50824
50825 fi
50826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50827 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50828
50829 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50830 for ac_func in _sqrtl
50831 do :
50832 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50833 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50834 cat >>confdefs.h <<_ACEOF
50835 #define HAVE__SQRTL 1
50836 _ACEOF
50837
50838 fi
50839 done
50840
50841 fi
50842 fi
50843
50844
50845
50846
50847
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50849 $as_echo_n "checking for sincosl declaration... " >&6; }
50850 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50851 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50852 $as_echo_n "(cached) " >&6
50853 else
50854
50855
50856 ac_ext=cpp
50857 ac_cpp='$CXXCPP $CPPFLAGS'
50858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861
50862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50863 /* end confdefs.h. */
50864 #include <math.h>
50865 int
50866 main ()
50867 {
50868 sincosl(0, 0, 0);
50869 ;
50870 return 0;
50871 }
50872 _ACEOF
50873 if ac_fn_cxx_try_compile "$LINENO"; then :
50874 glibcxx_cv_func_sincosl_use=yes
50875 else
50876 glibcxx_cv_func_sincosl_use=no
50877 fi
50878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50879 ac_ext=c
50880 ac_cpp='$CPP $CPPFLAGS'
50881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50884
50885
50886 fi
50887
50888 fi
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50890 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50891
50892 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50893 for ac_func in sincosl
50894 do :
50895 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50896 if test "x$ac_cv_func_sincosl" = x""yes; then :
50897 cat >>confdefs.h <<_ACEOF
50898 #define HAVE_SINCOSL 1
50899 _ACEOF
50900
50901 fi
50902 done
50903
50904 else
50905
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50907 $as_echo_n "checking for _sincosl declaration... " >&6; }
50908 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50909 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50910 $as_echo_n "(cached) " >&6
50911 else
50912
50913
50914 ac_ext=cpp
50915 ac_cpp='$CXXCPP $CPPFLAGS'
50916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50919
50920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50921 /* end confdefs.h. */
50922 #include <math.h>
50923 int
50924 main ()
50925 {
50926 _sincosl(0, 0, 0);
50927 ;
50928 return 0;
50929 }
50930 _ACEOF
50931 if ac_fn_cxx_try_compile "$LINENO"; then :
50932 glibcxx_cv_func__sincosl_use=yes
50933 else
50934 glibcxx_cv_func__sincosl_use=no
50935 fi
50936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50937 ac_ext=c
50938 ac_cpp='$CPP $CPPFLAGS'
50939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50942
50943
50944 fi
50945
50946 fi
50947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50948 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50949
50950 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50951 for ac_func in _sincosl
50952 do :
50953 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50954 if test "x$ac_cv_func__sincosl" = x""yes; then :
50955 cat >>confdefs.h <<_ACEOF
50956 #define HAVE__SINCOSL 1
50957 _ACEOF
50958
50959 fi
50960 done
50961
50962 fi
50963 fi
50964
50965
50966
50967
50968
50969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50970 $as_echo_n "checking for finitel declaration... " >&6; }
50971 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50972 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50973 $as_echo_n "(cached) " >&6
50974 else
50975
50976
50977 ac_ext=cpp
50978 ac_cpp='$CXXCPP $CPPFLAGS'
50979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982
50983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50984 /* end confdefs.h. */
50985 #include <math.h>
50986 #ifdef HAVE_IEEEFP_H
50987 #include <ieeefp.h>
50988 #endif
50989
50990 int
50991 main ()
50992 {
50993 finitel(0);
50994 ;
50995 return 0;
50996 }
50997 _ACEOF
50998 if ac_fn_cxx_try_compile "$LINENO"; then :
50999 glibcxx_cv_func_finitel_use=yes
51000 else
51001 glibcxx_cv_func_finitel_use=no
51002 fi
51003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51004 ac_ext=c
51005 ac_cpp='$CPP $CPPFLAGS'
51006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51009
51010
51011 fi
51012
51013 fi
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51015 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51016
51017 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51018 for ac_func in finitel
51019 do :
51020 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51021 if test "x$ac_cv_func_finitel" = x""yes; then :
51022 cat >>confdefs.h <<_ACEOF
51023 #define HAVE_FINITEL 1
51024 _ACEOF
51025
51026 fi
51027 done
51028
51029 else
51030
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51032 $as_echo_n "checking for _finitel declaration... " >&6; }
51033 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51034 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51035 $as_echo_n "(cached) " >&6
51036 else
51037
51038
51039 ac_ext=cpp
51040 ac_cpp='$CXXCPP $CPPFLAGS'
51041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51044
51045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51046 /* end confdefs.h. */
51047 #include <math.h>
51048 #ifdef HAVE_IEEEFP_H
51049 #include <ieeefp.h>
51050 #endif
51051
51052 int
51053 main ()
51054 {
51055 _finitel(0);
51056 ;
51057 return 0;
51058 }
51059 _ACEOF
51060 if ac_fn_cxx_try_compile "$LINENO"; then :
51061 glibcxx_cv_func__finitel_use=yes
51062 else
51063 glibcxx_cv_func__finitel_use=no
51064 fi
51065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51066 ac_ext=c
51067 ac_cpp='$CPP $CPPFLAGS'
51068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51071
51072
51073 fi
51074
51075 fi
51076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51077 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51078
51079 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51080 for ac_func in _finitel
51081 do :
51082 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51083 if test "x$ac_cv_func__finitel" = x""yes; then :
51084 cat >>confdefs.h <<_ACEOF
51085 #define HAVE__FINITEL 1
51086 _ACEOF
51087
51088 fi
51089 done
51090
51091 fi
51092 fi
51093
51094
51095
51096
51097 LIBS="$ac_save_LIBS"
51098 CXXFLAGS="$ac_save_CXXFLAGS"
51099
51100
51101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51102 ac_save_CXXFLAGS="$CXXFLAGS"
51103 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51104
51105
51106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51107 $as_echo_n "checking for strtold declaration... " >&6; }
51108 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51109 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51110 $as_echo_n "(cached) " >&6
51111 else
51112
51113
51114 ac_ext=cpp
51115 ac_cpp='$CXXCPP $CPPFLAGS'
51116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119
51120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51121 /* end confdefs.h. */
51122 #include <stdlib.h>
51123 int
51124 main ()
51125 {
51126 strtold(0, 0);
51127 ;
51128 return 0;
51129 }
51130 _ACEOF
51131 if ac_fn_cxx_try_compile "$LINENO"; then :
51132 glibcxx_cv_func_strtold_use=yes
51133 else
51134 glibcxx_cv_func_strtold_use=no
51135 fi
51136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51137 ac_ext=c
51138 ac_cpp='$CPP $CPPFLAGS'
51139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142
51143
51144 fi
51145
51146 fi
51147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51148 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51149 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51150 for ac_func in strtold
51151 do :
51152 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51153 if test "x$ac_cv_func_strtold" = x""yes; then :
51154 cat >>confdefs.h <<_ACEOF
51155 #define HAVE_STRTOLD 1
51156 _ACEOF
51157
51158 fi
51159 done
51160
51161 fi
51162
51163
51164
51165
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51167 $as_echo_n "checking for strtof declaration... " >&6; }
51168 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51169 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51170 $as_echo_n "(cached) " >&6
51171 else
51172
51173
51174 ac_ext=cpp
51175 ac_cpp='$CXXCPP $CPPFLAGS'
51176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51179
51180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51181 /* end confdefs.h. */
51182 #include <stdlib.h>
51183 int
51184 main ()
51185 {
51186 strtof(0, 0);
51187 ;
51188 return 0;
51189 }
51190 _ACEOF
51191 if ac_fn_cxx_try_compile "$LINENO"; then :
51192 glibcxx_cv_func_strtof_use=yes
51193 else
51194 glibcxx_cv_func_strtof_use=no
51195 fi
51196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51197 ac_ext=c
51198 ac_cpp='$CPP $CPPFLAGS'
51199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51202
51203
51204 fi
51205
51206 fi
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51208 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51209 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51210 for ac_func in strtof
51211 do :
51212 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51213 if test "x$ac_cv_func_strtof" = x""yes; then :
51214 cat >>confdefs.h <<_ACEOF
51215 #define HAVE_STRTOF 1
51216 _ACEOF
51217
51218 fi
51219 done
51220
51221 fi
51222
51223
51224
51225
51226 CXXFLAGS="$ac_save_CXXFLAGS"
51227
51228 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51229
51230
51231
51232 # Check whether --enable-tls was given.
51233 if test "${enable_tls+set}" = set; then :
51234 enableval=$enable_tls;
51235 case "$enableval" in
51236 yes|no) ;;
51237 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51238 esac
51239
51240 else
51241 enable_tls=yes
51242 fi
51243
51244
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51246 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51247 if test "${gcc_cv_have_tls+set}" = set; then :
51248 $as_echo_n "(cached) " >&6
51249 else
51250
51251 if test "$cross_compiling" = yes; then :
51252 if test x$gcc_no_link = xyes; then
51253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51254 fi
51255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51256 /* end confdefs.h. */
51257 __thread int a; int b; int main() { return a = b; }
51258 _ACEOF
51259 if ac_fn_c_try_link "$LINENO"; then :
51260 chktls_save_LDFLAGS="$LDFLAGS"
51261 case $host in
51262 *-*-linux*)
51263 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51264 ;;
51265 esac
51266 chktls_save_CFLAGS="$CFLAGS"
51267 CFLAGS="-fPIC $CFLAGS"
51268 if test x$gcc_no_link = xyes; then
51269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51270 fi
51271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51272 /* end confdefs.h. */
51273 int f() { return 0; }
51274 _ACEOF
51275 if ac_fn_c_try_link "$LINENO"; then :
51276 if test x$gcc_no_link = xyes; then
51277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51278 fi
51279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51280 /* end confdefs.h. */
51281 __thread int a; int b; int f() { return a = b; }
51282 _ACEOF
51283 if ac_fn_c_try_link "$LINENO"; then :
51284 gcc_cv_have_tls=yes
51285 else
51286 gcc_cv_have_tls=no
51287 fi
51288 rm -f core conftest.err conftest.$ac_objext \
51289 conftest$ac_exeext conftest.$ac_ext
51290 else
51291 gcc_cv_have_tls=yes
51292 fi
51293 rm -f core conftest.err conftest.$ac_objext \
51294 conftest$ac_exeext conftest.$ac_ext
51295 CFLAGS="$chktls_save_CFLAGS"
51296 LDFLAGS="$chktls_save_LDFLAGS"
51297 else
51298 gcc_cv_have_tls=no
51299 fi
51300 rm -f core conftest.err conftest.$ac_objext \
51301 conftest$ac_exeext conftest.$ac_ext
51302
51303
51304 else
51305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51306 /* end confdefs.h. */
51307 __thread int a; int b; int main() { return a = b; }
51308 _ACEOF
51309 if ac_fn_c_try_run "$LINENO"; then :
51310 chktls_save_LDFLAGS="$LDFLAGS"
51311 LDFLAGS="-static $LDFLAGS"
51312 if test x$gcc_no_link = xyes; then
51313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51314 fi
51315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51316 /* end confdefs.h. */
51317 int main() { return 0; }
51318 _ACEOF
51319 if ac_fn_c_try_link "$LINENO"; then :
51320 if test "$cross_compiling" = yes; then :
51321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51323 as_fn_error "cannot run test program while cross compiling
51324 See \`config.log' for more details." "$LINENO" 5; }
51325 else
51326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51327 /* end confdefs.h. */
51328 __thread int a; int b; int main() { return a = b; }
51329 _ACEOF
51330 if ac_fn_c_try_run "$LINENO"; then :
51331 gcc_cv_have_tls=yes
51332 else
51333 gcc_cv_have_tls=no
51334 fi
51335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51336 conftest.$ac_objext conftest.beam conftest.$ac_ext
51337 fi
51338
51339 else
51340 gcc_cv_have_tls=yes
51341 fi
51342 rm -f core conftest.err conftest.$ac_objext \
51343 conftest$ac_exeext conftest.$ac_ext
51344 LDFLAGS="$chktls_save_LDFLAGS"
51345 if test $gcc_cv_have_tls = yes; then
51346 chktls_save_CFLAGS="$CFLAGS"
51347 thread_CFLAGS=failed
51348 for flag in '' '-pthread' '-lpthread'; do
51349 CFLAGS="$flag $chktls_save_CFLAGS"
51350 if test x$gcc_no_link = xyes; then
51351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51352 fi
51353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51354 /* end confdefs.h. */
51355 #include <pthread.h>
51356 void *g(void *d) { return NULL; }
51357 int
51358 main ()
51359 {
51360 pthread_t t; pthread_create(&t,NULL,g,NULL);
51361 ;
51362 return 0;
51363 }
51364 _ACEOF
51365 if ac_fn_c_try_link "$LINENO"; then :
51366 thread_CFLAGS="$flag"
51367 fi
51368 rm -f core conftest.err conftest.$ac_objext \
51369 conftest$ac_exeext conftest.$ac_ext
51370 if test "X$thread_CFLAGS" != Xfailed; then
51371 break
51372 fi
51373 done
51374 CFLAGS="$chktls_save_CFLAGS"
51375 if test "X$thread_CFLAGS" != Xfailed; then
51376 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51377 if test "$cross_compiling" = yes; then :
51378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51380 as_fn_error "cannot run test program while cross compiling
51381 See \`config.log' for more details." "$LINENO" 5; }
51382 else
51383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51384 /* end confdefs.h. */
51385 #include <pthread.h>
51386 __thread int a;
51387 static int *volatile a_in_other_thread;
51388 static void *
51389 thread_func (void *arg)
51390 {
51391 a_in_other_thread = &a;
51392 return (void *)0;
51393 }
51394 int
51395 main ()
51396 {
51397 pthread_t thread;
51398 void *thread_retval;
51399 int *volatile a_in_main_thread;
51400 a_in_main_thread = &a;
51401 if (pthread_create (&thread, (pthread_attr_t *)0,
51402 thread_func, (void *)0))
51403 return 0;
51404 if (pthread_join (thread, &thread_retval))
51405 return 0;
51406 return (a_in_other_thread == a_in_main_thread);
51407 ;
51408 return 0;
51409 }
51410 _ACEOF
51411 if ac_fn_c_try_run "$LINENO"; then :
51412 gcc_cv_have_tls=yes
51413 else
51414 gcc_cv_have_tls=no
51415 fi
51416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51417 conftest.$ac_objext conftest.beam conftest.$ac_ext
51418 fi
51419
51420 CFLAGS="$chktls_save_CFLAGS"
51421 fi
51422 fi
51423 else
51424 gcc_cv_have_tls=no
51425 fi
51426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51427 conftest.$ac_objext conftest.beam conftest.$ac_ext
51428 fi
51429
51430 fi
51431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51432 $as_echo "$gcc_cv_have_tls" >&6; }
51433 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51434
51435 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51436
51437 fi
51438
51439
51440
51441
51442
51443 am_save_CPPFLAGS="$CPPFLAGS"
51444
51445 for element in $INCICONV; do
51446 haveit=
51447 for x in $CPPFLAGS; do
51448
51449 acl_save_prefix="$prefix"
51450 prefix="$acl_final_prefix"
51451 acl_save_exec_prefix="$exec_prefix"
51452 exec_prefix="$acl_final_exec_prefix"
51453 eval x=\"$x\"
51454 exec_prefix="$acl_save_exec_prefix"
51455 prefix="$acl_save_prefix"
51456
51457 if test "X$x" = "X$element"; then
51458 haveit=yes
51459 break
51460 fi
51461 done
51462 if test -z "$haveit"; then
51463 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51464 fi
51465 done
51466
51467
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51469 $as_echo_n "checking for iconv... " >&6; }
51470 if test "${am_cv_func_iconv+set}" = set; then :
51471 $as_echo_n "(cached) " >&6
51472 else
51473
51474 am_cv_func_iconv="no, consider installing GNU libiconv"
51475 am_cv_lib_iconv=no
51476 if test x$gcc_no_link = xyes; then
51477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51478 fi
51479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51480 /* end confdefs.h. */
51481 #include <stdlib.h>
51482 #include <iconv.h>
51483 int
51484 main ()
51485 {
51486 iconv_t cd = iconv_open("","");
51487 iconv(cd,NULL,NULL,NULL,NULL);
51488 iconv_close(cd);
51489 ;
51490 return 0;
51491 }
51492 _ACEOF
51493 if ac_fn_c_try_link "$LINENO"; then :
51494 am_cv_func_iconv=yes
51495 fi
51496 rm -f core conftest.err conftest.$ac_objext \
51497 conftest$ac_exeext conftest.$ac_ext
51498 if test "$am_cv_func_iconv" != yes; then
51499 am_save_LIBS="$LIBS"
51500 LIBS="$LIBS $LIBICONV"
51501 if test x$gcc_no_link = xyes; then
51502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51503 fi
51504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51505 /* end confdefs.h. */
51506 #include <stdlib.h>
51507 #include <iconv.h>
51508 int
51509 main ()
51510 {
51511 iconv_t cd = iconv_open("","");
51512 iconv(cd,NULL,NULL,NULL,NULL);
51513 iconv_close(cd);
51514 ;
51515 return 0;
51516 }
51517 _ACEOF
51518 if ac_fn_c_try_link "$LINENO"; then :
51519 am_cv_lib_iconv=yes
51520 am_cv_func_iconv=yes
51521 fi
51522 rm -f core conftest.err conftest.$ac_objext \
51523 conftest$ac_exeext conftest.$ac_ext
51524 LIBS="$am_save_LIBS"
51525 fi
51526
51527 fi
51528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51529 $as_echo "$am_cv_func_iconv" >&6; }
51530 if test "$am_cv_func_iconv" = yes; then
51531
51532 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51533
51534 fi
51535 if test "$am_cv_lib_iconv" = yes; then
51536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51537 $as_echo_n "checking how to link with libiconv... " >&6; }
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51539 $as_echo "$LIBICONV" >&6; }
51540 else
51541 CPPFLAGS="$am_save_CPPFLAGS"
51542 LIBICONV=
51543 LTLIBICONV=
51544 fi
51545
51546
51547
51548 if test "$am_cv_func_iconv" = yes; then
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51550 $as_echo_n "checking for iconv declaration... " >&6; }
51551 if test "${am_cv_proto_iconv+set}" = set; then :
51552 $as_echo_n "(cached) " >&6
51553 else
51554
51555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51556 /* end confdefs.h. */
51557
51558 #include <stdlib.h>
51559 #include <iconv.h>
51560 extern
51561 #ifdef __cplusplus
51562 "C"
51563 #endif
51564 #if defined(__STDC__) || defined(__cplusplus)
51565 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51566 #else
51567 size_t iconv();
51568 #endif
51569
51570 int
51571 main ()
51572 {
51573
51574 ;
51575 return 0;
51576 }
51577 _ACEOF
51578 if ac_fn_c_try_compile "$LINENO"; then :
51579 am_cv_proto_iconv_arg1=""
51580 else
51581 am_cv_proto_iconv_arg1="const"
51582 fi
51583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51584 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);"
51585 fi
51586
51587 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51589 }$am_cv_proto_iconv" >&5
51590 $as_echo "${ac_t:-
51591 }$am_cv_proto_iconv" >&6; }
51592
51593 cat >>confdefs.h <<_ACEOF
51594 #define ICONV_CONST $am_cv_proto_iconv_arg1
51595 _ACEOF
51596
51597 fi
51598
51599 ;;
51600 *-mingw32*)
51601
51602 # If we're not using GNU ld, then there's no point in even trying these
51603 # tests. Check for that first. We should have already tested for gld
51604 # by now (in libtool), but require it now just to be safe...
51605 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51606 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51607
51608
51609
51610 # The name set by libtool depends on the version of libtool. Shame on us
51611 # for depending on an impl detail, but c'est la vie. Older versions used
51612 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51613 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51614 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51615 # set (hence we're using an older libtool), then set it.
51616 if test x${with_gnu_ld+set} != xset; then
51617 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51618 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51619 with_gnu_ld=no
51620 else
51621 with_gnu_ld=$ac_cv_prog_gnu_ld
51622 fi
51623 fi
51624
51625 # Start by getting the version number. I think the libtool test already
51626 # does some of this, but throws away the result.
51627 glibcxx_ld_is_gold=no
51628 if test x"$with_gnu_ld" = x"yes"; then
51629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51630 $as_echo_n "checking for ld version... " >&6; }
51631
51632 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51633 glibcxx_ld_is_gold=yes
51634 fi
51635 ldver=`$LD --version 2>/dev/null |
51636 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'`
51637
51638 glibcxx_gnu_ld_version=`echo $ldver | \
51639 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51641 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51642 fi
51643
51644 # Set --gc-sections.
51645 glibcxx_have_gc_sections=no
51646 if test "$glibcxx_ld_is_gold" = "yes"; then
51647 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51648 glibcxx_have_gc_sections=yes
51649 fi
51650 else
51651 glibcxx_gcsections_min_ld=21602
51652 if test x"$with_gnu_ld" = x"yes" &&
51653 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51654 glibcxx_have_gc_sections=yes
51655 fi
51656 fi
51657 if test "$glibcxx_have_gc_sections" = "yes"; then
51658 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51659 # NB: This flag only works reliably after 2.16.1. Configure tests
51660 # for this are difficult, so hard wire a value that should work.
51661
51662 ac_test_CFLAGS="${CFLAGS+set}"
51663 ac_save_CFLAGS="$CFLAGS"
51664 CFLAGS='-Wl,--gc-sections'
51665
51666 # Check for -Wl,--gc-sections
51667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51668 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51669 if test x$gcc_no_link = xyes; then
51670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51671 fi
51672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51673 /* end confdefs.h. */
51674 int one(void) { return 1; }
51675 int two(void) { return 2; }
51676
51677 int
51678 main ()
51679 {
51680 two();
51681 ;
51682 return 0;
51683 }
51684 _ACEOF
51685 if ac_fn_c_try_link "$LINENO"; then :
51686 ac_gcsections=yes
51687 else
51688 ac_gcsections=no
51689 fi
51690 rm -f core conftest.err conftest.$ac_objext \
51691 conftest$ac_exeext conftest.$ac_ext
51692 if test "$ac_gcsections" = "yes"; then
51693 rm -f conftest.c
51694 touch conftest.c
51695 if $CC -c conftest.c; then
51696 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51697 grep "Warning: gc-sections option ignored" > /dev/null; then
51698 ac_gcsections=no
51699 fi
51700 fi
51701 rm -f conftest.c conftest.o conftest
51702 fi
51703 if test "$ac_gcsections" = "yes"; then
51704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51705 fi
51706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51707 $as_echo "$ac_gcsections" >&6; }
51708
51709 if test "$ac_test_CFLAGS" = set; then
51710 CFLAGS="$ac_save_CFLAGS"
51711 else
51712 # this is the suspicious part
51713 CFLAGS=''
51714 fi
51715 fi
51716
51717 # Set -z,relro.
51718 # Note this is only for shared objects.
51719 ac_ld_relro=no
51720 if test x"$with_gnu_ld" = x"yes"; then
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51722 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51723 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51724 if test -n "$cxx_z_relo"; then
51725 OPT_LDFLAGS="-Wl,-z,relro"
51726 ac_ld_relro=yes
51727 fi
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51729 $as_echo "$ac_ld_relro" >&6; }
51730 fi
51731
51732 # Set linker optimization flags.
51733 if test x"$with_gnu_ld" = x"yes"; then
51734 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51735 fi
51736
51737
51738
51739
51740
51741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51742 ac_save_CXXFLAGS="$CXXFLAGS"
51743 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51744
51745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51746 $as_echo_n "checking for sin in -lm... " >&6; }
51747 if test "${ac_cv_lib_m_sin+set}" = set; then :
51748 $as_echo_n "(cached) " >&6
51749 else
51750 ac_check_lib_save_LIBS=$LIBS
51751 LIBS="-lm $LIBS"
51752 if test x$gcc_no_link = xyes; then
51753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51754 fi
51755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51756 /* end confdefs.h. */
51757
51758 /* Override any GCC internal prototype to avoid an error.
51759 Use char because int might match the return type of a GCC
51760 builtin and then its argument prototype would still apply. */
51761 #ifdef __cplusplus
51762 extern "C"
51763 #endif
51764 char sin ();
51765 int
51766 main ()
51767 {
51768 return sin ();
51769 ;
51770 return 0;
51771 }
51772 _ACEOF
51773 if ac_fn_c_try_link "$LINENO"; then :
51774 ac_cv_lib_m_sin=yes
51775 else
51776 ac_cv_lib_m_sin=no
51777 fi
51778 rm -f core conftest.err conftest.$ac_objext \
51779 conftest$ac_exeext conftest.$ac_ext
51780 LIBS=$ac_check_lib_save_LIBS
51781 fi
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51783 $as_echo "$ac_cv_lib_m_sin" >&6; }
51784 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51785 libm="-lm"
51786 fi
51787
51788 ac_save_LIBS="$LIBS"
51789 LIBS="$LIBS $libm"
51790
51791
51792
51793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51794 $as_echo_n "checking for isinf declaration... " >&6; }
51795 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51796 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51797 $as_echo_n "(cached) " >&6
51798 else
51799
51800
51801 ac_ext=cpp
51802 ac_cpp='$CXXCPP $CPPFLAGS'
51803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51806
51807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51808 /* end confdefs.h. */
51809 #include <math.h>
51810 #ifdef HAVE_IEEEFP_H
51811 #include <ieeefp.h>
51812 #endif
51813
51814 int
51815 main ()
51816 {
51817 isinf(0);
51818 ;
51819 return 0;
51820 }
51821 _ACEOF
51822 if ac_fn_cxx_try_compile "$LINENO"; then :
51823 glibcxx_cv_func_isinf_use=yes
51824 else
51825 glibcxx_cv_func_isinf_use=no
51826 fi
51827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51828 ac_ext=c
51829 ac_cpp='$CPP $CPPFLAGS'
51830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51833
51834
51835 fi
51836
51837 fi
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51839 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51840
51841 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51842 for ac_func in isinf
51843 do :
51844 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51845 if test "x$ac_cv_func_isinf" = x""yes; then :
51846 cat >>confdefs.h <<_ACEOF
51847 #define HAVE_ISINF 1
51848 _ACEOF
51849
51850 fi
51851 done
51852
51853 else
51854
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51856 $as_echo_n "checking for _isinf declaration... " >&6; }
51857 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51858 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51859 $as_echo_n "(cached) " >&6
51860 else
51861
51862
51863 ac_ext=cpp
51864 ac_cpp='$CXXCPP $CPPFLAGS'
51865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51868
51869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51870 /* end confdefs.h. */
51871 #include <math.h>
51872 #ifdef HAVE_IEEEFP_H
51873 #include <ieeefp.h>
51874 #endif
51875
51876 int
51877 main ()
51878 {
51879 _isinf(0);
51880 ;
51881 return 0;
51882 }
51883 _ACEOF
51884 if ac_fn_cxx_try_compile "$LINENO"; then :
51885 glibcxx_cv_func__isinf_use=yes
51886 else
51887 glibcxx_cv_func__isinf_use=no
51888 fi
51889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51890 ac_ext=c
51891 ac_cpp='$CPP $CPPFLAGS'
51892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51895
51896
51897 fi
51898
51899 fi
51900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51901 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51902
51903 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51904 for ac_func in _isinf
51905 do :
51906 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51907 if test "x$ac_cv_func__isinf" = x""yes; then :
51908 cat >>confdefs.h <<_ACEOF
51909 #define HAVE__ISINF 1
51910 _ACEOF
51911
51912 fi
51913 done
51914
51915 fi
51916 fi
51917
51918
51919
51920
51921
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51923 $as_echo_n "checking for isnan declaration... " >&6; }
51924 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51925 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51926 $as_echo_n "(cached) " >&6
51927 else
51928
51929
51930 ac_ext=cpp
51931 ac_cpp='$CXXCPP $CPPFLAGS'
51932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51935
51936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51937 /* end confdefs.h. */
51938 #include <math.h>
51939 #ifdef HAVE_IEEEFP_H
51940 #include <ieeefp.h>
51941 #endif
51942
51943 int
51944 main ()
51945 {
51946 isnan(0);
51947 ;
51948 return 0;
51949 }
51950 _ACEOF
51951 if ac_fn_cxx_try_compile "$LINENO"; then :
51952 glibcxx_cv_func_isnan_use=yes
51953 else
51954 glibcxx_cv_func_isnan_use=no
51955 fi
51956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51957 ac_ext=c
51958 ac_cpp='$CPP $CPPFLAGS'
51959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51962
51963
51964 fi
51965
51966 fi
51967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51968 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51969
51970 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51971 for ac_func in isnan
51972 do :
51973 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51974 if test "x$ac_cv_func_isnan" = x""yes; then :
51975 cat >>confdefs.h <<_ACEOF
51976 #define HAVE_ISNAN 1
51977 _ACEOF
51978
51979 fi
51980 done
51981
51982 else
51983
51984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51985 $as_echo_n "checking for _isnan declaration... " >&6; }
51986 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51987 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51988 $as_echo_n "(cached) " >&6
51989 else
51990
51991
51992 ac_ext=cpp
51993 ac_cpp='$CXXCPP $CPPFLAGS'
51994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51997
51998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51999 /* end confdefs.h. */
52000 #include <math.h>
52001 #ifdef HAVE_IEEEFP_H
52002 #include <ieeefp.h>
52003 #endif
52004
52005 int
52006 main ()
52007 {
52008 _isnan(0);
52009 ;
52010 return 0;
52011 }
52012 _ACEOF
52013 if ac_fn_cxx_try_compile "$LINENO"; then :
52014 glibcxx_cv_func__isnan_use=yes
52015 else
52016 glibcxx_cv_func__isnan_use=no
52017 fi
52018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52019 ac_ext=c
52020 ac_cpp='$CPP $CPPFLAGS'
52021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52024
52025
52026 fi
52027
52028 fi
52029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52030 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52031
52032 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52033 for ac_func in _isnan
52034 do :
52035 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52036 if test "x$ac_cv_func__isnan" = x""yes; then :
52037 cat >>confdefs.h <<_ACEOF
52038 #define HAVE__ISNAN 1
52039 _ACEOF
52040
52041 fi
52042 done
52043
52044 fi
52045 fi
52046
52047
52048
52049
52050
52051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52052 $as_echo_n "checking for finite declaration... " >&6; }
52053 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52054 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52055 $as_echo_n "(cached) " >&6
52056 else
52057
52058
52059 ac_ext=cpp
52060 ac_cpp='$CXXCPP $CPPFLAGS'
52061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52064
52065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52066 /* end confdefs.h. */
52067 #include <math.h>
52068 #ifdef HAVE_IEEEFP_H
52069 #include <ieeefp.h>
52070 #endif
52071
52072 int
52073 main ()
52074 {
52075 finite(0);
52076 ;
52077 return 0;
52078 }
52079 _ACEOF
52080 if ac_fn_cxx_try_compile "$LINENO"; then :
52081 glibcxx_cv_func_finite_use=yes
52082 else
52083 glibcxx_cv_func_finite_use=no
52084 fi
52085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52086 ac_ext=c
52087 ac_cpp='$CPP $CPPFLAGS'
52088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52091
52092
52093 fi
52094
52095 fi
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52097 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52098
52099 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52100 for ac_func in finite
52101 do :
52102 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52103 if test "x$ac_cv_func_finite" = x""yes; then :
52104 cat >>confdefs.h <<_ACEOF
52105 #define HAVE_FINITE 1
52106 _ACEOF
52107
52108 fi
52109 done
52110
52111 else
52112
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52114 $as_echo_n "checking for _finite declaration... " >&6; }
52115 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52116 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52117 $as_echo_n "(cached) " >&6
52118 else
52119
52120
52121 ac_ext=cpp
52122 ac_cpp='$CXXCPP $CPPFLAGS'
52123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52126
52127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52128 /* end confdefs.h. */
52129 #include <math.h>
52130 #ifdef HAVE_IEEEFP_H
52131 #include <ieeefp.h>
52132 #endif
52133
52134 int
52135 main ()
52136 {
52137 _finite(0);
52138 ;
52139 return 0;
52140 }
52141 _ACEOF
52142 if ac_fn_cxx_try_compile "$LINENO"; then :
52143 glibcxx_cv_func__finite_use=yes
52144 else
52145 glibcxx_cv_func__finite_use=no
52146 fi
52147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52148 ac_ext=c
52149 ac_cpp='$CPP $CPPFLAGS'
52150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52153
52154
52155 fi
52156
52157 fi
52158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52159 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52160
52161 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52162 for ac_func in _finite
52163 do :
52164 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52165 if test "x$ac_cv_func__finite" = x""yes; then :
52166 cat >>confdefs.h <<_ACEOF
52167 #define HAVE__FINITE 1
52168 _ACEOF
52169
52170 fi
52171 done
52172
52173 fi
52174 fi
52175
52176
52177
52178
52179
52180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52181 $as_echo_n "checking for sincos declaration... " >&6; }
52182 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52183 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52184 $as_echo_n "(cached) " >&6
52185 else
52186
52187
52188 ac_ext=cpp
52189 ac_cpp='$CXXCPP $CPPFLAGS'
52190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193
52194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52195 /* end confdefs.h. */
52196 #include <math.h>
52197 int
52198 main ()
52199 {
52200 sincos(0, 0, 0);
52201 ;
52202 return 0;
52203 }
52204 _ACEOF
52205 if ac_fn_cxx_try_compile "$LINENO"; then :
52206 glibcxx_cv_func_sincos_use=yes
52207 else
52208 glibcxx_cv_func_sincos_use=no
52209 fi
52210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52211 ac_ext=c
52212 ac_cpp='$CPP $CPPFLAGS'
52213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52216
52217
52218 fi
52219
52220 fi
52221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52222 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52223
52224 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52225 for ac_func in sincos
52226 do :
52227 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52228 if test "x$ac_cv_func_sincos" = x""yes; then :
52229 cat >>confdefs.h <<_ACEOF
52230 #define HAVE_SINCOS 1
52231 _ACEOF
52232
52233 fi
52234 done
52235
52236 else
52237
52238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52239 $as_echo_n "checking for _sincos declaration... " >&6; }
52240 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52241 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52242 $as_echo_n "(cached) " >&6
52243 else
52244
52245
52246 ac_ext=cpp
52247 ac_cpp='$CXXCPP $CPPFLAGS'
52248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52251
52252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52253 /* end confdefs.h. */
52254 #include <math.h>
52255 int
52256 main ()
52257 {
52258 _sincos(0, 0, 0);
52259 ;
52260 return 0;
52261 }
52262 _ACEOF
52263 if ac_fn_cxx_try_compile "$LINENO"; then :
52264 glibcxx_cv_func__sincos_use=yes
52265 else
52266 glibcxx_cv_func__sincos_use=no
52267 fi
52268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52269 ac_ext=c
52270 ac_cpp='$CPP $CPPFLAGS'
52271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52274
52275
52276 fi
52277
52278 fi
52279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52280 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52281
52282 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52283 for ac_func in _sincos
52284 do :
52285 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52286 if test "x$ac_cv_func__sincos" = x""yes; then :
52287 cat >>confdefs.h <<_ACEOF
52288 #define HAVE__SINCOS 1
52289 _ACEOF
52290
52291 fi
52292 done
52293
52294 fi
52295 fi
52296
52297
52298
52299
52300
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52302 $as_echo_n "checking for fpclass declaration... " >&6; }
52303 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52304 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52305 $as_echo_n "(cached) " >&6
52306 else
52307
52308
52309 ac_ext=cpp
52310 ac_cpp='$CXXCPP $CPPFLAGS'
52311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314
52315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52316 /* end confdefs.h. */
52317 #include <math.h>
52318 #ifdef HAVE_IEEEFP_H
52319 #include <ieeefp.h>
52320 #endif
52321
52322 int
52323 main ()
52324 {
52325 fpclass(0);
52326 ;
52327 return 0;
52328 }
52329 _ACEOF
52330 if ac_fn_cxx_try_compile "$LINENO"; then :
52331 glibcxx_cv_func_fpclass_use=yes
52332 else
52333 glibcxx_cv_func_fpclass_use=no
52334 fi
52335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52336 ac_ext=c
52337 ac_cpp='$CPP $CPPFLAGS'
52338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52341
52342
52343 fi
52344
52345 fi
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52347 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52348
52349 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52350 for ac_func in fpclass
52351 do :
52352 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52353 if test "x$ac_cv_func_fpclass" = x""yes; then :
52354 cat >>confdefs.h <<_ACEOF
52355 #define HAVE_FPCLASS 1
52356 _ACEOF
52357
52358 fi
52359 done
52360
52361 else
52362
52363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52364 $as_echo_n "checking for _fpclass declaration... " >&6; }
52365 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52366 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52367 $as_echo_n "(cached) " >&6
52368 else
52369
52370
52371 ac_ext=cpp
52372 ac_cpp='$CXXCPP $CPPFLAGS'
52373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52376
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52379 #include <math.h>
52380 #ifdef HAVE_IEEEFP_H
52381 #include <ieeefp.h>
52382 #endif
52383
52384 int
52385 main ()
52386 {
52387 _fpclass(0);
52388 ;
52389 return 0;
52390 }
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func__fpclass_use=yes
52394 else
52395 glibcxx_cv_func__fpclass_use=no
52396 fi
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52403
52404
52405 fi
52406
52407 fi
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52409 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52410
52411 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52412 for ac_func in _fpclass
52413 do :
52414 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52415 if test "x$ac_cv_func__fpclass" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE__FPCLASS 1
52418 _ACEOF
52419
52420 fi
52421 done
52422
52423 fi
52424 fi
52425
52426
52427
52428
52429
52430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52431 $as_echo_n "checking for qfpclass declaration... " >&6; }
52432 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52433 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52434 $as_echo_n "(cached) " >&6
52435 else
52436
52437
52438 ac_ext=cpp
52439 ac_cpp='$CXXCPP $CPPFLAGS'
52440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52443
52444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52445 /* end confdefs.h. */
52446 #include <math.h>
52447 #ifdef HAVE_IEEEFP_H
52448 #include <ieeefp.h>
52449 #endif
52450
52451 int
52452 main ()
52453 {
52454 qfpclass(0);
52455 ;
52456 return 0;
52457 }
52458 _ACEOF
52459 if ac_fn_cxx_try_compile "$LINENO"; then :
52460 glibcxx_cv_func_qfpclass_use=yes
52461 else
52462 glibcxx_cv_func_qfpclass_use=no
52463 fi
52464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52465 ac_ext=c
52466 ac_cpp='$CPP $CPPFLAGS'
52467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52470
52471
52472 fi
52473
52474 fi
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52476 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52477
52478 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52479 for ac_func in qfpclass
52480 do :
52481 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52482 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52483 cat >>confdefs.h <<_ACEOF
52484 #define HAVE_QFPCLASS 1
52485 _ACEOF
52486
52487 fi
52488 done
52489
52490 else
52491
52492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52493 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52494 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52495 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52496 $as_echo_n "(cached) " >&6
52497 else
52498
52499
52500 ac_ext=cpp
52501 ac_cpp='$CXXCPP $CPPFLAGS'
52502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52505
52506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52507 /* end confdefs.h. */
52508 #include <math.h>
52509 #ifdef HAVE_IEEEFP_H
52510 #include <ieeefp.h>
52511 #endif
52512
52513 int
52514 main ()
52515 {
52516 _qfpclass(0);
52517 ;
52518 return 0;
52519 }
52520 _ACEOF
52521 if ac_fn_cxx_try_compile "$LINENO"; then :
52522 glibcxx_cv_func__qfpclass_use=yes
52523 else
52524 glibcxx_cv_func__qfpclass_use=no
52525 fi
52526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52527 ac_ext=c
52528 ac_cpp='$CPP $CPPFLAGS'
52529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532
52533
52534 fi
52535
52536 fi
52537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52538 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52539
52540 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52541 for ac_func in _qfpclass
52542 do :
52543 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52544 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52545 cat >>confdefs.h <<_ACEOF
52546 #define HAVE__QFPCLASS 1
52547 _ACEOF
52548
52549 fi
52550 done
52551
52552 fi
52553 fi
52554
52555
52556
52557
52558
52559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52560 $as_echo_n "checking for hypot declaration... " >&6; }
52561 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52562 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52563 $as_echo_n "(cached) " >&6
52564 else
52565
52566
52567 ac_ext=cpp
52568 ac_cpp='$CXXCPP $CPPFLAGS'
52569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52572
52573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52574 /* end confdefs.h. */
52575 #include <math.h>
52576 int
52577 main ()
52578 {
52579 hypot(0, 0);
52580 ;
52581 return 0;
52582 }
52583 _ACEOF
52584 if ac_fn_cxx_try_compile "$LINENO"; then :
52585 glibcxx_cv_func_hypot_use=yes
52586 else
52587 glibcxx_cv_func_hypot_use=no
52588 fi
52589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52590 ac_ext=c
52591 ac_cpp='$CPP $CPPFLAGS'
52592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52595
52596
52597 fi
52598
52599 fi
52600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52601 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52602
52603 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52604 for ac_func in hypot
52605 do :
52606 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52607 if test "x$ac_cv_func_hypot" = x""yes; then :
52608 cat >>confdefs.h <<_ACEOF
52609 #define HAVE_HYPOT 1
52610 _ACEOF
52611
52612 fi
52613 done
52614
52615 else
52616
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52618 $as_echo_n "checking for _hypot declaration... " >&6; }
52619 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52620 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52621 $as_echo_n "(cached) " >&6
52622 else
52623
52624
52625 ac_ext=cpp
52626 ac_cpp='$CXXCPP $CPPFLAGS'
52627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630
52631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h. */
52633 #include <math.h>
52634 int
52635 main ()
52636 {
52637 _hypot(0, 0);
52638 ;
52639 return 0;
52640 }
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func__hypot_use=yes
52644 else
52645 glibcxx_cv_func__hypot_use=no
52646 fi
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653
52654
52655 fi
52656
52657 fi
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52659 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52660
52661 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52662 for ac_func in _hypot
52663 do :
52664 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52665 if test "x$ac_cv_func__hypot" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE__HYPOT 1
52668 _ACEOF
52669
52670 fi
52671 done
52672
52673 fi
52674 fi
52675
52676
52677
52678
52679
52680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52681 $as_echo_n "checking for float trig functions... " >&6; }
52682 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52683 $as_echo_n "(cached) " >&6
52684 else
52685
52686
52687 ac_ext=cpp
52688 ac_cpp='$CXXCPP $CPPFLAGS'
52689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52692
52693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52694 /* end confdefs.h. */
52695 #include <math.h>
52696 int
52697 main ()
52698 {
52699 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52700 ;
52701 return 0;
52702 }
52703 _ACEOF
52704 if ac_fn_cxx_try_compile "$LINENO"; then :
52705 glibcxx_cv_func_float_trig_use=yes
52706 else
52707 glibcxx_cv_func_float_trig_use=no
52708 fi
52709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52710 ac_ext=c
52711 ac_cpp='$CPP $CPPFLAGS'
52712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52715
52716 fi
52717
52718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52719 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52720 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52721 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52722 do :
52723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52725 eval as_val=\$$as_ac_var
52726 if test "x$as_val" = x""yes; then :
52727 cat >>confdefs.h <<_ACEOF
52728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52729 _ACEOF
52730
52731 fi
52732 done
52733
52734 else
52735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52736 $as_echo_n "checking for _float trig functions... " >&6; }
52737 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52738 $as_echo_n "(cached) " >&6
52739 else
52740
52741
52742 ac_ext=cpp
52743 ac_cpp='$CXXCPP $CPPFLAGS'
52744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52747
52748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52749 /* end confdefs.h. */
52750 #include <math.h>
52751 int
52752 main ()
52753 {
52754 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52755 ;
52756 return 0;
52757 }
52758 _ACEOF
52759 if ac_fn_cxx_try_compile "$LINENO"; then :
52760 glibcxx_cv_func__float_trig_use=yes
52761 else
52762 glibcxx_cv_func__float_trig_use=no
52763 fi
52764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 fi
52772
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52774 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52775 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52776 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52777 do :
52778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52780 eval as_val=\$$as_ac_var
52781 if test "x$as_val" = x""yes; then :
52782 cat >>confdefs.h <<_ACEOF
52783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52784 _ACEOF
52785
52786 fi
52787 done
52788
52789 fi
52790 fi
52791
52792
52793
52794
52795
52796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52797 $as_echo_n "checking for float round functions... " >&6; }
52798 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52799 $as_echo_n "(cached) " >&6
52800 else
52801
52802
52803 ac_ext=cpp
52804 ac_cpp='$CXXCPP $CPPFLAGS'
52805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808
52809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52810 /* end confdefs.h. */
52811 #include <math.h>
52812 int
52813 main ()
52814 {
52815 ceilf (0); floorf (0);
52816 ;
52817 return 0;
52818 }
52819 _ACEOF
52820 if ac_fn_cxx_try_compile "$LINENO"; then :
52821 glibcxx_cv_func_float_round_use=yes
52822 else
52823 glibcxx_cv_func_float_round_use=no
52824 fi
52825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52826 ac_ext=c
52827 ac_cpp='$CPP $CPPFLAGS'
52828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52831
52832 fi
52833
52834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52835 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52836 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52837 for ac_func in ceilf floorf
52838 do :
52839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52841 eval as_val=\$$as_ac_var
52842 if test "x$as_val" = x""yes; then :
52843 cat >>confdefs.h <<_ACEOF
52844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52845 _ACEOF
52846
52847 fi
52848 done
52849
52850 else
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52852 $as_echo_n "checking for _float round functions... " >&6; }
52853 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52854 $as_echo_n "(cached) " >&6
52855 else
52856
52857
52858 ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863
52864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h. */
52866 #include <math.h>
52867 int
52868 main ()
52869 {
52870 _ceilf (0); _floorf (0);
52871 ;
52872 return 0;
52873 }
52874 _ACEOF
52875 if ac_fn_cxx_try_compile "$LINENO"; then :
52876 glibcxx_cv_func__float_round_use=yes
52877 else
52878 glibcxx_cv_func__float_round_use=no
52879 fi
52880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52881 ac_ext=c
52882 ac_cpp='$CPP $CPPFLAGS'
52883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52886
52887 fi
52888
52889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52890 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52891 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52892 for ac_func in _ceilf _floorf
52893 do :
52894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52896 eval as_val=\$$as_ac_var
52897 if test "x$as_val" = x""yes; then :
52898 cat >>confdefs.h <<_ACEOF
52899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52900 _ACEOF
52901
52902 fi
52903 done
52904
52905 fi
52906 fi
52907
52908
52909
52910
52911
52912
52913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52914 $as_echo_n "checking for expf declaration... " >&6; }
52915 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52916 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52917 $as_echo_n "(cached) " >&6
52918 else
52919
52920
52921 ac_ext=cpp
52922 ac_cpp='$CXXCPP $CPPFLAGS'
52923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52926
52927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52928 /* end confdefs.h. */
52929 #include <math.h>
52930 #ifdef HAVE_IEEEFP_H
52931 #include <ieeefp.h>
52932 #endif
52933
52934 int
52935 main ()
52936 {
52937 expf(0);
52938 ;
52939 return 0;
52940 }
52941 _ACEOF
52942 if ac_fn_cxx_try_compile "$LINENO"; then :
52943 glibcxx_cv_func_expf_use=yes
52944 else
52945 glibcxx_cv_func_expf_use=no
52946 fi
52947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52948 ac_ext=c
52949 ac_cpp='$CPP $CPPFLAGS'
52950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52953
52954
52955 fi
52956
52957 fi
52958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52959 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52960
52961 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52962 for ac_func in expf
52963 do :
52964 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52965 if test "x$ac_cv_func_expf" = x""yes; then :
52966 cat >>confdefs.h <<_ACEOF
52967 #define HAVE_EXPF 1
52968 _ACEOF
52969
52970 fi
52971 done
52972
52973 else
52974
52975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52976 $as_echo_n "checking for _expf declaration... " >&6; }
52977 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52978 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52979 $as_echo_n "(cached) " >&6
52980 else
52981
52982
52983 ac_ext=cpp
52984 ac_cpp='$CXXCPP $CPPFLAGS'
52985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52988
52989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52990 /* end confdefs.h. */
52991 #include <math.h>
52992 #ifdef HAVE_IEEEFP_H
52993 #include <ieeefp.h>
52994 #endif
52995
52996 int
52997 main ()
52998 {
52999 _expf(0);
53000 ;
53001 return 0;
53002 }
53003 _ACEOF
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005 glibcxx_cv_func__expf_use=yes
53006 else
53007 glibcxx_cv_func__expf_use=no
53008 fi
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53010 ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53015
53016
53017 fi
53018
53019 fi
53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53021 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53022
53023 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53024 for ac_func in _expf
53025 do :
53026 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53027 if test "x$ac_cv_func__expf" = x""yes; then :
53028 cat >>confdefs.h <<_ACEOF
53029 #define HAVE__EXPF 1
53030 _ACEOF
53031
53032 fi
53033 done
53034
53035 fi
53036 fi
53037
53038
53039
53040
53041
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53043 $as_echo_n "checking for isnanf declaration... " >&6; }
53044 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53045 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53046 $as_echo_n "(cached) " >&6
53047 else
53048
53049
53050 ac_ext=cpp
53051 ac_cpp='$CXXCPP $CPPFLAGS'
53052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53055
53056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53057 /* end confdefs.h. */
53058 #include <math.h>
53059 #ifdef HAVE_IEEEFP_H
53060 #include <ieeefp.h>
53061 #endif
53062
53063 int
53064 main ()
53065 {
53066 isnanf(0);
53067 ;
53068 return 0;
53069 }
53070 _ACEOF
53071 if ac_fn_cxx_try_compile "$LINENO"; then :
53072 glibcxx_cv_func_isnanf_use=yes
53073 else
53074 glibcxx_cv_func_isnanf_use=no
53075 fi
53076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53077 ac_ext=c
53078 ac_cpp='$CPP $CPPFLAGS'
53079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53082
53083
53084 fi
53085
53086 fi
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53088 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53089
53090 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53091 for ac_func in isnanf
53092 do :
53093 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53094 if test "x$ac_cv_func_isnanf" = x""yes; then :
53095 cat >>confdefs.h <<_ACEOF
53096 #define HAVE_ISNANF 1
53097 _ACEOF
53098
53099 fi
53100 done
53101
53102 else
53103
53104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53105 $as_echo_n "checking for _isnanf declaration... " >&6; }
53106 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53107 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53108 $as_echo_n "(cached) " >&6
53109 else
53110
53111
53112 ac_ext=cpp
53113 ac_cpp='$CXXCPP $CPPFLAGS'
53114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53117
53118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53119 /* end confdefs.h. */
53120 #include <math.h>
53121 #ifdef HAVE_IEEEFP_H
53122 #include <ieeefp.h>
53123 #endif
53124
53125 int
53126 main ()
53127 {
53128 _isnanf(0);
53129 ;
53130 return 0;
53131 }
53132 _ACEOF
53133 if ac_fn_cxx_try_compile "$LINENO"; then :
53134 glibcxx_cv_func__isnanf_use=yes
53135 else
53136 glibcxx_cv_func__isnanf_use=no
53137 fi
53138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53139 ac_ext=c
53140 ac_cpp='$CPP $CPPFLAGS'
53141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53144
53145
53146 fi
53147
53148 fi
53149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53150 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53151
53152 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53153 for ac_func in _isnanf
53154 do :
53155 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53156 if test "x$ac_cv_func__isnanf" = x""yes; then :
53157 cat >>confdefs.h <<_ACEOF
53158 #define HAVE__ISNANF 1
53159 _ACEOF
53160
53161 fi
53162 done
53163
53164 fi
53165 fi
53166
53167
53168
53169
53170
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53172 $as_echo_n "checking for isinff declaration... " >&6; }
53173 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53174 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53175 $as_echo_n "(cached) " >&6
53176 else
53177
53178
53179 ac_ext=cpp
53180 ac_cpp='$CXXCPP $CPPFLAGS'
53181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53184
53185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53186 /* end confdefs.h. */
53187 #include <math.h>
53188 #ifdef HAVE_IEEEFP_H
53189 #include <ieeefp.h>
53190 #endif
53191
53192 int
53193 main ()
53194 {
53195 isinff(0);
53196 ;
53197 return 0;
53198 }
53199 _ACEOF
53200 if ac_fn_cxx_try_compile "$LINENO"; then :
53201 glibcxx_cv_func_isinff_use=yes
53202 else
53203 glibcxx_cv_func_isinff_use=no
53204 fi
53205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53206 ac_ext=c
53207 ac_cpp='$CPP $CPPFLAGS'
53208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53211
53212
53213 fi
53214
53215 fi
53216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53217 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53218
53219 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53220 for ac_func in isinff
53221 do :
53222 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53223 if test "x$ac_cv_func_isinff" = x""yes; then :
53224 cat >>confdefs.h <<_ACEOF
53225 #define HAVE_ISINFF 1
53226 _ACEOF
53227
53228 fi
53229 done
53230
53231 else
53232
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53234 $as_echo_n "checking for _isinff declaration... " >&6; }
53235 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53236 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53237 $as_echo_n "(cached) " >&6
53238 else
53239
53240
53241 ac_ext=cpp
53242 ac_cpp='$CXXCPP $CPPFLAGS'
53243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53246
53247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53248 /* end confdefs.h. */
53249 #include <math.h>
53250 #ifdef HAVE_IEEEFP_H
53251 #include <ieeefp.h>
53252 #endif
53253
53254 int
53255 main ()
53256 {
53257 _isinff(0);
53258 ;
53259 return 0;
53260 }
53261 _ACEOF
53262 if ac_fn_cxx_try_compile "$LINENO"; then :
53263 glibcxx_cv_func__isinff_use=yes
53264 else
53265 glibcxx_cv_func__isinff_use=no
53266 fi
53267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53268 ac_ext=c
53269 ac_cpp='$CPP $CPPFLAGS'
53270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53273
53274
53275 fi
53276
53277 fi
53278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53279 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53280
53281 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53282 for ac_func in _isinff
53283 do :
53284 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53285 if test "x$ac_cv_func__isinff" = x""yes; then :
53286 cat >>confdefs.h <<_ACEOF
53287 #define HAVE__ISINFF 1
53288 _ACEOF
53289
53290 fi
53291 done
53292
53293 fi
53294 fi
53295
53296
53297
53298
53299
53300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53301 $as_echo_n "checking for atan2f declaration... " >&6; }
53302 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53303 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53304 $as_echo_n "(cached) " >&6
53305 else
53306
53307
53308 ac_ext=cpp
53309 ac_cpp='$CXXCPP $CPPFLAGS'
53310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53313
53314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53315 /* end confdefs.h. */
53316 #include <math.h>
53317 int
53318 main ()
53319 {
53320 atan2f(0, 0);
53321 ;
53322 return 0;
53323 }
53324 _ACEOF
53325 if ac_fn_cxx_try_compile "$LINENO"; then :
53326 glibcxx_cv_func_atan2f_use=yes
53327 else
53328 glibcxx_cv_func_atan2f_use=no
53329 fi
53330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53331 ac_ext=c
53332 ac_cpp='$CPP $CPPFLAGS'
53333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53336
53337
53338 fi
53339
53340 fi
53341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53342 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53343
53344 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53345 for ac_func in atan2f
53346 do :
53347 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53348 if test "x$ac_cv_func_atan2f" = x""yes; then :
53349 cat >>confdefs.h <<_ACEOF
53350 #define HAVE_ATAN2F 1
53351 _ACEOF
53352
53353 fi
53354 done
53355
53356 else
53357
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53359 $as_echo_n "checking for _atan2f declaration... " >&6; }
53360 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53361 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53362 $as_echo_n "(cached) " >&6
53363 else
53364
53365
53366 ac_ext=cpp
53367 ac_cpp='$CXXCPP $CPPFLAGS'
53368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53371
53372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53373 /* end confdefs.h. */
53374 #include <math.h>
53375 int
53376 main ()
53377 {
53378 _atan2f(0, 0);
53379 ;
53380 return 0;
53381 }
53382 _ACEOF
53383 if ac_fn_cxx_try_compile "$LINENO"; then :
53384 glibcxx_cv_func__atan2f_use=yes
53385 else
53386 glibcxx_cv_func__atan2f_use=no
53387 fi
53388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53389 ac_ext=c
53390 ac_cpp='$CPP $CPPFLAGS'
53391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394
53395
53396 fi
53397
53398 fi
53399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53400 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53401
53402 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53403 for ac_func in _atan2f
53404 do :
53405 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53406 if test "x$ac_cv_func__atan2f" = x""yes; then :
53407 cat >>confdefs.h <<_ACEOF
53408 #define HAVE__ATAN2F 1
53409 _ACEOF
53410
53411 fi
53412 done
53413
53414 fi
53415 fi
53416
53417
53418
53419
53420
53421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53422 $as_echo_n "checking for fabsf declaration... " >&6; }
53423 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53424 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53425 $as_echo_n "(cached) " >&6
53426 else
53427
53428
53429 ac_ext=cpp
53430 ac_cpp='$CXXCPP $CPPFLAGS'
53431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53434
53435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53436 /* end confdefs.h. */
53437 #include <math.h>
53438 #ifdef HAVE_IEEEFP_H
53439 #include <ieeefp.h>
53440 #endif
53441
53442 int
53443 main ()
53444 {
53445 fabsf(0);
53446 ;
53447 return 0;
53448 }
53449 _ACEOF
53450 if ac_fn_cxx_try_compile "$LINENO"; then :
53451 glibcxx_cv_func_fabsf_use=yes
53452 else
53453 glibcxx_cv_func_fabsf_use=no
53454 fi
53455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53456 ac_ext=c
53457 ac_cpp='$CPP $CPPFLAGS'
53458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53461
53462
53463 fi
53464
53465 fi
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53467 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53468
53469 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53470 for ac_func in fabsf
53471 do :
53472 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53473 if test "x$ac_cv_func_fabsf" = x""yes; then :
53474 cat >>confdefs.h <<_ACEOF
53475 #define HAVE_FABSF 1
53476 _ACEOF
53477
53478 fi
53479 done
53480
53481 else
53482
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53484 $as_echo_n "checking for _fabsf declaration... " >&6; }
53485 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53486 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53487 $as_echo_n "(cached) " >&6
53488 else
53489
53490
53491 ac_ext=cpp
53492 ac_cpp='$CXXCPP $CPPFLAGS'
53493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53496
53497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53498 /* end confdefs.h. */
53499 #include <math.h>
53500 #ifdef HAVE_IEEEFP_H
53501 #include <ieeefp.h>
53502 #endif
53503
53504 int
53505 main ()
53506 {
53507 _fabsf(0);
53508 ;
53509 return 0;
53510 }
53511 _ACEOF
53512 if ac_fn_cxx_try_compile "$LINENO"; then :
53513 glibcxx_cv_func__fabsf_use=yes
53514 else
53515 glibcxx_cv_func__fabsf_use=no
53516 fi
53517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53518 ac_ext=c
53519 ac_cpp='$CPP $CPPFLAGS'
53520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53523
53524
53525 fi
53526
53527 fi
53528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53529 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53530
53531 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53532 for ac_func in _fabsf
53533 do :
53534 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53535 if test "x$ac_cv_func__fabsf" = x""yes; then :
53536 cat >>confdefs.h <<_ACEOF
53537 #define HAVE__FABSF 1
53538 _ACEOF
53539
53540 fi
53541 done
53542
53543 fi
53544 fi
53545
53546
53547
53548
53549
53550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53551 $as_echo_n "checking for fmodf declaration... " >&6; }
53552 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53553 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53554 $as_echo_n "(cached) " >&6
53555 else
53556
53557
53558 ac_ext=cpp
53559 ac_cpp='$CXXCPP $CPPFLAGS'
53560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53563
53564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53565 /* end confdefs.h. */
53566 #include <math.h>
53567 int
53568 main ()
53569 {
53570 fmodf(0, 0);
53571 ;
53572 return 0;
53573 }
53574 _ACEOF
53575 if ac_fn_cxx_try_compile "$LINENO"; then :
53576 glibcxx_cv_func_fmodf_use=yes
53577 else
53578 glibcxx_cv_func_fmodf_use=no
53579 fi
53580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53581 ac_ext=c
53582 ac_cpp='$CPP $CPPFLAGS'
53583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53586
53587
53588 fi
53589
53590 fi
53591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53592 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53593
53594 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53595 for ac_func in fmodf
53596 do :
53597 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53598 if test "x$ac_cv_func_fmodf" = x""yes; then :
53599 cat >>confdefs.h <<_ACEOF
53600 #define HAVE_FMODF 1
53601 _ACEOF
53602
53603 fi
53604 done
53605
53606 else
53607
53608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53609 $as_echo_n "checking for _fmodf declaration... " >&6; }
53610 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53611 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53612 $as_echo_n "(cached) " >&6
53613 else
53614
53615
53616 ac_ext=cpp
53617 ac_cpp='$CXXCPP $CPPFLAGS'
53618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53621
53622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53623 /* end confdefs.h. */
53624 #include <math.h>
53625 int
53626 main ()
53627 {
53628 _fmodf(0, 0);
53629 ;
53630 return 0;
53631 }
53632 _ACEOF
53633 if ac_fn_cxx_try_compile "$LINENO"; then :
53634 glibcxx_cv_func__fmodf_use=yes
53635 else
53636 glibcxx_cv_func__fmodf_use=no
53637 fi
53638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53639 ac_ext=c
53640 ac_cpp='$CPP $CPPFLAGS'
53641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53644
53645
53646 fi
53647
53648 fi
53649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53650 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53651
53652 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53653 for ac_func in _fmodf
53654 do :
53655 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53656 if test "x$ac_cv_func__fmodf" = x""yes; then :
53657 cat >>confdefs.h <<_ACEOF
53658 #define HAVE__FMODF 1
53659 _ACEOF
53660
53661 fi
53662 done
53663
53664 fi
53665 fi
53666
53667
53668
53669
53670
53671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53672 $as_echo_n "checking for frexpf declaration... " >&6; }
53673 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53674 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53675 $as_echo_n "(cached) " >&6
53676 else
53677
53678
53679 ac_ext=cpp
53680 ac_cpp='$CXXCPP $CPPFLAGS'
53681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53684
53685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53686 /* end confdefs.h. */
53687 #include <math.h>
53688 int
53689 main ()
53690 {
53691 frexpf(0, 0);
53692 ;
53693 return 0;
53694 }
53695 _ACEOF
53696 if ac_fn_cxx_try_compile "$LINENO"; then :
53697 glibcxx_cv_func_frexpf_use=yes
53698 else
53699 glibcxx_cv_func_frexpf_use=no
53700 fi
53701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53702 ac_ext=c
53703 ac_cpp='$CPP $CPPFLAGS'
53704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53707
53708
53709 fi
53710
53711 fi
53712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53713 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53714
53715 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53716 for ac_func in frexpf
53717 do :
53718 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53719 if test "x$ac_cv_func_frexpf" = x""yes; then :
53720 cat >>confdefs.h <<_ACEOF
53721 #define HAVE_FREXPF 1
53722 _ACEOF
53723
53724 fi
53725 done
53726
53727 else
53728
53729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53730 $as_echo_n "checking for _frexpf declaration... " >&6; }
53731 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53732 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53733 $as_echo_n "(cached) " >&6
53734 else
53735
53736
53737 ac_ext=cpp
53738 ac_cpp='$CXXCPP $CPPFLAGS'
53739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742
53743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53744 /* end confdefs.h. */
53745 #include <math.h>
53746 int
53747 main ()
53748 {
53749 _frexpf(0, 0);
53750 ;
53751 return 0;
53752 }
53753 _ACEOF
53754 if ac_fn_cxx_try_compile "$LINENO"; then :
53755 glibcxx_cv_func__frexpf_use=yes
53756 else
53757 glibcxx_cv_func__frexpf_use=no
53758 fi
53759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53760 ac_ext=c
53761 ac_cpp='$CPP $CPPFLAGS'
53762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53765
53766
53767 fi
53768
53769 fi
53770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53771 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53772
53773 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53774 for ac_func in _frexpf
53775 do :
53776 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53777 if test "x$ac_cv_func__frexpf" = x""yes; then :
53778 cat >>confdefs.h <<_ACEOF
53779 #define HAVE__FREXPF 1
53780 _ACEOF
53781
53782 fi
53783 done
53784
53785 fi
53786 fi
53787
53788
53789
53790
53791
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53793 $as_echo_n "checking for hypotf declaration... " >&6; }
53794 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53795 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53796 $as_echo_n "(cached) " >&6
53797 else
53798
53799
53800 ac_ext=cpp
53801 ac_cpp='$CXXCPP $CPPFLAGS'
53802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53805
53806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53807 /* end confdefs.h. */
53808 #include <math.h>
53809 int
53810 main ()
53811 {
53812 hypotf(0, 0);
53813 ;
53814 return 0;
53815 }
53816 _ACEOF
53817 if ac_fn_cxx_try_compile "$LINENO"; then :
53818 glibcxx_cv_func_hypotf_use=yes
53819 else
53820 glibcxx_cv_func_hypotf_use=no
53821 fi
53822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53823 ac_ext=c
53824 ac_cpp='$CPP $CPPFLAGS'
53825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53828
53829
53830 fi
53831
53832 fi
53833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53834 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53835
53836 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53837 for ac_func in hypotf
53838 do :
53839 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53840 if test "x$ac_cv_func_hypotf" = x""yes; then :
53841 cat >>confdefs.h <<_ACEOF
53842 #define HAVE_HYPOTF 1
53843 _ACEOF
53844
53845 fi
53846 done
53847
53848 else
53849
53850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53851 $as_echo_n "checking for _hypotf declaration... " >&6; }
53852 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53853 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53854 $as_echo_n "(cached) " >&6
53855 else
53856
53857
53858 ac_ext=cpp
53859 ac_cpp='$CXXCPP $CPPFLAGS'
53860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53863
53864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865 /* end confdefs.h. */
53866 #include <math.h>
53867 int
53868 main ()
53869 {
53870 _hypotf(0, 0);
53871 ;
53872 return 0;
53873 }
53874 _ACEOF
53875 if ac_fn_cxx_try_compile "$LINENO"; then :
53876 glibcxx_cv_func__hypotf_use=yes
53877 else
53878 glibcxx_cv_func__hypotf_use=no
53879 fi
53880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53881 ac_ext=c
53882 ac_cpp='$CPP $CPPFLAGS'
53883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53886
53887
53888 fi
53889
53890 fi
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53892 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53893
53894 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53895 for ac_func in _hypotf
53896 do :
53897 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53898 if test "x$ac_cv_func__hypotf" = x""yes; then :
53899 cat >>confdefs.h <<_ACEOF
53900 #define HAVE__HYPOTF 1
53901 _ACEOF
53902
53903 fi
53904 done
53905
53906 fi
53907 fi
53908
53909
53910
53911
53912
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53914 $as_echo_n "checking for ldexpf declaration... " >&6; }
53915 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53916 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53917 $as_echo_n "(cached) " >&6
53918 else
53919
53920
53921 ac_ext=cpp
53922 ac_cpp='$CXXCPP $CPPFLAGS'
53923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53926
53927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53928 /* end confdefs.h. */
53929 #include <math.h>
53930 int
53931 main ()
53932 {
53933 ldexpf(0, 0);
53934 ;
53935 return 0;
53936 }
53937 _ACEOF
53938 if ac_fn_cxx_try_compile "$LINENO"; then :
53939 glibcxx_cv_func_ldexpf_use=yes
53940 else
53941 glibcxx_cv_func_ldexpf_use=no
53942 fi
53943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53944 ac_ext=c
53945 ac_cpp='$CPP $CPPFLAGS'
53946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949
53950
53951 fi
53952
53953 fi
53954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53955 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53956
53957 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53958 for ac_func in ldexpf
53959 do :
53960 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53961 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53962 cat >>confdefs.h <<_ACEOF
53963 #define HAVE_LDEXPF 1
53964 _ACEOF
53965
53966 fi
53967 done
53968
53969 else
53970
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53972 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53973 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53974 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53977
53978
53979 ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 #include <math.h>
53988 int
53989 main ()
53990 {
53991 _ldexpf(0, 0);
53992 ;
53993 return 0;
53994 }
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func__ldexpf_use=yes
53998 else
53999 glibcxx_cv_func__ldexpf_use=no
54000 fi
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007
54008
54009 fi
54010
54011 fi
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54013 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54014
54015 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54016 for ac_func in _ldexpf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54019 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE__LDEXPF 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027 fi
54028 fi
54029
54030
54031
54032
54033
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54035 $as_echo_n "checking for logf declaration... " >&6; }
54036 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54037 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54038 $as_echo_n "(cached) " >&6
54039 else
54040
54041
54042 ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54047
54048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h. */
54050 #include <math.h>
54051 #ifdef HAVE_IEEEFP_H
54052 #include <ieeefp.h>
54053 #endif
54054
54055 int
54056 main ()
54057 {
54058 logf(0);
54059 ;
54060 return 0;
54061 }
54062 _ACEOF
54063 if ac_fn_cxx_try_compile "$LINENO"; then :
54064 glibcxx_cv_func_logf_use=yes
54065 else
54066 glibcxx_cv_func_logf_use=no
54067 fi
54068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54069 ac_ext=c
54070 ac_cpp='$CPP $CPPFLAGS'
54071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54074
54075
54076 fi
54077
54078 fi
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54080 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54081
54082 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54083 for ac_func in logf
54084 do :
54085 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54086 if test "x$ac_cv_func_logf" = x""yes; then :
54087 cat >>confdefs.h <<_ACEOF
54088 #define HAVE_LOGF 1
54089 _ACEOF
54090
54091 fi
54092 done
54093
54094 else
54095
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54097 $as_echo_n "checking for _logf declaration... " >&6; }
54098 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54099 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54100 $as_echo_n "(cached) " >&6
54101 else
54102
54103
54104 ac_ext=cpp
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54109
54110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54111 /* end confdefs.h. */
54112 #include <math.h>
54113 #ifdef HAVE_IEEEFP_H
54114 #include <ieeefp.h>
54115 #endif
54116
54117 int
54118 main ()
54119 {
54120 _logf(0);
54121 ;
54122 return 0;
54123 }
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func__logf_use=yes
54127 else
54128 glibcxx_cv_func__logf_use=no
54129 fi
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136
54137
54138 fi
54139
54140 fi
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54142 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54143
54144 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54145 for ac_func in _logf
54146 do :
54147 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54148 if test "x$ac_cv_func__logf" = x""yes; then :
54149 cat >>confdefs.h <<_ACEOF
54150 #define HAVE__LOGF 1
54151 _ACEOF
54152
54153 fi
54154 done
54155
54156 fi
54157 fi
54158
54159
54160
54161
54162
54163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54164 $as_echo_n "checking for log10f declaration... " >&6; }
54165 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54166 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54167 $as_echo_n "(cached) " >&6
54168 else
54169
54170
54171 ac_ext=cpp
54172 ac_cpp='$CXXCPP $CPPFLAGS'
54173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54176
54177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54178 /* end confdefs.h. */
54179 #include <math.h>
54180 #ifdef HAVE_IEEEFP_H
54181 #include <ieeefp.h>
54182 #endif
54183
54184 int
54185 main ()
54186 {
54187 log10f(0);
54188 ;
54189 return 0;
54190 }
54191 _ACEOF
54192 if ac_fn_cxx_try_compile "$LINENO"; then :
54193 glibcxx_cv_func_log10f_use=yes
54194 else
54195 glibcxx_cv_func_log10f_use=no
54196 fi
54197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54198 ac_ext=c
54199 ac_cpp='$CPP $CPPFLAGS'
54200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54203
54204
54205 fi
54206
54207 fi
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54209 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54210
54211 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54212 for ac_func in log10f
54213 do :
54214 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54215 if test "x$ac_cv_func_log10f" = x""yes; then :
54216 cat >>confdefs.h <<_ACEOF
54217 #define HAVE_LOG10F 1
54218 _ACEOF
54219
54220 fi
54221 done
54222
54223 else
54224
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54226 $as_echo_n "checking for _log10f declaration... " >&6; }
54227 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54228 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54229 $as_echo_n "(cached) " >&6
54230 else
54231
54232
54233 ac_ext=cpp
54234 ac_cpp='$CXXCPP $CPPFLAGS'
54235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54238
54239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54240 /* end confdefs.h. */
54241 #include <math.h>
54242 #ifdef HAVE_IEEEFP_H
54243 #include <ieeefp.h>
54244 #endif
54245
54246 int
54247 main ()
54248 {
54249 _log10f(0);
54250 ;
54251 return 0;
54252 }
54253 _ACEOF
54254 if ac_fn_cxx_try_compile "$LINENO"; then :
54255 glibcxx_cv_func__log10f_use=yes
54256 else
54257 glibcxx_cv_func__log10f_use=no
54258 fi
54259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54260 ac_ext=c
54261 ac_cpp='$CPP $CPPFLAGS'
54262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54265
54266
54267 fi
54268
54269 fi
54270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54271 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54272
54273 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54274 for ac_func in _log10f
54275 do :
54276 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54277 if test "x$ac_cv_func__log10f" = x""yes; then :
54278 cat >>confdefs.h <<_ACEOF
54279 #define HAVE__LOG10F 1
54280 _ACEOF
54281
54282 fi
54283 done
54284
54285 fi
54286 fi
54287
54288
54289
54290
54291
54292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54293 $as_echo_n "checking for modff declaration... " >&6; }
54294 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54295 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54296 $as_echo_n "(cached) " >&6
54297 else
54298
54299
54300 ac_ext=cpp
54301 ac_cpp='$CXXCPP $CPPFLAGS'
54302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54305
54306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54307 /* end confdefs.h. */
54308 #include <math.h>
54309 int
54310 main ()
54311 {
54312 modff(0, 0);
54313 ;
54314 return 0;
54315 }
54316 _ACEOF
54317 if ac_fn_cxx_try_compile "$LINENO"; then :
54318 glibcxx_cv_func_modff_use=yes
54319 else
54320 glibcxx_cv_func_modff_use=no
54321 fi
54322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54323 ac_ext=c
54324 ac_cpp='$CPP $CPPFLAGS'
54325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54328
54329
54330 fi
54331
54332 fi
54333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54334 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54335
54336 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54337 for ac_func in modff
54338 do :
54339 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54340 if test "x$ac_cv_func_modff" = x""yes; then :
54341 cat >>confdefs.h <<_ACEOF
54342 #define HAVE_MODFF 1
54343 _ACEOF
54344
54345 fi
54346 done
54347
54348 else
54349
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54351 $as_echo_n "checking for _modff declaration... " >&6; }
54352 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54353 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54356
54357
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54363
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54367 int
54368 main ()
54369 {
54370 _modff(0, 0);
54371 ;
54372 return 0;
54373 }
54374 _ACEOF
54375 if ac_fn_cxx_try_compile "$LINENO"; then :
54376 glibcxx_cv_func__modff_use=yes
54377 else
54378 glibcxx_cv_func__modff_use=no
54379 fi
54380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54381 ac_ext=c
54382 ac_cpp='$CPP $CPPFLAGS'
54383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386
54387
54388 fi
54389
54390 fi
54391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54392 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54393
54394 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54395 for ac_func in _modff
54396 do :
54397 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54398 if test "x$ac_cv_func__modff" = x""yes; then :
54399 cat >>confdefs.h <<_ACEOF
54400 #define HAVE__MODFF 1
54401 _ACEOF
54402
54403 fi
54404 done
54405
54406 fi
54407 fi
54408
54409
54410
54411
54412
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54414 $as_echo_n "checking for modf declaration... " >&6; }
54415 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54416 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54417 $as_echo_n "(cached) " >&6
54418 else
54419
54420
54421 ac_ext=cpp
54422 ac_cpp='$CXXCPP $CPPFLAGS'
54423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426
54427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54428 /* end confdefs.h. */
54429 #include <math.h>
54430 int
54431 main ()
54432 {
54433 modf(0, 0);
54434 ;
54435 return 0;
54436 }
54437 _ACEOF
54438 if ac_fn_cxx_try_compile "$LINENO"; then :
54439 glibcxx_cv_func_modf_use=yes
54440 else
54441 glibcxx_cv_func_modf_use=no
54442 fi
54443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54444 ac_ext=c
54445 ac_cpp='$CPP $CPPFLAGS'
54446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54449
54450
54451 fi
54452
54453 fi
54454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54455 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54456
54457 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54458 for ac_func in modf
54459 do :
54460 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54461 if test "x$ac_cv_func_modf" = x""yes; then :
54462 cat >>confdefs.h <<_ACEOF
54463 #define HAVE_MODF 1
54464 _ACEOF
54465
54466 fi
54467 done
54468
54469 else
54470
54471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54472 $as_echo_n "checking for _modf declaration... " >&6; }
54473 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54474 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54475 $as_echo_n "(cached) " >&6
54476 else
54477
54478
54479 ac_ext=cpp
54480 ac_cpp='$CXXCPP $CPPFLAGS'
54481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484
54485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54486 /* end confdefs.h. */
54487 #include <math.h>
54488 int
54489 main ()
54490 {
54491 _modf(0, 0);
54492 ;
54493 return 0;
54494 }
54495 _ACEOF
54496 if ac_fn_cxx_try_compile "$LINENO"; then :
54497 glibcxx_cv_func__modf_use=yes
54498 else
54499 glibcxx_cv_func__modf_use=no
54500 fi
54501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54502 ac_ext=c
54503 ac_cpp='$CPP $CPPFLAGS'
54504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54507
54508
54509 fi
54510
54511 fi
54512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54513 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54514
54515 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54516 for ac_func in _modf
54517 do :
54518 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54519 if test "x$ac_cv_func__modf" = x""yes; then :
54520 cat >>confdefs.h <<_ACEOF
54521 #define HAVE__MODF 1
54522 _ACEOF
54523
54524 fi
54525 done
54526
54527 fi
54528 fi
54529
54530
54531
54532
54533
54534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54535 $as_echo_n "checking for powf declaration... " >&6; }
54536 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54537 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54538 $as_echo_n "(cached) " >&6
54539 else
54540
54541
54542 ac_ext=cpp
54543 ac_cpp='$CXXCPP $CPPFLAGS'
54544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54547
54548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54549 /* end confdefs.h. */
54550 #include <math.h>
54551 int
54552 main ()
54553 {
54554 powf(0, 0);
54555 ;
54556 return 0;
54557 }
54558 _ACEOF
54559 if ac_fn_cxx_try_compile "$LINENO"; then :
54560 glibcxx_cv_func_powf_use=yes
54561 else
54562 glibcxx_cv_func_powf_use=no
54563 fi
54564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54565 ac_ext=c
54566 ac_cpp='$CPP $CPPFLAGS'
54567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570
54571
54572 fi
54573
54574 fi
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54576 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54577
54578 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54579 for ac_func in powf
54580 do :
54581 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54582 if test "x$ac_cv_func_powf" = x""yes; then :
54583 cat >>confdefs.h <<_ACEOF
54584 #define HAVE_POWF 1
54585 _ACEOF
54586
54587 fi
54588 done
54589
54590 else
54591
54592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54593 $as_echo_n "checking for _powf declaration... " >&6; }
54594 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54595 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54596 $as_echo_n "(cached) " >&6
54597 else
54598
54599
54600 ac_ext=cpp
54601 ac_cpp='$CXXCPP $CPPFLAGS'
54602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54605
54606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54607 /* end confdefs.h. */
54608 #include <math.h>
54609 int
54610 main ()
54611 {
54612 _powf(0, 0);
54613 ;
54614 return 0;
54615 }
54616 _ACEOF
54617 if ac_fn_cxx_try_compile "$LINENO"; then :
54618 glibcxx_cv_func__powf_use=yes
54619 else
54620 glibcxx_cv_func__powf_use=no
54621 fi
54622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54623 ac_ext=c
54624 ac_cpp='$CPP $CPPFLAGS'
54625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54628
54629
54630 fi
54631
54632 fi
54633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54634 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54635
54636 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54637 for ac_func in _powf
54638 do :
54639 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54640 if test "x$ac_cv_func__powf" = x""yes; then :
54641 cat >>confdefs.h <<_ACEOF
54642 #define HAVE__POWF 1
54643 _ACEOF
54644
54645 fi
54646 done
54647
54648 fi
54649 fi
54650
54651
54652
54653
54654
54655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54656 $as_echo_n "checking for sqrtf declaration... " >&6; }
54657 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54658 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54659 $as_echo_n "(cached) " >&6
54660 else
54661
54662
54663 ac_ext=cpp
54664 ac_cpp='$CXXCPP $CPPFLAGS'
54665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668
54669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54670 /* end confdefs.h. */
54671 #include <math.h>
54672 #ifdef HAVE_IEEEFP_H
54673 #include <ieeefp.h>
54674 #endif
54675
54676 int
54677 main ()
54678 {
54679 sqrtf(0);
54680 ;
54681 return 0;
54682 }
54683 _ACEOF
54684 if ac_fn_cxx_try_compile "$LINENO"; then :
54685 glibcxx_cv_func_sqrtf_use=yes
54686 else
54687 glibcxx_cv_func_sqrtf_use=no
54688 fi
54689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54690 ac_ext=c
54691 ac_cpp='$CPP $CPPFLAGS'
54692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54695
54696
54697 fi
54698
54699 fi
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54701 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54702
54703 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54704 for ac_func in sqrtf
54705 do :
54706 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54707 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54708 cat >>confdefs.h <<_ACEOF
54709 #define HAVE_SQRTF 1
54710 _ACEOF
54711
54712 fi
54713 done
54714
54715 else
54716
54717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54718 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54719 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54720 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54721 $as_echo_n "(cached) " >&6
54722 else
54723
54724
54725 ac_ext=cpp
54726 ac_cpp='$CXXCPP $CPPFLAGS'
54727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54730
54731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54732 /* end confdefs.h. */
54733 #include <math.h>
54734 #ifdef HAVE_IEEEFP_H
54735 #include <ieeefp.h>
54736 #endif
54737
54738 int
54739 main ()
54740 {
54741 _sqrtf(0);
54742 ;
54743 return 0;
54744 }
54745 _ACEOF
54746 if ac_fn_cxx_try_compile "$LINENO"; then :
54747 glibcxx_cv_func__sqrtf_use=yes
54748 else
54749 glibcxx_cv_func__sqrtf_use=no
54750 fi
54751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54752 ac_ext=c
54753 ac_cpp='$CPP $CPPFLAGS'
54754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54757
54758
54759 fi
54760
54761 fi
54762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54763 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54764
54765 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54766 for ac_func in _sqrtf
54767 do :
54768 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54769 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54770 cat >>confdefs.h <<_ACEOF
54771 #define HAVE__SQRTF 1
54772 _ACEOF
54773
54774 fi
54775 done
54776
54777 fi
54778 fi
54779
54780
54781
54782
54783
54784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54785 $as_echo_n "checking for sincosf declaration... " >&6; }
54786 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54787 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54788 $as_echo_n "(cached) " >&6
54789 else
54790
54791
54792 ac_ext=cpp
54793 ac_cpp='$CXXCPP $CPPFLAGS'
54794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54797
54798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54799 /* end confdefs.h. */
54800 #include <math.h>
54801 int
54802 main ()
54803 {
54804 sincosf(0, 0, 0);
54805 ;
54806 return 0;
54807 }
54808 _ACEOF
54809 if ac_fn_cxx_try_compile "$LINENO"; then :
54810 glibcxx_cv_func_sincosf_use=yes
54811 else
54812 glibcxx_cv_func_sincosf_use=no
54813 fi
54814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54815 ac_ext=c
54816 ac_cpp='$CPP $CPPFLAGS'
54817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54820
54821
54822 fi
54823
54824 fi
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54826 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54827
54828 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54829 for ac_func in sincosf
54830 do :
54831 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54832 if test "x$ac_cv_func_sincosf" = x""yes; then :
54833 cat >>confdefs.h <<_ACEOF
54834 #define HAVE_SINCOSF 1
54835 _ACEOF
54836
54837 fi
54838 done
54839
54840 else
54841
54842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54843 $as_echo_n "checking for _sincosf declaration... " >&6; }
54844 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54845 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54846 $as_echo_n "(cached) " >&6
54847 else
54848
54849
54850 ac_ext=cpp
54851 ac_cpp='$CXXCPP $CPPFLAGS'
54852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54855
54856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54857 /* end confdefs.h. */
54858 #include <math.h>
54859 int
54860 main ()
54861 {
54862 _sincosf(0, 0, 0);
54863 ;
54864 return 0;
54865 }
54866 _ACEOF
54867 if ac_fn_cxx_try_compile "$LINENO"; then :
54868 glibcxx_cv_func__sincosf_use=yes
54869 else
54870 glibcxx_cv_func__sincosf_use=no
54871 fi
54872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54873 ac_ext=c
54874 ac_cpp='$CPP $CPPFLAGS'
54875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54878
54879
54880 fi
54881
54882 fi
54883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54884 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54885
54886 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54887 for ac_func in _sincosf
54888 do :
54889 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54890 if test "x$ac_cv_func__sincosf" = x""yes; then :
54891 cat >>confdefs.h <<_ACEOF
54892 #define HAVE__SINCOSF 1
54893 _ACEOF
54894
54895 fi
54896 done
54897
54898 fi
54899 fi
54900
54901
54902
54903
54904
54905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54906 $as_echo_n "checking for finitef declaration... " >&6; }
54907 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54908 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54909 $as_echo_n "(cached) " >&6
54910 else
54911
54912
54913 ac_ext=cpp
54914 ac_cpp='$CXXCPP $CPPFLAGS'
54915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918
54919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54920 /* end confdefs.h. */
54921 #include <math.h>
54922 #ifdef HAVE_IEEEFP_H
54923 #include <ieeefp.h>
54924 #endif
54925
54926 int
54927 main ()
54928 {
54929 finitef(0);
54930 ;
54931 return 0;
54932 }
54933 _ACEOF
54934 if ac_fn_cxx_try_compile "$LINENO"; then :
54935 glibcxx_cv_func_finitef_use=yes
54936 else
54937 glibcxx_cv_func_finitef_use=no
54938 fi
54939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54940 ac_ext=c
54941 ac_cpp='$CPP $CPPFLAGS'
54942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54945
54946
54947 fi
54948
54949 fi
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54951 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54952
54953 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54954 for ac_func in finitef
54955 do :
54956 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54957 if test "x$ac_cv_func_finitef" = x""yes; then :
54958 cat >>confdefs.h <<_ACEOF
54959 #define HAVE_FINITEF 1
54960 _ACEOF
54961
54962 fi
54963 done
54964
54965 else
54966
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54968 $as_echo_n "checking for _finitef declaration... " >&6; }
54969 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54970 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54971 $as_echo_n "(cached) " >&6
54972 else
54973
54974
54975 ac_ext=cpp
54976 ac_cpp='$CXXCPP $CPPFLAGS'
54977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980
54981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54982 /* end confdefs.h. */
54983 #include <math.h>
54984 #ifdef HAVE_IEEEFP_H
54985 #include <ieeefp.h>
54986 #endif
54987
54988 int
54989 main ()
54990 {
54991 _finitef(0);
54992 ;
54993 return 0;
54994 }
54995 _ACEOF
54996 if ac_fn_cxx_try_compile "$LINENO"; then :
54997 glibcxx_cv_func__finitef_use=yes
54998 else
54999 glibcxx_cv_func__finitef_use=no
55000 fi
55001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55002 ac_ext=c
55003 ac_cpp='$CPP $CPPFLAGS'
55004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55007
55008
55009 fi
55010
55011 fi
55012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55013 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55014
55015 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55016 for ac_func in _finitef
55017 do :
55018 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55019 if test "x$ac_cv_func__finitef" = x""yes; then :
55020 cat >>confdefs.h <<_ACEOF
55021 #define HAVE__FINITEF 1
55022 _ACEOF
55023
55024 fi
55025 done
55026
55027 fi
55028 fi
55029
55030
55031
55032
55033
55034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55035 $as_echo_n "checking for long double trig functions... " >&6; }
55036 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55037 $as_echo_n "(cached) " >&6
55038 else
55039
55040
55041 ac_ext=cpp
55042 ac_cpp='$CXXCPP $CPPFLAGS'
55043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046
55047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55048 /* end confdefs.h. */
55049 #include <math.h>
55050 int
55051 main ()
55052 {
55053 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55054 ;
55055 return 0;
55056 }
55057 _ACEOF
55058 if ac_fn_cxx_try_compile "$LINENO"; then :
55059 glibcxx_cv_func_long_double_trig_use=yes
55060 else
55061 glibcxx_cv_func_long_double_trig_use=no
55062 fi
55063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55064 ac_ext=c
55065 ac_cpp='$CPP $CPPFLAGS'
55066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55069
55070 fi
55071
55072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55073 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55074 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55075 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55076 do :
55077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55079 eval as_val=\$$as_ac_var
55080 if test "x$as_val" = x""yes; then :
55081 cat >>confdefs.h <<_ACEOF
55082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55083 _ACEOF
55084
55085 fi
55086 done
55087
55088 else
55089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55090 $as_echo_n "checking for _long double trig functions... " >&6; }
55091 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55092 $as_echo_n "(cached) " >&6
55093 else
55094
55095
55096 ac_ext=cpp
55097 ac_cpp='$CXXCPP $CPPFLAGS'
55098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101
55102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55103 /* end confdefs.h. */
55104 #include <math.h>
55105 int
55106 main ()
55107 {
55108 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55109 ;
55110 return 0;
55111 }
55112 _ACEOF
55113 if ac_fn_cxx_try_compile "$LINENO"; then :
55114 glibcxx_cv_func__long_double_trig_use=yes
55115 else
55116 glibcxx_cv_func__long_double_trig_use=no
55117 fi
55118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55119 ac_ext=c
55120 ac_cpp='$CPP $CPPFLAGS'
55121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124
55125 fi
55126
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55128 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55129 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55130 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55131 do :
55132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55134 eval as_val=\$$as_ac_var
55135 if test "x$as_val" = x""yes; then :
55136 cat >>confdefs.h <<_ACEOF
55137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55138 _ACEOF
55139
55140 fi
55141 done
55142
55143 fi
55144 fi
55145
55146
55147
55148
55149
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55151 $as_echo_n "checking for long double round functions... " >&6; }
55152 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55153 $as_echo_n "(cached) " >&6
55154 else
55155
55156
55157 ac_ext=cpp
55158 ac_cpp='$CXXCPP $CPPFLAGS'
55159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162
55163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164 /* end confdefs.h. */
55165 #include <math.h>
55166 int
55167 main ()
55168 {
55169 ceill (0); floorl (0);
55170 ;
55171 return 0;
55172 }
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func_long_double_round_use=yes
55176 else
55177 glibcxx_cv_func_long_double_round_use=no
55178 fi
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185
55186 fi
55187
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55189 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55190 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55191 for ac_func in ceill floorl
55192 do :
55193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55195 eval as_val=\$$as_ac_var
55196 if test "x$as_val" = x""yes; then :
55197 cat >>confdefs.h <<_ACEOF
55198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55199 _ACEOF
55200
55201 fi
55202 done
55203
55204 else
55205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55206 $as_echo_n "checking for _long double round functions... " >&6; }
55207 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55210
55211
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55221 int
55222 main ()
55223 {
55224 _ceill (0); _floorl (0);
55225 ;
55226 return 0;
55227 }
55228 _ACEOF
55229 if ac_fn_cxx_try_compile "$LINENO"; then :
55230 glibcxx_cv_func__long_double_round_use=yes
55231 else
55232 glibcxx_cv_func__long_double_round_use=no
55233 fi
55234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55235 ac_ext=c
55236 ac_cpp='$CPP $CPPFLAGS'
55237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55240
55241 fi
55242
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55244 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55245 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55246 for ac_func in _ceill _floorl
55247 do :
55248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55250 eval as_val=\$$as_ac_var
55251 if test "x$as_val" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55254 _ACEOF
55255
55256 fi
55257 done
55258
55259 fi
55260 fi
55261
55262
55263
55264
55265
55266
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55268 $as_echo_n "checking for isnanl declaration... " >&6; }
55269 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55270 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55271 $as_echo_n "(cached) " >&6
55272 else
55273
55274
55275 ac_ext=cpp
55276 ac_cpp='$CXXCPP $CPPFLAGS'
55277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280
55281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55282 /* end confdefs.h. */
55283 #include <math.h>
55284 #ifdef HAVE_IEEEFP_H
55285 #include <ieeefp.h>
55286 #endif
55287
55288 int
55289 main ()
55290 {
55291 isnanl(0);
55292 ;
55293 return 0;
55294 }
55295 _ACEOF
55296 if ac_fn_cxx_try_compile "$LINENO"; then :
55297 glibcxx_cv_func_isnanl_use=yes
55298 else
55299 glibcxx_cv_func_isnanl_use=no
55300 fi
55301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55302 ac_ext=c
55303 ac_cpp='$CPP $CPPFLAGS'
55304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55307
55308
55309 fi
55310
55311 fi
55312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55313 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55314
55315 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55316 for ac_func in isnanl
55317 do :
55318 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55319 if test "x$ac_cv_func_isnanl" = x""yes; then :
55320 cat >>confdefs.h <<_ACEOF
55321 #define HAVE_ISNANL 1
55322 _ACEOF
55323
55324 fi
55325 done
55326
55327 else
55328
55329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55330 $as_echo_n "checking for _isnanl declaration... " >&6; }
55331 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55332 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55333 $as_echo_n "(cached) " >&6
55334 else
55335
55336
55337 ac_ext=cpp
55338 ac_cpp='$CXXCPP $CPPFLAGS'
55339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55342
55343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55344 /* end confdefs.h. */
55345 #include <math.h>
55346 #ifdef HAVE_IEEEFP_H
55347 #include <ieeefp.h>
55348 #endif
55349
55350 int
55351 main ()
55352 {
55353 _isnanl(0);
55354 ;
55355 return 0;
55356 }
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func__isnanl_use=yes
55360 else
55361 glibcxx_cv_func__isnanl_use=no
55362 fi
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364 ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55369
55370
55371 fi
55372
55373 fi
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55375 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55376
55377 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55378 for ac_func in _isnanl
55379 do :
55380 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55381 if test "x$ac_cv_func__isnanl" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE__ISNANL 1
55384 _ACEOF
55385
55386 fi
55387 done
55388
55389 fi
55390 fi
55391
55392
55393
55394
55395
55396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55397 $as_echo_n "checking for isinfl declaration... " >&6; }
55398 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55399 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55402
55403
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55413 #ifdef HAVE_IEEEFP_H
55414 #include <ieeefp.h>
55415 #endif
55416
55417 int
55418 main ()
55419 {
55420 isinfl(0);
55421 ;
55422 return 0;
55423 }
55424 _ACEOF
55425 if ac_fn_cxx_try_compile "$LINENO"; then :
55426 glibcxx_cv_func_isinfl_use=yes
55427 else
55428 glibcxx_cv_func_isinfl_use=no
55429 fi
55430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55431 ac_ext=c
55432 ac_cpp='$CPP $CPPFLAGS'
55433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55436
55437
55438 fi
55439
55440 fi
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55442 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55443
55444 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55445 for ac_func in isinfl
55446 do :
55447 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55448 if test "x$ac_cv_func_isinfl" = x""yes; then :
55449 cat >>confdefs.h <<_ACEOF
55450 #define HAVE_ISINFL 1
55451 _ACEOF
55452
55453 fi
55454 done
55455
55456 else
55457
55458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55459 $as_echo_n "checking for _isinfl declaration... " >&6; }
55460 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55461 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55462 $as_echo_n "(cached) " >&6
55463 else
55464
55465
55466 ac_ext=cpp
55467 ac_cpp='$CXXCPP $CPPFLAGS'
55468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55471
55472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55473 /* end confdefs.h. */
55474 #include <math.h>
55475 #ifdef HAVE_IEEEFP_H
55476 #include <ieeefp.h>
55477 #endif
55478
55479 int
55480 main ()
55481 {
55482 _isinfl(0);
55483 ;
55484 return 0;
55485 }
55486 _ACEOF
55487 if ac_fn_cxx_try_compile "$LINENO"; then :
55488 glibcxx_cv_func__isinfl_use=yes
55489 else
55490 glibcxx_cv_func__isinfl_use=no
55491 fi
55492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55493 ac_ext=c
55494 ac_cpp='$CPP $CPPFLAGS'
55495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55498
55499
55500 fi
55501
55502 fi
55503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55504 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55505
55506 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55507 for ac_func in _isinfl
55508 do :
55509 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55510 if test "x$ac_cv_func__isinfl" = x""yes; then :
55511 cat >>confdefs.h <<_ACEOF
55512 #define HAVE__ISINFL 1
55513 _ACEOF
55514
55515 fi
55516 done
55517
55518 fi
55519 fi
55520
55521
55522
55523
55524
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55526 $as_echo_n "checking for atan2l declaration... " >&6; }
55527 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55528 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55529 $as_echo_n "(cached) " >&6
55530 else
55531
55532
55533 ac_ext=cpp
55534 ac_cpp='$CXXCPP $CPPFLAGS'
55535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538
55539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55540 /* end confdefs.h. */
55541 #include <math.h>
55542 int
55543 main ()
55544 {
55545 atan2l(0, 0);
55546 ;
55547 return 0;
55548 }
55549 _ACEOF
55550 if ac_fn_cxx_try_compile "$LINENO"; then :
55551 glibcxx_cv_func_atan2l_use=yes
55552 else
55553 glibcxx_cv_func_atan2l_use=no
55554 fi
55555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55556 ac_ext=c
55557 ac_cpp='$CPP $CPPFLAGS'
55558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55561
55562
55563 fi
55564
55565 fi
55566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55567 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55568
55569 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55570 for ac_func in atan2l
55571 do :
55572 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55573 if test "x$ac_cv_func_atan2l" = x""yes; then :
55574 cat >>confdefs.h <<_ACEOF
55575 #define HAVE_ATAN2L 1
55576 _ACEOF
55577
55578 fi
55579 done
55580
55581 else
55582
55583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55584 $as_echo_n "checking for _atan2l declaration... " >&6; }
55585 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55586 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55587 $as_echo_n "(cached) " >&6
55588 else
55589
55590
55591 ac_ext=cpp
55592 ac_cpp='$CXXCPP $CPPFLAGS'
55593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55596
55597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55598 /* end confdefs.h. */
55599 #include <math.h>
55600 int
55601 main ()
55602 {
55603 _atan2l(0, 0);
55604 ;
55605 return 0;
55606 }
55607 _ACEOF
55608 if ac_fn_cxx_try_compile "$LINENO"; then :
55609 glibcxx_cv_func__atan2l_use=yes
55610 else
55611 glibcxx_cv_func__atan2l_use=no
55612 fi
55613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55614 ac_ext=c
55615 ac_cpp='$CPP $CPPFLAGS'
55616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55619
55620
55621 fi
55622
55623 fi
55624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55625 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55626
55627 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55628 for ac_func in _atan2l
55629 do :
55630 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55631 if test "x$ac_cv_func__atan2l" = x""yes; then :
55632 cat >>confdefs.h <<_ACEOF
55633 #define HAVE__ATAN2L 1
55634 _ACEOF
55635
55636 fi
55637 done
55638
55639 fi
55640 fi
55641
55642
55643
55644
55645
55646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55647 $as_echo_n "checking for expl declaration... " >&6; }
55648 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55649 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55650 $as_echo_n "(cached) " >&6
55651 else
55652
55653
55654 ac_ext=cpp
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659
55660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55661 /* end confdefs.h. */
55662 #include <math.h>
55663 #ifdef HAVE_IEEEFP_H
55664 #include <ieeefp.h>
55665 #endif
55666
55667 int
55668 main ()
55669 {
55670 expl(0);
55671 ;
55672 return 0;
55673 }
55674 _ACEOF
55675 if ac_fn_cxx_try_compile "$LINENO"; then :
55676 glibcxx_cv_func_expl_use=yes
55677 else
55678 glibcxx_cv_func_expl_use=no
55679 fi
55680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55681 ac_ext=c
55682 ac_cpp='$CPP $CPPFLAGS'
55683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55686
55687
55688 fi
55689
55690 fi
55691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55692 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55693
55694 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55695 for ac_func in expl
55696 do :
55697 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55698 if test "x$ac_cv_func_expl" = x""yes; then :
55699 cat >>confdefs.h <<_ACEOF
55700 #define HAVE_EXPL 1
55701 _ACEOF
55702
55703 fi
55704 done
55705
55706 else
55707
55708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55709 $as_echo_n "checking for _expl declaration... " >&6; }
55710 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55711 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55712 $as_echo_n "(cached) " >&6
55713 else
55714
55715
55716 ac_ext=cpp
55717 ac_cpp='$CXXCPP $CPPFLAGS'
55718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55721
55722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55723 /* end confdefs.h. */
55724 #include <math.h>
55725 #ifdef HAVE_IEEEFP_H
55726 #include <ieeefp.h>
55727 #endif
55728
55729 int
55730 main ()
55731 {
55732 _expl(0);
55733 ;
55734 return 0;
55735 }
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738 glibcxx_cv_func__expl_use=yes
55739 else
55740 glibcxx_cv_func__expl_use=no
55741 fi
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743 ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748
55749
55750 fi
55751
55752 fi
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55754 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55755
55756 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55757 for ac_func in _expl
55758 do :
55759 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55760 if test "x$ac_cv_func__expl" = x""yes; then :
55761 cat >>confdefs.h <<_ACEOF
55762 #define HAVE__EXPL 1
55763 _ACEOF
55764
55765 fi
55766 done
55767
55768 fi
55769 fi
55770
55771
55772
55773
55774
55775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55776 $as_echo_n "checking for fabsl declaration... " >&6; }
55777 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55778 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55779 $as_echo_n "(cached) " >&6
55780 else
55781
55782
55783 ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788
55789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h. */
55791 #include <math.h>
55792 #ifdef HAVE_IEEEFP_H
55793 #include <ieeefp.h>
55794 #endif
55795
55796 int
55797 main ()
55798 {
55799 fabsl(0);
55800 ;
55801 return 0;
55802 }
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805 glibcxx_cv_func_fabsl_use=yes
55806 else
55807 glibcxx_cv_func_fabsl_use=no
55808 fi
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810 ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815
55816
55817 fi
55818
55819 fi
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55821 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55822
55823 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55824 for ac_func in fabsl
55825 do :
55826 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55827 if test "x$ac_cv_func_fabsl" = x""yes; then :
55828 cat >>confdefs.h <<_ACEOF
55829 #define HAVE_FABSL 1
55830 _ACEOF
55831
55832 fi
55833 done
55834
55835 else
55836
55837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55838 $as_echo_n "checking for _fabsl declaration... " >&6; }
55839 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55840 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55841 $as_echo_n "(cached) " >&6
55842 else
55843
55844
55845 ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850
55851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h. */
55853 #include <math.h>
55854 #ifdef HAVE_IEEEFP_H
55855 #include <ieeefp.h>
55856 #endif
55857
55858 int
55859 main ()
55860 {
55861 _fabsl(0);
55862 ;
55863 return 0;
55864 }
55865 _ACEOF
55866 if ac_fn_cxx_try_compile "$LINENO"; then :
55867 glibcxx_cv_func__fabsl_use=yes
55868 else
55869 glibcxx_cv_func__fabsl_use=no
55870 fi
55871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55872 ac_ext=c
55873 ac_cpp='$CPP $CPPFLAGS'
55874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55877
55878
55879 fi
55880
55881 fi
55882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55883 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55884
55885 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55886 for ac_func in _fabsl
55887 do :
55888 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55889 if test "x$ac_cv_func__fabsl" = x""yes; then :
55890 cat >>confdefs.h <<_ACEOF
55891 #define HAVE__FABSL 1
55892 _ACEOF
55893
55894 fi
55895 done
55896
55897 fi
55898 fi
55899
55900
55901
55902
55903
55904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55905 $as_echo_n "checking for fmodl declaration... " >&6; }
55906 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55907 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55908 $as_echo_n "(cached) " >&6
55909 else
55910
55911
55912 ac_ext=cpp
55913 ac_cpp='$CXXCPP $CPPFLAGS'
55914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55917
55918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55919 /* end confdefs.h. */
55920 #include <math.h>
55921 int
55922 main ()
55923 {
55924 fmodl(0, 0);
55925 ;
55926 return 0;
55927 }
55928 _ACEOF
55929 if ac_fn_cxx_try_compile "$LINENO"; then :
55930 glibcxx_cv_func_fmodl_use=yes
55931 else
55932 glibcxx_cv_func_fmodl_use=no
55933 fi
55934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55935 ac_ext=c
55936 ac_cpp='$CPP $CPPFLAGS'
55937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55940
55941
55942 fi
55943
55944 fi
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55946 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55947
55948 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55949 for ac_func in fmodl
55950 do :
55951 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55952 if test "x$ac_cv_func_fmodl" = x""yes; then :
55953 cat >>confdefs.h <<_ACEOF
55954 #define HAVE_FMODL 1
55955 _ACEOF
55956
55957 fi
55958 done
55959
55960 else
55961
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55963 $as_echo_n "checking for _fmodl declaration... " >&6; }
55964 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55965 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55966 $as_echo_n "(cached) " >&6
55967 else
55968
55969
55970 ac_ext=cpp
55971 ac_cpp='$CXXCPP $CPPFLAGS'
55972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55975
55976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55977 /* end confdefs.h. */
55978 #include <math.h>
55979 int
55980 main ()
55981 {
55982 _fmodl(0, 0);
55983 ;
55984 return 0;
55985 }
55986 _ACEOF
55987 if ac_fn_cxx_try_compile "$LINENO"; then :
55988 glibcxx_cv_func__fmodl_use=yes
55989 else
55990 glibcxx_cv_func__fmodl_use=no
55991 fi
55992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55993 ac_ext=c
55994 ac_cpp='$CPP $CPPFLAGS'
55995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55998
55999
56000 fi
56001
56002 fi
56003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56004 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56005
56006 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56007 for ac_func in _fmodl
56008 do :
56009 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56010 if test "x$ac_cv_func__fmodl" = x""yes; then :
56011 cat >>confdefs.h <<_ACEOF
56012 #define HAVE__FMODL 1
56013 _ACEOF
56014
56015 fi
56016 done
56017
56018 fi
56019 fi
56020
56021
56022
56023
56024
56025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56026 $as_echo_n "checking for frexpl declaration... " >&6; }
56027 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56028 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56029 $as_echo_n "(cached) " >&6
56030 else
56031
56032
56033 ac_ext=cpp
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038
56039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56040 /* end confdefs.h. */
56041 #include <math.h>
56042 int
56043 main ()
56044 {
56045 frexpl(0, 0);
56046 ;
56047 return 0;
56048 }
56049 _ACEOF
56050 if ac_fn_cxx_try_compile "$LINENO"; then :
56051 glibcxx_cv_func_frexpl_use=yes
56052 else
56053 glibcxx_cv_func_frexpl_use=no
56054 fi
56055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56056 ac_ext=c
56057 ac_cpp='$CPP $CPPFLAGS'
56058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56061
56062
56063 fi
56064
56065 fi
56066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56067 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56068
56069 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56070 for ac_func in frexpl
56071 do :
56072 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56073 if test "x$ac_cv_func_frexpl" = x""yes; then :
56074 cat >>confdefs.h <<_ACEOF
56075 #define HAVE_FREXPL 1
56076 _ACEOF
56077
56078 fi
56079 done
56080
56081 else
56082
56083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56084 $as_echo_n "checking for _frexpl declaration... " >&6; }
56085 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56086 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56087 $as_echo_n "(cached) " >&6
56088 else
56089
56090
56091 ac_ext=cpp
56092 ac_cpp='$CXXCPP $CPPFLAGS'
56093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096
56097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098 /* end confdefs.h. */
56099 #include <math.h>
56100 int
56101 main ()
56102 {
56103 _frexpl(0, 0);
56104 ;
56105 return 0;
56106 }
56107 _ACEOF
56108 if ac_fn_cxx_try_compile "$LINENO"; then :
56109 glibcxx_cv_func__frexpl_use=yes
56110 else
56111 glibcxx_cv_func__frexpl_use=no
56112 fi
56113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114 ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120
56121 fi
56122
56123 fi
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56125 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56126
56127 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56128 for ac_func in _frexpl
56129 do :
56130 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56131 if test "x$ac_cv_func__frexpl" = x""yes; then :
56132 cat >>confdefs.h <<_ACEOF
56133 #define HAVE__FREXPL 1
56134 _ACEOF
56135
56136 fi
56137 done
56138
56139 fi
56140 fi
56141
56142
56143
56144
56145
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56147 $as_echo_n "checking for hypotl declaration... " >&6; }
56148 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56149 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56150 $as_echo_n "(cached) " >&6
56151 else
56152
56153
56154 ac_ext=cpp
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159
56160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56161 /* end confdefs.h. */
56162 #include <math.h>
56163 int
56164 main ()
56165 {
56166 hypotl(0, 0);
56167 ;
56168 return 0;
56169 }
56170 _ACEOF
56171 if ac_fn_cxx_try_compile "$LINENO"; then :
56172 glibcxx_cv_func_hypotl_use=yes
56173 else
56174 glibcxx_cv_func_hypotl_use=no
56175 fi
56176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56177 ac_ext=c
56178 ac_cpp='$CPP $CPPFLAGS'
56179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182
56183
56184 fi
56185
56186 fi
56187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56188 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56189
56190 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56191 for ac_func in hypotl
56192 do :
56193 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56194 if test "x$ac_cv_func_hypotl" = x""yes; then :
56195 cat >>confdefs.h <<_ACEOF
56196 #define HAVE_HYPOTL 1
56197 _ACEOF
56198
56199 fi
56200 done
56201
56202 else
56203
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56205 $as_echo_n "checking for _hypotl declaration... " >&6; }
56206 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56207 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56208 $as_echo_n "(cached) " >&6
56209 else
56210
56211
56212 ac_ext=cpp
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217
56218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h. */
56220 #include <math.h>
56221 int
56222 main ()
56223 {
56224 _hypotl(0, 0);
56225 ;
56226 return 0;
56227 }
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func__hypotl_use=yes
56231 else
56232 glibcxx_cv_func__hypotl_use=no
56233 fi
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242 fi
56243
56244 fi
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56246 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56247
56248 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56249 for ac_func in _hypotl
56250 do :
56251 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56252 if test "x$ac_cv_func__hypotl" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE__HYPOTL 1
56255 _ACEOF
56256
56257 fi
56258 done
56259
56260 fi
56261 fi
56262
56263
56264
56265
56266
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56268 $as_echo_n "checking for ldexpl declaration... " >&6; }
56269 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56270 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56271 $as_echo_n "(cached) " >&6
56272 else
56273
56274
56275 ac_ext=cpp
56276 ac_cpp='$CXXCPP $CPPFLAGS'
56277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280
56281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56282 /* end confdefs.h. */
56283 #include <math.h>
56284 int
56285 main ()
56286 {
56287 ldexpl(0, 0);
56288 ;
56289 return 0;
56290 }
56291 _ACEOF
56292 if ac_fn_cxx_try_compile "$LINENO"; then :
56293 glibcxx_cv_func_ldexpl_use=yes
56294 else
56295 glibcxx_cv_func_ldexpl_use=no
56296 fi
56297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56298 ac_ext=c
56299 ac_cpp='$CPP $CPPFLAGS'
56300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303
56304
56305 fi
56306
56307 fi
56308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56309 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56310
56311 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56312 for ac_func in ldexpl
56313 do :
56314 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56315 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56316 cat >>confdefs.h <<_ACEOF
56317 #define HAVE_LDEXPL 1
56318 _ACEOF
56319
56320 fi
56321 done
56322
56323 else
56324
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56326 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56327 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56328 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56329 $as_echo_n "(cached) " >&6
56330 else
56331
56332
56333 ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338
56339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h. */
56341 #include <math.h>
56342 int
56343 main ()
56344 {
56345 _ldexpl(0, 0);
56346 ;
56347 return 0;
56348 }
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351 glibcxx_cv_func__ldexpl_use=yes
56352 else
56353 glibcxx_cv_func__ldexpl_use=no
56354 fi
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356 ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56361
56362
56363 fi
56364
56365 fi
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56367 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56368
56369 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56370 for ac_func in _ldexpl
56371 do :
56372 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56373 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56374 cat >>confdefs.h <<_ACEOF
56375 #define HAVE__LDEXPL 1
56376 _ACEOF
56377
56378 fi
56379 done
56380
56381 fi
56382 fi
56383
56384
56385
56386
56387
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56389 $as_echo_n "checking for logl declaration... " >&6; }
56390 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56391 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56392 $as_echo_n "(cached) " >&6
56393 else
56394
56395
56396 ac_ext=cpp
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401
56402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56408
56409 int
56410 main ()
56411 {
56412 logl(0);
56413 ;
56414 return 0;
56415 }
56416 _ACEOF
56417 if ac_fn_cxx_try_compile "$LINENO"; then :
56418 glibcxx_cv_func_logl_use=yes
56419 else
56420 glibcxx_cv_func_logl_use=no
56421 fi
56422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56423 ac_ext=c
56424 ac_cpp='$CPP $CPPFLAGS'
56425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428
56429
56430 fi
56431
56432 fi
56433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56434 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56435
56436 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56437 for ac_func in logl
56438 do :
56439 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56440 if test "x$ac_cv_func_logl" = x""yes; then :
56441 cat >>confdefs.h <<_ACEOF
56442 #define HAVE_LOGL 1
56443 _ACEOF
56444
56445 fi
56446 done
56447
56448 else
56449
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56451 $as_echo_n "checking for _logl declaration... " >&6; }
56452 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56453 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56454 $as_echo_n "(cached) " >&6
56455 else
56456
56457
56458 ac_ext=cpp
56459 ac_cpp='$CXXCPP $CPPFLAGS'
56460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56463
56464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56465 /* end confdefs.h. */
56466 #include <math.h>
56467 #ifdef HAVE_IEEEFP_H
56468 #include <ieeefp.h>
56469 #endif
56470
56471 int
56472 main ()
56473 {
56474 _logl(0);
56475 ;
56476 return 0;
56477 }
56478 _ACEOF
56479 if ac_fn_cxx_try_compile "$LINENO"; then :
56480 glibcxx_cv_func__logl_use=yes
56481 else
56482 glibcxx_cv_func__logl_use=no
56483 fi
56484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56485 ac_ext=c
56486 ac_cpp='$CPP $CPPFLAGS'
56487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56490
56491
56492 fi
56493
56494 fi
56495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56496 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56497
56498 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56499 for ac_func in _logl
56500 do :
56501 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56502 if test "x$ac_cv_func__logl" = x""yes; then :
56503 cat >>confdefs.h <<_ACEOF
56504 #define HAVE__LOGL 1
56505 _ACEOF
56506
56507 fi
56508 done
56509
56510 fi
56511 fi
56512
56513
56514
56515
56516
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56518 $as_echo_n "checking for log10l declaration... " >&6; }
56519 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56520 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56521 $as_echo_n "(cached) " >&6
56522 else
56523
56524
56525 ac_ext=cpp
56526 ac_cpp='$CXXCPP $CPPFLAGS'
56527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530
56531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56532 /* end confdefs.h. */
56533 #include <math.h>
56534 #ifdef HAVE_IEEEFP_H
56535 #include <ieeefp.h>
56536 #endif
56537
56538 int
56539 main ()
56540 {
56541 log10l(0);
56542 ;
56543 return 0;
56544 }
56545 _ACEOF
56546 if ac_fn_cxx_try_compile "$LINENO"; then :
56547 glibcxx_cv_func_log10l_use=yes
56548 else
56549 glibcxx_cv_func_log10l_use=no
56550 fi
56551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56552 ac_ext=c
56553 ac_cpp='$CPP $CPPFLAGS'
56554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56557
56558
56559 fi
56560
56561 fi
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56563 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56564
56565 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56566 for ac_func in log10l
56567 do :
56568 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56569 if test "x$ac_cv_func_log10l" = x""yes; then :
56570 cat >>confdefs.h <<_ACEOF
56571 #define HAVE_LOG10L 1
56572 _ACEOF
56573
56574 fi
56575 done
56576
56577 else
56578
56579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56580 $as_echo_n "checking for _log10l declaration... " >&6; }
56581 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56582 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56583 $as_echo_n "(cached) " >&6
56584 else
56585
56586
56587 ac_ext=cpp
56588 ac_cpp='$CXXCPP $CPPFLAGS'
56589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56592
56593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56594 /* end confdefs.h. */
56595 #include <math.h>
56596 #ifdef HAVE_IEEEFP_H
56597 #include <ieeefp.h>
56598 #endif
56599
56600 int
56601 main ()
56602 {
56603 _log10l(0);
56604 ;
56605 return 0;
56606 }
56607 _ACEOF
56608 if ac_fn_cxx_try_compile "$LINENO"; then :
56609 glibcxx_cv_func__log10l_use=yes
56610 else
56611 glibcxx_cv_func__log10l_use=no
56612 fi
56613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56614 ac_ext=c
56615 ac_cpp='$CPP $CPPFLAGS'
56616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56619
56620
56621 fi
56622
56623 fi
56624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56625 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56626
56627 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56628 for ac_func in _log10l
56629 do :
56630 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56631 if test "x$ac_cv_func__log10l" = x""yes; then :
56632 cat >>confdefs.h <<_ACEOF
56633 #define HAVE__LOG10L 1
56634 _ACEOF
56635
56636 fi
56637 done
56638
56639 fi
56640 fi
56641
56642
56643
56644
56645
56646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56647 $as_echo_n "checking for modfl declaration... " >&6; }
56648 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56649 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56650 $as_echo_n "(cached) " >&6
56651 else
56652
56653
56654 ac_ext=cpp
56655 ac_cpp='$CXXCPP $CPPFLAGS'
56656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56659
56660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56661 /* end confdefs.h. */
56662 #include <math.h>
56663 int
56664 main ()
56665 {
56666 modfl(0, 0);
56667 ;
56668 return 0;
56669 }
56670 _ACEOF
56671 if ac_fn_cxx_try_compile "$LINENO"; then :
56672 glibcxx_cv_func_modfl_use=yes
56673 else
56674 glibcxx_cv_func_modfl_use=no
56675 fi
56676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56677 ac_ext=c
56678 ac_cpp='$CPP $CPPFLAGS'
56679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56682
56683
56684 fi
56685
56686 fi
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56688 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56689
56690 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56691 for ac_func in modfl
56692 do :
56693 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56694 if test "x$ac_cv_func_modfl" = x""yes; then :
56695 cat >>confdefs.h <<_ACEOF
56696 #define HAVE_MODFL 1
56697 _ACEOF
56698
56699 fi
56700 done
56701
56702 else
56703
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56705 $as_echo_n "checking for _modfl declaration... " >&6; }
56706 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56707 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56708 $as_echo_n "(cached) " >&6
56709 else
56710
56711
56712 ac_ext=cpp
56713 ac_cpp='$CXXCPP $CPPFLAGS'
56714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56717
56718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56719 /* end confdefs.h. */
56720 #include <math.h>
56721 int
56722 main ()
56723 {
56724 _modfl(0, 0);
56725 ;
56726 return 0;
56727 }
56728 _ACEOF
56729 if ac_fn_cxx_try_compile "$LINENO"; then :
56730 glibcxx_cv_func__modfl_use=yes
56731 else
56732 glibcxx_cv_func__modfl_use=no
56733 fi
56734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56735 ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56740
56741
56742 fi
56743
56744 fi
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56746 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56747
56748 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56749 for ac_func in _modfl
56750 do :
56751 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56752 if test "x$ac_cv_func__modfl" = x""yes; then :
56753 cat >>confdefs.h <<_ACEOF
56754 #define HAVE__MODFL 1
56755 _ACEOF
56756
56757 fi
56758 done
56759
56760 fi
56761 fi
56762
56763
56764
56765
56766
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56768 $as_echo_n "checking for powl declaration... " >&6; }
56769 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56770 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56771 $as_echo_n "(cached) " >&6
56772 else
56773
56774
56775 ac_ext=cpp
56776 ac_cpp='$CXXCPP $CPPFLAGS'
56777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780
56781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56782 /* end confdefs.h. */
56783 #include <math.h>
56784 int
56785 main ()
56786 {
56787 powl(0, 0);
56788 ;
56789 return 0;
56790 }
56791 _ACEOF
56792 if ac_fn_cxx_try_compile "$LINENO"; then :
56793 glibcxx_cv_func_powl_use=yes
56794 else
56795 glibcxx_cv_func_powl_use=no
56796 fi
56797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56798 ac_ext=c
56799 ac_cpp='$CPP $CPPFLAGS'
56800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56803
56804
56805 fi
56806
56807 fi
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56809 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56810
56811 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56812 for ac_func in powl
56813 do :
56814 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56815 if test "x$ac_cv_func_powl" = x""yes; then :
56816 cat >>confdefs.h <<_ACEOF
56817 #define HAVE_POWL 1
56818 _ACEOF
56819
56820 fi
56821 done
56822
56823 else
56824
56825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56826 $as_echo_n "checking for _powl declaration... " >&6; }
56827 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56828 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56829 $as_echo_n "(cached) " >&6
56830 else
56831
56832
56833 ac_ext=cpp
56834 ac_cpp='$CXXCPP $CPPFLAGS'
56835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838
56839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56840 /* end confdefs.h. */
56841 #include <math.h>
56842 int
56843 main ()
56844 {
56845 _powl(0, 0);
56846 ;
56847 return 0;
56848 }
56849 _ACEOF
56850 if ac_fn_cxx_try_compile "$LINENO"; then :
56851 glibcxx_cv_func__powl_use=yes
56852 else
56853 glibcxx_cv_func__powl_use=no
56854 fi
56855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56856 ac_ext=c
56857 ac_cpp='$CPP $CPPFLAGS'
56858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56861
56862
56863 fi
56864
56865 fi
56866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56867 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56868
56869 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56870 for ac_func in _powl
56871 do :
56872 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56873 if test "x$ac_cv_func__powl" = x""yes; then :
56874 cat >>confdefs.h <<_ACEOF
56875 #define HAVE__POWL 1
56876 _ACEOF
56877
56878 fi
56879 done
56880
56881 fi
56882 fi
56883
56884
56885
56886
56887
56888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56889 $as_echo_n "checking for sqrtl declaration... " >&6; }
56890 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56891 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56892 $as_echo_n "(cached) " >&6
56893 else
56894
56895
56896 ac_ext=cpp
56897 ac_cpp='$CXXCPP $CPPFLAGS'
56898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901
56902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56903 /* end confdefs.h. */
56904 #include <math.h>
56905 #ifdef HAVE_IEEEFP_H
56906 #include <ieeefp.h>
56907 #endif
56908
56909 int
56910 main ()
56911 {
56912 sqrtl(0);
56913 ;
56914 return 0;
56915 }
56916 _ACEOF
56917 if ac_fn_cxx_try_compile "$LINENO"; then :
56918 glibcxx_cv_func_sqrtl_use=yes
56919 else
56920 glibcxx_cv_func_sqrtl_use=no
56921 fi
56922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56923 ac_ext=c
56924 ac_cpp='$CPP $CPPFLAGS'
56925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56928
56929
56930 fi
56931
56932 fi
56933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56934 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56935
56936 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56937 for ac_func in sqrtl
56938 do :
56939 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56940 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56941 cat >>confdefs.h <<_ACEOF
56942 #define HAVE_SQRTL 1
56943 _ACEOF
56944
56945 fi
56946 done
56947
56948 else
56949
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56951 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56952 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56953 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56954 $as_echo_n "(cached) " >&6
56955 else
56956
56957
56958 ac_ext=cpp
56959 ac_cpp='$CXXCPP $CPPFLAGS'
56960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963
56964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56965 /* end confdefs.h. */
56966 #include <math.h>
56967 #ifdef HAVE_IEEEFP_H
56968 #include <ieeefp.h>
56969 #endif
56970
56971 int
56972 main ()
56973 {
56974 _sqrtl(0);
56975 ;
56976 return 0;
56977 }
56978 _ACEOF
56979 if ac_fn_cxx_try_compile "$LINENO"; then :
56980 glibcxx_cv_func__sqrtl_use=yes
56981 else
56982 glibcxx_cv_func__sqrtl_use=no
56983 fi
56984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56985 ac_ext=c
56986 ac_cpp='$CPP $CPPFLAGS'
56987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56990
56991
56992 fi
56993
56994 fi
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56996 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56997
56998 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56999 for ac_func in _sqrtl
57000 do :
57001 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57002 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57003 cat >>confdefs.h <<_ACEOF
57004 #define HAVE__SQRTL 1
57005 _ACEOF
57006
57007 fi
57008 done
57009
57010 fi
57011 fi
57012
57013
57014
57015
57016
57017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57018 $as_echo_n "checking for sincosl declaration... " >&6; }
57019 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57020 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57021 $as_echo_n "(cached) " >&6
57022 else
57023
57024
57025 ac_ext=cpp
57026 ac_cpp='$CXXCPP $CPPFLAGS'
57027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57030
57031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57032 /* end confdefs.h. */
57033 #include <math.h>
57034 int
57035 main ()
57036 {
57037 sincosl(0, 0, 0);
57038 ;
57039 return 0;
57040 }
57041 _ACEOF
57042 if ac_fn_cxx_try_compile "$LINENO"; then :
57043 glibcxx_cv_func_sincosl_use=yes
57044 else
57045 glibcxx_cv_func_sincosl_use=no
57046 fi
57047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57048 ac_ext=c
57049 ac_cpp='$CPP $CPPFLAGS'
57050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57053
57054
57055 fi
57056
57057 fi
57058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57059 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57060
57061 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57062 for ac_func in sincosl
57063 do :
57064 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57065 if test "x$ac_cv_func_sincosl" = x""yes; then :
57066 cat >>confdefs.h <<_ACEOF
57067 #define HAVE_SINCOSL 1
57068 _ACEOF
57069
57070 fi
57071 done
57072
57073 else
57074
57075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57076 $as_echo_n "checking for _sincosl declaration... " >&6; }
57077 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57078 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57079 $as_echo_n "(cached) " >&6
57080 else
57081
57082
57083 ac_ext=cpp
57084 ac_cpp='$CXXCPP $CPPFLAGS'
57085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088
57089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57090 /* end confdefs.h. */
57091 #include <math.h>
57092 int
57093 main ()
57094 {
57095 _sincosl(0, 0, 0);
57096 ;
57097 return 0;
57098 }
57099 _ACEOF
57100 if ac_fn_cxx_try_compile "$LINENO"; then :
57101 glibcxx_cv_func__sincosl_use=yes
57102 else
57103 glibcxx_cv_func__sincosl_use=no
57104 fi
57105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57106 ac_ext=c
57107 ac_cpp='$CPP $CPPFLAGS'
57108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57111
57112
57113 fi
57114
57115 fi
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57117 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57118
57119 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57120 for ac_func in _sincosl
57121 do :
57122 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57123 if test "x$ac_cv_func__sincosl" = x""yes; then :
57124 cat >>confdefs.h <<_ACEOF
57125 #define HAVE__SINCOSL 1
57126 _ACEOF
57127
57128 fi
57129 done
57130
57131 fi
57132 fi
57133
57134
57135
57136
57137
57138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57139 $as_echo_n "checking for finitel declaration... " >&6; }
57140 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57141 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57142 $as_echo_n "(cached) " >&6
57143 else
57144
57145
57146 ac_ext=cpp
57147 ac_cpp='$CXXCPP $CPPFLAGS'
57148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151
57152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57153 /* end confdefs.h. */
57154 #include <math.h>
57155 #ifdef HAVE_IEEEFP_H
57156 #include <ieeefp.h>
57157 #endif
57158
57159 int
57160 main ()
57161 {
57162 finitel(0);
57163 ;
57164 return 0;
57165 }
57166 _ACEOF
57167 if ac_fn_cxx_try_compile "$LINENO"; then :
57168 glibcxx_cv_func_finitel_use=yes
57169 else
57170 glibcxx_cv_func_finitel_use=no
57171 fi
57172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57173 ac_ext=c
57174 ac_cpp='$CPP $CPPFLAGS'
57175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178
57179
57180 fi
57181
57182 fi
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57184 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57185
57186 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57187 for ac_func in finitel
57188 do :
57189 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57190 if test "x$ac_cv_func_finitel" = x""yes; then :
57191 cat >>confdefs.h <<_ACEOF
57192 #define HAVE_FINITEL 1
57193 _ACEOF
57194
57195 fi
57196 done
57197
57198 else
57199
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57201 $as_echo_n "checking for _finitel declaration... " >&6; }
57202 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57203 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57204 $as_echo_n "(cached) " >&6
57205 else
57206
57207
57208 ac_ext=cpp
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213
57214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57215 /* end confdefs.h. */
57216 #include <math.h>
57217 #ifdef HAVE_IEEEFP_H
57218 #include <ieeefp.h>
57219 #endif
57220
57221 int
57222 main ()
57223 {
57224 _finitel(0);
57225 ;
57226 return 0;
57227 }
57228 _ACEOF
57229 if ac_fn_cxx_try_compile "$LINENO"; then :
57230 glibcxx_cv_func__finitel_use=yes
57231 else
57232 glibcxx_cv_func__finitel_use=no
57233 fi
57234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57235 ac_ext=c
57236 ac_cpp='$CPP $CPPFLAGS'
57237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240
57241
57242 fi
57243
57244 fi
57245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57246 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57247
57248 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57249 for ac_func in _finitel
57250 do :
57251 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57252 if test "x$ac_cv_func__finitel" = x""yes; then :
57253 cat >>confdefs.h <<_ACEOF
57254 #define HAVE__FINITEL 1
57255 _ACEOF
57256
57257 fi
57258 done
57259
57260 fi
57261 fi
57262
57263
57264
57265
57266 LIBS="$ac_save_LIBS"
57267 CXXFLAGS="$ac_save_CXXFLAGS"
57268
57269
57270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57271 ac_save_CXXFLAGS="$CXXFLAGS"
57272 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57273
57274
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57276 $as_echo_n "checking for strtold declaration... " >&6; }
57277 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57278 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57279 $as_echo_n "(cached) " >&6
57280 else
57281
57282
57283 ac_ext=cpp
57284 ac_cpp='$CXXCPP $CPPFLAGS'
57285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57288
57289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57290 /* end confdefs.h. */
57291 #include <stdlib.h>
57292 int
57293 main ()
57294 {
57295 strtold(0, 0);
57296 ;
57297 return 0;
57298 }
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func_strtold_use=yes
57302 else
57303 glibcxx_cv_func_strtold_use=no
57304 fi
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57311
57312
57313 fi
57314
57315 fi
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57317 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57318 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57319 for ac_func in strtold
57320 do :
57321 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57322 if test "x$ac_cv_func_strtold" = x""yes; then :
57323 cat >>confdefs.h <<_ACEOF
57324 #define HAVE_STRTOLD 1
57325 _ACEOF
57326
57327 fi
57328 done
57329
57330 fi
57331
57332
57333
57334
57335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57336 $as_echo_n "checking for strtof declaration... " >&6; }
57337 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57338 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57339 $as_echo_n "(cached) " >&6
57340 else
57341
57342
57343 ac_ext=cpp
57344 ac_cpp='$CXXCPP $CPPFLAGS'
57345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57348
57349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57350 /* end confdefs.h. */
57351 #include <stdlib.h>
57352 int
57353 main ()
57354 {
57355 strtof(0, 0);
57356 ;
57357 return 0;
57358 }
57359 _ACEOF
57360 if ac_fn_cxx_try_compile "$LINENO"; then :
57361 glibcxx_cv_func_strtof_use=yes
57362 else
57363 glibcxx_cv_func_strtof_use=no
57364 fi
57365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57366 ac_ext=c
57367 ac_cpp='$CPP $CPPFLAGS'
57368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57371
57372
57373 fi
57374
57375 fi
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57377 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57378 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57379 for ac_func in strtof
57380 do :
57381 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57382 if test "x$ac_cv_func_strtof" = x""yes; then :
57383 cat >>confdefs.h <<_ACEOF
57384 #define HAVE_STRTOF 1
57385 _ACEOF
57386
57387 fi
57388 done
57389
57390 fi
57391
57392
57393
57394
57395 CXXFLAGS="$ac_save_CXXFLAGS"
57396
57397 ;;
57398 *-netbsd*)
57399 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57400
57401
57402 # If we're not using GNU ld, then there's no point in even trying these
57403 # tests. Check for that first. We should have already tested for gld
57404 # by now (in libtool), but require it now just to be safe...
57405 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57406 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57407
57408
57409
57410 # The name set by libtool depends on the version of libtool. Shame on us
57411 # for depending on an impl detail, but c'est la vie. Older versions used
57412 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57413 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57414 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57415 # set (hence we're using an older libtool), then set it.
57416 if test x${with_gnu_ld+set} != xset; then
57417 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57418 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57419 with_gnu_ld=no
57420 else
57421 with_gnu_ld=$ac_cv_prog_gnu_ld
57422 fi
57423 fi
57424
57425 # Start by getting the version number. I think the libtool test already
57426 # does some of this, but throws away the result.
57427 glibcxx_ld_is_gold=no
57428 if test x"$with_gnu_ld" = x"yes"; then
57429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57430 $as_echo_n "checking for ld version... " >&6; }
57431
57432 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57433 glibcxx_ld_is_gold=yes
57434 fi
57435 ldver=`$LD --version 2>/dev/null |
57436 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'`
57437
57438 glibcxx_gnu_ld_version=`echo $ldver | \
57439 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57441 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57442 fi
57443
57444 # Set --gc-sections.
57445 glibcxx_have_gc_sections=no
57446 if test "$glibcxx_ld_is_gold" = "yes"; then
57447 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57448 glibcxx_have_gc_sections=yes
57449 fi
57450 else
57451 glibcxx_gcsections_min_ld=21602
57452 if test x"$with_gnu_ld" = x"yes" &&
57453 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57454 glibcxx_have_gc_sections=yes
57455 fi
57456 fi
57457 if test "$glibcxx_have_gc_sections" = "yes"; then
57458 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57459 # NB: This flag only works reliably after 2.16.1. Configure tests
57460 # for this are difficult, so hard wire a value that should work.
57461
57462 ac_test_CFLAGS="${CFLAGS+set}"
57463 ac_save_CFLAGS="$CFLAGS"
57464 CFLAGS='-Wl,--gc-sections'
57465
57466 # Check for -Wl,--gc-sections
57467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57468 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57469 if test x$gcc_no_link = xyes; then
57470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57471 fi
57472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57473 /* end confdefs.h. */
57474 int one(void) { return 1; }
57475 int two(void) { return 2; }
57476
57477 int
57478 main ()
57479 {
57480 two();
57481 ;
57482 return 0;
57483 }
57484 _ACEOF
57485 if ac_fn_c_try_link "$LINENO"; then :
57486 ac_gcsections=yes
57487 else
57488 ac_gcsections=no
57489 fi
57490 rm -f core conftest.err conftest.$ac_objext \
57491 conftest$ac_exeext conftest.$ac_ext
57492 if test "$ac_gcsections" = "yes"; then
57493 rm -f conftest.c
57494 touch conftest.c
57495 if $CC -c conftest.c; then
57496 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57497 grep "Warning: gc-sections option ignored" > /dev/null; then
57498 ac_gcsections=no
57499 fi
57500 fi
57501 rm -f conftest.c conftest.o conftest
57502 fi
57503 if test "$ac_gcsections" = "yes"; then
57504 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57505 fi
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57507 $as_echo "$ac_gcsections" >&6; }
57508
57509 if test "$ac_test_CFLAGS" = set; then
57510 CFLAGS="$ac_save_CFLAGS"
57511 else
57512 # this is the suspicious part
57513 CFLAGS=''
57514 fi
57515 fi
57516
57517 # Set -z,relro.
57518 # Note this is only for shared objects.
57519 ac_ld_relro=no
57520 if test x"$with_gnu_ld" = x"yes"; then
57521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57522 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57523 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57524 if test -n "$cxx_z_relo"; then
57525 OPT_LDFLAGS="-Wl,-z,relro"
57526 ac_ld_relro=yes
57527 fi
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57529 $as_echo "$ac_ld_relro" >&6; }
57530 fi
57531
57532 # Set linker optimization flags.
57533 if test x"$with_gnu_ld" = x"yes"; then
57534 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57535 fi
57536
57537
57538
57539
57540 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57541
57542 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57543
57544 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57545
57546 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57547
57548 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57549
57550 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57551
57552 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57553
57554 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57555
57556 if test x"long_double_math_on_this_cpu" = x"yes"; then
57557 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57558
57559 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57560
57561 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57562
57563 fi
57564 ;;
57565 *-qnx6.1* | *-qnx6.2*)
57566 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57567
57568
57569 # If we're not using GNU ld, then there's no point in even trying these
57570 # tests. Check for that first. We should have already tested for gld
57571 # by now (in libtool), but require it now just to be safe...
57572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57574
57575
57576
57577 # The name set by libtool depends on the version of libtool. Shame on us
57578 # for depending on an impl detail, but c'est la vie. Older versions used
57579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57582 # set (hence we're using an older libtool), then set it.
57583 if test x${with_gnu_ld+set} != xset; then
57584 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57586 with_gnu_ld=no
57587 else
57588 with_gnu_ld=$ac_cv_prog_gnu_ld
57589 fi
57590 fi
57591
57592 # Start by getting the version number. I think the libtool test already
57593 # does some of this, but throws away the result.
57594 glibcxx_ld_is_gold=no
57595 if test x"$with_gnu_ld" = x"yes"; then
57596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57597 $as_echo_n "checking for ld version... " >&6; }
57598
57599 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57600 glibcxx_ld_is_gold=yes
57601 fi
57602 ldver=`$LD --version 2>/dev/null |
57603 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'`
57604
57605 glibcxx_gnu_ld_version=`echo $ldver | \
57606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57608 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57609 fi
57610
57611 # Set --gc-sections.
57612 glibcxx_have_gc_sections=no
57613 if test "$glibcxx_ld_is_gold" = "yes"; then
57614 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57615 glibcxx_have_gc_sections=yes
57616 fi
57617 else
57618 glibcxx_gcsections_min_ld=21602
57619 if test x"$with_gnu_ld" = x"yes" &&
57620 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57621 glibcxx_have_gc_sections=yes
57622 fi
57623 fi
57624 if test "$glibcxx_have_gc_sections" = "yes"; then
57625 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57626 # NB: This flag only works reliably after 2.16.1. Configure tests
57627 # for this are difficult, so hard wire a value that should work.
57628
57629 ac_test_CFLAGS="${CFLAGS+set}"
57630 ac_save_CFLAGS="$CFLAGS"
57631 CFLAGS='-Wl,--gc-sections'
57632
57633 # Check for -Wl,--gc-sections
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57635 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57636 if test x$gcc_no_link = xyes; then
57637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57638 fi
57639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57640 /* end confdefs.h. */
57641 int one(void) { return 1; }
57642 int two(void) { return 2; }
57643
57644 int
57645 main ()
57646 {
57647 two();
57648 ;
57649 return 0;
57650 }
57651 _ACEOF
57652 if ac_fn_c_try_link "$LINENO"; then :
57653 ac_gcsections=yes
57654 else
57655 ac_gcsections=no
57656 fi
57657 rm -f core conftest.err conftest.$ac_objext \
57658 conftest$ac_exeext conftest.$ac_ext
57659 if test "$ac_gcsections" = "yes"; then
57660 rm -f conftest.c
57661 touch conftest.c
57662 if $CC -c conftest.c; then
57663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57664 grep "Warning: gc-sections option ignored" > /dev/null; then
57665 ac_gcsections=no
57666 fi
57667 fi
57668 rm -f conftest.c conftest.o conftest
57669 fi
57670 if test "$ac_gcsections" = "yes"; then
57671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57672 fi
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57674 $as_echo "$ac_gcsections" >&6; }
57675
57676 if test "$ac_test_CFLAGS" = set; then
57677 CFLAGS="$ac_save_CFLAGS"
57678 else
57679 # this is the suspicious part
57680 CFLAGS=''
57681 fi
57682 fi
57683
57684 # Set -z,relro.
57685 # Note this is only for shared objects.
57686 ac_ld_relro=no
57687 if test x"$with_gnu_ld" = x"yes"; then
57688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57689 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57691 if test -n "$cxx_z_relo"; then
57692 OPT_LDFLAGS="-Wl,-z,relro"
57693 ac_ld_relro=yes
57694 fi
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57696 $as_echo "$ac_ld_relro" >&6; }
57697 fi
57698
57699 # Set linker optimization flags.
57700 if test x"$with_gnu_ld" = x"yes"; then
57701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57702 fi
57703
57704
57705
57706
57707 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57708
57709 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57710
57711 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57712
57713 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57714
57715 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57716
57717 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57718
57719 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57720
57721 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57722
57723 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57724
57725 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57726
57727 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57728
57729 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57730
57731 ;;
57732 *-rtems*)
57733
57734 # All these tests are for C++; save the language and the compiler flags.
57735 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57736 # found in GLIBCXX_CONFIGURE.
57737
57738 ac_ext=cpp
57739 ac_cpp='$CXXCPP $CPPFLAGS'
57740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57743
57744 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57745 ac_save_CXXFLAGS="$CXXFLAGS"
57746
57747 # Check for maintainer-mode bits.
57748 if test x"$USE_MAINTAINER_MODE" = xno; then
57749 WERROR=''
57750 else
57751 WERROR='-Werror'
57752 fi
57753
57754 # Check for -ffunction-sections -fdata-sections
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57756 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57757 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759 /* end confdefs.h. */
57760 int foo; void bar() { };
57761 int
57762 main ()
57763 {
57764
57765 ;
57766 return 0;
57767 }
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770 ac_fdsections=yes
57771 else
57772 ac_fdsections=no
57773 fi
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775 if test "$ac_test_CXXFLAGS" = set; then
57776 CXXFLAGS="$ac_save_CXXFLAGS"
57777 else
57778 # this is the suspicious part
57779 CXXFLAGS=''
57780 fi
57781 if test x"$ac_fdsections" = x"yes"; then
57782 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57783 fi
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57785 $as_echo "$ac_fdsections" >&6; }
57786
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
57795
57796
57797 # If we're not using GNU ld, then there's no point in even trying these
57798 # tests. Check for that first. We should have already tested for gld
57799 # by now (in libtool), but require it now just to be safe...
57800 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57801 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57802
57803
57804
57805 # The name set by libtool depends on the version of libtool. Shame on us
57806 # for depending on an impl detail, but c'est la vie. Older versions used
57807 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57808 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57809 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57810 # set (hence we're using an older libtool), then set it.
57811 if test x${with_gnu_ld+set} != xset; then
57812 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57813 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57814 with_gnu_ld=no
57815 else
57816 with_gnu_ld=$ac_cv_prog_gnu_ld
57817 fi
57818 fi
57819
57820 # Start by getting the version number. I think the libtool test already
57821 # does some of this, but throws away the result.
57822 glibcxx_ld_is_gold=no
57823 if test x"$with_gnu_ld" = x"yes"; then
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57825 $as_echo_n "checking for ld version... " >&6; }
57826
57827 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57828 glibcxx_ld_is_gold=yes
57829 fi
57830 ldver=`$LD --version 2>/dev/null |
57831 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'`
57832
57833 glibcxx_gnu_ld_version=`echo $ldver | \
57834 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57836 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57837 fi
57838
57839 # Set --gc-sections.
57840 glibcxx_have_gc_sections=no
57841 if test "$glibcxx_ld_is_gold" = "yes"; then
57842 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57843 glibcxx_have_gc_sections=yes
57844 fi
57845 else
57846 glibcxx_gcsections_min_ld=21602
57847 if test x"$with_gnu_ld" = x"yes" &&
57848 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57849 glibcxx_have_gc_sections=yes
57850 fi
57851 fi
57852 if test "$glibcxx_have_gc_sections" = "yes"; then
57853 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57854 # NB: This flag only works reliably after 2.16.1. Configure tests
57855 # for this are difficult, so hard wire a value that should work.
57856
57857 ac_test_CFLAGS="${CFLAGS+set}"
57858 ac_save_CFLAGS="$CFLAGS"
57859 CFLAGS='-Wl,--gc-sections'
57860
57861 # Check for -Wl,--gc-sections
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57863 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57864 if test x$gcc_no_link = xyes; then
57865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57866 fi
57867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57868 /* end confdefs.h. */
57869 int one(void) { return 1; }
57870 int two(void) { return 2; }
57871
57872 int
57873 main ()
57874 {
57875 two();
57876 ;
57877 return 0;
57878 }
57879 _ACEOF
57880 if ac_fn_c_try_link "$LINENO"; then :
57881 ac_gcsections=yes
57882 else
57883 ac_gcsections=no
57884 fi
57885 rm -f core conftest.err conftest.$ac_objext \
57886 conftest$ac_exeext conftest.$ac_ext
57887 if test "$ac_gcsections" = "yes"; then
57888 rm -f conftest.c
57889 touch conftest.c
57890 if $CC -c conftest.c; then
57891 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57892 grep "Warning: gc-sections option ignored" > /dev/null; then
57893 ac_gcsections=no
57894 fi
57895 fi
57896 rm -f conftest.c conftest.o conftest
57897 fi
57898 if test "$ac_gcsections" = "yes"; then
57899 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57900 fi
57901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57902 $as_echo "$ac_gcsections" >&6; }
57903
57904 if test "$ac_test_CFLAGS" = set; then
57905 CFLAGS="$ac_save_CFLAGS"
57906 else
57907 # this is the suspicious part
57908 CFLAGS=''
57909 fi
57910 fi
57911
57912 # Set -z,relro.
57913 # Note this is only for shared objects.
57914 ac_ld_relro=no
57915 if test x"$with_gnu_ld" = x"yes"; then
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57917 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57918 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57919 if test -n "$cxx_z_relo"; then
57920 OPT_LDFLAGS="-Wl,-z,relro"
57921 ac_ld_relro=yes
57922 fi
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57924 $as_echo "$ac_ld_relro" >&6; }
57925 fi
57926
57927 # Set linker optimization flags.
57928 if test x"$with_gnu_ld" = x"yes"; then
57929 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57930 fi
57931
57932
57933
57934
57935
57936 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57937 ac_save_CXXFLAGS="$CXXFLAGS"
57938 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57939
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57941 $as_echo_n "checking for sin in -lm... " >&6; }
57942 if test "${ac_cv_lib_m_sin+set}" = set; then :
57943 $as_echo_n "(cached) " >&6
57944 else
57945 ac_check_lib_save_LIBS=$LIBS
57946 LIBS="-lm $LIBS"
57947 if test x$gcc_no_link = xyes; then
57948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57949 fi
57950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57951 /* end confdefs.h. */
57952
57953 /* Override any GCC internal prototype to avoid an error.
57954 Use char because int might match the return type of a GCC
57955 builtin and then its argument prototype would still apply. */
57956 #ifdef __cplusplus
57957 extern "C"
57958 #endif
57959 char sin ();
57960 int
57961 main ()
57962 {
57963 return sin ();
57964 ;
57965 return 0;
57966 }
57967 _ACEOF
57968 if ac_fn_c_try_link "$LINENO"; then :
57969 ac_cv_lib_m_sin=yes
57970 else
57971 ac_cv_lib_m_sin=no
57972 fi
57973 rm -f core conftest.err conftest.$ac_objext \
57974 conftest$ac_exeext conftest.$ac_ext
57975 LIBS=$ac_check_lib_save_LIBS
57976 fi
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57978 $as_echo "$ac_cv_lib_m_sin" >&6; }
57979 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57980 libm="-lm"
57981 fi
57982
57983 ac_save_LIBS="$LIBS"
57984 LIBS="$LIBS $libm"
57985
57986
57987
57988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57989 $as_echo_n "checking for isinf declaration... " >&6; }
57990 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57991 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57992 $as_echo_n "(cached) " >&6
57993 else
57994
57995
57996 ac_ext=cpp
57997 ac_cpp='$CXXCPP $CPPFLAGS'
57998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58001
58002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58003 /* end confdefs.h. */
58004 #include <math.h>
58005 #ifdef HAVE_IEEEFP_H
58006 #include <ieeefp.h>
58007 #endif
58008
58009 int
58010 main ()
58011 {
58012 isinf(0);
58013 ;
58014 return 0;
58015 }
58016 _ACEOF
58017 if ac_fn_cxx_try_compile "$LINENO"; then :
58018 glibcxx_cv_func_isinf_use=yes
58019 else
58020 glibcxx_cv_func_isinf_use=no
58021 fi
58022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58023 ac_ext=c
58024 ac_cpp='$CPP $CPPFLAGS'
58025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58028
58029
58030 fi
58031
58032 fi
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58034 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58035
58036 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58037 for ac_func in isinf
58038 do :
58039 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58040 if test "x$ac_cv_func_isinf" = x""yes; then :
58041 cat >>confdefs.h <<_ACEOF
58042 #define HAVE_ISINF 1
58043 _ACEOF
58044
58045 fi
58046 done
58047
58048 else
58049
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58051 $as_echo_n "checking for _isinf declaration... " >&6; }
58052 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58053 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58054 $as_echo_n "(cached) " >&6
58055 else
58056
58057
58058 ac_ext=cpp
58059 ac_cpp='$CXXCPP $CPPFLAGS'
58060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58063
58064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58065 /* end confdefs.h. */
58066 #include <math.h>
58067 #ifdef HAVE_IEEEFP_H
58068 #include <ieeefp.h>
58069 #endif
58070
58071 int
58072 main ()
58073 {
58074 _isinf(0);
58075 ;
58076 return 0;
58077 }
58078 _ACEOF
58079 if ac_fn_cxx_try_compile "$LINENO"; then :
58080 glibcxx_cv_func__isinf_use=yes
58081 else
58082 glibcxx_cv_func__isinf_use=no
58083 fi
58084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58085 ac_ext=c
58086 ac_cpp='$CPP $CPPFLAGS'
58087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58090
58091
58092 fi
58093
58094 fi
58095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58096 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58097
58098 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58099 for ac_func in _isinf
58100 do :
58101 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58102 if test "x$ac_cv_func__isinf" = x""yes; then :
58103 cat >>confdefs.h <<_ACEOF
58104 #define HAVE__ISINF 1
58105 _ACEOF
58106
58107 fi
58108 done
58109
58110 fi
58111 fi
58112
58113
58114
58115
58116
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58118 $as_echo_n "checking for isnan declaration... " >&6; }
58119 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58120 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58121 $as_echo_n "(cached) " >&6
58122 else
58123
58124
58125 ac_ext=cpp
58126 ac_cpp='$CXXCPP $CPPFLAGS'
58127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58130
58131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58132 /* end confdefs.h. */
58133 #include <math.h>
58134 #ifdef HAVE_IEEEFP_H
58135 #include <ieeefp.h>
58136 #endif
58137
58138 int
58139 main ()
58140 {
58141 isnan(0);
58142 ;
58143 return 0;
58144 }
58145 _ACEOF
58146 if ac_fn_cxx_try_compile "$LINENO"; then :
58147 glibcxx_cv_func_isnan_use=yes
58148 else
58149 glibcxx_cv_func_isnan_use=no
58150 fi
58151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58152 ac_ext=c
58153 ac_cpp='$CPP $CPPFLAGS'
58154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58157
58158
58159 fi
58160
58161 fi
58162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58163 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58164
58165 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58166 for ac_func in isnan
58167 do :
58168 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58169 if test "x$ac_cv_func_isnan" = x""yes; then :
58170 cat >>confdefs.h <<_ACEOF
58171 #define HAVE_ISNAN 1
58172 _ACEOF
58173
58174 fi
58175 done
58176
58177 else
58178
58179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58180 $as_echo_n "checking for _isnan declaration... " >&6; }
58181 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58182 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58183 $as_echo_n "(cached) " >&6
58184 else
58185
58186
58187 ac_ext=cpp
58188 ac_cpp='$CXXCPP $CPPFLAGS'
58189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58192
58193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58194 /* end confdefs.h. */
58195 #include <math.h>
58196 #ifdef HAVE_IEEEFP_H
58197 #include <ieeefp.h>
58198 #endif
58199
58200 int
58201 main ()
58202 {
58203 _isnan(0);
58204 ;
58205 return 0;
58206 }
58207 _ACEOF
58208 if ac_fn_cxx_try_compile "$LINENO"; then :
58209 glibcxx_cv_func__isnan_use=yes
58210 else
58211 glibcxx_cv_func__isnan_use=no
58212 fi
58213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58214 ac_ext=c
58215 ac_cpp='$CPP $CPPFLAGS'
58216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58219
58220
58221 fi
58222
58223 fi
58224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58225 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58226
58227 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58228 for ac_func in _isnan
58229 do :
58230 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58231 if test "x$ac_cv_func__isnan" = x""yes; then :
58232 cat >>confdefs.h <<_ACEOF
58233 #define HAVE__ISNAN 1
58234 _ACEOF
58235
58236 fi
58237 done
58238
58239 fi
58240 fi
58241
58242
58243
58244
58245
58246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58247 $as_echo_n "checking for finite declaration... " >&6; }
58248 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58249 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58250 $as_echo_n "(cached) " >&6
58251 else
58252
58253
58254 ac_ext=cpp
58255 ac_cpp='$CXXCPP $CPPFLAGS'
58256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58259
58260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58261 /* end confdefs.h. */
58262 #include <math.h>
58263 #ifdef HAVE_IEEEFP_H
58264 #include <ieeefp.h>
58265 #endif
58266
58267 int
58268 main ()
58269 {
58270 finite(0);
58271 ;
58272 return 0;
58273 }
58274 _ACEOF
58275 if ac_fn_cxx_try_compile "$LINENO"; then :
58276 glibcxx_cv_func_finite_use=yes
58277 else
58278 glibcxx_cv_func_finite_use=no
58279 fi
58280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58281 ac_ext=c
58282 ac_cpp='$CPP $CPPFLAGS'
58283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58286
58287
58288 fi
58289
58290 fi
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58292 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58293
58294 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58295 for ac_func in finite
58296 do :
58297 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58298 if test "x$ac_cv_func_finite" = x""yes; then :
58299 cat >>confdefs.h <<_ACEOF
58300 #define HAVE_FINITE 1
58301 _ACEOF
58302
58303 fi
58304 done
58305
58306 else
58307
58308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58309 $as_echo_n "checking for _finite declaration... " >&6; }
58310 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58311 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58312 $as_echo_n "(cached) " >&6
58313 else
58314
58315
58316 ac_ext=cpp
58317 ac_cpp='$CXXCPP $CPPFLAGS'
58318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58321
58322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58323 /* end confdefs.h. */
58324 #include <math.h>
58325 #ifdef HAVE_IEEEFP_H
58326 #include <ieeefp.h>
58327 #endif
58328
58329 int
58330 main ()
58331 {
58332 _finite(0);
58333 ;
58334 return 0;
58335 }
58336 _ACEOF
58337 if ac_fn_cxx_try_compile "$LINENO"; then :
58338 glibcxx_cv_func__finite_use=yes
58339 else
58340 glibcxx_cv_func__finite_use=no
58341 fi
58342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58343 ac_ext=c
58344 ac_cpp='$CPP $CPPFLAGS'
58345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58348
58349
58350 fi
58351
58352 fi
58353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58354 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58355
58356 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58357 for ac_func in _finite
58358 do :
58359 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58360 if test "x$ac_cv_func__finite" = x""yes; then :
58361 cat >>confdefs.h <<_ACEOF
58362 #define HAVE__FINITE 1
58363 _ACEOF
58364
58365 fi
58366 done
58367
58368 fi
58369 fi
58370
58371
58372
58373
58374
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58376 $as_echo_n "checking for sincos declaration... " >&6; }
58377 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58378 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58379 $as_echo_n "(cached) " >&6
58380 else
58381
58382
58383 ac_ext=cpp
58384 ac_cpp='$CXXCPP $CPPFLAGS'
58385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58388
58389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58390 /* end confdefs.h. */
58391 #include <math.h>
58392 int
58393 main ()
58394 {
58395 sincos(0, 0, 0);
58396 ;
58397 return 0;
58398 }
58399 _ACEOF
58400 if ac_fn_cxx_try_compile "$LINENO"; then :
58401 glibcxx_cv_func_sincos_use=yes
58402 else
58403 glibcxx_cv_func_sincos_use=no
58404 fi
58405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58406 ac_ext=c
58407 ac_cpp='$CPP $CPPFLAGS'
58408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58411
58412
58413 fi
58414
58415 fi
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58417 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58418
58419 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58420 for ac_func in sincos
58421 do :
58422 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58423 if test "x$ac_cv_func_sincos" = x""yes; then :
58424 cat >>confdefs.h <<_ACEOF
58425 #define HAVE_SINCOS 1
58426 _ACEOF
58427
58428 fi
58429 done
58430
58431 else
58432
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58434 $as_echo_n "checking for _sincos declaration... " >&6; }
58435 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58436 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58437 $as_echo_n "(cached) " >&6
58438 else
58439
58440
58441 ac_ext=cpp
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <math.h>
58450 int
58451 main ()
58452 {
58453 _sincos(0, 0, 0);
58454 ;
58455 return 0;
58456 }
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459 glibcxx_cv_func__sincos_use=yes
58460 else
58461 glibcxx_cv_func__sincos_use=no
58462 fi
58463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58469
58470
58471 fi
58472
58473 fi
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58475 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58476
58477 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58478 for ac_func in _sincos
58479 do :
58480 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58481 if test "x$ac_cv_func__sincos" = x""yes; then :
58482 cat >>confdefs.h <<_ACEOF
58483 #define HAVE__SINCOS 1
58484 _ACEOF
58485
58486 fi
58487 done
58488
58489 fi
58490 fi
58491
58492
58493
58494
58495
58496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58497 $as_echo_n "checking for fpclass declaration... " >&6; }
58498 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58499 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58500 $as_echo_n "(cached) " >&6
58501 else
58502
58503
58504 ac_ext=cpp
58505 ac_cpp='$CXXCPP $CPPFLAGS'
58506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58509
58510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58511 /* end confdefs.h. */
58512 #include <math.h>
58513 #ifdef HAVE_IEEEFP_H
58514 #include <ieeefp.h>
58515 #endif
58516
58517 int
58518 main ()
58519 {
58520 fpclass(0);
58521 ;
58522 return 0;
58523 }
58524 _ACEOF
58525 if ac_fn_cxx_try_compile "$LINENO"; then :
58526 glibcxx_cv_func_fpclass_use=yes
58527 else
58528 glibcxx_cv_func_fpclass_use=no
58529 fi
58530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58531 ac_ext=c
58532 ac_cpp='$CPP $CPPFLAGS'
58533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58536
58537
58538 fi
58539
58540 fi
58541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58542 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58543
58544 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58545 for ac_func in fpclass
58546 do :
58547 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58548 if test "x$ac_cv_func_fpclass" = x""yes; then :
58549 cat >>confdefs.h <<_ACEOF
58550 #define HAVE_FPCLASS 1
58551 _ACEOF
58552
58553 fi
58554 done
58555
58556 else
58557
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58559 $as_echo_n "checking for _fpclass declaration... " >&6; }
58560 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58561 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58562 $as_echo_n "(cached) " >&6
58563 else
58564
58565
58566 ac_ext=cpp
58567 ac_cpp='$CXXCPP $CPPFLAGS'
58568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58571
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 #include <math.h>
58575 #ifdef HAVE_IEEEFP_H
58576 #include <ieeefp.h>
58577 #endif
58578
58579 int
58580 main ()
58581 {
58582 _fpclass(0);
58583 ;
58584 return 0;
58585 }
58586 _ACEOF
58587 if ac_fn_cxx_try_compile "$LINENO"; then :
58588 glibcxx_cv_func__fpclass_use=yes
58589 else
58590 glibcxx_cv_func__fpclass_use=no
58591 fi
58592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593 ac_ext=c
58594 ac_cpp='$CPP $CPPFLAGS'
58595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598
58599
58600 fi
58601
58602 fi
58603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58604 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58605
58606 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58607 for ac_func in _fpclass
58608 do :
58609 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58610 if test "x$ac_cv_func__fpclass" = x""yes; then :
58611 cat >>confdefs.h <<_ACEOF
58612 #define HAVE__FPCLASS 1
58613 _ACEOF
58614
58615 fi
58616 done
58617
58618 fi
58619 fi
58620
58621
58622
58623
58624
58625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58626 $as_echo_n "checking for qfpclass declaration... " >&6; }
58627 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58628 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58629 $as_echo_n "(cached) " >&6
58630 else
58631
58632
58633 ac_ext=cpp
58634 ac_cpp='$CXXCPP $CPPFLAGS'
58635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638
58639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h. */
58641 #include <math.h>
58642 #ifdef HAVE_IEEEFP_H
58643 #include <ieeefp.h>
58644 #endif
58645
58646 int
58647 main ()
58648 {
58649 qfpclass(0);
58650 ;
58651 return 0;
58652 }
58653 _ACEOF
58654 if ac_fn_cxx_try_compile "$LINENO"; then :
58655 glibcxx_cv_func_qfpclass_use=yes
58656 else
58657 glibcxx_cv_func_qfpclass_use=no
58658 fi
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58660 ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665
58666
58667 fi
58668
58669 fi
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58671 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58672
58673 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58674 for ac_func in qfpclass
58675 do :
58676 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58677 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58678 cat >>confdefs.h <<_ACEOF
58679 #define HAVE_QFPCLASS 1
58680 _ACEOF
58681
58682 fi
58683 done
58684
58685 else
58686
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58688 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58689 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58690 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58691 $as_echo_n "(cached) " >&6
58692 else
58693
58694
58695 ac_ext=cpp
58696 ac_cpp='$CXXCPP $CPPFLAGS'
58697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58700
58701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h. */
58703 #include <math.h>
58704 #ifdef HAVE_IEEEFP_H
58705 #include <ieeefp.h>
58706 #endif
58707
58708 int
58709 main ()
58710 {
58711 _qfpclass(0);
58712 ;
58713 return 0;
58714 }
58715 _ACEOF
58716 if ac_fn_cxx_try_compile "$LINENO"; then :
58717 glibcxx_cv_func__qfpclass_use=yes
58718 else
58719 glibcxx_cv_func__qfpclass_use=no
58720 fi
58721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58722 ac_ext=c
58723 ac_cpp='$CPP $CPPFLAGS'
58724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58727
58728
58729 fi
58730
58731 fi
58732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58733 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58734
58735 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58736 for ac_func in _qfpclass
58737 do :
58738 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58739 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58740 cat >>confdefs.h <<_ACEOF
58741 #define HAVE__QFPCLASS 1
58742 _ACEOF
58743
58744 fi
58745 done
58746
58747 fi
58748 fi
58749
58750
58751
58752
58753
58754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58755 $as_echo_n "checking for hypot declaration... " >&6; }
58756 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58757 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58758 $as_echo_n "(cached) " >&6
58759 else
58760
58761
58762 ac_ext=cpp
58763 ac_cpp='$CXXCPP $CPPFLAGS'
58764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58767
58768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58769 /* end confdefs.h. */
58770 #include <math.h>
58771 int
58772 main ()
58773 {
58774 hypot(0, 0);
58775 ;
58776 return 0;
58777 }
58778 _ACEOF
58779 if ac_fn_cxx_try_compile "$LINENO"; then :
58780 glibcxx_cv_func_hypot_use=yes
58781 else
58782 glibcxx_cv_func_hypot_use=no
58783 fi
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58785 ac_ext=c
58786 ac_cpp='$CPP $CPPFLAGS'
58787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58790
58791
58792 fi
58793
58794 fi
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58796 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58797
58798 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58799 for ac_func in hypot
58800 do :
58801 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58802 if test "x$ac_cv_func_hypot" = x""yes; then :
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE_HYPOT 1
58805 _ACEOF
58806
58807 fi
58808 done
58809
58810 else
58811
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58813 $as_echo_n "checking for _hypot declaration... " >&6; }
58814 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58815 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58816 $as_echo_n "(cached) " >&6
58817 else
58818
58819
58820 ac_ext=cpp
58821 ac_cpp='$CXXCPP $CPPFLAGS'
58822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58825
58826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58827 /* end confdefs.h. */
58828 #include <math.h>
58829 int
58830 main ()
58831 {
58832 _hypot(0, 0);
58833 ;
58834 return 0;
58835 }
58836 _ACEOF
58837 if ac_fn_cxx_try_compile "$LINENO"; then :
58838 glibcxx_cv_func__hypot_use=yes
58839 else
58840 glibcxx_cv_func__hypot_use=no
58841 fi
58842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58843 ac_ext=c
58844 ac_cpp='$CPP $CPPFLAGS'
58845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58848
58849
58850 fi
58851
58852 fi
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58854 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58855
58856 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58857 for ac_func in _hypot
58858 do :
58859 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58860 if test "x$ac_cv_func__hypot" = x""yes; then :
58861 cat >>confdefs.h <<_ACEOF
58862 #define HAVE__HYPOT 1
58863 _ACEOF
58864
58865 fi
58866 done
58867
58868 fi
58869 fi
58870
58871
58872
58873
58874
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58876 $as_echo_n "checking for float trig functions... " >&6; }
58877 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58878 $as_echo_n "(cached) " >&6
58879 else
58880
58881
58882 ac_ext=cpp
58883 ac_cpp='$CXXCPP $CPPFLAGS'
58884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58887
58888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58889 /* end confdefs.h. */
58890 #include <math.h>
58891 int
58892 main ()
58893 {
58894 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58895 ;
58896 return 0;
58897 }
58898 _ACEOF
58899 if ac_fn_cxx_try_compile "$LINENO"; then :
58900 glibcxx_cv_func_float_trig_use=yes
58901 else
58902 glibcxx_cv_func_float_trig_use=no
58903 fi
58904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58905 ac_ext=c
58906 ac_cpp='$CPP $CPPFLAGS'
58907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58910
58911 fi
58912
58913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58914 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58915 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58916 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58917 do :
58918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58920 eval as_val=\$$as_ac_var
58921 if test "x$as_val" = x""yes; then :
58922 cat >>confdefs.h <<_ACEOF
58923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58924 _ACEOF
58925
58926 fi
58927 done
58928
58929 else
58930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58931 $as_echo_n "checking for _float trig functions... " >&6; }
58932 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58933 $as_echo_n "(cached) " >&6
58934 else
58935
58936
58937 ac_ext=cpp
58938 ac_cpp='$CXXCPP $CPPFLAGS'
58939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 #include <math.h>
58946 int
58947 main ()
58948 {
58949 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58950 ;
58951 return 0;
58952 }
58953 _ACEOF
58954 if ac_fn_cxx_try_compile "$LINENO"; then :
58955 glibcxx_cv_func__float_trig_use=yes
58956 else
58957 glibcxx_cv_func__float_trig_use=no
58958 fi
58959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58960 ac_ext=c
58961 ac_cpp='$CPP $CPPFLAGS'
58962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58965
58966 fi
58967
58968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58969 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58970 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58971 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58972 do :
58973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58975 eval as_val=\$$as_ac_var
58976 if test "x$as_val" = x""yes; then :
58977 cat >>confdefs.h <<_ACEOF
58978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58979 _ACEOF
58980
58981 fi
58982 done
58983
58984 fi
58985 fi
58986
58987
58988
58989
58990
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58992 $as_echo_n "checking for float round functions... " >&6; }
58993 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58996
58997
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59007 int
59008 main ()
59009 {
59010 ceilf (0); floorf (0);
59011 ;
59012 return 0;
59013 }
59014 _ACEOF
59015 if ac_fn_cxx_try_compile "$LINENO"; then :
59016 glibcxx_cv_func_float_round_use=yes
59017 else
59018 glibcxx_cv_func_float_round_use=no
59019 fi
59020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59021 ac_ext=c
59022 ac_cpp='$CPP $CPPFLAGS'
59023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026
59027 fi
59028
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59030 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59031 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59032 for ac_func in ceilf floorf
59033 do :
59034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59036 eval as_val=\$$as_ac_var
59037 if test "x$as_val" = x""yes; then :
59038 cat >>confdefs.h <<_ACEOF
59039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59040 _ACEOF
59041
59042 fi
59043 done
59044
59045 else
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59047 $as_echo_n "checking for _float round functions... " >&6; }
59048 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59051
59052
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59062 int
59063 main ()
59064 {
59065 _ceilf (0); _floorf (0);
59066 ;
59067 return 0;
59068 }
59069 _ACEOF
59070 if ac_fn_cxx_try_compile "$LINENO"; then :
59071 glibcxx_cv_func__float_round_use=yes
59072 else
59073 glibcxx_cv_func__float_round_use=no
59074 fi
59075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076 ac_ext=c
59077 ac_cpp='$CPP $CPPFLAGS'
59078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081
59082 fi
59083
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59085 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59086 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59087 for ac_func in _ceilf _floorf
59088 do :
59089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59091 eval as_val=\$$as_ac_var
59092 if test "x$as_val" = x""yes; then :
59093 cat >>confdefs.h <<_ACEOF
59094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59095 _ACEOF
59096
59097 fi
59098 done
59099
59100 fi
59101 fi
59102
59103
59104
59105
59106
59107
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59109 $as_echo_n "checking for expf declaration... " >&6; }
59110 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59111 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59112 $as_echo_n "(cached) " >&6
59113 else
59114
59115
59116 ac_ext=cpp
59117 ac_cpp='$CXXCPP $CPPFLAGS'
59118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59121
59122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59123 /* end confdefs.h. */
59124 #include <math.h>
59125 #ifdef HAVE_IEEEFP_H
59126 #include <ieeefp.h>
59127 #endif
59128
59129 int
59130 main ()
59131 {
59132 expf(0);
59133 ;
59134 return 0;
59135 }
59136 _ACEOF
59137 if ac_fn_cxx_try_compile "$LINENO"; then :
59138 glibcxx_cv_func_expf_use=yes
59139 else
59140 glibcxx_cv_func_expf_use=no
59141 fi
59142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59143 ac_ext=c
59144 ac_cpp='$CPP $CPPFLAGS'
59145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59148
59149
59150 fi
59151
59152 fi
59153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59154 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59155
59156 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59157 for ac_func in expf
59158 do :
59159 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59160 if test "x$ac_cv_func_expf" = x""yes; then :
59161 cat >>confdefs.h <<_ACEOF
59162 #define HAVE_EXPF 1
59163 _ACEOF
59164
59165 fi
59166 done
59167
59168 else
59169
59170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59171 $as_echo_n "checking for _expf declaration... " >&6; }
59172 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59173 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59174 $as_echo_n "(cached) " >&6
59175 else
59176
59177
59178 ac_ext=cpp
59179 ac_cpp='$CXXCPP $CPPFLAGS'
59180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59183
59184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59185 /* end confdefs.h. */
59186 #include <math.h>
59187 #ifdef HAVE_IEEEFP_H
59188 #include <ieeefp.h>
59189 #endif
59190
59191 int
59192 main ()
59193 {
59194 _expf(0);
59195 ;
59196 return 0;
59197 }
59198 _ACEOF
59199 if ac_fn_cxx_try_compile "$LINENO"; then :
59200 glibcxx_cv_func__expf_use=yes
59201 else
59202 glibcxx_cv_func__expf_use=no
59203 fi
59204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59205 ac_ext=c
59206 ac_cpp='$CPP $CPPFLAGS'
59207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210
59211
59212 fi
59213
59214 fi
59215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59216 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59217
59218 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59219 for ac_func in _expf
59220 do :
59221 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59222 if test "x$ac_cv_func__expf" = x""yes; then :
59223 cat >>confdefs.h <<_ACEOF
59224 #define HAVE__EXPF 1
59225 _ACEOF
59226
59227 fi
59228 done
59229
59230 fi
59231 fi
59232
59233
59234
59235
59236
59237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59238 $as_echo_n "checking for isnanf declaration... " >&6; }
59239 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59240 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59241 $as_echo_n "(cached) " >&6
59242 else
59243
59244
59245 ac_ext=cpp
59246 ac_cpp='$CXXCPP $CPPFLAGS'
59247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250
59251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59252 /* end confdefs.h. */
59253 #include <math.h>
59254 #ifdef HAVE_IEEEFP_H
59255 #include <ieeefp.h>
59256 #endif
59257
59258 int
59259 main ()
59260 {
59261 isnanf(0);
59262 ;
59263 return 0;
59264 }
59265 _ACEOF
59266 if ac_fn_cxx_try_compile "$LINENO"; then :
59267 glibcxx_cv_func_isnanf_use=yes
59268 else
59269 glibcxx_cv_func_isnanf_use=no
59270 fi
59271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59272 ac_ext=c
59273 ac_cpp='$CPP $CPPFLAGS'
59274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59277
59278
59279 fi
59280
59281 fi
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59283 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59284
59285 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59286 for ac_func in isnanf
59287 do :
59288 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59289 if test "x$ac_cv_func_isnanf" = x""yes; then :
59290 cat >>confdefs.h <<_ACEOF
59291 #define HAVE_ISNANF 1
59292 _ACEOF
59293
59294 fi
59295 done
59296
59297 else
59298
59299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59300 $as_echo_n "checking for _isnanf declaration... " >&6; }
59301 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59302 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59303 $as_echo_n "(cached) " >&6
59304 else
59305
59306
59307 ac_ext=cpp
59308 ac_cpp='$CXXCPP $CPPFLAGS'
59309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59312
59313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59314 /* end confdefs.h. */
59315 #include <math.h>
59316 #ifdef HAVE_IEEEFP_H
59317 #include <ieeefp.h>
59318 #endif
59319
59320 int
59321 main ()
59322 {
59323 _isnanf(0);
59324 ;
59325 return 0;
59326 }
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329 glibcxx_cv_func__isnanf_use=yes
59330 else
59331 glibcxx_cv_func__isnanf_use=no
59332 fi
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334 ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339
59340
59341 fi
59342
59343 fi
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59345 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59346
59347 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59348 for ac_func in _isnanf
59349 do :
59350 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59351 if test "x$ac_cv_func__isnanf" = x""yes; then :
59352 cat >>confdefs.h <<_ACEOF
59353 #define HAVE__ISNANF 1
59354 _ACEOF
59355
59356 fi
59357 done
59358
59359 fi
59360 fi
59361
59362
59363
59364
59365
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59367 $as_echo_n "checking for isinff declaration... " >&6; }
59368 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59369 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59370 $as_echo_n "(cached) " >&6
59371 else
59372
59373
59374 ac_ext=cpp
59375 ac_cpp='$CXXCPP $CPPFLAGS'
59376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379
59380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59381 /* end confdefs.h. */
59382 #include <math.h>
59383 #ifdef HAVE_IEEEFP_H
59384 #include <ieeefp.h>
59385 #endif
59386
59387 int
59388 main ()
59389 {
59390 isinff(0);
59391 ;
59392 return 0;
59393 }
59394 _ACEOF
59395 if ac_fn_cxx_try_compile "$LINENO"; then :
59396 glibcxx_cv_func_isinff_use=yes
59397 else
59398 glibcxx_cv_func_isinff_use=no
59399 fi
59400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59401 ac_ext=c
59402 ac_cpp='$CPP $CPPFLAGS'
59403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59406
59407
59408 fi
59409
59410 fi
59411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59412 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59413
59414 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59415 for ac_func in isinff
59416 do :
59417 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59418 if test "x$ac_cv_func_isinff" = x""yes; then :
59419 cat >>confdefs.h <<_ACEOF
59420 #define HAVE_ISINFF 1
59421 _ACEOF
59422
59423 fi
59424 done
59425
59426 else
59427
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59429 $as_echo_n "checking for _isinff declaration... " >&6; }
59430 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59431 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59434
59435
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <math.h>
59445 #ifdef HAVE_IEEEFP_H
59446 #include <ieeefp.h>
59447 #endif
59448
59449 int
59450 main ()
59451 {
59452 _isinff(0);
59453 ;
59454 return 0;
59455 }
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func__isinff_use=yes
59459 else
59460 glibcxx_cv_func__isinff_use=no
59461 fi
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59468
59469
59470 fi
59471
59472 fi
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59474 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59475
59476 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59477 for ac_func in _isinff
59478 do :
59479 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59480 if test "x$ac_cv_func__isinff" = x""yes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE__ISINFF 1
59483 _ACEOF
59484
59485 fi
59486 done
59487
59488 fi
59489 fi
59490
59491
59492
59493
59494
59495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59496 $as_echo_n "checking for atan2f declaration... " >&6; }
59497 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59498 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59499 $as_echo_n "(cached) " >&6
59500 else
59501
59502
59503 ac_ext=cpp
59504 ac_cpp='$CXXCPP $CPPFLAGS'
59505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59508
59509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59510 /* end confdefs.h. */
59511 #include <math.h>
59512 int
59513 main ()
59514 {
59515 atan2f(0, 0);
59516 ;
59517 return 0;
59518 }
59519 _ACEOF
59520 if ac_fn_cxx_try_compile "$LINENO"; then :
59521 glibcxx_cv_func_atan2f_use=yes
59522 else
59523 glibcxx_cv_func_atan2f_use=no
59524 fi
59525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59526 ac_ext=c
59527 ac_cpp='$CPP $CPPFLAGS'
59528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59531
59532
59533 fi
59534
59535 fi
59536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59537 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59538
59539 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59540 for ac_func in atan2f
59541 do :
59542 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59543 if test "x$ac_cv_func_atan2f" = x""yes; then :
59544 cat >>confdefs.h <<_ACEOF
59545 #define HAVE_ATAN2F 1
59546 _ACEOF
59547
59548 fi
59549 done
59550
59551 else
59552
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59554 $as_echo_n "checking for _atan2f declaration... " >&6; }
59555 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59556 if test "${glibcxx_cv_func__atan2f_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 int
59571 main ()
59572 {
59573 _atan2f(0, 0);
59574 ;
59575 return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func__atan2f_use=yes
59580 else
59581 glibcxx_cv_func__atan2f_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593 fi
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59595 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59596
59597 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59598 for ac_func in _atan2f
59599 do :
59600 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59601 if test "x$ac_cv_func__atan2f" = x""yes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE__ATAN2F 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609 fi
59610 fi
59611
59612
59613
59614
59615
59616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59617 $as_echo_n "checking for fabsf declaration... " >&6; }
59618 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59619 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59620 $as_echo_n "(cached) " >&6
59621 else
59622
59623
59624 ac_ext=cpp
59625 ac_cpp='$CXXCPP $CPPFLAGS'
59626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59629
59630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59631 /* end confdefs.h. */
59632 #include <math.h>
59633 #ifdef HAVE_IEEEFP_H
59634 #include <ieeefp.h>
59635 #endif
59636
59637 int
59638 main ()
59639 {
59640 fabsf(0);
59641 ;
59642 return 0;
59643 }
59644 _ACEOF
59645 if ac_fn_cxx_try_compile "$LINENO"; then :
59646 glibcxx_cv_func_fabsf_use=yes
59647 else
59648 glibcxx_cv_func_fabsf_use=no
59649 fi
59650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59651 ac_ext=c
59652 ac_cpp='$CPP $CPPFLAGS'
59653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59656
59657
59658 fi
59659
59660 fi
59661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59662 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59663
59664 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59665 for ac_func in fabsf
59666 do :
59667 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59668 if test "x$ac_cv_func_fabsf" = x""yes; then :
59669 cat >>confdefs.h <<_ACEOF
59670 #define HAVE_FABSF 1
59671 _ACEOF
59672
59673 fi
59674 done
59675
59676 else
59677
59678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59679 $as_echo_n "checking for _fabsf declaration... " >&6; }
59680 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59681 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59682 $as_echo_n "(cached) " >&6
59683 else
59684
59685
59686 ac_ext=cpp
59687 ac_cpp='$CXXCPP $CPPFLAGS'
59688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59691
59692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59693 /* end confdefs.h. */
59694 #include <math.h>
59695 #ifdef HAVE_IEEEFP_H
59696 #include <ieeefp.h>
59697 #endif
59698
59699 int
59700 main ()
59701 {
59702 _fabsf(0);
59703 ;
59704 return 0;
59705 }
59706 _ACEOF
59707 if ac_fn_cxx_try_compile "$LINENO"; then :
59708 glibcxx_cv_func__fabsf_use=yes
59709 else
59710 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
59724 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59725
59726 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59727 for ac_func in _fabsf
59728 do :
59729 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59730 if test "x$ac_cv_func__fabsf" = x""yes; then :
59731 cat >>confdefs.h <<_ACEOF
59732 #define HAVE__FABSF 1
59733 _ACEOF
59734
59735 fi
59736 done
59737
59738 fi
59739 fi
59740
59741
59742
59743
59744
59745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59746 $as_echo_n "checking for fmodf declaration... " >&6; }
59747 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59748 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59749 $as_echo_n "(cached) " >&6
59750 else
59751
59752
59753 ac_ext=cpp
59754 ac_cpp='$CXXCPP $CPPFLAGS'
59755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59758
59759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59760 /* end confdefs.h. */
59761 #include <math.h>
59762 int
59763 main ()
59764 {
59765 fmodf(0, 0);
59766 ;
59767 return 0;
59768 }
59769 _ACEOF
59770 if ac_fn_cxx_try_compile "$LINENO"; then :
59771 glibcxx_cv_func_fmodf_use=yes
59772 else
59773 glibcxx_cv_func_fmodf_use=no
59774 fi
59775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59776 ac_ext=c
59777 ac_cpp='$CPP $CPPFLAGS'
59778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59781
59782
59783 fi
59784
59785 fi
59786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59787 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59788
59789 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59790 for ac_func in fmodf
59791 do :
59792 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59793 if test "x$ac_cv_func_fmodf" = x""yes; then :
59794 cat >>confdefs.h <<_ACEOF
59795 #define HAVE_FMODF 1
59796 _ACEOF
59797
59798 fi
59799 done
59800
59801 else
59802
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59804 $as_echo_n "checking for _fmodf declaration... " >&6; }
59805 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59806 if test "${glibcxx_cv_func__fmodf_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 int
59821 main ()
59822 {
59823 _fmodf(0, 0);
59824 ;
59825 return 0;
59826 }
59827 _ACEOF
59828 if ac_fn_cxx_try_compile "$LINENO"; then :
59829 glibcxx_cv_func__fmodf_use=yes
59830 else
59831 glibcxx_cv_func__fmodf_use=no
59832 fi
59833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834 ac_ext=c
59835 ac_cpp='$CPP $CPPFLAGS'
59836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839
59840
59841 fi
59842
59843 fi
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59845 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59846
59847 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59848 for ac_func in _fmodf
59849 do :
59850 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59851 if test "x$ac_cv_func__fmodf" = x""yes; then :
59852 cat >>confdefs.h <<_ACEOF
59853 #define HAVE__FMODF 1
59854 _ACEOF
59855
59856 fi
59857 done
59858
59859 fi
59860 fi
59861
59862
59863
59864
59865
59866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59867 $as_echo_n "checking for frexpf declaration... " >&6; }
59868 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59869 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59870 $as_echo_n "(cached) " >&6
59871 else
59872
59873
59874 ac_ext=cpp
59875 ac_cpp='$CXXCPP $CPPFLAGS'
59876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59879
59880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59881 /* end confdefs.h. */
59882 #include <math.h>
59883 int
59884 main ()
59885 {
59886 frexpf(0, 0);
59887 ;
59888 return 0;
59889 }
59890 _ACEOF
59891 if ac_fn_cxx_try_compile "$LINENO"; then :
59892 glibcxx_cv_func_frexpf_use=yes
59893 else
59894 glibcxx_cv_func_frexpf_use=no
59895 fi
59896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59897 ac_ext=c
59898 ac_cpp='$CPP $CPPFLAGS'
59899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59902
59903
59904 fi
59905
59906 fi
59907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59908 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59909
59910 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59911 for ac_func in frexpf
59912 do :
59913 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59914 if test "x$ac_cv_func_frexpf" = x""yes; then :
59915 cat >>confdefs.h <<_ACEOF
59916 #define HAVE_FREXPF 1
59917 _ACEOF
59918
59919 fi
59920 done
59921
59922 else
59923
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59925 $as_echo_n "checking for _frexpf declaration... " >&6; }
59926 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59927 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59928 $as_echo_n "(cached) " >&6
59929 else
59930
59931
59932 ac_ext=cpp
59933 ac_cpp='$CXXCPP $CPPFLAGS'
59934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59937
59938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59939 /* end confdefs.h. */
59940 #include <math.h>
59941 int
59942 main ()
59943 {
59944 _frexpf(0, 0);
59945 ;
59946 return 0;
59947 }
59948 _ACEOF
59949 if ac_fn_cxx_try_compile "$LINENO"; then :
59950 glibcxx_cv_func__frexpf_use=yes
59951 else
59952 glibcxx_cv_func__frexpf_use=no
59953 fi
59954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59955 ac_ext=c
59956 ac_cpp='$CPP $CPPFLAGS'
59957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59960
59961
59962 fi
59963
59964 fi
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59966 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59967
59968 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59969 for ac_func in _frexpf
59970 do :
59971 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59972 if test "x$ac_cv_func__frexpf" = x""yes; then :
59973 cat >>confdefs.h <<_ACEOF
59974 #define HAVE__FREXPF 1
59975 _ACEOF
59976
59977 fi
59978 done
59979
59980 fi
59981 fi
59982
59983
59984
59985
59986
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59988 $as_echo_n "checking for hypotf declaration... " >&6; }
59989 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59990 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59991 $as_echo_n "(cached) " >&6
59992 else
59993
59994
59995 ac_ext=cpp
59996 ac_cpp='$CXXCPP $CPPFLAGS'
59997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000
60001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60002 /* end confdefs.h. */
60003 #include <math.h>
60004 int
60005 main ()
60006 {
60007 hypotf(0, 0);
60008 ;
60009 return 0;
60010 }
60011 _ACEOF
60012 if ac_fn_cxx_try_compile "$LINENO"; then :
60013 glibcxx_cv_func_hypotf_use=yes
60014 else
60015 glibcxx_cv_func_hypotf_use=no
60016 fi
60017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60018 ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60023
60024
60025 fi
60026
60027 fi
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60029 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60030
60031 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60032 for ac_func in hypotf
60033 do :
60034 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60035 if test "x$ac_cv_func_hypotf" = x""yes; then :
60036 cat >>confdefs.h <<_ACEOF
60037 #define HAVE_HYPOTF 1
60038 _ACEOF
60039
60040 fi
60041 done
60042
60043 else
60044
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60046 $as_echo_n "checking for _hypotf declaration... " >&6; }
60047 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60048 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60049 $as_echo_n "(cached) " >&6
60050 else
60051
60052
60053 ac_ext=cpp
60054 ac_cpp='$CXXCPP $CPPFLAGS'
60055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60058
60059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60060 /* end confdefs.h. */
60061 #include <math.h>
60062 int
60063 main ()
60064 {
60065 _hypotf(0, 0);
60066 ;
60067 return 0;
60068 }
60069 _ACEOF
60070 if ac_fn_cxx_try_compile "$LINENO"; then :
60071 glibcxx_cv_func__hypotf_use=yes
60072 else
60073 glibcxx_cv_func__hypotf_use=no
60074 fi
60075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60076 ac_ext=c
60077 ac_cpp='$CPP $CPPFLAGS'
60078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60081
60082
60083 fi
60084
60085 fi
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60087 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60088
60089 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60090 for ac_func in _hypotf
60091 do :
60092 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60093 if test "x$ac_cv_func__hypotf" = x""yes; then :
60094 cat >>confdefs.h <<_ACEOF
60095 #define HAVE__HYPOTF 1
60096 _ACEOF
60097
60098 fi
60099 done
60100
60101 fi
60102 fi
60103
60104
60105
60106
60107
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60109 $as_echo_n "checking for ldexpf declaration... " >&6; }
60110 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60111 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60114
60115
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <math.h>
60125 int
60126 main ()
60127 {
60128 ldexpf(0, 0);
60129 ;
60130 return 0;
60131 }
60132 _ACEOF
60133 if ac_fn_cxx_try_compile "$LINENO"; then :
60134 glibcxx_cv_func_ldexpf_use=yes
60135 else
60136 glibcxx_cv_func_ldexpf_use=no
60137 fi
60138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60139 ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60144
60145
60146 fi
60147
60148 fi
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60150 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60151
60152 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60153 for ac_func in ldexpf
60154 do :
60155 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60156 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60157 cat >>confdefs.h <<_ACEOF
60158 #define HAVE_LDEXPF 1
60159 _ACEOF
60160
60161 fi
60162 done
60163
60164 else
60165
60166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60167 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60168 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60169 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60170 $as_echo_n "(cached) " >&6
60171 else
60172
60173
60174 ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179
60180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h. */
60182 #include <math.h>
60183 int
60184 main ()
60185 {
60186 _ldexpf(0, 0);
60187 ;
60188 return 0;
60189 }
60190 _ACEOF
60191 if ac_fn_cxx_try_compile "$LINENO"; then :
60192 glibcxx_cv_func__ldexpf_use=yes
60193 else
60194 glibcxx_cv_func__ldexpf_use=no
60195 fi
60196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60197 ac_ext=c
60198 ac_cpp='$CPP $CPPFLAGS'
60199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60202
60203
60204 fi
60205
60206 fi
60207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60208 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60209
60210 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60211 for ac_func in _ldexpf
60212 do :
60213 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60214 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60215 cat >>confdefs.h <<_ACEOF
60216 #define HAVE__LDEXPF 1
60217 _ACEOF
60218
60219 fi
60220 done
60221
60222 fi
60223 fi
60224
60225
60226
60227
60228
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60230 $as_echo_n "checking for logf declaration... " >&6; }
60231 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60232 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60233 $as_echo_n "(cached) " >&6
60234 else
60235
60236
60237 ac_ext=cpp
60238 ac_cpp='$CXXCPP $CPPFLAGS'
60239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242
60243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60244 /* end confdefs.h. */
60245 #include <math.h>
60246 #ifdef HAVE_IEEEFP_H
60247 #include <ieeefp.h>
60248 #endif
60249
60250 int
60251 main ()
60252 {
60253 logf(0);
60254 ;
60255 return 0;
60256 }
60257 _ACEOF
60258 if ac_fn_cxx_try_compile "$LINENO"; then :
60259 glibcxx_cv_func_logf_use=yes
60260 else
60261 glibcxx_cv_func_logf_use=no
60262 fi
60263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60269
60270
60271 fi
60272
60273 fi
60274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60275 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60276
60277 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60278 for ac_func in logf
60279 do :
60280 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60281 if test "x$ac_cv_func_logf" = x""yes; then :
60282 cat >>confdefs.h <<_ACEOF
60283 #define HAVE_LOGF 1
60284 _ACEOF
60285
60286 fi
60287 done
60288
60289 else
60290
60291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60292 $as_echo_n "checking for _logf declaration... " >&6; }
60293 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60294 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60295 $as_echo_n "(cached) " >&6
60296 else
60297
60298
60299 ac_ext=cpp
60300 ac_cpp='$CXXCPP $CPPFLAGS'
60301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60304
60305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60306 /* end confdefs.h. */
60307 #include <math.h>
60308 #ifdef HAVE_IEEEFP_H
60309 #include <ieeefp.h>
60310 #endif
60311
60312 int
60313 main ()
60314 {
60315 _logf(0);
60316 ;
60317 return 0;
60318 }
60319 _ACEOF
60320 if ac_fn_cxx_try_compile "$LINENO"; then :
60321 glibcxx_cv_func__logf_use=yes
60322 else
60323 glibcxx_cv_func__logf_use=no
60324 fi
60325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60326 ac_ext=c
60327 ac_cpp='$CPP $CPPFLAGS'
60328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60331
60332
60333 fi
60334
60335 fi
60336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60337 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60338
60339 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60340 for ac_func in _logf
60341 do :
60342 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60343 if test "x$ac_cv_func__logf" = x""yes; then :
60344 cat >>confdefs.h <<_ACEOF
60345 #define HAVE__LOGF 1
60346 _ACEOF
60347
60348 fi
60349 done
60350
60351 fi
60352 fi
60353
60354
60355
60356
60357
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60359 $as_echo_n "checking for log10f declaration... " >&6; }
60360 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60361 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60362 $as_echo_n "(cached) " >&6
60363 else
60364
60365
60366 ac_ext=cpp
60367 ac_cpp='$CXXCPP $CPPFLAGS'
60368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60371
60372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60373 /* end confdefs.h. */
60374 #include <math.h>
60375 #ifdef HAVE_IEEEFP_H
60376 #include <ieeefp.h>
60377 #endif
60378
60379 int
60380 main ()
60381 {
60382 log10f(0);
60383 ;
60384 return 0;
60385 }
60386 _ACEOF
60387 if ac_fn_cxx_try_compile "$LINENO"; then :
60388 glibcxx_cv_func_log10f_use=yes
60389 else
60390 glibcxx_cv_func_log10f_use=no
60391 fi
60392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60393 ac_ext=c
60394 ac_cpp='$CPP $CPPFLAGS'
60395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60398
60399
60400 fi
60401
60402 fi
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60404 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60405
60406 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60407 for ac_func in log10f
60408 do :
60409 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60410 if test "x$ac_cv_func_log10f" = x""yes; then :
60411 cat >>confdefs.h <<_ACEOF
60412 #define HAVE_LOG10F 1
60413 _ACEOF
60414
60415 fi
60416 done
60417
60418 else
60419
60420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60421 $as_echo_n "checking for _log10f declaration... " >&6; }
60422 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60423 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60424 $as_echo_n "(cached) " >&6
60425 else
60426
60427
60428 ac_ext=cpp
60429 ac_cpp='$CXXCPP $CPPFLAGS'
60430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60433
60434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60435 /* end confdefs.h. */
60436 #include <math.h>
60437 #ifdef HAVE_IEEEFP_H
60438 #include <ieeefp.h>
60439 #endif
60440
60441 int
60442 main ()
60443 {
60444 _log10f(0);
60445 ;
60446 return 0;
60447 }
60448 _ACEOF
60449 if ac_fn_cxx_try_compile "$LINENO"; then :
60450 glibcxx_cv_func__log10f_use=yes
60451 else
60452 glibcxx_cv_func__log10f_use=no
60453 fi
60454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60455 ac_ext=c
60456 ac_cpp='$CPP $CPPFLAGS'
60457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60460
60461
60462 fi
60463
60464 fi
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60466 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60467
60468 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60469 for ac_func in _log10f
60470 do :
60471 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60472 if test "x$ac_cv_func__log10f" = x""yes; then :
60473 cat >>confdefs.h <<_ACEOF
60474 #define HAVE__LOG10F 1
60475 _ACEOF
60476
60477 fi
60478 done
60479
60480 fi
60481 fi
60482
60483
60484
60485
60486
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60488 $as_echo_n "checking for modff declaration... " >&6; }
60489 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60490 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60491 $as_echo_n "(cached) " >&6
60492 else
60493
60494
60495 ac_ext=cpp
60496 ac_cpp='$CXXCPP $CPPFLAGS'
60497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60500
60501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60502 /* end confdefs.h. */
60503 #include <math.h>
60504 int
60505 main ()
60506 {
60507 modff(0, 0);
60508 ;
60509 return 0;
60510 }
60511 _ACEOF
60512 if ac_fn_cxx_try_compile "$LINENO"; then :
60513 glibcxx_cv_func_modff_use=yes
60514 else
60515 glibcxx_cv_func_modff_use=no
60516 fi
60517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60518 ac_ext=c
60519 ac_cpp='$CPP $CPPFLAGS'
60520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60523
60524
60525 fi
60526
60527 fi
60528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60529 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60530
60531 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60532 for ac_func in modff
60533 do :
60534 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60535 if test "x$ac_cv_func_modff" = x""yes; then :
60536 cat >>confdefs.h <<_ACEOF
60537 #define HAVE_MODFF 1
60538 _ACEOF
60539
60540 fi
60541 done
60542
60543 else
60544
60545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60546 $as_echo_n "checking for _modff declaration... " >&6; }
60547 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60548 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60549 $as_echo_n "(cached) " >&6
60550 else
60551
60552
60553 ac_ext=cpp
60554 ac_cpp='$CXXCPP $CPPFLAGS'
60555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60558
60559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60560 /* end confdefs.h. */
60561 #include <math.h>
60562 int
60563 main ()
60564 {
60565 _modff(0, 0);
60566 ;
60567 return 0;
60568 }
60569 _ACEOF
60570 if ac_fn_cxx_try_compile "$LINENO"; then :
60571 glibcxx_cv_func__modff_use=yes
60572 else
60573 glibcxx_cv_func__modff_use=no
60574 fi
60575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60576 ac_ext=c
60577 ac_cpp='$CPP $CPPFLAGS'
60578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60581
60582
60583 fi
60584
60585 fi
60586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60587 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60588
60589 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60590 for ac_func in _modff
60591 do :
60592 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60593 if test "x$ac_cv_func__modff" = x""yes; then :
60594 cat >>confdefs.h <<_ACEOF
60595 #define HAVE__MODFF 1
60596 _ACEOF
60597
60598 fi
60599 done
60600
60601 fi
60602 fi
60603
60604
60605
60606
60607
60608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60609 $as_echo_n "checking for modf declaration... " >&6; }
60610 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60611 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60612 $as_echo_n "(cached) " >&6
60613 else
60614
60615
60616 ac_ext=cpp
60617 ac_cpp='$CXXCPP $CPPFLAGS'
60618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60621
60622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60623 /* end confdefs.h. */
60624 #include <math.h>
60625 int
60626 main ()
60627 {
60628 modf(0, 0);
60629 ;
60630 return 0;
60631 }
60632 _ACEOF
60633 if ac_fn_cxx_try_compile "$LINENO"; then :
60634 glibcxx_cv_func_modf_use=yes
60635 else
60636 glibcxx_cv_func_modf_use=no
60637 fi
60638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60639 ac_ext=c
60640 ac_cpp='$CPP $CPPFLAGS'
60641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60644
60645
60646 fi
60647
60648 fi
60649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60650 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60651
60652 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60653 for ac_func in modf
60654 do :
60655 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60656 if test "x$ac_cv_func_modf" = x""yes; then :
60657 cat >>confdefs.h <<_ACEOF
60658 #define HAVE_MODF 1
60659 _ACEOF
60660
60661 fi
60662 done
60663
60664 else
60665
60666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60667 $as_echo_n "checking for _modf declaration... " >&6; }
60668 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60669 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60670 $as_echo_n "(cached) " >&6
60671 else
60672
60673
60674 ac_ext=cpp
60675 ac_cpp='$CXXCPP $CPPFLAGS'
60676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60679
60680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60681 /* end confdefs.h. */
60682 #include <math.h>
60683 int
60684 main ()
60685 {
60686 _modf(0, 0);
60687 ;
60688 return 0;
60689 }
60690 _ACEOF
60691 if ac_fn_cxx_try_compile "$LINENO"; then :
60692 glibcxx_cv_func__modf_use=yes
60693 else
60694 glibcxx_cv_func__modf_use=no
60695 fi
60696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60697 ac_ext=c
60698 ac_cpp='$CPP $CPPFLAGS'
60699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60702
60703
60704 fi
60705
60706 fi
60707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60708 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60709
60710 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60711 for ac_func in _modf
60712 do :
60713 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60714 if test "x$ac_cv_func__modf" = x""yes; then :
60715 cat >>confdefs.h <<_ACEOF
60716 #define HAVE__MODF 1
60717 _ACEOF
60718
60719 fi
60720 done
60721
60722 fi
60723 fi
60724
60725
60726
60727
60728
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60730 $as_echo_n "checking for powf declaration... " >&6; }
60731 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60732 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60733 $as_echo_n "(cached) " >&6
60734 else
60735
60736
60737 ac_ext=cpp
60738 ac_cpp='$CXXCPP $CPPFLAGS'
60739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742
60743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60744 /* end confdefs.h. */
60745 #include <math.h>
60746 int
60747 main ()
60748 {
60749 powf(0, 0);
60750 ;
60751 return 0;
60752 }
60753 _ACEOF
60754 if ac_fn_cxx_try_compile "$LINENO"; then :
60755 glibcxx_cv_func_powf_use=yes
60756 else
60757 glibcxx_cv_func_powf_use=no
60758 fi
60759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60760 ac_ext=c
60761 ac_cpp='$CPP $CPPFLAGS'
60762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765
60766
60767 fi
60768
60769 fi
60770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60771 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60772
60773 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60774 for ac_func in powf
60775 do :
60776 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60777 if test "x$ac_cv_func_powf" = x""yes; then :
60778 cat >>confdefs.h <<_ACEOF
60779 #define HAVE_POWF 1
60780 _ACEOF
60781
60782 fi
60783 done
60784
60785 else
60786
60787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60788 $as_echo_n "checking for _powf declaration... " >&6; }
60789 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60790 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60791 $as_echo_n "(cached) " >&6
60792 else
60793
60794
60795 ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60800
60801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h. */
60803 #include <math.h>
60804 int
60805 main ()
60806 {
60807 _powf(0, 0);
60808 ;
60809 return 0;
60810 }
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813 glibcxx_cv_func__powf_use=yes
60814 else
60815 glibcxx_cv_func__powf_use=no
60816 fi
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818 ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823
60824
60825 fi
60826
60827 fi
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60829 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60830
60831 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60832 for ac_func in _powf
60833 do :
60834 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60835 if test "x$ac_cv_func__powf" = x""yes; then :
60836 cat >>confdefs.h <<_ACEOF
60837 #define HAVE__POWF 1
60838 _ACEOF
60839
60840 fi
60841 done
60842
60843 fi
60844 fi
60845
60846
60847
60848
60849
60850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60851 $as_echo_n "checking for sqrtf declaration... " >&6; }
60852 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60853 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60854 $as_echo_n "(cached) " >&6
60855 else
60856
60857
60858 ac_ext=cpp
60859 ac_cpp='$CXXCPP $CPPFLAGS'
60860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60863
60864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60865 /* end confdefs.h. */
60866 #include <math.h>
60867 #ifdef HAVE_IEEEFP_H
60868 #include <ieeefp.h>
60869 #endif
60870
60871 int
60872 main ()
60873 {
60874 sqrtf(0);
60875 ;
60876 return 0;
60877 }
60878 _ACEOF
60879 if ac_fn_cxx_try_compile "$LINENO"; then :
60880 glibcxx_cv_func_sqrtf_use=yes
60881 else
60882 glibcxx_cv_func_sqrtf_use=no
60883 fi
60884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60890
60891
60892 fi
60893
60894 fi
60895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60896 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60897
60898 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60899 for ac_func in sqrtf
60900 do :
60901 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60902 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60903 cat >>confdefs.h <<_ACEOF
60904 #define HAVE_SQRTF 1
60905 _ACEOF
60906
60907 fi
60908 done
60909
60910 else
60911
60912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60913 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60914 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60915 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60916 $as_echo_n "(cached) " >&6
60917 else
60918
60919
60920 ac_ext=cpp
60921 ac_cpp='$CXXCPP $CPPFLAGS'
60922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60925
60926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60927 /* end confdefs.h. */
60928 #include <math.h>
60929 #ifdef HAVE_IEEEFP_H
60930 #include <ieeefp.h>
60931 #endif
60932
60933 int
60934 main ()
60935 {
60936 _sqrtf(0);
60937 ;
60938 return 0;
60939 }
60940 _ACEOF
60941 if ac_fn_cxx_try_compile "$LINENO"; then :
60942 glibcxx_cv_func__sqrtf_use=yes
60943 else
60944 glibcxx_cv_func__sqrtf_use=no
60945 fi
60946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60947 ac_ext=c
60948 ac_cpp='$CPP $CPPFLAGS'
60949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60952
60953
60954 fi
60955
60956 fi
60957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60958 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60959
60960 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60961 for ac_func in _sqrtf
60962 do :
60963 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60964 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60965 cat >>confdefs.h <<_ACEOF
60966 #define HAVE__SQRTF 1
60967 _ACEOF
60968
60969 fi
60970 done
60971
60972 fi
60973 fi
60974
60975
60976
60977
60978
60979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60980 $as_echo_n "checking for sincosf declaration... " >&6; }
60981 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60982 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60983 $as_echo_n "(cached) " >&6
60984 else
60985
60986
60987 ac_ext=cpp
60988 ac_cpp='$CXXCPP $CPPFLAGS'
60989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60992
60993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60994 /* end confdefs.h. */
60995 #include <math.h>
60996 int
60997 main ()
60998 {
60999 sincosf(0, 0, 0);
61000 ;
61001 return 0;
61002 }
61003 _ACEOF
61004 if ac_fn_cxx_try_compile "$LINENO"; then :
61005 glibcxx_cv_func_sincosf_use=yes
61006 else
61007 glibcxx_cv_func_sincosf_use=no
61008 fi
61009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61010 ac_ext=c
61011 ac_cpp='$CPP $CPPFLAGS'
61012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61015
61016
61017 fi
61018
61019 fi
61020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61021 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61022
61023 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61024 for ac_func in sincosf
61025 do :
61026 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61027 if test "x$ac_cv_func_sincosf" = x""yes; then :
61028 cat >>confdefs.h <<_ACEOF
61029 #define HAVE_SINCOSF 1
61030 _ACEOF
61031
61032 fi
61033 done
61034
61035 else
61036
61037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61038 $as_echo_n "checking for _sincosf declaration... " >&6; }
61039 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61040 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61041 $as_echo_n "(cached) " >&6
61042 else
61043
61044
61045 ac_ext=cpp
61046 ac_cpp='$CXXCPP $CPPFLAGS'
61047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61050
61051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61052 /* end confdefs.h. */
61053 #include <math.h>
61054 int
61055 main ()
61056 {
61057 _sincosf(0, 0, 0);
61058 ;
61059 return 0;
61060 }
61061 _ACEOF
61062 if ac_fn_cxx_try_compile "$LINENO"; then :
61063 glibcxx_cv_func__sincosf_use=yes
61064 else
61065 glibcxx_cv_func__sincosf_use=no
61066 fi
61067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61068 ac_ext=c
61069 ac_cpp='$CPP $CPPFLAGS'
61070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61073
61074
61075 fi
61076
61077 fi
61078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61079 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61080
61081 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61082 for ac_func in _sincosf
61083 do :
61084 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61085 if test "x$ac_cv_func__sincosf" = x""yes; then :
61086 cat >>confdefs.h <<_ACEOF
61087 #define HAVE__SINCOSF 1
61088 _ACEOF
61089
61090 fi
61091 done
61092
61093 fi
61094 fi
61095
61096
61097
61098
61099
61100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61101 $as_echo_n "checking for finitef declaration... " >&6; }
61102 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61103 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61104 $as_echo_n "(cached) " >&6
61105 else
61106
61107
61108 ac_ext=cpp
61109 ac_cpp='$CXXCPP $CPPFLAGS'
61110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61113
61114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61115 /* end confdefs.h. */
61116 #include <math.h>
61117 #ifdef HAVE_IEEEFP_H
61118 #include <ieeefp.h>
61119 #endif
61120
61121 int
61122 main ()
61123 {
61124 finitef(0);
61125 ;
61126 return 0;
61127 }
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func_finitef_use=yes
61131 else
61132 glibcxx_cv_func_finitef_use=no
61133 fi
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61140
61141
61142 fi
61143
61144 fi
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61146 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61147
61148 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61149 for ac_func in finitef
61150 do :
61151 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61152 if test "x$ac_cv_func_finitef" = x""yes; then :
61153 cat >>confdefs.h <<_ACEOF
61154 #define HAVE_FINITEF 1
61155 _ACEOF
61156
61157 fi
61158 done
61159
61160 else
61161
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61163 $as_echo_n "checking for _finitef declaration... " >&6; }
61164 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61165 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61166 $as_echo_n "(cached) " >&6
61167 else
61168
61169
61170 ac_ext=cpp
61171 ac_cpp='$CXXCPP $CPPFLAGS'
61172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61175
61176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61177 /* end confdefs.h. */
61178 #include <math.h>
61179 #ifdef HAVE_IEEEFP_H
61180 #include <ieeefp.h>
61181 #endif
61182
61183 int
61184 main ()
61185 {
61186 _finitef(0);
61187 ;
61188 return 0;
61189 }
61190 _ACEOF
61191 if ac_fn_cxx_try_compile "$LINENO"; then :
61192 glibcxx_cv_func__finitef_use=yes
61193 else
61194 glibcxx_cv_func__finitef_use=no
61195 fi
61196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61197 ac_ext=c
61198 ac_cpp='$CPP $CPPFLAGS'
61199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61202
61203
61204 fi
61205
61206 fi
61207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61208 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61209
61210 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61211 for ac_func in _finitef
61212 do :
61213 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61214 if test "x$ac_cv_func__finitef" = x""yes; then :
61215 cat >>confdefs.h <<_ACEOF
61216 #define HAVE__FINITEF 1
61217 _ACEOF
61218
61219 fi
61220 done
61221
61222 fi
61223 fi
61224
61225
61226
61227
61228
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61230 $as_echo_n "checking for long double trig functions... " >&6; }
61231 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61232 $as_echo_n "(cached) " >&6
61233 else
61234
61235
61236 ac_ext=cpp
61237 ac_cpp='$CXXCPP $CPPFLAGS'
61238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61241
61242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61243 /* end confdefs.h. */
61244 #include <math.h>
61245 int
61246 main ()
61247 {
61248 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61249 ;
61250 return 0;
61251 }
61252 _ACEOF
61253 if ac_fn_cxx_try_compile "$LINENO"; then :
61254 glibcxx_cv_func_long_double_trig_use=yes
61255 else
61256 glibcxx_cv_func_long_double_trig_use=no
61257 fi
61258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61259 ac_ext=c
61260 ac_cpp='$CPP $CPPFLAGS'
61261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61264
61265 fi
61266
61267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61268 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61269 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61270 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61271 do :
61272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61274 eval as_val=\$$as_ac_var
61275 if test "x$as_val" = x""yes; then :
61276 cat >>confdefs.h <<_ACEOF
61277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61278 _ACEOF
61279
61280 fi
61281 done
61282
61283 else
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61285 $as_echo_n "checking for _long double trig functions... " >&6; }
61286 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61287 $as_echo_n "(cached) " >&6
61288 else
61289
61290
61291 ac_ext=cpp
61292 ac_cpp='$CXXCPP $CPPFLAGS'
61293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61296
61297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61298 /* end confdefs.h. */
61299 #include <math.h>
61300 int
61301 main ()
61302 {
61303 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61304 ;
61305 return 0;
61306 }
61307 _ACEOF
61308 if ac_fn_cxx_try_compile "$LINENO"; then :
61309 glibcxx_cv_func__long_double_trig_use=yes
61310 else
61311 glibcxx_cv_func__long_double_trig_use=no
61312 fi
61313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61314 ac_ext=c
61315 ac_cpp='$CPP $CPPFLAGS'
61316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61319
61320 fi
61321
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61323 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61324 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61325 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61326 do :
61327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61329 eval as_val=\$$as_ac_var
61330 if test "x$as_val" = x""yes; then :
61331 cat >>confdefs.h <<_ACEOF
61332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61333 _ACEOF
61334
61335 fi
61336 done
61337
61338 fi
61339 fi
61340
61341
61342
61343
61344
61345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61346 $as_echo_n "checking for long double round functions... " >&6; }
61347 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61348 $as_echo_n "(cached) " >&6
61349 else
61350
61351
61352 ac_ext=cpp
61353 ac_cpp='$CXXCPP $CPPFLAGS'
61354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61357
61358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61359 /* end confdefs.h. */
61360 #include <math.h>
61361 int
61362 main ()
61363 {
61364 ceill (0); floorl (0);
61365 ;
61366 return 0;
61367 }
61368 _ACEOF
61369 if ac_fn_cxx_try_compile "$LINENO"; then :
61370 glibcxx_cv_func_long_double_round_use=yes
61371 else
61372 glibcxx_cv_func_long_double_round_use=no
61373 fi
61374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61375 ac_ext=c
61376 ac_cpp='$CPP $CPPFLAGS'
61377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61380
61381 fi
61382
61383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61384 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61385 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61386 for ac_func in ceill floorl
61387 do :
61388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61390 eval as_val=\$$as_ac_var
61391 if test "x$as_val" = x""yes; then :
61392 cat >>confdefs.h <<_ACEOF
61393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61394 _ACEOF
61395
61396 fi
61397 done
61398
61399 else
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61401 $as_echo_n "checking for _long double round functions... " >&6; }
61402 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61403 $as_echo_n "(cached) " >&6
61404 else
61405
61406
61407 ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412
61413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h. */
61415 #include <math.h>
61416 int
61417 main ()
61418 {
61419 _ceill (0); _floorl (0);
61420 ;
61421 return 0;
61422 }
61423 _ACEOF
61424 if ac_fn_cxx_try_compile "$LINENO"; then :
61425 glibcxx_cv_func__long_double_round_use=yes
61426 else
61427 glibcxx_cv_func__long_double_round_use=no
61428 fi
61429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61430 ac_ext=c
61431 ac_cpp='$CPP $CPPFLAGS'
61432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61435
61436 fi
61437
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61439 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61440 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61441 for ac_func in _ceill _floorl
61442 do :
61443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61445 eval as_val=\$$as_ac_var
61446 if test "x$as_val" = x""yes; then :
61447 cat >>confdefs.h <<_ACEOF
61448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61449 _ACEOF
61450
61451 fi
61452 done
61453
61454 fi
61455 fi
61456
61457
61458
61459
61460
61461
61462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61463 $as_echo_n "checking for isnanl declaration... " >&6; }
61464 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61465 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61466 $as_echo_n "(cached) " >&6
61467 else
61468
61469
61470 ac_ext=cpp
61471 ac_cpp='$CXXCPP $CPPFLAGS'
61472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61475
61476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61477 /* end confdefs.h. */
61478 #include <math.h>
61479 #ifdef HAVE_IEEEFP_H
61480 #include <ieeefp.h>
61481 #endif
61482
61483 int
61484 main ()
61485 {
61486 isnanl(0);
61487 ;
61488 return 0;
61489 }
61490 _ACEOF
61491 if ac_fn_cxx_try_compile "$LINENO"; then :
61492 glibcxx_cv_func_isnanl_use=yes
61493 else
61494 glibcxx_cv_func_isnanl_use=no
61495 fi
61496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61497 ac_ext=c
61498 ac_cpp='$CPP $CPPFLAGS'
61499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502
61503
61504 fi
61505
61506 fi
61507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61508 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61509
61510 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61511 for ac_func in isnanl
61512 do :
61513 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61514 if test "x$ac_cv_func_isnanl" = x""yes; then :
61515 cat >>confdefs.h <<_ACEOF
61516 #define HAVE_ISNANL 1
61517 _ACEOF
61518
61519 fi
61520 done
61521
61522 else
61523
61524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61525 $as_echo_n "checking for _isnanl declaration... " >&6; }
61526 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61527 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61528 $as_echo_n "(cached) " >&6
61529 else
61530
61531
61532 ac_ext=cpp
61533 ac_cpp='$CXXCPP $CPPFLAGS'
61534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61537
61538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61539 /* end confdefs.h. */
61540 #include <math.h>
61541 #ifdef HAVE_IEEEFP_H
61542 #include <ieeefp.h>
61543 #endif
61544
61545 int
61546 main ()
61547 {
61548 _isnanl(0);
61549 ;
61550 return 0;
61551 }
61552 _ACEOF
61553 if ac_fn_cxx_try_compile "$LINENO"; then :
61554 glibcxx_cv_func__isnanl_use=yes
61555 else
61556 glibcxx_cv_func__isnanl_use=no
61557 fi
61558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559 ac_ext=c
61560 ac_cpp='$CPP $CPPFLAGS'
61561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61564
61565
61566 fi
61567
61568 fi
61569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61570 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61571
61572 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61573 for ac_func in _isnanl
61574 do :
61575 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61576 if test "x$ac_cv_func__isnanl" = x""yes; then :
61577 cat >>confdefs.h <<_ACEOF
61578 #define HAVE__ISNANL 1
61579 _ACEOF
61580
61581 fi
61582 done
61583
61584 fi
61585 fi
61586
61587
61588
61589
61590
61591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61592 $as_echo_n "checking for isinfl declaration... " >&6; }
61593 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61594 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61595 $as_echo_n "(cached) " >&6
61596 else
61597
61598
61599 ac_ext=cpp
61600 ac_cpp='$CXXCPP $CPPFLAGS'
61601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61604
61605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61606 /* end confdefs.h. */
61607 #include <math.h>
61608 #ifdef HAVE_IEEEFP_H
61609 #include <ieeefp.h>
61610 #endif
61611
61612 int
61613 main ()
61614 {
61615 isinfl(0);
61616 ;
61617 return 0;
61618 }
61619 _ACEOF
61620 if ac_fn_cxx_try_compile "$LINENO"; then :
61621 glibcxx_cv_func_isinfl_use=yes
61622 else
61623 glibcxx_cv_func_isinfl_use=no
61624 fi
61625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61626 ac_ext=c
61627 ac_cpp='$CPP $CPPFLAGS'
61628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61631
61632
61633 fi
61634
61635 fi
61636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61637 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61638
61639 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61640 for ac_func in isinfl
61641 do :
61642 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61643 if test "x$ac_cv_func_isinfl" = x""yes; then :
61644 cat >>confdefs.h <<_ACEOF
61645 #define HAVE_ISINFL 1
61646 _ACEOF
61647
61648 fi
61649 done
61650
61651 else
61652
61653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61654 $as_echo_n "checking for _isinfl declaration... " >&6; }
61655 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61656 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61657 $as_echo_n "(cached) " >&6
61658 else
61659
61660
61661 ac_ext=cpp
61662 ac_cpp='$CXXCPP $CPPFLAGS'
61663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61666
61667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61668 /* end confdefs.h. */
61669 #include <math.h>
61670 #ifdef HAVE_IEEEFP_H
61671 #include <ieeefp.h>
61672 #endif
61673
61674 int
61675 main ()
61676 {
61677 _isinfl(0);
61678 ;
61679 return 0;
61680 }
61681 _ACEOF
61682 if ac_fn_cxx_try_compile "$LINENO"; then :
61683 glibcxx_cv_func__isinfl_use=yes
61684 else
61685 glibcxx_cv_func__isinfl_use=no
61686 fi
61687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61688 ac_ext=c
61689 ac_cpp='$CPP $CPPFLAGS'
61690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61693
61694
61695 fi
61696
61697 fi
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61699 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61700
61701 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61702 for ac_func in _isinfl
61703 do :
61704 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61705 if test "x$ac_cv_func__isinfl" = x""yes; then :
61706 cat >>confdefs.h <<_ACEOF
61707 #define HAVE__ISINFL 1
61708 _ACEOF
61709
61710 fi
61711 done
61712
61713 fi
61714 fi
61715
61716
61717
61718
61719
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61721 $as_echo_n "checking for atan2l declaration... " >&6; }
61722 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61723 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61724 $as_echo_n "(cached) " >&6
61725 else
61726
61727
61728 ac_ext=cpp
61729 ac_cpp='$CXXCPP $CPPFLAGS'
61730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61733
61734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61735 /* end confdefs.h. */
61736 #include <math.h>
61737 int
61738 main ()
61739 {
61740 atan2l(0, 0);
61741 ;
61742 return 0;
61743 }
61744 _ACEOF
61745 if ac_fn_cxx_try_compile "$LINENO"; then :
61746 glibcxx_cv_func_atan2l_use=yes
61747 else
61748 glibcxx_cv_func_atan2l_use=no
61749 fi
61750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61751 ac_ext=c
61752 ac_cpp='$CPP $CPPFLAGS'
61753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61756
61757
61758 fi
61759
61760 fi
61761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61762 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61763
61764 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61765 for ac_func in atan2l
61766 do :
61767 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61768 if test "x$ac_cv_func_atan2l" = x""yes; then :
61769 cat >>confdefs.h <<_ACEOF
61770 #define HAVE_ATAN2L 1
61771 _ACEOF
61772
61773 fi
61774 done
61775
61776 else
61777
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61779 $as_echo_n "checking for _atan2l declaration... " >&6; }
61780 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61781 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61782 $as_echo_n "(cached) " >&6
61783 else
61784
61785
61786 ac_ext=cpp
61787 ac_cpp='$CXXCPP $CPPFLAGS'
61788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61791
61792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61793 /* end confdefs.h. */
61794 #include <math.h>
61795 int
61796 main ()
61797 {
61798 _atan2l(0, 0);
61799 ;
61800 return 0;
61801 }
61802 _ACEOF
61803 if ac_fn_cxx_try_compile "$LINENO"; then :
61804 glibcxx_cv_func__atan2l_use=yes
61805 else
61806 glibcxx_cv_func__atan2l_use=no
61807 fi
61808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61809 ac_ext=c
61810 ac_cpp='$CPP $CPPFLAGS'
61811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61814
61815
61816 fi
61817
61818 fi
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61820 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61821
61822 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61823 for ac_func in _atan2l
61824 do :
61825 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61826 if test "x$ac_cv_func__atan2l" = x""yes; then :
61827 cat >>confdefs.h <<_ACEOF
61828 #define HAVE__ATAN2L 1
61829 _ACEOF
61830
61831 fi
61832 done
61833
61834 fi
61835 fi
61836
61837
61838
61839
61840
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61842 $as_echo_n "checking for expl declaration... " >&6; }
61843 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61844 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61845 $as_echo_n "(cached) " >&6
61846 else
61847
61848
61849 ac_ext=cpp
61850 ac_cpp='$CXXCPP $CPPFLAGS'
61851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61854
61855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61856 /* end confdefs.h. */
61857 #include <math.h>
61858 #ifdef HAVE_IEEEFP_H
61859 #include <ieeefp.h>
61860 #endif
61861
61862 int
61863 main ()
61864 {
61865 expl(0);
61866 ;
61867 return 0;
61868 }
61869 _ACEOF
61870 if ac_fn_cxx_try_compile "$LINENO"; then :
61871 glibcxx_cv_func_expl_use=yes
61872 else
61873 glibcxx_cv_func_expl_use=no
61874 fi
61875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61876 ac_ext=c
61877 ac_cpp='$CPP $CPPFLAGS'
61878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61881
61882
61883 fi
61884
61885 fi
61886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61887 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61888
61889 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61890 for ac_func in expl
61891 do :
61892 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61893 if test "x$ac_cv_func_expl" = x""yes; then :
61894 cat >>confdefs.h <<_ACEOF
61895 #define HAVE_EXPL 1
61896 _ACEOF
61897
61898 fi
61899 done
61900
61901 else
61902
61903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61904 $as_echo_n "checking for _expl declaration... " >&6; }
61905 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61906 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61907 $as_echo_n "(cached) " >&6
61908 else
61909
61910
61911 ac_ext=cpp
61912 ac_cpp='$CXXCPP $CPPFLAGS'
61913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916
61917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61918 /* end confdefs.h. */
61919 #include <math.h>
61920 #ifdef HAVE_IEEEFP_H
61921 #include <ieeefp.h>
61922 #endif
61923
61924 int
61925 main ()
61926 {
61927 _expl(0);
61928 ;
61929 return 0;
61930 }
61931 _ACEOF
61932 if ac_fn_cxx_try_compile "$LINENO"; then :
61933 glibcxx_cv_func__expl_use=yes
61934 else
61935 glibcxx_cv_func__expl_use=no
61936 fi
61937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61938 ac_ext=c
61939 ac_cpp='$CPP $CPPFLAGS'
61940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943
61944
61945 fi
61946
61947 fi
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61949 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61950
61951 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61952 for ac_func in _expl
61953 do :
61954 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61955 if test "x$ac_cv_func__expl" = x""yes; then :
61956 cat >>confdefs.h <<_ACEOF
61957 #define HAVE__EXPL 1
61958 _ACEOF
61959
61960 fi
61961 done
61962
61963 fi
61964 fi
61965
61966
61967
61968
61969
61970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61971 $as_echo_n "checking for fabsl declaration... " >&6; }
61972 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61973 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61974 $as_echo_n "(cached) " >&6
61975 else
61976
61977
61978 ac_ext=cpp
61979 ac_cpp='$CXXCPP $CPPFLAGS'
61980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61983
61984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61985 /* end confdefs.h. */
61986 #include <math.h>
61987 #ifdef HAVE_IEEEFP_H
61988 #include <ieeefp.h>
61989 #endif
61990
61991 int
61992 main ()
61993 {
61994 fabsl(0);
61995 ;
61996 return 0;
61997 }
61998 _ACEOF
61999 if ac_fn_cxx_try_compile "$LINENO"; then :
62000 glibcxx_cv_func_fabsl_use=yes
62001 else
62002 glibcxx_cv_func_fabsl_use=no
62003 fi
62004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62005 ac_ext=c
62006 ac_cpp='$CPP $CPPFLAGS'
62007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62010
62011
62012 fi
62013
62014 fi
62015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62016 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62017
62018 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62019 for ac_func in fabsl
62020 do :
62021 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62022 if test "x$ac_cv_func_fabsl" = x""yes; then :
62023 cat >>confdefs.h <<_ACEOF
62024 #define HAVE_FABSL 1
62025 _ACEOF
62026
62027 fi
62028 done
62029
62030 else
62031
62032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62033 $as_echo_n "checking for _fabsl declaration... " >&6; }
62034 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62035 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62036 $as_echo_n "(cached) " >&6
62037 else
62038
62039
62040 ac_ext=cpp
62041 ac_cpp='$CXXCPP $CPPFLAGS'
62042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62045
62046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62047 /* end confdefs.h. */
62048 #include <math.h>
62049 #ifdef HAVE_IEEEFP_H
62050 #include <ieeefp.h>
62051 #endif
62052
62053 int
62054 main ()
62055 {
62056 _fabsl(0);
62057 ;
62058 return 0;
62059 }
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func__fabsl_use=yes
62063 else
62064 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
62078 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62079
62080 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62081 for ac_func in _fabsl
62082 do :
62083 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62084 if test "x$ac_cv_func__fabsl" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE__FABSL 1
62087 _ACEOF
62088
62089 fi
62090 done
62091
62092 fi
62093 fi
62094
62095
62096
62097
62098
62099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62100 $as_echo_n "checking for fmodl declaration... " >&6; }
62101 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62102 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62103 $as_echo_n "(cached) " >&6
62104 else
62105
62106
62107 ac_ext=cpp
62108 ac_cpp='$CXXCPP $CPPFLAGS'
62109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62112
62113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62114 /* end confdefs.h. */
62115 #include <math.h>
62116 int
62117 main ()
62118 {
62119 fmodl(0, 0);
62120 ;
62121 return 0;
62122 }
62123 _ACEOF
62124 if ac_fn_cxx_try_compile "$LINENO"; then :
62125 glibcxx_cv_func_fmodl_use=yes
62126 else
62127 glibcxx_cv_func_fmodl_use=no
62128 fi
62129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62130 ac_ext=c
62131 ac_cpp='$CPP $CPPFLAGS'
62132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62135
62136
62137 fi
62138
62139 fi
62140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62141 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62142
62143 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62144 for ac_func in fmodl
62145 do :
62146 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62147 if test "x$ac_cv_func_fmodl" = x""yes; then :
62148 cat >>confdefs.h <<_ACEOF
62149 #define HAVE_FMODL 1
62150 _ACEOF
62151
62152 fi
62153 done
62154
62155 else
62156
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62158 $as_echo_n "checking for _fmodl declaration... " >&6; }
62159 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62160 if test "${glibcxx_cv_func__fmodl_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 int
62175 main ()
62176 {
62177 _fmodl(0, 0);
62178 ;
62179 return 0;
62180 }
62181 _ACEOF
62182 if ac_fn_cxx_try_compile "$LINENO"; then :
62183 glibcxx_cv_func__fmodl_use=yes
62184 else
62185 glibcxx_cv_func__fmodl_use=no
62186 fi
62187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62188 ac_ext=c
62189 ac_cpp='$CPP $CPPFLAGS'
62190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193
62194
62195 fi
62196
62197 fi
62198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62199 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62200
62201 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62202 for ac_func in _fmodl
62203 do :
62204 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62205 if test "x$ac_cv_func__fmodl" = x""yes; then :
62206 cat >>confdefs.h <<_ACEOF
62207 #define HAVE__FMODL 1
62208 _ACEOF
62209
62210 fi
62211 done
62212
62213 fi
62214 fi
62215
62216
62217
62218
62219
62220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62221 $as_echo_n "checking for frexpl declaration... " >&6; }
62222 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62223 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62224 $as_echo_n "(cached) " >&6
62225 else
62226
62227
62228 ac_ext=cpp
62229 ac_cpp='$CXXCPP $CPPFLAGS'
62230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233
62234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62235 /* end confdefs.h. */
62236 #include <math.h>
62237 int
62238 main ()
62239 {
62240 frexpl(0, 0);
62241 ;
62242 return 0;
62243 }
62244 _ACEOF
62245 if ac_fn_cxx_try_compile "$LINENO"; then :
62246 glibcxx_cv_func_frexpl_use=yes
62247 else
62248 glibcxx_cv_func_frexpl_use=no
62249 fi
62250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62251 ac_ext=c
62252 ac_cpp='$CPP $CPPFLAGS'
62253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62256
62257
62258 fi
62259
62260 fi
62261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62262 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62263
62264 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62265 for ac_func in frexpl
62266 do :
62267 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62268 if test "x$ac_cv_func_frexpl" = x""yes; then :
62269 cat >>confdefs.h <<_ACEOF
62270 #define HAVE_FREXPL 1
62271 _ACEOF
62272
62273 fi
62274 done
62275
62276 else
62277
62278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62279 $as_echo_n "checking for _frexpl declaration... " >&6; }
62280 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62281 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62282 $as_echo_n "(cached) " >&6
62283 else
62284
62285
62286 ac_ext=cpp
62287 ac_cpp='$CXXCPP $CPPFLAGS'
62288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62291
62292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62293 /* end confdefs.h. */
62294 #include <math.h>
62295 int
62296 main ()
62297 {
62298 _frexpl(0, 0);
62299 ;
62300 return 0;
62301 }
62302 _ACEOF
62303 if ac_fn_cxx_try_compile "$LINENO"; then :
62304 glibcxx_cv_func__frexpl_use=yes
62305 else
62306 glibcxx_cv_func__frexpl_use=no
62307 fi
62308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62309 ac_ext=c
62310 ac_cpp='$CPP $CPPFLAGS'
62311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62314
62315
62316 fi
62317
62318 fi
62319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62320 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62321
62322 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62323 for ac_func in _frexpl
62324 do :
62325 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62326 if test "x$ac_cv_func__frexpl" = x""yes; then :
62327 cat >>confdefs.h <<_ACEOF
62328 #define HAVE__FREXPL 1
62329 _ACEOF
62330
62331 fi
62332 done
62333
62334 fi
62335 fi
62336
62337
62338
62339
62340
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62342 $as_echo_n "checking for hypotl declaration... " >&6; }
62343 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62344 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62345 $as_echo_n "(cached) " >&6
62346 else
62347
62348
62349 ac_ext=cpp
62350 ac_cpp='$CXXCPP $CPPFLAGS'
62351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354
62355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62356 /* end confdefs.h. */
62357 #include <math.h>
62358 int
62359 main ()
62360 {
62361 hypotl(0, 0);
62362 ;
62363 return 0;
62364 }
62365 _ACEOF
62366 if ac_fn_cxx_try_compile "$LINENO"; then :
62367 glibcxx_cv_func_hypotl_use=yes
62368 else
62369 glibcxx_cv_func_hypotl_use=no
62370 fi
62371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62372 ac_ext=c
62373 ac_cpp='$CPP $CPPFLAGS'
62374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62377
62378
62379 fi
62380
62381 fi
62382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62383 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62384
62385 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62386 for ac_func in hypotl
62387 do :
62388 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62389 if test "x$ac_cv_func_hypotl" = x""yes; then :
62390 cat >>confdefs.h <<_ACEOF
62391 #define HAVE_HYPOTL 1
62392 _ACEOF
62393
62394 fi
62395 done
62396
62397 else
62398
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62400 $as_echo_n "checking for _hypotl declaration... " >&6; }
62401 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62402 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62403 $as_echo_n "(cached) " >&6
62404 else
62405
62406
62407 ac_ext=cpp
62408 ac_cpp='$CXXCPP $CPPFLAGS'
62409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62412
62413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62414 /* end confdefs.h. */
62415 #include <math.h>
62416 int
62417 main ()
62418 {
62419 _hypotl(0, 0);
62420 ;
62421 return 0;
62422 }
62423 _ACEOF
62424 if ac_fn_cxx_try_compile "$LINENO"; then :
62425 glibcxx_cv_func__hypotl_use=yes
62426 else
62427 glibcxx_cv_func__hypotl_use=no
62428 fi
62429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62430 ac_ext=c
62431 ac_cpp='$CPP $CPPFLAGS'
62432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62435
62436
62437 fi
62438
62439 fi
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62441 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62442
62443 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62444 for ac_func in _hypotl
62445 do :
62446 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62447 if test "x$ac_cv_func__hypotl" = x""yes; then :
62448 cat >>confdefs.h <<_ACEOF
62449 #define HAVE__HYPOTL 1
62450 _ACEOF
62451
62452 fi
62453 done
62454
62455 fi
62456 fi
62457
62458
62459
62460
62461
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62463 $as_echo_n "checking for ldexpl declaration... " >&6; }
62464 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62465 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62466 $as_echo_n "(cached) " >&6
62467 else
62468
62469
62470 ac_ext=cpp
62471 ac_cpp='$CXXCPP $CPPFLAGS'
62472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475
62476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62477 /* end confdefs.h. */
62478 #include <math.h>
62479 int
62480 main ()
62481 {
62482 ldexpl(0, 0);
62483 ;
62484 return 0;
62485 }
62486 _ACEOF
62487 if ac_fn_cxx_try_compile "$LINENO"; then :
62488 glibcxx_cv_func_ldexpl_use=yes
62489 else
62490 glibcxx_cv_func_ldexpl_use=no
62491 fi
62492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62493 ac_ext=c
62494 ac_cpp='$CPP $CPPFLAGS'
62495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62498
62499
62500 fi
62501
62502 fi
62503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62504 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62505
62506 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62507 for ac_func in ldexpl
62508 do :
62509 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62510 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62511 cat >>confdefs.h <<_ACEOF
62512 #define HAVE_LDEXPL 1
62513 _ACEOF
62514
62515 fi
62516 done
62517
62518 else
62519
62520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62521 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62522 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62523 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62524 $as_echo_n "(cached) " >&6
62525 else
62526
62527
62528 ac_ext=cpp
62529 ac_cpp='$CXXCPP $CPPFLAGS'
62530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62533
62534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62535 /* end confdefs.h. */
62536 #include <math.h>
62537 int
62538 main ()
62539 {
62540 _ldexpl(0, 0);
62541 ;
62542 return 0;
62543 }
62544 _ACEOF
62545 if ac_fn_cxx_try_compile "$LINENO"; then :
62546 glibcxx_cv_func__ldexpl_use=yes
62547 else
62548 glibcxx_cv_func__ldexpl_use=no
62549 fi
62550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62551 ac_ext=c
62552 ac_cpp='$CPP $CPPFLAGS'
62553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556
62557
62558 fi
62559
62560 fi
62561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62562 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62563
62564 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62565 for ac_func in _ldexpl
62566 do :
62567 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62568 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62569 cat >>confdefs.h <<_ACEOF
62570 #define HAVE__LDEXPL 1
62571 _ACEOF
62572
62573 fi
62574 done
62575
62576 fi
62577 fi
62578
62579
62580
62581
62582
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62584 $as_echo_n "checking for logl declaration... " >&6; }
62585 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62586 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62587 $as_echo_n "(cached) " >&6
62588 else
62589
62590
62591 ac_ext=cpp
62592 ac_cpp='$CXXCPP $CPPFLAGS'
62593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62596
62597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62598 /* end confdefs.h. */
62599 #include <math.h>
62600 #ifdef HAVE_IEEEFP_H
62601 #include <ieeefp.h>
62602 #endif
62603
62604 int
62605 main ()
62606 {
62607 logl(0);
62608 ;
62609 return 0;
62610 }
62611 _ACEOF
62612 if ac_fn_cxx_try_compile "$LINENO"; then :
62613 glibcxx_cv_func_logl_use=yes
62614 else
62615 glibcxx_cv_func_logl_use=no
62616 fi
62617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62618 ac_ext=c
62619 ac_cpp='$CPP $CPPFLAGS'
62620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62623
62624
62625 fi
62626
62627 fi
62628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62629 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62630
62631 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62632 for ac_func in logl
62633 do :
62634 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62635 if test "x$ac_cv_func_logl" = x""yes; then :
62636 cat >>confdefs.h <<_ACEOF
62637 #define HAVE_LOGL 1
62638 _ACEOF
62639
62640 fi
62641 done
62642
62643 else
62644
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62646 $as_echo_n "checking for _logl declaration... " >&6; }
62647 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62648 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62649 $as_echo_n "(cached) " >&6
62650 else
62651
62652
62653 ac_ext=cpp
62654 ac_cpp='$CXXCPP $CPPFLAGS'
62655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62658
62659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62660 /* end confdefs.h. */
62661 #include <math.h>
62662 #ifdef HAVE_IEEEFP_H
62663 #include <ieeefp.h>
62664 #endif
62665
62666 int
62667 main ()
62668 {
62669 _logl(0);
62670 ;
62671 return 0;
62672 }
62673 _ACEOF
62674 if ac_fn_cxx_try_compile "$LINENO"; then :
62675 glibcxx_cv_func__logl_use=yes
62676 else
62677 glibcxx_cv_func__logl_use=no
62678 fi
62679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62680 ac_ext=c
62681 ac_cpp='$CPP $CPPFLAGS'
62682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62685
62686
62687 fi
62688
62689 fi
62690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62691 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62692
62693 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62694 for ac_func in _logl
62695 do :
62696 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62697 if test "x$ac_cv_func__logl" = x""yes; then :
62698 cat >>confdefs.h <<_ACEOF
62699 #define HAVE__LOGL 1
62700 _ACEOF
62701
62702 fi
62703 done
62704
62705 fi
62706 fi
62707
62708
62709
62710
62711
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62713 $as_echo_n "checking for log10l declaration... " >&6; }
62714 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62715 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62716 $as_echo_n "(cached) " >&6
62717 else
62718
62719
62720 ac_ext=cpp
62721 ac_cpp='$CXXCPP $CPPFLAGS'
62722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62725
62726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62727 /* end confdefs.h. */
62728 #include <math.h>
62729 #ifdef HAVE_IEEEFP_H
62730 #include <ieeefp.h>
62731 #endif
62732
62733 int
62734 main ()
62735 {
62736 log10l(0);
62737 ;
62738 return 0;
62739 }
62740 _ACEOF
62741 if ac_fn_cxx_try_compile "$LINENO"; then :
62742 glibcxx_cv_func_log10l_use=yes
62743 else
62744 glibcxx_cv_func_log10l_use=no
62745 fi
62746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62747 ac_ext=c
62748 ac_cpp='$CPP $CPPFLAGS'
62749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62752
62753
62754 fi
62755
62756 fi
62757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62758 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62759
62760 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62761 for ac_func in log10l
62762 do :
62763 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62764 if test "x$ac_cv_func_log10l" = x""yes; then :
62765 cat >>confdefs.h <<_ACEOF
62766 #define HAVE_LOG10L 1
62767 _ACEOF
62768
62769 fi
62770 done
62771
62772 else
62773
62774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62775 $as_echo_n "checking for _log10l declaration... " >&6; }
62776 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62777 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62778 $as_echo_n "(cached) " >&6
62779 else
62780
62781
62782 ac_ext=cpp
62783 ac_cpp='$CXXCPP $CPPFLAGS'
62784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62787
62788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62789 /* end confdefs.h. */
62790 #include <math.h>
62791 #ifdef HAVE_IEEEFP_H
62792 #include <ieeefp.h>
62793 #endif
62794
62795 int
62796 main ()
62797 {
62798 _log10l(0);
62799 ;
62800 return 0;
62801 }
62802 _ACEOF
62803 if ac_fn_cxx_try_compile "$LINENO"; then :
62804 glibcxx_cv_func__log10l_use=yes
62805 else
62806 glibcxx_cv_func__log10l_use=no
62807 fi
62808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62809 ac_ext=c
62810 ac_cpp='$CPP $CPPFLAGS'
62811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62814
62815
62816 fi
62817
62818 fi
62819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62820 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62821
62822 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62823 for ac_func in _log10l
62824 do :
62825 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62826 if test "x$ac_cv_func__log10l" = x""yes; then :
62827 cat >>confdefs.h <<_ACEOF
62828 #define HAVE__LOG10L 1
62829 _ACEOF
62830
62831 fi
62832 done
62833
62834 fi
62835 fi
62836
62837
62838
62839
62840
62841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62842 $as_echo_n "checking for modfl declaration... " >&6; }
62843 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62844 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62845 $as_echo_n "(cached) " >&6
62846 else
62847
62848
62849 ac_ext=cpp
62850 ac_cpp='$CXXCPP $CPPFLAGS'
62851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62854
62855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62856 /* end confdefs.h. */
62857 #include <math.h>
62858 int
62859 main ()
62860 {
62861 modfl(0, 0);
62862 ;
62863 return 0;
62864 }
62865 _ACEOF
62866 if ac_fn_cxx_try_compile "$LINENO"; then :
62867 glibcxx_cv_func_modfl_use=yes
62868 else
62869 glibcxx_cv_func_modfl_use=no
62870 fi
62871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62872 ac_ext=c
62873 ac_cpp='$CPP $CPPFLAGS'
62874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62877
62878
62879 fi
62880
62881 fi
62882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62883 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62884
62885 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62886 for ac_func in modfl
62887 do :
62888 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62889 if test "x$ac_cv_func_modfl" = x""yes; then :
62890 cat >>confdefs.h <<_ACEOF
62891 #define HAVE_MODFL 1
62892 _ACEOF
62893
62894 fi
62895 done
62896
62897 else
62898
62899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62900 $as_echo_n "checking for _modfl declaration... " >&6; }
62901 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62902 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62903 $as_echo_n "(cached) " >&6
62904 else
62905
62906
62907 ac_ext=cpp
62908 ac_cpp='$CXXCPP $CPPFLAGS'
62909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912
62913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62914 /* end confdefs.h. */
62915 #include <math.h>
62916 int
62917 main ()
62918 {
62919 _modfl(0, 0);
62920 ;
62921 return 0;
62922 }
62923 _ACEOF
62924 if ac_fn_cxx_try_compile "$LINENO"; then :
62925 glibcxx_cv_func__modfl_use=yes
62926 else
62927 glibcxx_cv_func__modfl_use=no
62928 fi
62929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62930 ac_ext=c
62931 ac_cpp='$CPP $CPPFLAGS'
62932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62935
62936
62937 fi
62938
62939 fi
62940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62941 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62942
62943 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62944 for ac_func in _modfl
62945 do :
62946 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62947 if test "x$ac_cv_func__modfl" = x""yes; then :
62948 cat >>confdefs.h <<_ACEOF
62949 #define HAVE__MODFL 1
62950 _ACEOF
62951
62952 fi
62953 done
62954
62955 fi
62956 fi
62957
62958
62959
62960
62961
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62963 $as_echo_n "checking for powl declaration... " >&6; }
62964 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62965 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62966 $as_echo_n "(cached) " >&6
62967 else
62968
62969
62970 ac_ext=cpp
62971 ac_cpp='$CXXCPP $CPPFLAGS'
62972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62975
62976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62977 /* end confdefs.h. */
62978 #include <math.h>
62979 int
62980 main ()
62981 {
62982 powl(0, 0);
62983 ;
62984 return 0;
62985 }
62986 _ACEOF
62987 if ac_fn_cxx_try_compile "$LINENO"; then :
62988 glibcxx_cv_func_powl_use=yes
62989 else
62990 glibcxx_cv_func_powl_use=no
62991 fi
62992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62993 ac_ext=c
62994 ac_cpp='$CPP $CPPFLAGS'
62995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62998
62999
63000 fi
63001
63002 fi
63003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63004 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63005
63006 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63007 for ac_func in powl
63008 do :
63009 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63010 if test "x$ac_cv_func_powl" = x""yes; then :
63011 cat >>confdefs.h <<_ACEOF
63012 #define HAVE_POWL 1
63013 _ACEOF
63014
63015 fi
63016 done
63017
63018 else
63019
63020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63021 $as_echo_n "checking for _powl declaration... " >&6; }
63022 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63023 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63024 $as_echo_n "(cached) " >&6
63025 else
63026
63027
63028 ac_ext=cpp
63029 ac_cpp='$CXXCPP $CPPFLAGS'
63030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63033
63034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63035 /* end confdefs.h. */
63036 #include <math.h>
63037 int
63038 main ()
63039 {
63040 _powl(0, 0);
63041 ;
63042 return 0;
63043 }
63044 _ACEOF
63045 if ac_fn_cxx_try_compile "$LINENO"; then :
63046 glibcxx_cv_func__powl_use=yes
63047 else
63048 glibcxx_cv_func__powl_use=no
63049 fi
63050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63051 ac_ext=c
63052 ac_cpp='$CPP $CPPFLAGS'
63053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056
63057
63058 fi
63059
63060 fi
63061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63062 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63063
63064 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63065 for ac_func in _powl
63066 do :
63067 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63068 if test "x$ac_cv_func__powl" = x""yes; then :
63069 cat >>confdefs.h <<_ACEOF
63070 #define HAVE__POWL 1
63071 _ACEOF
63072
63073 fi
63074 done
63075
63076 fi
63077 fi
63078
63079
63080
63081
63082
63083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63084 $as_echo_n "checking for sqrtl declaration... " >&6; }
63085 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63086 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63087 $as_echo_n "(cached) " >&6
63088 else
63089
63090
63091 ac_ext=cpp
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63096
63097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63098 /* end confdefs.h. */
63099 #include <math.h>
63100 #ifdef HAVE_IEEEFP_H
63101 #include <ieeefp.h>
63102 #endif
63103
63104 int
63105 main ()
63106 {
63107 sqrtl(0);
63108 ;
63109 return 0;
63110 }
63111 _ACEOF
63112 if ac_fn_cxx_try_compile "$LINENO"; then :
63113 glibcxx_cv_func_sqrtl_use=yes
63114 else
63115 glibcxx_cv_func_sqrtl_use=no
63116 fi
63117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63118 ac_ext=c
63119 ac_cpp='$CPP $CPPFLAGS'
63120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63123
63124
63125 fi
63126
63127 fi
63128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63129 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63130
63131 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63132 for ac_func in sqrtl
63133 do :
63134 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63135 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63136 cat >>confdefs.h <<_ACEOF
63137 #define HAVE_SQRTL 1
63138 _ACEOF
63139
63140 fi
63141 done
63142
63143 else
63144
63145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63146 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63147 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63148 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63149 $as_echo_n "(cached) " >&6
63150 else
63151
63152
63153 ac_ext=cpp
63154 ac_cpp='$CXXCPP $CPPFLAGS'
63155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63158
63159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63160 /* end confdefs.h. */
63161 #include <math.h>
63162 #ifdef HAVE_IEEEFP_H
63163 #include <ieeefp.h>
63164 #endif
63165
63166 int
63167 main ()
63168 {
63169 _sqrtl(0);
63170 ;
63171 return 0;
63172 }
63173 _ACEOF
63174 if ac_fn_cxx_try_compile "$LINENO"; then :
63175 glibcxx_cv_func__sqrtl_use=yes
63176 else
63177 glibcxx_cv_func__sqrtl_use=no
63178 fi
63179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63180 ac_ext=c
63181 ac_cpp='$CPP $CPPFLAGS'
63182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63185
63186
63187 fi
63188
63189 fi
63190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63191 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63192
63193 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63194 for ac_func in _sqrtl
63195 do :
63196 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63197 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63198 cat >>confdefs.h <<_ACEOF
63199 #define HAVE__SQRTL 1
63200 _ACEOF
63201
63202 fi
63203 done
63204
63205 fi
63206 fi
63207
63208
63209
63210
63211
63212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63213 $as_echo_n "checking for sincosl declaration... " >&6; }
63214 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63215 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63216 $as_echo_n "(cached) " >&6
63217 else
63218
63219
63220 ac_ext=cpp
63221 ac_cpp='$CXXCPP $CPPFLAGS'
63222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63225
63226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63227 /* end confdefs.h. */
63228 #include <math.h>
63229 int
63230 main ()
63231 {
63232 sincosl(0, 0, 0);
63233 ;
63234 return 0;
63235 }
63236 _ACEOF
63237 if ac_fn_cxx_try_compile "$LINENO"; then :
63238 glibcxx_cv_func_sincosl_use=yes
63239 else
63240 glibcxx_cv_func_sincosl_use=no
63241 fi
63242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63243 ac_ext=c
63244 ac_cpp='$CPP $CPPFLAGS'
63245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63248
63249
63250 fi
63251
63252 fi
63253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63254 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63255
63256 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63257 for ac_func in sincosl
63258 do :
63259 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63260 if test "x$ac_cv_func_sincosl" = x""yes; then :
63261 cat >>confdefs.h <<_ACEOF
63262 #define HAVE_SINCOSL 1
63263 _ACEOF
63264
63265 fi
63266 done
63267
63268 else
63269
63270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63271 $as_echo_n "checking for _sincosl declaration... " >&6; }
63272 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63273 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63274 $as_echo_n "(cached) " >&6
63275 else
63276
63277
63278 ac_ext=cpp
63279 ac_cpp='$CXXCPP $CPPFLAGS'
63280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63283
63284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63285 /* end confdefs.h. */
63286 #include <math.h>
63287 int
63288 main ()
63289 {
63290 _sincosl(0, 0, 0);
63291 ;
63292 return 0;
63293 }
63294 _ACEOF
63295 if ac_fn_cxx_try_compile "$LINENO"; then :
63296 glibcxx_cv_func__sincosl_use=yes
63297 else
63298 glibcxx_cv_func__sincosl_use=no
63299 fi
63300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63301 ac_ext=c
63302 ac_cpp='$CPP $CPPFLAGS'
63303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63306
63307
63308 fi
63309
63310 fi
63311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63312 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63313
63314 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63315 for ac_func in _sincosl
63316 do :
63317 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63318 if test "x$ac_cv_func__sincosl" = x""yes; then :
63319 cat >>confdefs.h <<_ACEOF
63320 #define HAVE__SINCOSL 1
63321 _ACEOF
63322
63323 fi
63324 done
63325
63326 fi
63327 fi
63328
63329
63330
63331
63332
63333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63334 $as_echo_n "checking for finitel declaration... " >&6; }
63335 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63336 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63337 $as_echo_n "(cached) " >&6
63338 else
63339
63340
63341 ac_ext=cpp
63342 ac_cpp='$CXXCPP $CPPFLAGS'
63343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63346
63347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63348 /* end confdefs.h. */
63349 #include <math.h>
63350 #ifdef HAVE_IEEEFP_H
63351 #include <ieeefp.h>
63352 #endif
63353
63354 int
63355 main ()
63356 {
63357 finitel(0);
63358 ;
63359 return 0;
63360 }
63361 _ACEOF
63362 if ac_fn_cxx_try_compile "$LINENO"; then :
63363 glibcxx_cv_func_finitel_use=yes
63364 else
63365 glibcxx_cv_func_finitel_use=no
63366 fi
63367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63368 ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63373
63374
63375 fi
63376
63377 fi
63378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63379 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63380
63381 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63382 for ac_func in finitel
63383 do :
63384 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63385 if test "x$ac_cv_func_finitel" = x""yes; then :
63386 cat >>confdefs.h <<_ACEOF
63387 #define HAVE_FINITEL 1
63388 _ACEOF
63389
63390 fi
63391 done
63392
63393 else
63394
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63396 $as_echo_n "checking for _finitel declaration... " >&6; }
63397 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63398 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63399 $as_echo_n "(cached) " >&6
63400 else
63401
63402
63403 ac_ext=cpp
63404 ac_cpp='$CXXCPP $CPPFLAGS'
63405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63408
63409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63410 /* end confdefs.h. */
63411 #include <math.h>
63412 #ifdef HAVE_IEEEFP_H
63413 #include <ieeefp.h>
63414 #endif
63415
63416 int
63417 main ()
63418 {
63419 _finitel(0);
63420 ;
63421 return 0;
63422 }
63423 _ACEOF
63424 if ac_fn_cxx_try_compile "$LINENO"; then :
63425 glibcxx_cv_func__finitel_use=yes
63426 else
63427 glibcxx_cv_func__finitel_use=no
63428 fi
63429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63430 ac_ext=c
63431 ac_cpp='$CPP $CPPFLAGS'
63432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63435
63436
63437 fi
63438
63439 fi
63440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63441 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63442
63443 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63444 for ac_func in _finitel
63445 do :
63446 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63447 if test "x$ac_cv_func__finitel" = x""yes; then :
63448 cat >>confdefs.h <<_ACEOF
63449 #define HAVE__FINITEL 1
63450 _ACEOF
63451
63452 fi
63453 done
63454
63455 fi
63456 fi
63457
63458
63459
63460
63461 LIBS="$ac_save_LIBS"
63462 CXXFLAGS="$ac_save_CXXFLAGS"
63463
63464
63465 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63466 ac_save_CXXFLAGS="$CXXFLAGS"
63467 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63468
63469
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63471 $as_echo_n "checking for strtold declaration... " >&6; }
63472 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63473 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63474 $as_echo_n "(cached) " >&6
63475 else
63476
63477
63478 ac_ext=cpp
63479 ac_cpp='$CXXCPP $CPPFLAGS'
63480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483
63484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63485 /* end confdefs.h. */
63486 #include <stdlib.h>
63487 int
63488 main ()
63489 {
63490 strtold(0, 0);
63491 ;
63492 return 0;
63493 }
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496 glibcxx_cv_func_strtold_use=yes
63497 else
63498 glibcxx_cv_func_strtold_use=no
63499 fi
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501 ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63506
63507
63508 fi
63509
63510 fi
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63512 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63513 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63514 for ac_func in strtold
63515 do :
63516 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63517 if test "x$ac_cv_func_strtold" = x""yes; then :
63518 cat >>confdefs.h <<_ACEOF
63519 #define HAVE_STRTOLD 1
63520 _ACEOF
63521
63522 fi
63523 done
63524
63525 fi
63526
63527
63528
63529
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63531 $as_echo_n "checking for strtof declaration... " >&6; }
63532 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63533 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63534 $as_echo_n "(cached) " >&6
63535 else
63536
63537
63538 ac_ext=cpp
63539 ac_cpp='$CXXCPP $CPPFLAGS'
63540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63543
63544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63545 /* end confdefs.h. */
63546 #include <stdlib.h>
63547 int
63548 main ()
63549 {
63550 strtof(0, 0);
63551 ;
63552 return 0;
63553 }
63554 _ACEOF
63555 if ac_fn_cxx_try_compile "$LINENO"; then :
63556 glibcxx_cv_func_strtof_use=yes
63557 else
63558 glibcxx_cv_func_strtof_use=no
63559 fi
63560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63561 ac_ext=c
63562 ac_cpp='$CPP $CPPFLAGS'
63563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63566
63567
63568 fi
63569
63570 fi
63571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63572 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63573 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63574 for ac_func in strtof
63575 do :
63576 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63577 if test "x$ac_cv_func_strtof" = x""yes; then :
63578 cat >>confdefs.h <<_ACEOF
63579 #define HAVE_STRTOF 1
63580 _ACEOF
63581
63582 fi
63583 done
63584
63585 fi
63586
63587
63588
63589
63590 CXXFLAGS="$ac_save_CXXFLAGS"
63591
63592 ;;
63593 *-solaris*)
63594 case "$target" in
63595 *-solaris2.9 | *-solaris2.10)
63596
63597 # If we're not using GNU ld, then there's no point in even trying these
63598 # tests. Check for that first. We should have already tested for gld
63599 # by now (in libtool), but require it now just to be safe...
63600 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63601 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63602
63603
63604
63605 # The name set by libtool depends on the version of libtool. Shame on us
63606 # for depending on an impl detail, but c'est la vie. Older versions used
63607 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63608 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63609 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63610 # set (hence we're using an older libtool), then set it.
63611 if test x${with_gnu_ld+set} != xset; then
63612 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63613 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63614 with_gnu_ld=no
63615 else
63616 with_gnu_ld=$ac_cv_prog_gnu_ld
63617 fi
63618 fi
63619
63620 # Start by getting the version number. I think the libtool test already
63621 # does some of this, but throws away the result.
63622 glibcxx_ld_is_gold=no
63623 if test x"$with_gnu_ld" = x"yes"; then
63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63625 $as_echo_n "checking for ld version... " >&6; }
63626
63627 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63628 glibcxx_ld_is_gold=yes
63629 fi
63630 ldver=`$LD --version 2>/dev/null |
63631 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'`
63632
63633 glibcxx_gnu_ld_version=`echo $ldver | \
63634 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63636 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63637 fi
63638
63639 # Set --gc-sections.
63640 glibcxx_have_gc_sections=no
63641 if test "$glibcxx_ld_is_gold" = "yes"; then
63642 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63643 glibcxx_have_gc_sections=yes
63644 fi
63645 else
63646 glibcxx_gcsections_min_ld=21602
63647 if test x"$with_gnu_ld" = x"yes" &&
63648 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63649 glibcxx_have_gc_sections=yes
63650 fi
63651 fi
63652 if test "$glibcxx_have_gc_sections" = "yes"; then
63653 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63654 # NB: This flag only works reliably after 2.16.1. Configure tests
63655 # for this are difficult, so hard wire a value that should work.
63656
63657 ac_test_CFLAGS="${CFLAGS+set}"
63658 ac_save_CFLAGS="$CFLAGS"
63659 CFLAGS='-Wl,--gc-sections'
63660
63661 # Check for -Wl,--gc-sections
63662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63663 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63664 if test x$gcc_no_link = xyes; then
63665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63666 fi
63667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63668 /* end confdefs.h. */
63669 int one(void) { return 1; }
63670 int two(void) { return 2; }
63671
63672 int
63673 main ()
63674 {
63675 two();
63676 ;
63677 return 0;
63678 }
63679 _ACEOF
63680 if ac_fn_c_try_link "$LINENO"; then :
63681 ac_gcsections=yes
63682 else
63683 ac_gcsections=no
63684 fi
63685 rm -f core conftest.err conftest.$ac_objext \
63686 conftest$ac_exeext conftest.$ac_ext
63687 if test "$ac_gcsections" = "yes"; then
63688 rm -f conftest.c
63689 touch conftest.c
63690 if $CC -c conftest.c; then
63691 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63692 grep "Warning: gc-sections option ignored" > /dev/null; then
63693 ac_gcsections=no
63694 fi
63695 fi
63696 rm -f conftest.c conftest.o conftest
63697 fi
63698 if test "$ac_gcsections" = "yes"; then
63699 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63700 fi
63701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63702 $as_echo "$ac_gcsections" >&6; }
63703
63704 if test "$ac_test_CFLAGS" = set; then
63705 CFLAGS="$ac_save_CFLAGS"
63706 else
63707 # this is the suspicious part
63708 CFLAGS=''
63709 fi
63710 fi
63711
63712 # Set -z,relro.
63713 # Note this is only for shared objects.
63714 ac_ld_relro=no
63715 if test x"$with_gnu_ld" = x"yes"; then
63716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63717 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63718 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63719 if test -n "$cxx_z_relo"; then
63720 OPT_LDFLAGS="-Wl,-z,relro"
63721 ac_ld_relro=yes
63722 fi
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63724 $as_echo "$ac_ld_relro" >&6; }
63725 fi
63726
63727 # Set linker optimization flags.
63728 if test x"$with_gnu_ld" = x"yes"; then
63729 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63730 fi
63731
63732
63733
63734
63735 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63736
63737 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63738
63739 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63740
63741 # All of the dependencies for wide character support are here, so
63742 # turn it on.
63743 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63744
63745 ;;
63746 esac
63747 case "$target" in
63748 *-*-solaris2.10)
63749 # These two C99 functions are present only in Solaris >= 10
63750 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63751
63752 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63753
63754 ;;
63755 esac
63756 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63757
63758 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63759
63760 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63761
63762 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63763
63764 ;;
63765 *-tpf)
63766 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63767
63768
63769 # If we're not using GNU ld, then there's no point in even trying these
63770 # tests. Check for that first. We should have already tested for gld
63771 # by now (in libtool), but require it now just to be safe...
63772 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63773 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63774
63775
63776
63777 # The name set by libtool depends on the version of libtool. Shame on us
63778 # for depending on an impl detail, but c'est la vie. Older versions used
63779 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63780 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63781 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63782 # set (hence we're using an older libtool), then set it.
63783 if test x${with_gnu_ld+set} != xset; then
63784 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63785 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63786 with_gnu_ld=no
63787 else
63788 with_gnu_ld=$ac_cv_prog_gnu_ld
63789 fi
63790 fi
63791
63792 # Start by getting the version number. I think the libtool test already
63793 # does some of this, but throws away the result.
63794 glibcxx_ld_is_gold=no
63795 if test x"$with_gnu_ld" = x"yes"; then
63796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63797 $as_echo_n "checking for ld version... " >&6; }
63798
63799 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63800 glibcxx_ld_is_gold=yes
63801 fi
63802 ldver=`$LD --version 2>/dev/null |
63803 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'`
63804
63805 glibcxx_gnu_ld_version=`echo $ldver | \
63806 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63808 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63809 fi
63810
63811 # Set --gc-sections.
63812 glibcxx_have_gc_sections=no
63813 if test "$glibcxx_ld_is_gold" = "yes"; then
63814 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63815 glibcxx_have_gc_sections=yes
63816 fi
63817 else
63818 glibcxx_gcsections_min_ld=21602
63819 if test x"$with_gnu_ld" = x"yes" &&
63820 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63821 glibcxx_have_gc_sections=yes
63822 fi
63823 fi
63824 if test "$glibcxx_have_gc_sections" = "yes"; then
63825 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63826 # NB: This flag only works reliably after 2.16.1. Configure tests
63827 # for this are difficult, so hard wire a value that should work.
63828
63829 ac_test_CFLAGS="${CFLAGS+set}"
63830 ac_save_CFLAGS="$CFLAGS"
63831 CFLAGS='-Wl,--gc-sections'
63832
63833 # Check for -Wl,--gc-sections
63834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63835 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63836 if test x$gcc_no_link = xyes; then
63837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63838 fi
63839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63840 /* end confdefs.h. */
63841 int one(void) { return 1; }
63842 int two(void) { return 2; }
63843
63844 int
63845 main ()
63846 {
63847 two();
63848 ;
63849 return 0;
63850 }
63851 _ACEOF
63852 if ac_fn_c_try_link "$LINENO"; then :
63853 ac_gcsections=yes
63854 else
63855 ac_gcsections=no
63856 fi
63857 rm -f core conftest.err conftest.$ac_objext \
63858 conftest$ac_exeext conftest.$ac_ext
63859 if test "$ac_gcsections" = "yes"; then
63860 rm -f conftest.c
63861 touch conftest.c
63862 if $CC -c conftest.c; then
63863 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63864 grep "Warning: gc-sections option ignored" > /dev/null; then
63865 ac_gcsections=no
63866 fi
63867 fi
63868 rm -f conftest.c conftest.o conftest
63869 fi
63870 if test "$ac_gcsections" = "yes"; then
63871 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63872 fi
63873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63874 $as_echo "$ac_gcsections" >&6; }
63875
63876 if test "$ac_test_CFLAGS" = set; then
63877 CFLAGS="$ac_save_CFLAGS"
63878 else
63879 # this is the suspicious part
63880 CFLAGS=''
63881 fi
63882 fi
63883
63884 # Set -z,relro.
63885 # Note this is only for shared objects.
63886 ac_ld_relro=no
63887 if test x"$with_gnu_ld" = x"yes"; then
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63889 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63890 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63891 if test -n "$cxx_z_relo"; then
63892 OPT_LDFLAGS="-Wl,-z,relro"
63893 ac_ld_relro=yes
63894 fi
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63896 $as_echo "$ac_ld_relro" >&6; }
63897 fi
63898
63899 # Set linker optimization flags.
63900 if test x"$with_gnu_ld" = x"yes"; then
63901 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63902 fi
63903
63904
63905
63906
63907 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63908
63909 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63910
63911 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63912
63913 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63914
63915 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63916
63917 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63918
63919 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63920
63921 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63922
63923 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63924
63925 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63926
63927 if test x"long_double_math_on_this_cpu" = x"yes"; then
63928 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63929
63930 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63931
63932 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63933
63934 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63935
63936 fi
63937 ;;
63938 *-*vms*)
63939 # Check for available headers.
63940 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63941
63942 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63943 ac_save_CXXFLAGS="$CXXFLAGS"
63944 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63945
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63947 $as_echo_n "checking for sin in -lm... " >&6; }
63948 if test "${ac_cv_lib_m_sin+set}" = set; then :
63949 $as_echo_n "(cached) " >&6
63950 else
63951 ac_check_lib_save_LIBS=$LIBS
63952 LIBS="-lm $LIBS"
63953 if test x$gcc_no_link = xyes; then
63954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63955 fi
63956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63957 /* end confdefs.h. */
63958
63959 /* Override any GCC internal prototype to avoid an error.
63960 Use char because int might match the return type of a GCC
63961 builtin and then its argument prototype would still apply. */
63962 #ifdef __cplusplus
63963 extern "C"
63964 #endif
63965 char sin ();
63966 int
63967 main ()
63968 {
63969 return sin ();
63970 ;
63971 return 0;
63972 }
63973 _ACEOF
63974 if ac_fn_c_try_link "$LINENO"; then :
63975 ac_cv_lib_m_sin=yes
63976 else
63977 ac_cv_lib_m_sin=no
63978 fi
63979 rm -f core conftest.err conftest.$ac_objext \
63980 conftest$ac_exeext conftest.$ac_ext
63981 LIBS=$ac_check_lib_save_LIBS
63982 fi
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63984 $as_echo "$ac_cv_lib_m_sin" >&6; }
63985 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63986 libm="-lm"
63987 fi
63988
63989 ac_save_LIBS="$LIBS"
63990 LIBS="$LIBS $libm"
63991
63992
63993
63994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63995 $as_echo_n "checking for isinf declaration... " >&6; }
63996 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63997 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63998 $as_echo_n "(cached) " >&6
63999 else
64000
64001
64002 ac_ext=cpp
64003 ac_cpp='$CXXCPP $CPPFLAGS'
64004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64007
64008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64009 /* end confdefs.h. */
64010 #include <math.h>
64011 #ifdef HAVE_IEEEFP_H
64012 #include <ieeefp.h>
64013 #endif
64014
64015 int
64016 main ()
64017 {
64018 isinf(0);
64019 ;
64020 return 0;
64021 }
64022 _ACEOF
64023 if ac_fn_cxx_try_compile "$LINENO"; then :
64024 glibcxx_cv_func_isinf_use=yes
64025 else
64026 glibcxx_cv_func_isinf_use=no
64027 fi
64028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64029 ac_ext=c
64030 ac_cpp='$CPP $CPPFLAGS'
64031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64034
64035
64036 fi
64037
64038 fi
64039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64040 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64041
64042 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64043 for ac_func in isinf
64044 do :
64045 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64046 if test "x$ac_cv_func_isinf" = x""yes; then :
64047 cat >>confdefs.h <<_ACEOF
64048 #define HAVE_ISINF 1
64049 _ACEOF
64050
64051 fi
64052 done
64053
64054 else
64055
64056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64057 $as_echo_n "checking for _isinf declaration... " >&6; }
64058 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64059 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64060 $as_echo_n "(cached) " >&6
64061 else
64062
64063
64064 ac_ext=cpp
64065 ac_cpp='$CXXCPP $CPPFLAGS'
64066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64069
64070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64071 /* end confdefs.h. */
64072 #include <math.h>
64073 #ifdef HAVE_IEEEFP_H
64074 #include <ieeefp.h>
64075 #endif
64076
64077 int
64078 main ()
64079 {
64080 _isinf(0);
64081 ;
64082 return 0;
64083 }
64084 _ACEOF
64085 if ac_fn_cxx_try_compile "$LINENO"; then :
64086 glibcxx_cv_func__isinf_use=yes
64087 else
64088 glibcxx_cv_func__isinf_use=no
64089 fi
64090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64091 ac_ext=c
64092 ac_cpp='$CPP $CPPFLAGS'
64093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64096
64097
64098 fi
64099
64100 fi
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64102 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64103
64104 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64105 for ac_func in _isinf
64106 do :
64107 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64108 if test "x$ac_cv_func__isinf" = x""yes; then :
64109 cat >>confdefs.h <<_ACEOF
64110 #define HAVE__ISINF 1
64111 _ACEOF
64112
64113 fi
64114 done
64115
64116 fi
64117 fi
64118
64119
64120
64121
64122
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64124 $as_echo_n "checking for isnan declaration... " >&6; }
64125 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64126 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64127 $as_echo_n "(cached) " >&6
64128 else
64129
64130
64131 ac_ext=cpp
64132 ac_cpp='$CXXCPP $CPPFLAGS'
64133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64136
64137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64138 /* end confdefs.h. */
64139 #include <math.h>
64140 #ifdef HAVE_IEEEFP_H
64141 #include <ieeefp.h>
64142 #endif
64143
64144 int
64145 main ()
64146 {
64147 isnan(0);
64148 ;
64149 return 0;
64150 }
64151 _ACEOF
64152 if ac_fn_cxx_try_compile "$LINENO"; then :
64153 glibcxx_cv_func_isnan_use=yes
64154 else
64155 glibcxx_cv_func_isnan_use=no
64156 fi
64157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64158 ac_ext=c
64159 ac_cpp='$CPP $CPPFLAGS'
64160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64163
64164
64165 fi
64166
64167 fi
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64169 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64170
64171 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64172 for ac_func in isnan
64173 do :
64174 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64175 if test "x$ac_cv_func_isnan" = x""yes; then :
64176 cat >>confdefs.h <<_ACEOF
64177 #define HAVE_ISNAN 1
64178 _ACEOF
64179
64180 fi
64181 done
64182
64183 else
64184
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64186 $as_echo_n "checking for _isnan declaration... " >&6; }
64187 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64188 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64191
64192
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64198
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64202 #ifdef HAVE_IEEEFP_H
64203 #include <ieeefp.h>
64204 #endif
64205
64206 int
64207 main ()
64208 {
64209 _isnan(0);
64210 ;
64211 return 0;
64212 }
64213 _ACEOF
64214 if ac_fn_cxx_try_compile "$LINENO"; then :
64215 glibcxx_cv_func__isnan_use=yes
64216 else
64217 glibcxx_cv_func__isnan_use=no
64218 fi
64219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64220 ac_ext=c
64221 ac_cpp='$CPP $CPPFLAGS'
64222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64225
64226
64227 fi
64228
64229 fi
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64231 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64232
64233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64234 for ac_func in _isnan
64235 do :
64236 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64237 if test "x$ac_cv_func__isnan" = x""yes; then :
64238 cat >>confdefs.h <<_ACEOF
64239 #define HAVE__ISNAN 1
64240 _ACEOF
64241
64242 fi
64243 done
64244
64245 fi
64246 fi
64247
64248
64249
64250
64251
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64253 $as_echo_n "checking for finite declaration... " >&6; }
64254 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64255 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64256 $as_echo_n "(cached) " >&6
64257 else
64258
64259
64260 ac_ext=cpp
64261 ac_cpp='$CXXCPP $CPPFLAGS'
64262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64265
64266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64267 /* end confdefs.h. */
64268 #include <math.h>
64269 #ifdef HAVE_IEEEFP_H
64270 #include <ieeefp.h>
64271 #endif
64272
64273 int
64274 main ()
64275 {
64276 finite(0);
64277 ;
64278 return 0;
64279 }
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282 glibcxx_cv_func_finite_use=yes
64283 else
64284 glibcxx_cv_func_finite_use=no
64285 fi
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287 ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64292
64293
64294 fi
64295
64296 fi
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64298 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64299
64300 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64301 for ac_func in finite
64302 do :
64303 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64304 if test "x$ac_cv_func_finite" = x""yes; then :
64305 cat >>confdefs.h <<_ACEOF
64306 #define HAVE_FINITE 1
64307 _ACEOF
64308
64309 fi
64310 done
64311
64312 else
64313
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64315 $as_echo_n "checking for _finite declaration... " >&6; }
64316 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64317 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64318 $as_echo_n "(cached) " >&6
64319 else
64320
64321
64322 ac_ext=cpp
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64327
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 #include <math.h>
64331 #ifdef HAVE_IEEEFP_H
64332 #include <ieeefp.h>
64333 #endif
64334
64335 int
64336 main ()
64337 {
64338 _finite(0);
64339 ;
64340 return 0;
64341 }
64342 _ACEOF
64343 if ac_fn_cxx_try_compile "$LINENO"; then :
64344 glibcxx_cv_func__finite_use=yes
64345 else
64346 glibcxx_cv_func__finite_use=no
64347 fi
64348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64349 ac_ext=c
64350 ac_cpp='$CPP $CPPFLAGS'
64351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64354
64355
64356 fi
64357
64358 fi
64359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64360 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64361
64362 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64363 for ac_func in _finite
64364 do :
64365 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64366 if test "x$ac_cv_func__finite" = x""yes; then :
64367 cat >>confdefs.h <<_ACEOF
64368 #define HAVE__FINITE 1
64369 _ACEOF
64370
64371 fi
64372 done
64373
64374 fi
64375 fi
64376
64377
64378
64379
64380
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64382 $as_echo_n "checking for sincos declaration... " >&6; }
64383 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64384 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64387
64388
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64394
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64398 int
64399 main ()
64400 {
64401 sincos(0, 0, 0);
64402 ;
64403 return 0;
64404 }
64405 _ACEOF
64406 if ac_fn_cxx_try_compile "$LINENO"; then :
64407 glibcxx_cv_func_sincos_use=yes
64408 else
64409 glibcxx_cv_func_sincos_use=no
64410 fi
64411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64412 ac_ext=c
64413 ac_cpp='$CPP $CPPFLAGS'
64414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64417
64418
64419 fi
64420
64421 fi
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64423 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64424
64425 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64426 for ac_func in sincos
64427 do :
64428 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64429 if test "x$ac_cv_func_sincos" = x""yes; then :
64430 cat >>confdefs.h <<_ACEOF
64431 #define HAVE_SINCOS 1
64432 _ACEOF
64433
64434 fi
64435 done
64436
64437 else
64438
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64440 $as_echo_n "checking for _sincos declaration... " >&6; }
64441 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64442 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64443 $as_echo_n "(cached) " >&6
64444 else
64445
64446
64447 ac_ext=cpp
64448 ac_cpp='$CXXCPP $CPPFLAGS'
64449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64452
64453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64454 /* end confdefs.h. */
64455 #include <math.h>
64456 int
64457 main ()
64458 {
64459 _sincos(0, 0, 0);
64460 ;
64461 return 0;
64462 }
64463 _ACEOF
64464 if ac_fn_cxx_try_compile "$LINENO"; then :
64465 glibcxx_cv_func__sincos_use=yes
64466 else
64467 glibcxx_cv_func__sincos_use=no
64468 fi
64469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64470 ac_ext=c
64471 ac_cpp='$CPP $CPPFLAGS'
64472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64475
64476
64477 fi
64478
64479 fi
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64481 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64482
64483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64484 for ac_func in _sincos
64485 do :
64486 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64487 if test "x$ac_cv_func__sincos" = x""yes; then :
64488 cat >>confdefs.h <<_ACEOF
64489 #define HAVE__SINCOS 1
64490 _ACEOF
64491
64492 fi
64493 done
64494
64495 fi
64496 fi
64497
64498
64499
64500
64501
64502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64503 $as_echo_n "checking for fpclass declaration... " >&6; }
64504 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64505 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64506 $as_echo_n "(cached) " >&6
64507 else
64508
64509
64510 ac_ext=cpp
64511 ac_cpp='$CXXCPP $CPPFLAGS'
64512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64515
64516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64517 /* end confdefs.h. */
64518 #include <math.h>
64519 #ifdef HAVE_IEEEFP_H
64520 #include <ieeefp.h>
64521 #endif
64522
64523 int
64524 main ()
64525 {
64526 fpclass(0);
64527 ;
64528 return 0;
64529 }
64530 _ACEOF
64531 if ac_fn_cxx_try_compile "$LINENO"; then :
64532 glibcxx_cv_func_fpclass_use=yes
64533 else
64534 glibcxx_cv_func_fpclass_use=no
64535 fi
64536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64537 ac_ext=c
64538 ac_cpp='$CPP $CPPFLAGS'
64539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64542
64543
64544 fi
64545
64546 fi
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64548 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64549
64550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64551 for ac_func in fpclass
64552 do :
64553 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64554 if test "x$ac_cv_func_fpclass" = x""yes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_FPCLASS 1
64557 _ACEOF
64558
64559 fi
64560 done
64561
64562 else
64563
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64565 $as_echo_n "checking for _fpclass declaration... " >&6; }
64566 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64567 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64570
64571
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64577
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64581 #ifdef HAVE_IEEEFP_H
64582 #include <ieeefp.h>
64583 #endif
64584
64585 int
64586 main ()
64587 {
64588 _fpclass(0);
64589 ;
64590 return 0;
64591 }
64592 _ACEOF
64593 if ac_fn_cxx_try_compile "$LINENO"; then :
64594 glibcxx_cv_func__fpclass_use=yes
64595 else
64596 glibcxx_cv_func__fpclass_use=no
64597 fi
64598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64604
64605
64606 fi
64607
64608 fi
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64610 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64611
64612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64613 for ac_func in _fpclass
64614 do :
64615 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64616 if test "x$ac_cv_func__fpclass" = x""yes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE__FPCLASS 1
64619 _ACEOF
64620
64621 fi
64622 done
64623
64624 fi
64625 fi
64626
64627
64628
64629
64630
64631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64632 $as_echo_n "checking for qfpclass declaration... " >&6; }
64633 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64634 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64635 $as_echo_n "(cached) " >&6
64636 else
64637
64638
64639 ac_ext=cpp
64640 ac_cpp='$CXXCPP $CPPFLAGS'
64641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64644
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <math.h>
64648 #ifdef HAVE_IEEEFP_H
64649 #include <ieeefp.h>
64650 #endif
64651
64652 int
64653 main ()
64654 {
64655 qfpclass(0);
64656 ;
64657 return 0;
64658 }
64659 _ACEOF
64660 if ac_fn_cxx_try_compile "$LINENO"; then :
64661 glibcxx_cv_func_qfpclass_use=yes
64662 else
64663 glibcxx_cv_func_qfpclass_use=no
64664 fi
64665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64666 ac_ext=c
64667 ac_cpp='$CPP $CPPFLAGS'
64668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64671
64672
64673 fi
64674
64675 fi
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64677 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64678
64679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64680 for ac_func in qfpclass
64681 do :
64682 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64683 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64684 cat >>confdefs.h <<_ACEOF
64685 #define HAVE_QFPCLASS 1
64686 _ACEOF
64687
64688 fi
64689 done
64690
64691 else
64692
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64694 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64695 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64696 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64697 $as_echo_n "(cached) " >&6
64698 else
64699
64700
64701 ac_ext=cpp
64702 ac_cpp='$CXXCPP $CPPFLAGS'
64703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64706
64707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64708 /* end confdefs.h. */
64709 #include <math.h>
64710 #ifdef HAVE_IEEEFP_H
64711 #include <ieeefp.h>
64712 #endif
64713
64714 int
64715 main ()
64716 {
64717 _qfpclass(0);
64718 ;
64719 return 0;
64720 }
64721 _ACEOF
64722 if ac_fn_cxx_try_compile "$LINENO"; then :
64723 glibcxx_cv_func__qfpclass_use=yes
64724 else
64725 glibcxx_cv_func__qfpclass_use=no
64726 fi
64727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64728 ac_ext=c
64729 ac_cpp='$CPP $CPPFLAGS'
64730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64733
64734
64735 fi
64736
64737 fi
64738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64739 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64740
64741 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64742 for ac_func in _qfpclass
64743 do :
64744 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64745 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64746 cat >>confdefs.h <<_ACEOF
64747 #define HAVE__QFPCLASS 1
64748 _ACEOF
64749
64750 fi
64751 done
64752
64753 fi
64754 fi
64755
64756
64757
64758
64759
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64761 $as_echo_n "checking for hypot declaration... " >&6; }
64762 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64763 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64764 $as_echo_n "(cached) " >&6
64765 else
64766
64767
64768 ac_ext=cpp
64769 ac_cpp='$CXXCPP $CPPFLAGS'
64770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64773
64774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64775 /* end confdefs.h. */
64776 #include <math.h>
64777 int
64778 main ()
64779 {
64780 hypot(0, 0);
64781 ;
64782 return 0;
64783 }
64784 _ACEOF
64785 if ac_fn_cxx_try_compile "$LINENO"; then :
64786 glibcxx_cv_func_hypot_use=yes
64787 else
64788 glibcxx_cv_func_hypot_use=no
64789 fi
64790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64791 ac_ext=c
64792 ac_cpp='$CPP $CPPFLAGS'
64793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64796
64797
64798 fi
64799
64800 fi
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64802 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64803
64804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64805 for ac_func in hypot
64806 do :
64807 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64808 if test "x$ac_cv_func_hypot" = x""yes; then :
64809 cat >>confdefs.h <<_ACEOF
64810 #define HAVE_HYPOT 1
64811 _ACEOF
64812
64813 fi
64814 done
64815
64816 else
64817
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64819 $as_echo_n "checking for _hypot declaration... " >&6; }
64820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64821 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64822 $as_echo_n "(cached) " >&6
64823 else
64824
64825
64826 ac_ext=cpp
64827 ac_cpp='$CXXCPP $CPPFLAGS'
64828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64831
64832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64833 /* end confdefs.h. */
64834 #include <math.h>
64835 int
64836 main ()
64837 {
64838 _hypot(0, 0);
64839 ;
64840 return 0;
64841 }
64842 _ACEOF
64843 if ac_fn_cxx_try_compile "$LINENO"; then :
64844 glibcxx_cv_func__hypot_use=yes
64845 else
64846 glibcxx_cv_func__hypot_use=no
64847 fi
64848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64849 ac_ext=c
64850 ac_cpp='$CPP $CPPFLAGS'
64851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64854
64855
64856 fi
64857
64858 fi
64859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64860 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64861
64862 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64863 for ac_func in _hypot
64864 do :
64865 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64866 if test "x$ac_cv_func__hypot" = x""yes; then :
64867 cat >>confdefs.h <<_ACEOF
64868 #define HAVE__HYPOT 1
64869 _ACEOF
64870
64871 fi
64872 done
64873
64874 fi
64875 fi
64876
64877
64878
64879
64880
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64882 $as_echo_n "checking for float trig functions... " >&6; }
64883 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64884 $as_echo_n "(cached) " >&6
64885 else
64886
64887
64888 ac_ext=cpp
64889 ac_cpp='$CXXCPP $CPPFLAGS'
64890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64893
64894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64895 /* end confdefs.h. */
64896 #include <math.h>
64897 int
64898 main ()
64899 {
64900 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64901 ;
64902 return 0;
64903 }
64904 _ACEOF
64905 if ac_fn_cxx_try_compile "$LINENO"; then :
64906 glibcxx_cv_func_float_trig_use=yes
64907 else
64908 glibcxx_cv_func_float_trig_use=no
64909 fi
64910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64911 ac_ext=c
64912 ac_cpp='$CPP $CPPFLAGS'
64913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64916
64917 fi
64918
64919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64920 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64921 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64922 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64923 do :
64924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64926 eval as_val=\$$as_ac_var
64927 if test "x$as_val" = x""yes; then :
64928 cat >>confdefs.h <<_ACEOF
64929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64930 _ACEOF
64931
64932 fi
64933 done
64934
64935 else
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64937 $as_echo_n "checking for _float trig functions... " >&6; }
64938 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64939 $as_echo_n "(cached) " >&6
64940 else
64941
64942
64943 ac_ext=cpp
64944 ac_cpp='$CXXCPP $CPPFLAGS'
64945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64948
64949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64950 /* end confdefs.h. */
64951 #include <math.h>
64952 int
64953 main ()
64954 {
64955 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64956 ;
64957 return 0;
64958 }
64959 _ACEOF
64960 if ac_fn_cxx_try_compile "$LINENO"; then :
64961 glibcxx_cv_func__float_trig_use=yes
64962 else
64963 glibcxx_cv_func__float_trig_use=no
64964 fi
64965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64966 ac_ext=c
64967 ac_cpp='$CPP $CPPFLAGS'
64968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64971
64972 fi
64973
64974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64975 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64976 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64977 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64978 do :
64979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64981 eval as_val=\$$as_ac_var
64982 if test "x$as_val" = x""yes; then :
64983 cat >>confdefs.h <<_ACEOF
64984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64985 _ACEOF
64986
64987 fi
64988 done
64989
64990 fi
64991 fi
64992
64993
64994
64995
64996
64997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64998 $as_echo_n "checking for float round functions... " >&6; }
64999 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65000 $as_echo_n "(cached) " >&6
65001 else
65002
65003
65004 ac_ext=cpp
65005 ac_cpp='$CXXCPP $CPPFLAGS'
65006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65009
65010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65011 /* end confdefs.h. */
65012 #include <math.h>
65013 int
65014 main ()
65015 {
65016 ceilf (0); floorf (0);
65017 ;
65018 return 0;
65019 }
65020 _ACEOF
65021 if ac_fn_cxx_try_compile "$LINENO"; then :
65022 glibcxx_cv_func_float_round_use=yes
65023 else
65024 glibcxx_cv_func_float_round_use=no
65025 fi
65026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65027 ac_ext=c
65028 ac_cpp='$CPP $CPPFLAGS'
65029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65032
65033 fi
65034
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65036 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65037 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65038 for ac_func in ceilf floorf
65039 do :
65040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65042 eval as_val=\$$as_ac_var
65043 if test "x$as_val" = x""yes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65046 _ACEOF
65047
65048 fi
65049 done
65050
65051 else
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65053 $as_echo_n "checking for _float round functions... " >&6; }
65054 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65055 $as_echo_n "(cached) " >&6
65056 else
65057
65058
65059 ac_ext=cpp
65060 ac_cpp='$CXXCPP $CPPFLAGS'
65061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65064
65065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65066 /* end confdefs.h. */
65067 #include <math.h>
65068 int
65069 main ()
65070 {
65071 _ceilf (0); _floorf (0);
65072 ;
65073 return 0;
65074 }
65075 _ACEOF
65076 if ac_fn_cxx_try_compile "$LINENO"; then :
65077 glibcxx_cv_func__float_round_use=yes
65078 else
65079 glibcxx_cv_func__float_round_use=no
65080 fi
65081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65082 ac_ext=c
65083 ac_cpp='$CPP $CPPFLAGS'
65084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65087
65088 fi
65089
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65091 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65092 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65093 for ac_func in _ceilf _floorf
65094 do :
65095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65097 eval as_val=\$$as_ac_var
65098 if test "x$as_val" = x""yes; then :
65099 cat >>confdefs.h <<_ACEOF
65100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65101 _ACEOF
65102
65103 fi
65104 done
65105
65106 fi
65107 fi
65108
65109
65110
65111
65112
65113
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65115 $as_echo_n "checking for expf declaration... " >&6; }
65116 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65117 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65118 $as_echo_n "(cached) " >&6
65119 else
65120
65121
65122 ac_ext=cpp
65123 ac_cpp='$CXXCPP $CPPFLAGS'
65124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65127
65128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65129 /* end confdefs.h. */
65130 #include <math.h>
65131 #ifdef HAVE_IEEEFP_H
65132 #include <ieeefp.h>
65133 #endif
65134
65135 int
65136 main ()
65137 {
65138 expf(0);
65139 ;
65140 return 0;
65141 }
65142 _ACEOF
65143 if ac_fn_cxx_try_compile "$LINENO"; then :
65144 glibcxx_cv_func_expf_use=yes
65145 else
65146 glibcxx_cv_func_expf_use=no
65147 fi
65148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65149 ac_ext=c
65150 ac_cpp='$CPP $CPPFLAGS'
65151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65154
65155
65156 fi
65157
65158 fi
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65160 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65161
65162 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65163 for ac_func in expf
65164 do :
65165 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65166 if test "x$ac_cv_func_expf" = x""yes; then :
65167 cat >>confdefs.h <<_ACEOF
65168 #define HAVE_EXPF 1
65169 _ACEOF
65170
65171 fi
65172 done
65173
65174 else
65175
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65177 $as_echo_n "checking for _expf declaration... " >&6; }
65178 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65179 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65180 $as_echo_n "(cached) " >&6
65181 else
65182
65183
65184 ac_ext=cpp
65185 ac_cpp='$CXXCPP $CPPFLAGS'
65186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65189
65190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65191 /* end confdefs.h. */
65192 #include <math.h>
65193 #ifdef HAVE_IEEEFP_H
65194 #include <ieeefp.h>
65195 #endif
65196
65197 int
65198 main ()
65199 {
65200 _expf(0);
65201 ;
65202 return 0;
65203 }
65204 _ACEOF
65205 if ac_fn_cxx_try_compile "$LINENO"; then :
65206 glibcxx_cv_func__expf_use=yes
65207 else
65208 glibcxx_cv_func__expf_use=no
65209 fi
65210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65211 ac_ext=c
65212 ac_cpp='$CPP $CPPFLAGS'
65213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65216
65217
65218 fi
65219
65220 fi
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65222 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65223
65224 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65225 for ac_func in _expf
65226 do :
65227 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65228 if test "x$ac_cv_func__expf" = x""yes; then :
65229 cat >>confdefs.h <<_ACEOF
65230 #define HAVE__EXPF 1
65231 _ACEOF
65232
65233 fi
65234 done
65235
65236 fi
65237 fi
65238
65239
65240
65241
65242
65243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65244 $as_echo_n "checking for isnanf declaration... " >&6; }
65245 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65246 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65247 $as_echo_n "(cached) " >&6
65248 else
65249
65250
65251 ac_ext=cpp
65252 ac_cpp='$CXXCPP $CPPFLAGS'
65253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65256
65257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65258 /* end confdefs.h. */
65259 #include <math.h>
65260 #ifdef HAVE_IEEEFP_H
65261 #include <ieeefp.h>
65262 #endif
65263
65264 int
65265 main ()
65266 {
65267 isnanf(0);
65268 ;
65269 return 0;
65270 }
65271 _ACEOF
65272 if ac_fn_cxx_try_compile "$LINENO"; then :
65273 glibcxx_cv_func_isnanf_use=yes
65274 else
65275 glibcxx_cv_func_isnanf_use=no
65276 fi
65277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65278 ac_ext=c
65279 ac_cpp='$CPP $CPPFLAGS'
65280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65283
65284
65285 fi
65286
65287 fi
65288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65289 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65290
65291 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65292 for ac_func in isnanf
65293 do :
65294 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65295 if test "x$ac_cv_func_isnanf" = x""yes; then :
65296 cat >>confdefs.h <<_ACEOF
65297 #define HAVE_ISNANF 1
65298 _ACEOF
65299
65300 fi
65301 done
65302
65303 else
65304
65305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65306 $as_echo_n "checking for _isnanf declaration... " >&6; }
65307 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65308 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65309 $as_echo_n "(cached) " >&6
65310 else
65311
65312
65313 ac_ext=cpp
65314 ac_cpp='$CXXCPP $CPPFLAGS'
65315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65318
65319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65320 /* end confdefs.h. */
65321 #include <math.h>
65322 #ifdef HAVE_IEEEFP_H
65323 #include <ieeefp.h>
65324 #endif
65325
65326 int
65327 main ()
65328 {
65329 _isnanf(0);
65330 ;
65331 return 0;
65332 }
65333 _ACEOF
65334 if ac_fn_cxx_try_compile "$LINENO"; then :
65335 glibcxx_cv_func__isnanf_use=yes
65336 else
65337 glibcxx_cv_func__isnanf_use=no
65338 fi
65339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65340 ac_ext=c
65341 ac_cpp='$CPP $CPPFLAGS'
65342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65345
65346
65347 fi
65348
65349 fi
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65351 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65352
65353 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65354 for ac_func in _isnanf
65355 do :
65356 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65357 if test "x$ac_cv_func__isnanf" = x""yes; then :
65358 cat >>confdefs.h <<_ACEOF
65359 #define HAVE__ISNANF 1
65360 _ACEOF
65361
65362 fi
65363 done
65364
65365 fi
65366 fi
65367
65368
65369
65370
65371
65372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65373 $as_echo_n "checking for isinff declaration... " >&6; }
65374 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65375 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65376 $as_echo_n "(cached) " >&6
65377 else
65378
65379
65380 ac_ext=cpp
65381 ac_cpp='$CXXCPP $CPPFLAGS'
65382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65385
65386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65387 /* end confdefs.h. */
65388 #include <math.h>
65389 #ifdef HAVE_IEEEFP_H
65390 #include <ieeefp.h>
65391 #endif
65392
65393 int
65394 main ()
65395 {
65396 isinff(0);
65397 ;
65398 return 0;
65399 }
65400 _ACEOF
65401 if ac_fn_cxx_try_compile "$LINENO"; then :
65402 glibcxx_cv_func_isinff_use=yes
65403 else
65404 glibcxx_cv_func_isinff_use=no
65405 fi
65406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65407 ac_ext=c
65408 ac_cpp='$CPP $CPPFLAGS'
65409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65412
65413
65414 fi
65415
65416 fi
65417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65418 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65419
65420 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65421 for ac_func in isinff
65422 do :
65423 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65424 if test "x$ac_cv_func_isinff" = x""yes; then :
65425 cat >>confdefs.h <<_ACEOF
65426 #define HAVE_ISINFF 1
65427 _ACEOF
65428
65429 fi
65430 done
65431
65432 else
65433
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65435 $as_echo_n "checking for _isinff declaration... " >&6; }
65436 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65437 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65438 $as_echo_n "(cached) " >&6
65439 else
65440
65441
65442 ac_ext=cpp
65443 ac_cpp='$CXXCPP $CPPFLAGS'
65444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65447
65448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65449 /* end confdefs.h. */
65450 #include <math.h>
65451 #ifdef HAVE_IEEEFP_H
65452 #include <ieeefp.h>
65453 #endif
65454
65455 int
65456 main ()
65457 {
65458 _isinff(0);
65459 ;
65460 return 0;
65461 }
65462 _ACEOF
65463 if ac_fn_cxx_try_compile "$LINENO"; then :
65464 glibcxx_cv_func__isinff_use=yes
65465 else
65466 glibcxx_cv_func__isinff_use=no
65467 fi
65468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65469 ac_ext=c
65470 ac_cpp='$CPP $CPPFLAGS'
65471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65474
65475
65476 fi
65477
65478 fi
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65480 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65481
65482 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65483 for ac_func in _isinff
65484 do :
65485 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65486 if test "x$ac_cv_func__isinff" = x""yes; then :
65487 cat >>confdefs.h <<_ACEOF
65488 #define HAVE__ISINFF 1
65489 _ACEOF
65490
65491 fi
65492 done
65493
65494 fi
65495 fi
65496
65497
65498
65499
65500
65501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65502 $as_echo_n "checking for atan2f declaration... " >&6; }
65503 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65504 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65505 $as_echo_n "(cached) " >&6
65506 else
65507
65508
65509 ac_ext=cpp
65510 ac_cpp='$CXXCPP $CPPFLAGS'
65511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65514
65515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65516 /* end confdefs.h. */
65517 #include <math.h>
65518 int
65519 main ()
65520 {
65521 atan2f(0, 0);
65522 ;
65523 return 0;
65524 }
65525 _ACEOF
65526 if ac_fn_cxx_try_compile "$LINENO"; then :
65527 glibcxx_cv_func_atan2f_use=yes
65528 else
65529 glibcxx_cv_func_atan2f_use=no
65530 fi
65531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65532 ac_ext=c
65533 ac_cpp='$CPP $CPPFLAGS'
65534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65537
65538
65539 fi
65540
65541 fi
65542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65543 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65544
65545 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65546 for ac_func in atan2f
65547 do :
65548 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65549 if test "x$ac_cv_func_atan2f" = x""yes; then :
65550 cat >>confdefs.h <<_ACEOF
65551 #define HAVE_ATAN2F 1
65552 _ACEOF
65553
65554 fi
65555 done
65556
65557 else
65558
65559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65560 $as_echo_n "checking for _atan2f declaration... " >&6; }
65561 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65562 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65563 $as_echo_n "(cached) " >&6
65564 else
65565
65566
65567 ac_ext=cpp
65568 ac_cpp='$CXXCPP $CPPFLAGS'
65569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65572
65573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65574 /* end confdefs.h. */
65575 #include <math.h>
65576 int
65577 main ()
65578 {
65579 _atan2f(0, 0);
65580 ;
65581 return 0;
65582 }
65583 _ACEOF
65584 if ac_fn_cxx_try_compile "$LINENO"; then :
65585 glibcxx_cv_func__atan2f_use=yes
65586 else
65587 glibcxx_cv_func__atan2f_use=no
65588 fi
65589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65590 ac_ext=c
65591 ac_cpp='$CPP $CPPFLAGS'
65592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65595
65596
65597 fi
65598
65599 fi
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65601 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65602
65603 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65604 for ac_func in _atan2f
65605 do :
65606 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65607 if test "x$ac_cv_func__atan2f" = x""yes; then :
65608 cat >>confdefs.h <<_ACEOF
65609 #define HAVE__ATAN2F 1
65610 _ACEOF
65611
65612 fi
65613 done
65614
65615 fi
65616 fi
65617
65618
65619
65620
65621
65622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65623 $as_echo_n "checking for fabsf declaration... " >&6; }
65624 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65625 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65626 $as_echo_n "(cached) " >&6
65627 else
65628
65629
65630 ac_ext=cpp
65631 ac_cpp='$CXXCPP $CPPFLAGS'
65632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65635
65636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65637 /* end confdefs.h. */
65638 #include <math.h>
65639 #ifdef HAVE_IEEEFP_H
65640 #include <ieeefp.h>
65641 #endif
65642
65643 int
65644 main ()
65645 {
65646 fabsf(0);
65647 ;
65648 return 0;
65649 }
65650 _ACEOF
65651 if ac_fn_cxx_try_compile "$LINENO"; then :
65652 glibcxx_cv_func_fabsf_use=yes
65653 else
65654 glibcxx_cv_func_fabsf_use=no
65655 fi
65656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65657 ac_ext=c
65658 ac_cpp='$CPP $CPPFLAGS'
65659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65662
65663
65664 fi
65665
65666 fi
65667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65668 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65669
65670 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65671 for ac_func in fabsf
65672 do :
65673 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65674 if test "x$ac_cv_func_fabsf" = x""yes; then :
65675 cat >>confdefs.h <<_ACEOF
65676 #define HAVE_FABSF 1
65677 _ACEOF
65678
65679 fi
65680 done
65681
65682 else
65683
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65685 $as_echo_n "checking for _fabsf declaration... " >&6; }
65686 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65687 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65688 $as_echo_n "(cached) " >&6
65689 else
65690
65691
65692 ac_ext=cpp
65693 ac_cpp='$CXXCPP $CPPFLAGS'
65694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65697
65698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65699 /* end confdefs.h. */
65700 #include <math.h>
65701 #ifdef HAVE_IEEEFP_H
65702 #include <ieeefp.h>
65703 #endif
65704
65705 int
65706 main ()
65707 {
65708 _fabsf(0);
65709 ;
65710 return 0;
65711 }
65712 _ACEOF
65713 if ac_fn_cxx_try_compile "$LINENO"; then :
65714 glibcxx_cv_func__fabsf_use=yes
65715 else
65716 glibcxx_cv_func__fabsf_use=no
65717 fi
65718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65719 ac_ext=c
65720 ac_cpp='$CPP $CPPFLAGS'
65721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65724
65725
65726 fi
65727
65728 fi
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65730 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65731
65732 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65733 for ac_func in _fabsf
65734 do :
65735 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65736 if test "x$ac_cv_func__fabsf" = x""yes; then :
65737 cat >>confdefs.h <<_ACEOF
65738 #define HAVE__FABSF 1
65739 _ACEOF
65740
65741 fi
65742 done
65743
65744 fi
65745 fi
65746
65747
65748
65749
65750
65751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65752 $as_echo_n "checking for fmodf declaration... " >&6; }
65753 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65754 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65755 $as_echo_n "(cached) " >&6
65756 else
65757
65758
65759 ac_ext=cpp
65760 ac_cpp='$CXXCPP $CPPFLAGS'
65761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65764
65765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65766 /* end confdefs.h. */
65767 #include <math.h>
65768 int
65769 main ()
65770 {
65771 fmodf(0, 0);
65772 ;
65773 return 0;
65774 }
65775 _ACEOF
65776 if ac_fn_cxx_try_compile "$LINENO"; then :
65777 glibcxx_cv_func_fmodf_use=yes
65778 else
65779 glibcxx_cv_func_fmodf_use=no
65780 fi
65781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65782 ac_ext=c
65783 ac_cpp='$CPP $CPPFLAGS'
65784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65787
65788
65789 fi
65790
65791 fi
65792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65793 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65794
65795 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65796 for ac_func in fmodf
65797 do :
65798 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65799 if test "x$ac_cv_func_fmodf" = x""yes; then :
65800 cat >>confdefs.h <<_ACEOF
65801 #define HAVE_FMODF 1
65802 _ACEOF
65803
65804 fi
65805 done
65806
65807 else
65808
65809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65810 $as_echo_n "checking for _fmodf declaration... " >&6; }
65811 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65812 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65813 $as_echo_n "(cached) " >&6
65814 else
65815
65816
65817 ac_ext=cpp
65818 ac_cpp='$CXXCPP $CPPFLAGS'
65819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65822
65823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65824 /* end confdefs.h. */
65825 #include <math.h>
65826 int
65827 main ()
65828 {
65829 _fmodf(0, 0);
65830 ;
65831 return 0;
65832 }
65833 _ACEOF
65834 if ac_fn_cxx_try_compile "$LINENO"; then :
65835 glibcxx_cv_func__fmodf_use=yes
65836 else
65837 glibcxx_cv_func__fmodf_use=no
65838 fi
65839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65840 ac_ext=c
65841 ac_cpp='$CPP $CPPFLAGS'
65842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65845
65846
65847 fi
65848
65849 fi
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65851 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65852
65853 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65854 for ac_func in _fmodf
65855 do :
65856 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65857 if test "x$ac_cv_func__fmodf" = x""yes; then :
65858 cat >>confdefs.h <<_ACEOF
65859 #define HAVE__FMODF 1
65860 _ACEOF
65861
65862 fi
65863 done
65864
65865 fi
65866 fi
65867
65868
65869
65870
65871
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65873 $as_echo_n "checking for frexpf declaration... " >&6; }
65874 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65875 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65876 $as_echo_n "(cached) " >&6
65877 else
65878
65879
65880 ac_ext=cpp
65881 ac_cpp='$CXXCPP $CPPFLAGS'
65882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65885
65886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65887 /* end confdefs.h. */
65888 #include <math.h>
65889 int
65890 main ()
65891 {
65892 frexpf(0, 0);
65893 ;
65894 return 0;
65895 }
65896 _ACEOF
65897 if ac_fn_cxx_try_compile "$LINENO"; then :
65898 glibcxx_cv_func_frexpf_use=yes
65899 else
65900 glibcxx_cv_func_frexpf_use=no
65901 fi
65902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65903 ac_ext=c
65904 ac_cpp='$CPP $CPPFLAGS'
65905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65908
65909
65910 fi
65911
65912 fi
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65914 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65915
65916 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65917 for ac_func in frexpf
65918 do :
65919 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65920 if test "x$ac_cv_func_frexpf" = x""yes; then :
65921 cat >>confdefs.h <<_ACEOF
65922 #define HAVE_FREXPF 1
65923 _ACEOF
65924
65925 fi
65926 done
65927
65928 else
65929
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65931 $as_echo_n "checking for _frexpf declaration... " >&6; }
65932 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65933 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65934 $as_echo_n "(cached) " >&6
65935 else
65936
65937
65938 ac_ext=cpp
65939 ac_cpp='$CXXCPP $CPPFLAGS'
65940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65943
65944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65945 /* end confdefs.h. */
65946 #include <math.h>
65947 int
65948 main ()
65949 {
65950 _frexpf(0, 0);
65951 ;
65952 return 0;
65953 }
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func__frexpf_use=yes
65957 else
65958 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
65972 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65973
65974 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65975 for ac_func in _frexpf
65976 do :
65977 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65978 if test "x$ac_cv_func__frexpf" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE__FREXPF 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 hypotf declaration" >&5
65994 $as_echo_n "checking for hypotf declaration... " >&6; }
65995 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65996 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
66014 ;
66015 return 0;
66016 }
66017 _ACEOF
66018 if ac_fn_cxx_try_compile "$LINENO"; then :
66019 glibcxx_cv_func_hypotf_use=yes
66020 else
66021 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
66035 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66036
66037 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66038 for ac_func in hypotf
66039 do :
66040 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66041 if test "x$ac_cv_func_hypotf" = x""yes; then :
66042 cat >>confdefs.h <<_ACEOF
66043 #define HAVE_HYPOTF 1
66044 _ACEOF
66045
66046 fi
66047 done
66048
66049 else
66050
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66052 $as_echo_n "checking for _hypotf declaration... " >&6; }
66053 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66054 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
66072 ;
66073 return 0;
66074 }
66075 _ACEOF
66076 if ac_fn_cxx_try_compile "$LINENO"; then :
66077 glibcxx_cv_func__hypotf_use=yes
66078 else
66079 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
66093 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66094
66095 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66096 for ac_func in _hypotf
66097 do :
66098 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66099 if test "x$ac_cv_func__hypotf" = x""yes; then :
66100 cat >>confdefs.h <<_ACEOF
66101 #define HAVE__HYPOTF 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 ldexpf declaration" >&5
66115 $as_echo_n "checking for ldexpf declaration... " >&6; }
66116 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66117 if test "${glibcxx_cv_func_ldexpf_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 int
66132 main ()
66133 {
66134 ldexpf(0, 0);
66135 ;
66136 return 0;
66137 }
66138 _ACEOF
66139 if ac_fn_cxx_try_compile "$LINENO"; then :
66140 glibcxx_cv_func_ldexpf_use=yes
66141 else
66142 glibcxx_cv_func_ldexpf_use=no
66143 fi
66144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66145 ac_ext=c
66146 ac_cpp='$CPP $CPPFLAGS'
66147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66150
66151
66152 fi
66153
66154 fi
66155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66156 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66157
66158 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66159 for ac_func in ldexpf
66160 do :
66161 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66162 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66163 cat >>confdefs.h <<_ACEOF
66164 #define HAVE_LDEXPF 1
66165 _ACEOF
66166
66167 fi
66168 done
66169
66170 else
66171
66172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66173 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66174 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66175 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66176 $as_echo_n "(cached) " >&6
66177 else
66178
66179
66180 ac_ext=cpp
66181 ac_cpp='$CXXCPP $CPPFLAGS'
66182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66185
66186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66187 /* end confdefs.h. */
66188 #include <math.h>
66189 int
66190 main ()
66191 {
66192 _ldexpf(0, 0);
66193 ;
66194 return 0;
66195 }
66196 _ACEOF
66197 if ac_fn_cxx_try_compile "$LINENO"; then :
66198 glibcxx_cv_func__ldexpf_use=yes
66199 else
66200 glibcxx_cv_func__ldexpf_use=no
66201 fi
66202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66203 ac_ext=c
66204 ac_cpp='$CPP $CPPFLAGS'
66205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66208
66209
66210 fi
66211
66212 fi
66213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66214 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66215
66216 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66217 for ac_func in _ldexpf
66218 do :
66219 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66220 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66221 cat >>confdefs.h <<_ACEOF
66222 #define HAVE__LDEXPF 1
66223 _ACEOF
66224
66225 fi
66226 done
66227
66228 fi
66229 fi
66230
66231
66232
66233
66234
66235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66236 $as_echo_n "checking for logf declaration... " >&6; }
66237 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66238 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66239 $as_echo_n "(cached) " >&6
66240 else
66241
66242
66243 ac_ext=cpp
66244 ac_cpp='$CXXCPP $CPPFLAGS'
66245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66248
66249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66250 /* end confdefs.h. */
66251 #include <math.h>
66252 #ifdef HAVE_IEEEFP_H
66253 #include <ieeefp.h>
66254 #endif
66255
66256 int
66257 main ()
66258 {
66259 logf(0);
66260 ;
66261 return 0;
66262 }
66263 _ACEOF
66264 if ac_fn_cxx_try_compile "$LINENO"; then :
66265 glibcxx_cv_func_logf_use=yes
66266 else
66267 glibcxx_cv_func_logf_use=no
66268 fi
66269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66270 ac_ext=c
66271 ac_cpp='$CPP $CPPFLAGS'
66272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66275
66276
66277 fi
66278
66279 fi
66280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66281 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66282
66283 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66284 for ac_func in logf
66285 do :
66286 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66287 if test "x$ac_cv_func_logf" = x""yes; then :
66288 cat >>confdefs.h <<_ACEOF
66289 #define HAVE_LOGF 1
66290 _ACEOF
66291
66292 fi
66293 done
66294
66295 else
66296
66297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66298 $as_echo_n "checking for _logf declaration... " >&6; }
66299 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66300 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66301 $as_echo_n "(cached) " >&6
66302 else
66303
66304
66305 ac_ext=cpp
66306 ac_cpp='$CXXCPP $CPPFLAGS'
66307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66310
66311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66312 /* end confdefs.h. */
66313 #include <math.h>
66314 #ifdef HAVE_IEEEFP_H
66315 #include <ieeefp.h>
66316 #endif
66317
66318 int
66319 main ()
66320 {
66321 _logf(0);
66322 ;
66323 return 0;
66324 }
66325 _ACEOF
66326 if ac_fn_cxx_try_compile "$LINENO"; then :
66327 glibcxx_cv_func__logf_use=yes
66328 else
66329 glibcxx_cv_func__logf_use=no
66330 fi
66331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66332 ac_ext=c
66333 ac_cpp='$CPP $CPPFLAGS'
66334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66337
66338
66339 fi
66340
66341 fi
66342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66343 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66344
66345 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66346 for ac_func in _logf
66347 do :
66348 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66349 if test "x$ac_cv_func__logf" = x""yes; then :
66350 cat >>confdefs.h <<_ACEOF
66351 #define HAVE__LOGF 1
66352 _ACEOF
66353
66354 fi
66355 done
66356
66357 fi
66358 fi
66359
66360
66361
66362
66363
66364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66365 $as_echo_n "checking for log10f declaration... " >&6; }
66366 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66367 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66368 $as_echo_n "(cached) " >&6
66369 else
66370
66371
66372 ac_ext=cpp
66373 ac_cpp='$CXXCPP $CPPFLAGS'
66374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66377
66378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66379 /* end confdefs.h. */
66380 #include <math.h>
66381 #ifdef HAVE_IEEEFP_H
66382 #include <ieeefp.h>
66383 #endif
66384
66385 int
66386 main ()
66387 {
66388 log10f(0);
66389 ;
66390 return 0;
66391 }
66392 _ACEOF
66393 if ac_fn_cxx_try_compile "$LINENO"; then :
66394 glibcxx_cv_func_log10f_use=yes
66395 else
66396 glibcxx_cv_func_log10f_use=no
66397 fi
66398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66399 ac_ext=c
66400 ac_cpp='$CPP $CPPFLAGS'
66401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66404
66405
66406 fi
66407
66408 fi
66409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66410 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66411
66412 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66413 for ac_func in log10f
66414 do :
66415 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66416 if test "x$ac_cv_func_log10f" = x""yes; then :
66417 cat >>confdefs.h <<_ACEOF
66418 #define HAVE_LOG10F 1
66419 _ACEOF
66420
66421 fi
66422 done
66423
66424 else
66425
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66427 $as_echo_n "checking for _log10f declaration... " >&6; }
66428 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66429 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66430 $as_echo_n "(cached) " >&6
66431 else
66432
66433
66434 ac_ext=cpp
66435 ac_cpp='$CXXCPP $CPPFLAGS'
66436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66439
66440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66441 /* end confdefs.h. */
66442 #include <math.h>
66443 #ifdef HAVE_IEEEFP_H
66444 #include <ieeefp.h>
66445 #endif
66446
66447 int
66448 main ()
66449 {
66450 _log10f(0);
66451 ;
66452 return 0;
66453 }
66454 _ACEOF
66455 if ac_fn_cxx_try_compile "$LINENO"; then :
66456 glibcxx_cv_func__log10f_use=yes
66457 else
66458 glibcxx_cv_func__log10f_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__log10f_use" >&5
66472 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66473
66474 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66475 for ac_func in _log10f
66476 do :
66477 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66478 if test "x$ac_cv_func__log10f" = x""yes; then :
66479 cat >>confdefs.h <<_ACEOF
66480 #define HAVE__LOG10F 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 modff declaration" >&5
66494 $as_echo_n "checking for modff declaration... " >&6; }
66495 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66496 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66497 $as_echo_n "(cached) " >&6
66498 else
66499
66500
66501 ac_ext=cpp
66502 ac_cpp='$CXXCPP $CPPFLAGS'
66503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66506
66507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66508 /* end confdefs.h. */
66509 #include <math.h>
66510 int
66511 main ()
66512 {
66513 modff(0, 0);
66514 ;
66515 return 0;
66516 }
66517 _ACEOF
66518 if ac_fn_cxx_try_compile "$LINENO"; then :
66519 glibcxx_cv_func_modff_use=yes
66520 else
66521 glibcxx_cv_func_modff_use=no
66522 fi
66523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66524 ac_ext=c
66525 ac_cpp='$CPP $CPPFLAGS'
66526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66529
66530
66531 fi
66532
66533 fi
66534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66535 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66536
66537 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66538 for ac_func in modff
66539 do :
66540 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66541 if test "x$ac_cv_func_modff" = x""yes; then :
66542 cat >>confdefs.h <<_ACEOF
66543 #define HAVE_MODFF 1
66544 _ACEOF
66545
66546 fi
66547 done
66548
66549 else
66550
66551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66552 $as_echo_n "checking for _modff declaration... " >&6; }
66553 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66554 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66555 $as_echo_n "(cached) " >&6
66556 else
66557
66558
66559 ac_ext=cpp
66560 ac_cpp='$CXXCPP $CPPFLAGS'
66561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66564
66565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66566 /* end confdefs.h. */
66567 #include <math.h>
66568 int
66569 main ()
66570 {
66571 _modff(0, 0);
66572 ;
66573 return 0;
66574 }
66575 _ACEOF
66576 if ac_fn_cxx_try_compile "$LINENO"; then :
66577 glibcxx_cv_func__modff_use=yes
66578 else
66579 glibcxx_cv_func__modff_use=no
66580 fi
66581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66582 ac_ext=c
66583 ac_cpp='$CPP $CPPFLAGS'
66584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66587
66588
66589 fi
66590
66591 fi
66592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66593 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66594
66595 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66596 for ac_func in _modff
66597 do :
66598 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66599 if test "x$ac_cv_func__modff" = x""yes; then :
66600 cat >>confdefs.h <<_ACEOF
66601 #define HAVE__MODFF 1
66602 _ACEOF
66603
66604 fi
66605 done
66606
66607 fi
66608 fi
66609
66610
66611
66612
66613
66614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66615 $as_echo_n "checking for modf declaration... " >&6; }
66616 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66617 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66618 $as_echo_n "(cached) " >&6
66619 else
66620
66621
66622 ac_ext=cpp
66623 ac_cpp='$CXXCPP $CPPFLAGS'
66624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66627
66628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66629 /* end confdefs.h. */
66630 #include <math.h>
66631 int
66632 main ()
66633 {
66634 modf(0, 0);
66635 ;
66636 return 0;
66637 }
66638 _ACEOF
66639 if ac_fn_cxx_try_compile "$LINENO"; then :
66640 glibcxx_cv_func_modf_use=yes
66641 else
66642 glibcxx_cv_func_modf_use=no
66643 fi
66644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66645 ac_ext=c
66646 ac_cpp='$CPP $CPPFLAGS'
66647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66650
66651
66652 fi
66653
66654 fi
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66656 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66657
66658 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66659 for ac_func in modf
66660 do :
66661 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66662 if test "x$ac_cv_func_modf" = x""yes; then :
66663 cat >>confdefs.h <<_ACEOF
66664 #define HAVE_MODF 1
66665 _ACEOF
66666
66667 fi
66668 done
66669
66670 else
66671
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66673 $as_echo_n "checking for _modf declaration... " >&6; }
66674 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66675 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66676 $as_echo_n "(cached) " >&6
66677 else
66678
66679
66680 ac_ext=cpp
66681 ac_cpp='$CXXCPP $CPPFLAGS'
66682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66685
66686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66687 /* end confdefs.h. */
66688 #include <math.h>
66689 int
66690 main ()
66691 {
66692 _modf(0, 0);
66693 ;
66694 return 0;
66695 }
66696 _ACEOF
66697 if ac_fn_cxx_try_compile "$LINENO"; then :
66698 glibcxx_cv_func__modf_use=yes
66699 else
66700 glibcxx_cv_func__modf_use=no
66701 fi
66702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66703 ac_ext=c
66704 ac_cpp='$CPP $CPPFLAGS'
66705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66708
66709
66710 fi
66711
66712 fi
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66714 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66715
66716 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66717 for ac_func in _modf
66718 do :
66719 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66720 if test "x$ac_cv_func__modf" = x""yes; then :
66721 cat >>confdefs.h <<_ACEOF
66722 #define HAVE__MODF 1
66723 _ACEOF
66724
66725 fi
66726 done
66727
66728 fi
66729 fi
66730
66731
66732
66733
66734
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66736 $as_echo_n "checking for powf declaration... " >&6; }
66737 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66738 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66739 $as_echo_n "(cached) " >&6
66740 else
66741
66742
66743 ac_ext=cpp
66744 ac_cpp='$CXXCPP $CPPFLAGS'
66745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66748
66749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66750 /* end confdefs.h. */
66751 #include <math.h>
66752 int
66753 main ()
66754 {
66755 powf(0, 0);
66756 ;
66757 return 0;
66758 }
66759 _ACEOF
66760 if ac_fn_cxx_try_compile "$LINENO"; then :
66761 glibcxx_cv_func_powf_use=yes
66762 else
66763 glibcxx_cv_func_powf_use=no
66764 fi
66765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66766 ac_ext=c
66767 ac_cpp='$CPP $CPPFLAGS'
66768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66771
66772
66773 fi
66774
66775 fi
66776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66777 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66778
66779 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66780 for ac_func in powf
66781 do :
66782 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66783 if test "x$ac_cv_func_powf" = x""yes; then :
66784 cat >>confdefs.h <<_ACEOF
66785 #define HAVE_POWF 1
66786 _ACEOF
66787
66788 fi
66789 done
66790
66791 else
66792
66793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66794 $as_echo_n "checking for _powf declaration... " >&6; }
66795 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66796 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66797 $as_echo_n "(cached) " >&6
66798 else
66799
66800
66801 ac_ext=cpp
66802 ac_cpp='$CXXCPP $CPPFLAGS'
66803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66806
66807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66808 /* end confdefs.h. */
66809 #include <math.h>
66810 int
66811 main ()
66812 {
66813 _powf(0, 0);
66814 ;
66815 return 0;
66816 }
66817 _ACEOF
66818 if ac_fn_cxx_try_compile "$LINENO"; then :
66819 glibcxx_cv_func__powf_use=yes
66820 else
66821 glibcxx_cv_func__powf_use=no
66822 fi
66823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66824 ac_ext=c
66825 ac_cpp='$CPP $CPPFLAGS'
66826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66829
66830
66831 fi
66832
66833 fi
66834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66835 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66836
66837 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66838 for ac_func in _powf
66839 do :
66840 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66841 if test "x$ac_cv_func__powf" = x""yes; then :
66842 cat >>confdefs.h <<_ACEOF
66843 #define HAVE__POWF 1
66844 _ACEOF
66845
66846 fi
66847 done
66848
66849 fi
66850 fi
66851
66852
66853
66854
66855
66856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66857 $as_echo_n "checking for sqrtf declaration... " >&6; }
66858 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66859 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66860 $as_echo_n "(cached) " >&6
66861 else
66862
66863
66864 ac_ext=cpp
66865 ac_cpp='$CXXCPP $CPPFLAGS'
66866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66869
66870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66871 /* end confdefs.h. */
66872 #include <math.h>
66873 #ifdef HAVE_IEEEFP_H
66874 #include <ieeefp.h>
66875 #endif
66876
66877 int
66878 main ()
66879 {
66880 sqrtf(0);
66881 ;
66882 return 0;
66883 }
66884 _ACEOF
66885 if ac_fn_cxx_try_compile "$LINENO"; then :
66886 glibcxx_cv_func_sqrtf_use=yes
66887 else
66888 glibcxx_cv_func_sqrtf_use=no
66889 fi
66890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66891 ac_ext=c
66892 ac_cpp='$CPP $CPPFLAGS'
66893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66896
66897
66898 fi
66899
66900 fi
66901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66902 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66903
66904 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66905 for ac_func in sqrtf
66906 do :
66907 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66908 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66909 cat >>confdefs.h <<_ACEOF
66910 #define HAVE_SQRTF 1
66911 _ACEOF
66912
66913 fi
66914 done
66915
66916 else
66917
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66919 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66920 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66921 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66922 $as_echo_n "(cached) " >&6
66923 else
66924
66925
66926 ac_ext=cpp
66927 ac_cpp='$CXXCPP $CPPFLAGS'
66928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66931
66932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66933 /* end confdefs.h. */
66934 #include <math.h>
66935 #ifdef HAVE_IEEEFP_H
66936 #include <ieeefp.h>
66937 #endif
66938
66939 int
66940 main ()
66941 {
66942 _sqrtf(0);
66943 ;
66944 return 0;
66945 }
66946 _ACEOF
66947 if ac_fn_cxx_try_compile "$LINENO"; then :
66948 glibcxx_cv_func__sqrtf_use=yes
66949 else
66950 glibcxx_cv_func__sqrtf_use=no
66951 fi
66952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66953 ac_ext=c
66954 ac_cpp='$CPP $CPPFLAGS'
66955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66958
66959
66960 fi
66961
66962 fi
66963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66964 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66965
66966 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66967 for ac_func in _sqrtf
66968 do :
66969 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66970 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66971 cat >>confdefs.h <<_ACEOF
66972 #define HAVE__SQRTF 1
66973 _ACEOF
66974
66975 fi
66976 done
66977
66978 fi
66979 fi
66980
66981
66982
66983
66984
66985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66986 $as_echo_n "checking for sincosf declaration... " >&6; }
66987 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66988 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66989 $as_echo_n "(cached) " >&6
66990 else
66991
66992
66993 ac_ext=cpp
66994 ac_cpp='$CXXCPP $CPPFLAGS'
66995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66998
66999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67000 /* end confdefs.h. */
67001 #include <math.h>
67002 int
67003 main ()
67004 {
67005 sincosf(0, 0, 0);
67006 ;
67007 return 0;
67008 }
67009 _ACEOF
67010 if ac_fn_cxx_try_compile "$LINENO"; then :
67011 glibcxx_cv_func_sincosf_use=yes
67012 else
67013 glibcxx_cv_func_sincosf_use=no
67014 fi
67015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016 ac_ext=c
67017 ac_cpp='$CPP $CPPFLAGS'
67018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67021
67022
67023 fi
67024
67025 fi
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67027 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67028
67029 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67030 for ac_func in sincosf
67031 do :
67032 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67033 if test "x$ac_cv_func_sincosf" = x""yes; then :
67034 cat >>confdefs.h <<_ACEOF
67035 #define HAVE_SINCOSF 1
67036 _ACEOF
67037
67038 fi
67039 done
67040
67041 else
67042
67043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67044 $as_echo_n "checking for _sincosf declaration... " >&6; }
67045 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67046 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67047 $as_echo_n "(cached) " >&6
67048 else
67049
67050
67051 ac_ext=cpp
67052 ac_cpp='$CXXCPP $CPPFLAGS'
67053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67056
67057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67058 /* end confdefs.h. */
67059 #include <math.h>
67060 int
67061 main ()
67062 {
67063 _sincosf(0, 0, 0);
67064 ;
67065 return 0;
67066 }
67067 _ACEOF
67068 if ac_fn_cxx_try_compile "$LINENO"; then :
67069 glibcxx_cv_func__sincosf_use=yes
67070 else
67071 glibcxx_cv_func__sincosf_use=no
67072 fi
67073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67074 ac_ext=c
67075 ac_cpp='$CPP $CPPFLAGS'
67076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67079
67080
67081 fi
67082
67083 fi
67084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67085 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67086
67087 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67088 for ac_func in _sincosf
67089 do :
67090 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67091 if test "x$ac_cv_func__sincosf" = x""yes; then :
67092 cat >>confdefs.h <<_ACEOF
67093 #define HAVE__SINCOSF 1
67094 _ACEOF
67095
67096 fi
67097 done
67098
67099 fi
67100 fi
67101
67102
67103
67104
67105
67106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67107 $as_echo_n "checking for finitef declaration... " >&6; }
67108 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67109 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67110 $as_echo_n "(cached) " >&6
67111 else
67112
67113
67114 ac_ext=cpp
67115 ac_cpp='$CXXCPP $CPPFLAGS'
67116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67119
67120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67121 /* end confdefs.h. */
67122 #include <math.h>
67123 #ifdef HAVE_IEEEFP_H
67124 #include <ieeefp.h>
67125 #endif
67126
67127 int
67128 main ()
67129 {
67130 finitef(0);
67131 ;
67132 return 0;
67133 }
67134 _ACEOF
67135 if ac_fn_cxx_try_compile "$LINENO"; then :
67136 glibcxx_cv_func_finitef_use=yes
67137 else
67138 glibcxx_cv_func_finitef_use=no
67139 fi
67140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67141 ac_ext=c
67142 ac_cpp='$CPP $CPPFLAGS'
67143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67146
67147
67148 fi
67149
67150 fi
67151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67152 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67153
67154 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67155 for ac_func in finitef
67156 do :
67157 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67158 if test "x$ac_cv_func_finitef" = x""yes; then :
67159 cat >>confdefs.h <<_ACEOF
67160 #define HAVE_FINITEF 1
67161 _ACEOF
67162
67163 fi
67164 done
67165
67166 else
67167
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67169 $as_echo_n "checking for _finitef declaration... " >&6; }
67170 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67171 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67172 $as_echo_n "(cached) " >&6
67173 else
67174
67175
67176 ac_ext=cpp
67177 ac_cpp='$CXXCPP $CPPFLAGS'
67178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67181
67182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67183 /* end confdefs.h. */
67184 #include <math.h>
67185 #ifdef HAVE_IEEEFP_H
67186 #include <ieeefp.h>
67187 #endif
67188
67189 int
67190 main ()
67191 {
67192 _finitef(0);
67193 ;
67194 return 0;
67195 }
67196 _ACEOF
67197 if ac_fn_cxx_try_compile "$LINENO"; then :
67198 glibcxx_cv_func__finitef_use=yes
67199 else
67200 glibcxx_cv_func__finitef_use=no
67201 fi
67202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67203 ac_ext=c
67204 ac_cpp='$CPP $CPPFLAGS'
67205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67208
67209
67210 fi
67211
67212 fi
67213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67214 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67215
67216 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67217 for ac_func in _finitef
67218 do :
67219 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67220 if test "x$ac_cv_func__finitef" = x""yes; then :
67221 cat >>confdefs.h <<_ACEOF
67222 #define HAVE__FINITEF 1
67223 _ACEOF
67224
67225 fi
67226 done
67227
67228 fi
67229 fi
67230
67231
67232
67233
67234
67235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67236 $as_echo_n "checking for long double trig functions... " >&6; }
67237 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67238 $as_echo_n "(cached) " >&6
67239 else
67240
67241
67242 ac_ext=cpp
67243 ac_cpp='$CXXCPP $CPPFLAGS'
67244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67247
67248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67249 /* end confdefs.h. */
67250 #include <math.h>
67251 int
67252 main ()
67253 {
67254 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67255 ;
67256 return 0;
67257 }
67258 _ACEOF
67259 if ac_fn_cxx_try_compile "$LINENO"; then :
67260 glibcxx_cv_func_long_double_trig_use=yes
67261 else
67262 glibcxx_cv_func_long_double_trig_use=no
67263 fi
67264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67265 ac_ext=c
67266 ac_cpp='$CPP $CPPFLAGS'
67267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67270
67271 fi
67272
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67274 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67275 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67276 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67277 do :
67278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67280 eval as_val=\$$as_ac_var
67281 if test "x$as_val" = x""yes; then :
67282 cat >>confdefs.h <<_ACEOF
67283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67284 _ACEOF
67285
67286 fi
67287 done
67288
67289 else
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67291 $as_echo_n "checking for _long double trig functions... " >&6; }
67292 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67293 $as_echo_n "(cached) " >&6
67294 else
67295
67296
67297 ac_ext=cpp
67298 ac_cpp='$CXXCPP $CPPFLAGS'
67299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67302
67303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67304 /* end confdefs.h. */
67305 #include <math.h>
67306 int
67307 main ()
67308 {
67309 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67310 ;
67311 return 0;
67312 }
67313 _ACEOF
67314 if ac_fn_cxx_try_compile "$LINENO"; then :
67315 glibcxx_cv_func__long_double_trig_use=yes
67316 else
67317 glibcxx_cv_func__long_double_trig_use=no
67318 fi
67319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67320 ac_ext=c
67321 ac_cpp='$CPP $CPPFLAGS'
67322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67325
67326 fi
67327
67328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67329 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67330 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67331 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67332 do :
67333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67335 eval as_val=\$$as_ac_var
67336 if test "x$as_val" = x""yes; then :
67337 cat >>confdefs.h <<_ACEOF
67338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67339 _ACEOF
67340
67341 fi
67342 done
67343
67344 fi
67345 fi
67346
67347
67348
67349
67350
67351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67352 $as_echo_n "checking for long double round functions... " >&6; }
67353 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67354 $as_echo_n "(cached) " >&6
67355 else
67356
67357
67358 ac_ext=cpp
67359 ac_cpp='$CXXCPP $CPPFLAGS'
67360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67363
67364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67365 /* end confdefs.h. */
67366 #include <math.h>
67367 int
67368 main ()
67369 {
67370 ceill (0); floorl (0);
67371 ;
67372 return 0;
67373 }
67374 _ACEOF
67375 if ac_fn_cxx_try_compile "$LINENO"; then :
67376 glibcxx_cv_func_long_double_round_use=yes
67377 else
67378 glibcxx_cv_func_long_double_round_use=no
67379 fi
67380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67381 ac_ext=c
67382 ac_cpp='$CPP $CPPFLAGS'
67383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67386
67387 fi
67388
67389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67390 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67391 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67392 for ac_func in ceill floorl
67393 do :
67394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67396 eval as_val=\$$as_ac_var
67397 if test "x$as_val" = x""yes; then :
67398 cat >>confdefs.h <<_ACEOF
67399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67400 _ACEOF
67401
67402 fi
67403 done
67404
67405 else
67406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67407 $as_echo_n "checking for _long double round functions... " >&6; }
67408 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67409 $as_echo_n "(cached) " >&6
67410 else
67411
67412
67413 ac_ext=cpp
67414 ac_cpp='$CXXCPP $CPPFLAGS'
67415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67418
67419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67420 /* end confdefs.h. */
67421 #include <math.h>
67422 int
67423 main ()
67424 {
67425 _ceill (0); _floorl (0);
67426 ;
67427 return 0;
67428 }
67429 _ACEOF
67430 if ac_fn_cxx_try_compile "$LINENO"; then :
67431 glibcxx_cv_func__long_double_round_use=yes
67432 else
67433 glibcxx_cv_func__long_double_round_use=no
67434 fi
67435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67436 ac_ext=c
67437 ac_cpp='$CPP $CPPFLAGS'
67438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67441
67442 fi
67443
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67445 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67446 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67447 for ac_func in _ceill _floorl
67448 do :
67449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67451 eval as_val=\$$as_ac_var
67452 if test "x$as_val" = x""yes; then :
67453 cat >>confdefs.h <<_ACEOF
67454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67455 _ACEOF
67456
67457 fi
67458 done
67459
67460 fi
67461 fi
67462
67463
67464
67465
67466
67467
67468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67469 $as_echo_n "checking for isnanl declaration... " >&6; }
67470 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67471 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67472 $as_echo_n "(cached) " >&6
67473 else
67474
67475
67476 ac_ext=cpp
67477 ac_cpp='$CXXCPP $CPPFLAGS'
67478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67481
67482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67483 /* end confdefs.h. */
67484 #include <math.h>
67485 #ifdef HAVE_IEEEFP_H
67486 #include <ieeefp.h>
67487 #endif
67488
67489 int
67490 main ()
67491 {
67492 isnanl(0);
67493 ;
67494 return 0;
67495 }
67496 _ACEOF
67497 if ac_fn_cxx_try_compile "$LINENO"; then :
67498 glibcxx_cv_func_isnanl_use=yes
67499 else
67500 glibcxx_cv_func_isnanl_use=no
67501 fi
67502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67503 ac_ext=c
67504 ac_cpp='$CPP $CPPFLAGS'
67505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67508
67509
67510 fi
67511
67512 fi
67513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67514 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67515
67516 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67517 for ac_func in isnanl
67518 do :
67519 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67520 if test "x$ac_cv_func_isnanl" = x""yes; then :
67521 cat >>confdefs.h <<_ACEOF
67522 #define HAVE_ISNANL 1
67523 _ACEOF
67524
67525 fi
67526 done
67527
67528 else
67529
67530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67531 $as_echo_n "checking for _isnanl declaration... " >&6; }
67532 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67533 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67534 $as_echo_n "(cached) " >&6
67535 else
67536
67537
67538 ac_ext=cpp
67539 ac_cpp='$CXXCPP $CPPFLAGS'
67540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67543
67544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67545 /* end confdefs.h. */
67546 #include <math.h>
67547 #ifdef HAVE_IEEEFP_H
67548 #include <ieeefp.h>
67549 #endif
67550
67551 int
67552 main ()
67553 {
67554 _isnanl(0);
67555 ;
67556 return 0;
67557 }
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func__isnanl_use=yes
67561 else
67562 glibcxx_cv_func__isnanl_use=no
67563 fi
67564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 ac_ext=c
67566 ac_cpp='$CPP $CPPFLAGS'
67567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67570
67571
67572 fi
67573
67574 fi
67575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67576 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67577
67578 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67579 for ac_func in _isnanl
67580 do :
67581 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67582 if test "x$ac_cv_func__isnanl" = x""yes; then :
67583 cat >>confdefs.h <<_ACEOF
67584 #define HAVE__ISNANL 1
67585 _ACEOF
67586
67587 fi
67588 done
67589
67590 fi
67591 fi
67592
67593
67594
67595
67596
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67598 $as_echo_n "checking for isinfl declaration... " >&6; }
67599 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67600 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67601 $as_echo_n "(cached) " >&6
67602 else
67603
67604
67605 ac_ext=cpp
67606 ac_cpp='$CXXCPP $CPPFLAGS'
67607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67610
67611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67612 /* end confdefs.h. */
67613 #include <math.h>
67614 #ifdef HAVE_IEEEFP_H
67615 #include <ieeefp.h>
67616 #endif
67617
67618 int
67619 main ()
67620 {
67621 isinfl(0);
67622 ;
67623 return 0;
67624 }
67625 _ACEOF
67626 if ac_fn_cxx_try_compile "$LINENO"; then :
67627 glibcxx_cv_func_isinfl_use=yes
67628 else
67629 glibcxx_cv_func_isinfl_use=no
67630 fi
67631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632 ac_ext=c
67633 ac_cpp='$CPP $CPPFLAGS'
67634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67637
67638
67639 fi
67640
67641 fi
67642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67643 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67644
67645 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67646 for ac_func in isinfl
67647 do :
67648 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67649 if test "x$ac_cv_func_isinfl" = x""yes; then :
67650 cat >>confdefs.h <<_ACEOF
67651 #define HAVE_ISINFL 1
67652 _ACEOF
67653
67654 fi
67655 done
67656
67657 else
67658
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67660 $as_echo_n "checking for _isinfl declaration... " >&6; }
67661 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67662 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67663 $as_echo_n "(cached) " >&6
67664 else
67665
67666
67667 ac_ext=cpp
67668 ac_cpp='$CXXCPP $CPPFLAGS'
67669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67672
67673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67674 /* end confdefs.h. */
67675 #include <math.h>
67676 #ifdef HAVE_IEEEFP_H
67677 #include <ieeefp.h>
67678 #endif
67679
67680 int
67681 main ()
67682 {
67683 _isinfl(0);
67684 ;
67685 return 0;
67686 }
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__isinfl_use=yes
67690 else
67691 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
67705 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67706
67707 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67708 for ac_func in _isinfl
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67711 if test "x$ac_cv_func__isinfl" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__ISINFL 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 atan2l declaration" >&5
67727 $as_echo_n "checking for atan2l declaration... " >&6; }
67728 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67729 if test "${glibcxx_cv_func_atan2l_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 atan2l(0, 0);
67747 ;
67748 return 0;
67749 }
67750 _ACEOF
67751 if ac_fn_cxx_try_compile "$LINENO"; then :
67752 glibcxx_cv_func_atan2l_use=yes
67753 else
67754 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
67768 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67769
67770 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67771 for ac_func in atan2l
67772 do :
67773 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67774 if test "x$ac_cv_func_atan2l" = x""yes; then :
67775 cat >>confdefs.h <<_ACEOF
67776 #define HAVE_ATAN2L 1
67777 _ACEOF
67778
67779 fi
67780 done
67781
67782 else
67783
67784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67785 $as_echo_n "checking for _atan2l declaration... " >&6; }
67786 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67787 if test "${glibcxx_cv_func__atan2l_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 _atan2l(0, 0);
67805 ;
67806 return 0;
67807 }
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func__atan2l_use=yes
67811 else
67812 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
67826 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67827
67828 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67829 for ac_func in _atan2l
67830 do :
67831 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67832 if test "x$ac_cv_func__atan2l" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE__ATAN2L 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 expl declaration" >&5
67848 $as_echo_n "checking for expl declaration... " >&6; }
67849 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67850 if test "${glibcxx_cv_func_expl_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 expl(0);
67872 ;
67873 return 0;
67874 }
67875 _ACEOF
67876 if ac_fn_cxx_try_compile "$LINENO"; then :
67877 glibcxx_cv_func_expl_use=yes
67878 else
67879 glibcxx_cv_func_expl_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_expl_use" >&5
67893 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67894
67895 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67896 for ac_func in expl
67897 do :
67898 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67899 if test "x$ac_cv_func_expl" = x""yes; then :
67900 cat >>confdefs.h <<_ACEOF
67901 #define HAVE_EXPL 1
67902 _ACEOF
67903
67904 fi
67905 done
67906
67907 else
67908
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67910 $as_echo_n "checking for _expl declaration... " >&6; }
67911 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67912 if test "${glibcxx_cv_func__expl_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 _expl(0);
67934 ;
67935 return 0;
67936 }
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func__expl_use=yes
67940 else
67941 glibcxx_cv_func__expl_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__expl_use" >&5
67955 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67956
67957 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67958 for ac_func in _expl
67959 do :
67960 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67961 if test "x$ac_cv_func__expl" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE__EXPL 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 fabsl declaration" >&5
67977 $as_echo_n "checking for fabsl declaration... " >&6; }
67978 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67979 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
68001 ;
68002 return 0;
68003 }
68004 _ACEOF
68005 if ac_fn_cxx_try_compile "$LINENO"; then :
68006 glibcxx_cv_func_fabsl_use=yes
68007 else
68008 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
68022 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68023
68024 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68025 for ac_func in fabsl
68026 do :
68027 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68028 if test "x$ac_cv_func_fabsl" = x""yes; then :
68029 cat >>confdefs.h <<_ACEOF
68030 #define HAVE_FABSL 1
68031 _ACEOF
68032
68033 fi
68034 done
68035
68036 else
68037
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68039 $as_echo_n "checking for _fabsl declaration... " >&6; }
68040 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68041 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
68063 ;
68064 return 0;
68065 }
68066 _ACEOF
68067 if ac_fn_cxx_try_compile "$LINENO"; then :
68068 glibcxx_cv_func__fabsl_use=yes
68069 else
68070 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
68084 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68085
68086 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68087 for ac_func in _fabsl
68088 do :
68089 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68090 if test "x$ac_cv_func__fabsl" = x""yes; then :
68091 cat >>confdefs.h <<_ACEOF
68092 #define HAVE__FABSL 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 fmodl declaration" >&5
68106 $as_echo_n "checking for fmodl declaration... " >&6; }
68107 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68108 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
68126 ;
68127 return 0;
68128 }
68129 _ACEOF
68130 if ac_fn_cxx_try_compile "$LINENO"; then :
68131 glibcxx_cv_func_fmodl_use=yes
68132 else
68133 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
68147 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68148
68149 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68150 for ac_func in fmodl
68151 do :
68152 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68153 if test "x$ac_cv_func_fmodl" = x""yes; then :
68154 cat >>confdefs.h <<_ACEOF
68155 #define HAVE_FMODL 1
68156 _ACEOF
68157
68158 fi
68159 done
68160
68161 else
68162
68163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68164 $as_echo_n "checking for _fmodl declaration... " >&6; }
68165 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68166 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
68184 ;
68185 return 0;
68186 }
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__fmodl_use=yes
68190 else
68191 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
68205 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68206
68207 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68208 for ac_func in _fmodl
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68211 if test "x$ac_cv_func__fmodl" = x""yes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__FMODL 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 frexpl declaration" >&5
68227 $as_echo_n "checking for frexpl declaration... " >&6; }
68228 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68229 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
68247 ;
68248 return 0;
68249 }
68250 _ACEOF
68251 if ac_fn_cxx_try_compile "$LINENO"; then :
68252 glibcxx_cv_func_frexpl_use=yes
68253 else
68254 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
68268 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68269
68270 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68271 for ac_func in frexpl
68272 do :
68273 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68274 if test "x$ac_cv_func_frexpl" = x""yes; then :
68275 cat >>confdefs.h <<_ACEOF
68276 #define HAVE_FREXPL 1
68277 _ACEOF
68278
68279 fi
68280 done
68281
68282 else
68283
68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68285 $as_echo_n "checking for _frexpl declaration... " >&6; }
68286 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68287 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
68305 ;
68306 return 0;
68307 }
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__frexpl_use=yes
68311 else
68312 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
68326 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68327
68328 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68329 for ac_func in _frexpl
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68332 if test "x$ac_cv_func__frexpl" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__FREXPL 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 hypotl declaration" >&5
68348 $as_echo_n "checking for hypotl declaration... " >&6; }
68349 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68350 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
68368 ;
68369 return 0;
68370 }
68371 _ACEOF
68372 if ac_fn_cxx_try_compile "$LINENO"; then :
68373 glibcxx_cv_func_hypotl_use=yes
68374 else
68375 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
68389 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68390
68391 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68392 for ac_func in hypotl
68393 do :
68394 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68395 if test "x$ac_cv_func_hypotl" = x""yes; then :
68396 cat >>confdefs.h <<_ACEOF
68397 #define HAVE_HYPOTL 1
68398 _ACEOF
68399
68400 fi
68401 done
68402
68403 else
68404
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68406 $as_echo_n "checking for _hypotl declaration... " >&6; }
68407 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68408 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
68426 ;
68427 return 0;
68428 }
68429 _ACEOF
68430 if ac_fn_cxx_try_compile "$LINENO"; then :
68431 glibcxx_cv_func__hypotl_use=yes
68432 else
68433 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
68447 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68448
68449 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68450 for ac_func in _hypotl
68451 do :
68452 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68453 if test "x$ac_cv_func__hypotl" = x""yes; then :
68454 cat >>confdefs.h <<_ACEOF
68455 #define HAVE__HYPOTL 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 ldexpl declaration" >&5
68469 $as_echo_n "checking for ldexpl declaration... " >&6; }
68470 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68471 if test "${glibcxx_cv_func_ldexpl_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 int
68486 main ()
68487 {
68488 ldexpl(0, 0);
68489 ;
68490 return 0;
68491 }
68492 _ACEOF
68493 if ac_fn_cxx_try_compile "$LINENO"; then :
68494 glibcxx_cv_func_ldexpl_use=yes
68495 else
68496 glibcxx_cv_func_ldexpl_use=no
68497 fi
68498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68499 ac_ext=c
68500 ac_cpp='$CPP $CPPFLAGS'
68501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504
68505
68506 fi
68507
68508 fi
68509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68510 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68511
68512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68513 for ac_func in ldexpl
68514 do :
68515 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68516 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68517 cat >>confdefs.h <<_ACEOF
68518 #define HAVE_LDEXPL 1
68519 _ACEOF
68520
68521 fi
68522 done
68523
68524 else
68525
68526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68527 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68528 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68529 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68530 $as_echo_n "(cached) " >&6
68531 else
68532
68533
68534 ac_ext=cpp
68535 ac_cpp='$CXXCPP $CPPFLAGS'
68536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68539
68540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68541 /* end confdefs.h. */
68542 #include <math.h>
68543 int
68544 main ()
68545 {
68546 _ldexpl(0, 0);
68547 ;
68548 return 0;
68549 }
68550 _ACEOF
68551 if ac_fn_cxx_try_compile "$LINENO"; then :
68552 glibcxx_cv_func__ldexpl_use=yes
68553 else
68554 glibcxx_cv_func__ldexpl_use=no
68555 fi
68556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68557 ac_ext=c
68558 ac_cpp='$CPP $CPPFLAGS'
68559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68562
68563
68564 fi
68565
68566 fi
68567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68568 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68569
68570 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68571 for ac_func in _ldexpl
68572 do :
68573 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68574 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68575 cat >>confdefs.h <<_ACEOF
68576 #define HAVE__LDEXPL 1
68577 _ACEOF
68578
68579 fi
68580 done
68581
68582 fi
68583 fi
68584
68585
68586
68587
68588
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68590 $as_echo_n "checking for logl declaration... " >&6; }
68591 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68592 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68593 $as_echo_n "(cached) " >&6
68594 else
68595
68596
68597 ac_ext=cpp
68598 ac_cpp='$CXXCPP $CPPFLAGS'
68599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68602
68603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68604 /* end confdefs.h. */
68605 #include <math.h>
68606 #ifdef HAVE_IEEEFP_H
68607 #include <ieeefp.h>
68608 #endif
68609
68610 int
68611 main ()
68612 {
68613 logl(0);
68614 ;
68615 return 0;
68616 }
68617 _ACEOF
68618 if ac_fn_cxx_try_compile "$LINENO"; then :
68619 glibcxx_cv_func_logl_use=yes
68620 else
68621 glibcxx_cv_func_logl_use=no
68622 fi
68623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68624 ac_ext=c
68625 ac_cpp='$CPP $CPPFLAGS'
68626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68629
68630
68631 fi
68632
68633 fi
68634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68635 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68636
68637 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68638 for ac_func in logl
68639 do :
68640 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68641 if test "x$ac_cv_func_logl" = x""yes; then :
68642 cat >>confdefs.h <<_ACEOF
68643 #define HAVE_LOGL 1
68644 _ACEOF
68645
68646 fi
68647 done
68648
68649 else
68650
68651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68652 $as_echo_n "checking for _logl declaration... " >&6; }
68653 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68654 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68655 $as_echo_n "(cached) " >&6
68656 else
68657
68658
68659 ac_ext=cpp
68660 ac_cpp='$CXXCPP $CPPFLAGS'
68661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664
68665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68666 /* end confdefs.h. */
68667 #include <math.h>
68668 #ifdef HAVE_IEEEFP_H
68669 #include <ieeefp.h>
68670 #endif
68671
68672 int
68673 main ()
68674 {
68675 _logl(0);
68676 ;
68677 return 0;
68678 }
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__logl_use=yes
68682 else
68683 glibcxx_cv_func__logl_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__logl_use" >&5
68697 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68698
68699 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68700 for ac_func in _logl
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68703 if test "x$ac_cv_func__logl" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__LOGL 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 log10l declaration" >&5
68719 $as_echo_n "checking for log10l declaration... " >&6; }
68720 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68721 if test "${glibcxx_cv_func_log10l_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 log10l(0);
68743 ;
68744 return 0;
68745 }
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func_log10l_use=yes
68749 else
68750 glibcxx_cv_func_log10l_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_log10l_use" >&5
68764 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68765
68766 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68767 for ac_func in log10l
68768 do :
68769 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68770 if test "x$ac_cv_func_log10l" = x""yes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE_LOG10L 1
68773 _ACEOF
68774
68775 fi
68776 done
68777
68778 else
68779
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68781 $as_echo_n "checking for _log10l declaration... " >&6; }
68782 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68783 if test "${glibcxx_cv_func__log10l_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 _log10l(0);
68805 ;
68806 return 0;
68807 }
68808 _ACEOF
68809 if ac_fn_cxx_try_compile "$LINENO"; then :
68810 glibcxx_cv_func__log10l_use=yes
68811 else
68812 glibcxx_cv_func__log10l_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__log10l_use" >&5
68826 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68827
68828 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68829 for ac_func in _log10l
68830 do :
68831 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68832 if test "x$ac_cv_func__log10l" = x""yes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define HAVE__LOG10L 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 modfl declaration" >&5
68848 $as_echo_n "checking for modfl declaration... " >&6; }
68849 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68850 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68853
68854
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68860
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68864 int
68865 main ()
68866 {
68867 modfl(0, 0);
68868 ;
68869 return 0;
68870 }
68871 _ACEOF
68872 if ac_fn_cxx_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_modfl_use=yes
68874 else
68875 glibcxx_cv_func_modfl_use=no
68876 fi
68877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878 ac_ext=c
68879 ac_cpp='$CPP $CPPFLAGS'
68880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68883
68884
68885 fi
68886
68887 fi
68888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68889 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68890
68891 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68892 for ac_func in modfl
68893 do :
68894 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68895 if test "x$ac_cv_func_modfl" = x""yes; then :
68896 cat >>confdefs.h <<_ACEOF
68897 #define HAVE_MODFL 1
68898 _ACEOF
68899
68900 fi
68901 done
68902
68903 else
68904
68905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68906 $as_echo_n "checking for _modfl declaration... " >&6; }
68907 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68908 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68909 $as_echo_n "(cached) " >&6
68910 else
68911
68912
68913 ac_ext=cpp
68914 ac_cpp='$CXXCPP $CPPFLAGS'
68915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68918
68919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68920 /* end confdefs.h. */
68921 #include <math.h>
68922 int
68923 main ()
68924 {
68925 _modfl(0, 0);
68926 ;
68927 return 0;
68928 }
68929 _ACEOF
68930 if ac_fn_cxx_try_compile "$LINENO"; then :
68931 glibcxx_cv_func__modfl_use=yes
68932 else
68933 glibcxx_cv_func__modfl_use=no
68934 fi
68935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68936 ac_ext=c
68937 ac_cpp='$CPP $CPPFLAGS'
68938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68941
68942
68943 fi
68944
68945 fi
68946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68947 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68948
68949 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68950 for ac_func in _modfl
68951 do :
68952 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68953 if test "x$ac_cv_func__modfl" = x""yes; then :
68954 cat >>confdefs.h <<_ACEOF
68955 #define HAVE__MODFL 1
68956 _ACEOF
68957
68958 fi
68959 done
68960
68961 fi
68962 fi
68963
68964
68965
68966
68967
68968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68969 $as_echo_n "checking for powl declaration... " >&6; }
68970 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68971 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68972 $as_echo_n "(cached) " >&6
68973 else
68974
68975
68976 ac_ext=cpp
68977 ac_cpp='$CXXCPP $CPPFLAGS'
68978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68981
68982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68983 /* end confdefs.h. */
68984 #include <math.h>
68985 int
68986 main ()
68987 {
68988 powl(0, 0);
68989 ;
68990 return 0;
68991 }
68992 _ACEOF
68993 if ac_fn_cxx_try_compile "$LINENO"; then :
68994 glibcxx_cv_func_powl_use=yes
68995 else
68996 glibcxx_cv_func_powl_use=no
68997 fi
68998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68999 ac_ext=c
69000 ac_cpp='$CPP $CPPFLAGS'
69001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69004
69005
69006 fi
69007
69008 fi
69009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69010 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69011
69012 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69013 for ac_func in powl
69014 do :
69015 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69016 if test "x$ac_cv_func_powl" = x""yes; then :
69017 cat >>confdefs.h <<_ACEOF
69018 #define HAVE_POWL 1
69019 _ACEOF
69020
69021 fi
69022 done
69023
69024 else
69025
69026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69027 $as_echo_n "checking for _powl declaration... " >&6; }
69028 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69029 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69030 $as_echo_n "(cached) " >&6
69031 else
69032
69033
69034 ac_ext=cpp
69035 ac_cpp='$CXXCPP $CPPFLAGS'
69036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69039
69040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69041 /* end confdefs.h. */
69042 #include <math.h>
69043 int
69044 main ()
69045 {
69046 _powl(0, 0);
69047 ;
69048 return 0;
69049 }
69050 _ACEOF
69051 if ac_fn_cxx_try_compile "$LINENO"; then :
69052 glibcxx_cv_func__powl_use=yes
69053 else
69054 glibcxx_cv_func__powl_use=no
69055 fi
69056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057 ac_ext=c
69058 ac_cpp='$CPP $CPPFLAGS'
69059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69062
69063
69064 fi
69065
69066 fi
69067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69068 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69069
69070 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69071 for ac_func in _powl
69072 do :
69073 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69074 if test "x$ac_cv_func__powl" = x""yes; then :
69075 cat >>confdefs.h <<_ACEOF
69076 #define HAVE__POWL 1
69077 _ACEOF
69078
69079 fi
69080 done
69081
69082 fi
69083 fi
69084
69085
69086
69087
69088
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69090 $as_echo_n "checking for sqrtl declaration... " >&6; }
69091 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69092 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69093 $as_echo_n "(cached) " >&6
69094 else
69095
69096
69097 ac_ext=cpp
69098 ac_cpp='$CXXCPP $CPPFLAGS'
69099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69102
69103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104 /* end confdefs.h. */
69105 #include <math.h>
69106 #ifdef HAVE_IEEEFP_H
69107 #include <ieeefp.h>
69108 #endif
69109
69110 int
69111 main ()
69112 {
69113 sqrtl(0);
69114 ;
69115 return 0;
69116 }
69117 _ACEOF
69118 if ac_fn_cxx_try_compile "$LINENO"; then :
69119 glibcxx_cv_func_sqrtl_use=yes
69120 else
69121 glibcxx_cv_func_sqrtl_use=no
69122 fi
69123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124 ac_ext=c
69125 ac_cpp='$CPP $CPPFLAGS'
69126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69129
69130
69131 fi
69132
69133 fi
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69135 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69136
69137 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69138 for ac_func in sqrtl
69139 do :
69140 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69141 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69142 cat >>confdefs.h <<_ACEOF
69143 #define HAVE_SQRTL 1
69144 _ACEOF
69145
69146 fi
69147 done
69148
69149 else
69150
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69152 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69153 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69154 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69155 $as_echo_n "(cached) " >&6
69156 else
69157
69158
69159 ac_ext=cpp
69160 ac_cpp='$CXXCPP $CPPFLAGS'
69161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69164
69165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166 /* end confdefs.h. */
69167 #include <math.h>
69168 #ifdef HAVE_IEEEFP_H
69169 #include <ieeefp.h>
69170 #endif
69171
69172 int
69173 main ()
69174 {
69175 _sqrtl(0);
69176 ;
69177 return 0;
69178 }
69179 _ACEOF
69180 if ac_fn_cxx_try_compile "$LINENO"; then :
69181 glibcxx_cv_func__sqrtl_use=yes
69182 else
69183 glibcxx_cv_func__sqrtl_use=no
69184 fi
69185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 ac_ext=c
69187 ac_cpp='$CPP $CPPFLAGS'
69188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69191
69192
69193 fi
69194
69195 fi
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69197 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69198
69199 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69200 for ac_func in _sqrtl
69201 do :
69202 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69203 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69204 cat >>confdefs.h <<_ACEOF
69205 #define HAVE__SQRTL 1
69206 _ACEOF
69207
69208 fi
69209 done
69210
69211 fi
69212 fi
69213
69214
69215
69216
69217
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69219 $as_echo_n "checking for sincosl declaration... " >&6; }
69220 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69221 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69224
69225
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69235 int
69236 main ()
69237 {
69238 sincosl(0, 0, 0);
69239 ;
69240 return 0;
69241 }
69242 _ACEOF
69243 if ac_fn_cxx_try_compile "$LINENO"; then :
69244 glibcxx_cv_func_sincosl_use=yes
69245 else
69246 glibcxx_cv_func_sincosl_use=no
69247 fi
69248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69249 ac_ext=c
69250 ac_cpp='$CPP $CPPFLAGS'
69251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69254
69255
69256 fi
69257
69258 fi
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69260 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69261
69262 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69263 for ac_func in sincosl
69264 do :
69265 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69266 if test "x$ac_cv_func_sincosl" = x""yes; then :
69267 cat >>confdefs.h <<_ACEOF
69268 #define HAVE_SINCOSL 1
69269 _ACEOF
69270
69271 fi
69272 done
69273
69274 else
69275
69276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69277 $as_echo_n "checking for _sincosl declaration... " >&6; }
69278 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69279 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69280 $as_echo_n "(cached) " >&6
69281 else
69282
69283
69284 ac_ext=cpp
69285 ac_cpp='$CXXCPP $CPPFLAGS'
69286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69289
69290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69291 /* end confdefs.h. */
69292 #include <math.h>
69293 int
69294 main ()
69295 {
69296 _sincosl(0, 0, 0);
69297 ;
69298 return 0;
69299 }
69300 _ACEOF
69301 if ac_fn_cxx_try_compile "$LINENO"; then :
69302 glibcxx_cv_func__sincosl_use=yes
69303 else
69304 glibcxx_cv_func__sincosl_use=no
69305 fi
69306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69307 ac_ext=c
69308 ac_cpp='$CPP $CPPFLAGS'
69309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69312
69313
69314 fi
69315
69316 fi
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69318 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69319
69320 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69321 for ac_func in _sincosl
69322 do :
69323 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69324 if test "x$ac_cv_func__sincosl" = x""yes; then :
69325 cat >>confdefs.h <<_ACEOF
69326 #define HAVE__SINCOSL 1
69327 _ACEOF
69328
69329 fi
69330 done
69331
69332 fi
69333 fi
69334
69335
69336
69337
69338
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69340 $as_echo_n "checking for finitel declaration... " >&6; }
69341 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69342 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69343 $as_echo_n "(cached) " >&6
69344 else
69345
69346
69347 ac_ext=cpp
69348 ac_cpp='$CXXCPP $CPPFLAGS'
69349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69352
69353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69354 /* end confdefs.h. */
69355 #include <math.h>
69356 #ifdef HAVE_IEEEFP_H
69357 #include <ieeefp.h>
69358 #endif
69359
69360 int
69361 main ()
69362 {
69363 finitel(0);
69364 ;
69365 return 0;
69366 }
69367 _ACEOF
69368 if ac_fn_cxx_try_compile "$LINENO"; then :
69369 glibcxx_cv_func_finitel_use=yes
69370 else
69371 glibcxx_cv_func_finitel_use=no
69372 fi
69373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69374 ac_ext=c
69375 ac_cpp='$CPP $CPPFLAGS'
69376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69379
69380
69381 fi
69382
69383 fi
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69385 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69386
69387 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69388 for ac_func in finitel
69389 do :
69390 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69391 if test "x$ac_cv_func_finitel" = x""yes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE_FINITEL 1
69394 _ACEOF
69395
69396 fi
69397 done
69398
69399 else
69400
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69402 $as_echo_n "checking for _finitel declaration... " >&6; }
69403 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69404 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69405 $as_echo_n "(cached) " >&6
69406 else
69407
69408
69409 ac_ext=cpp
69410 ac_cpp='$CXXCPP $CPPFLAGS'
69411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69414
69415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69416 /* end confdefs.h. */
69417 #include <math.h>
69418 #ifdef HAVE_IEEEFP_H
69419 #include <ieeefp.h>
69420 #endif
69421
69422 int
69423 main ()
69424 {
69425 _finitel(0);
69426 ;
69427 return 0;
69428 }
69429 _ACEOF
69430 if ac_fn_cxx_try_compile "$LINENO"; then :
69431 glibcxx_cv_func__finitel_use=yes
69432 else
69433 glibcxx_cv_func__finitel_use=no
69434 fi
69435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69436 ac_ext=c
69437 ac_cpp='$CPP $CPPFLAGS'
69438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69441
69442
69443 fi
69444
69445 fi
69446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69447 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69448
69449 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69450 for ac_func in _finitel
69451 do :
69452 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69453 if test "x$ac_cv_func__finitel" = x""yes; then :
69454 cat >>confdefs.h <<_ACEOF
69455 #define HAVE__FINITEL 1
69456 _ACEOF
69457
69458 fi
69459 done
69460
69461 fi
69462 fi
69463
69464
69465
69466
69467 LIBS="$ac_save_LIBS"
69468 CXXFLAGS="$ac_save_CXXFLAGS"
69469
69470
69471 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69472 ac_save_CXXFLAGS="$CXXFLAGS"
69473 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69474
69475
69476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69477 $as_echo_n "checking for strtold declaration... " >&6; }
69478 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69479 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69480 $as_echo_n "(cached) " >&6
69481 else
69482
69483
69484 ac_ext=cpp
69485 ac_cpp='$CXXCPP $CPPFLAGS'
69486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69489
69490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69491 /* end confdefs.h. */
69492 #include <stdlib.h>
69493 int
69494 main ()
69495 {
69496 strtold(0, 0);
69497 ;
69498 return 0;
69499 }
69500 _ACEOF
69501 if ac_fn_cxx_try_compile "$LINENO"; then :
69502 glibcxx_cv_func_strtold_use=yes
69503 else
69504 glibcxx_cv_func_strtold_use=no
69505 fi
69506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69507 ac_ext=c
69508 ac_cpp='$CPP $CPPFLAGS'
69509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69512
69513
69514 fi
69515
69516 fi
69517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69518 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69519 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69520 for ac_func in strtold
69521 do :
69522 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69523 if test "x$ac_cv_func_strtold" = x""yes; then :
69524 cat >>confdefs.h <<_ACEOF
69525 #define HAVE_STRTOLD 1
69526 _ACEOF
69527
69528 fi
69529 done
69530
69531 fi
69532
69533
69534
69535
69536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69537 $as_echo_n "checking for strtof declaration... " >&6; }
69538 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69539 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69540 $as_echo_n "(cached) " >&6
69541 else
69542
69543
69544 ac_ext=cpp
69545 ac_cpp='$CXXCPP $CPPFLAGS'
69546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69549
69550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69551 /* end confdefs.h. */
69552 #include <stdlib.h>
69553 int
69554 main ()
69555 {
69556 strtof(0, 0);
69557 ;
69558 return 0;
69559 }
69560 _ACEOF
69561 if ac_fn_cxx_try_compile "$LINENO"; then :
69562 glibcxx_cv_func_strtof_use=yes
69563 else
69564 glibcxx_cv_func_strtof_use=no
69565 fi
69566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69567 ac_ext=c
69568 ac_cpp='$CPP $CPPFLAGS'
69569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69572
69573
69574 fi
69575
69576 fi
69577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69578 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69579 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69580 for ac_func in strtof
69581 do :
69582 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69583 if test "x$ac_cv_func_strtof" = x""yes; then :
69584 cat >>confdefs.h <<_ACEOF
69585 #define HAVE_STRTOF 1
69586 _ACEOF
69587
69588 fi
69589 done
69590
69591 fi
69592
69593
69594
69595
69596 CXXFLAGS="$ac_save_CXXFLAGS"
69597
69598 ;;
69599 *-vxworks)
69600 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69601
69602 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69603
69604 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69605
69606 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69607
69608 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69609
69610 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69611
69612 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69613
69614 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69615
69616 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69617
69618 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69619
69620 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69621
69622 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69623
69624 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69625
69626 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69627
69628 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69629
69630 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69631
69632 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69633
69634 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69635
69636 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69637
69638 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69639
69640 ;;
69641 *)
69642 as_fn_error "No support for this host/target combination." "$LINENO" 5
69643 ;;
69644 esac
69645
69646 fi
69647
69648 # At some point, we should differentiate between architectures
69649 # like x86, which have long double versions, and alpha/powerpc/etc.,
69650 # which don't. For the time being, punt.
69651 if test x"long_double_math_on_this_cpu" = x"yes"; then
69652 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69653
69654 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69655
69656 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69657
69658 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69659
69660 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69661
69662 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69663
69664 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69665
69666 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69667
69668 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69669
69670 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69671
69672 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69673
69674 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69675
69676 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69677
69678 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69679
69680 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69681
69682 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69683
69684 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69685
69686 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69687
69688 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69689
69690 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69691
69692 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69693
69694 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69695
69696 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69697
69698 fi
69699 fi
69700
69701 # Check for _Unwind_GetIPInfo.
69702
69703
69704 # Check whether --with-system-libunwind was given.
69705 if test "${with_system_libunwind+set}" = set; then :
69706 withval=$with_system_libunwind;
69707 fi
69708
69709 # If system-libunwind was not specifically set, pick a default setting.
69710 if test x$with_system_libunwind = x; then
69711 case ${target} in
69712 ia64-*-hpux*) with_system_libunwind=yes ;;
69713 *) with_system_libunwind=no ;;
69714 esac
69715 fi
69716 # Based on system-libunwind and target, do we have ipinfo?
69717 if test x$with_system_libunwind = xyes; then
69718 case ${target} in
69719 ia64-*-*) have_unwind_getipinfo=no ;;
69720 *) have_unwind_getipinfo=yes ;;
69721 esac
69722 else
69723 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69724
69725 case ${target} in
69726 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69727 *) have_unwind_getipinfo=yes ;;
69728 esac
69729
69730 fi
69731
69732 if test x$have_unwind_getipinfo = xyes; then
69733
69734 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69735
69736 fi
69737
69738
69739 # Check whether --enable-linux-futex was given.
69740 if test "${enable_linux_futex+set}" = set; then :
69741 enableval=$enable_linux_futex;
69742 case "$enableval" in
69743 yes|no|default) ;;
69744 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69745 esac
69746
69747 else
69748 enable_linux_futex=default
69749 fi
69750
69751
69752 case "$target" in
69753 *-linux*)
69754 case "$enable_linux_futex" in
69755 default)
69756 # If headers don't have gettid/futex syscalls definition, then
69757 # default to no, otherwise there will be compile time failures.
69758 # Otherwise, default to yes. If we don't detect we are
69759 # compiled/linked against NPTL and not cross-compiling, check
69760 # if programs are run by default against NPTL and if not, issue
69761 # a warning.
69762 enable_linux_futex=no
69763 if test x$gcc_no_link = xyes; then
69764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69765 fi
69766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69767 /* end confdefs.h. */
69768 #include <sys/syscall.h>
69769 int lk;
69770 int
69771 main ()
69772 {
69773 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69774 ;
69775 return 0;
69776 }
69777 _ACEOF
69778 if ac_fn_c_try_link "$LINENO"; then :
69779 save_LIBS="$LIBS"
69780 LIBS="-lpthread $LIBS"
69781 if test x$gcc_no_link = xyes; then
69782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69783 fi
69784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69785 /* end confdefs.h. */
69786 #ifndef _GNU_SOURCE
69787 #define _GNU_SOURCE 1
69788 #endif
69789 #include <pthread.h>
69790 pthread_t th; void *status;
69791 int
69792 main ()
69793 {
69794 pthread_tryjoin_np (th, &status);
69795 ;
69796 return 0;
69797 }
69798 _ACEOF
69799 if ac_fn_c_try_link "$LINENO"; then :
69800 enable_linux_futex=yes
69801 else
69802 if test x$cross_compiling = xno; then
69803 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69804 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69806 If so, please configure with --disable-linux-futex" >&5
69807 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69808 If so, please configure with --disable-linux-futex" >&2;}
69809 fi
69810 fi
69811 enable_linux_futex=yes
69812 fi
69813 rm -f core conftest.err conftest.$ac_objext \
69814 conftest$ac_exeext conftest.$ac_ext
69815 LIBS="$save_LIBS"
69816 fi
69817 rm -f core conftest.err conftest.$ac_objext \
69818 conftest$ac_exeext conftest.$ac_ext
69819 ;;
69820 yes)
69821 if test x$gcc_no_link = xyes; then
69822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69823 fi
69824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69825 /* end confdefs.h. */
69826 #include <sys/syscall.h>
69827 int lk;
69828 int
69829 main ()
69830 {
69831 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69832 ;
69833 return 0;
69834 }
69835 _ACEOF
69836 if ac_fn_c_try_link "$LINENO"; then :
69837
69838 else
69839 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69840 fi
69841 rm -f core conftest.err conftest.$ac_objext \
69842 conftest$ac_exeext conftest.$ac_ext
69843 ;;
69844 esac
69845 ;;
69846 *)
69847 enable_linux_futex=no
69848 ;;
69849 esac
69850 if test x$enable_linux_futex = xyes; then
69851
69852 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69853
69854 fi
69855
69856
69857
69858
69859 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69860
69861 acx_cv_header_stdint=stddef.h
69862 acx_cv_header_stdint_kind="(already complete)"
69863 for i in stdint.h $inttype_headers; do
69864 unset ac_cv_type_uintptr_t
69865 unset ac_cv_type_uintmax_t
69866 unset ac_cv_type_int_least32_t
69867 unset ac_cv_type_int_fast32_t
69868 unset ac_cv_type_uint64_t
69869 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69870 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69871 #include <$i>
69872 "
69873 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69874 acx_cv_header_stdint=$i
69875 else
69876 continue
69877 fi
69878
69879 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69880 #include <$i>
69881 "
69882 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69883
69884 else
69885 acx_cv_header_stdint_kind="(mostly complete)"
69886 fi
69887
69888 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69889 #include <$i>
69890 "
69891 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69892
69893 else
69894 acx_cv_header_stdint_kind="(mostly complete)"
69895 fi
69896
69897 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69898 #include <$i>
69899 "
69900 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69901
69902 else
69903 acx_cv_header_stdint_kind="(mostly complete)"
69904 fi
69905
69906 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69907 #include <$i>
69908 "
69909 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69910
69911 else
69912 acx_cv_header_stdint_kind="(lacks uint64_t)"
69913 fi
69914
69915 break
69916 done
69917 if test "$acx_cv_header_stdint" = stddef.h; then
69918 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69919 for i in stdint.h $inttype_headers; do
69920 unset ac_cv_type_uintptr_t
69921 unset ac_cv_type_uint32_t
69922 unset ac_cv_type_uint64_t
69923 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69924 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69925 #include <$i>
69926 "
69927 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69928 acx_cv_header_stdint=$i
69929 else
69930 continue
69931 fi
69932
69933 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69934 #include <$i>
69935 "
69936 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69937
69938 fi
69939
69940 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69941 #include <$i>
69942 "
69943 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69944
69945 fi
69946
69947 break
69948 done
69949 fi
69950 if test "$acx_cv_header_stdint" = stddef.h; then
69951 acx_cv_header_stdint_kind="(u_intXX_t style)"
69952 for i in sys/types.h $inttype_headers; do
69953 unset ac_cv_type_u_int32_t
69954 unset ac_cv_type_u_int64_t
69955 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69956 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69957 #include <$i>
69958 "
69959 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69960 acx_cv_header_stdint=$i
69961 else
69962 continue
69963 fi
69964
69965 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69966 #include <$i>
69967 "
69968 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69969
69970 fi
69971
69972 break
69973 done
69974 fi
69975 if test "$acx_cv_header_stdint" = stddef.h; then
69976 acx_cv_header_stdint_kind="(using manual detection)"
69977 fi
69978
69979 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69980 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69981 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69982 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69983 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69984
69985 # ----------------- Summarize what we found so far
69986
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69988 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69989
69990 case `$as_basename -- include/gstdint.h ||
69991 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69992 Xinclude/gstdint.h : 'X\(//\)$' \| \
69993 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69994 $as_echo X/include/gstdint.h |
69995 sed '/^.*\/\([^/][^/]*\)\/*$/{
69996 s//\1/
69997 q
69998 }
69999 /^X\/\(\/\/\)$/{
70000 s//\1/
70001 q
70002 }
70003 /^X\/\(\/\).*/{
70004 s//\1/
70005 q
70006 }
70007 s/.*/./; q'` in
70008 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70009 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70010 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70011 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70012 *) ;;
70013 esac
70014
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70016 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70017
70018 # ----------------- done included file, check C basic types --------
70019
70020 # Lacking an uintptr_t? Test size of void *
70021 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70022 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70025 # This bug is HP SR number 8606223364.
70026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70027 $as_echo_n "checking size of void *... " >&6; }
70028 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70029 $as_echo_n "(cached) " >&6
70030 else
70031 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
70032
70033 else
70034 if test "$ac_cv_type_void_p" = yes; then
70035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70037 { as_fn_set_status 77
70038 as_fn_error "cannot compute sizeof (void *)
70039 See \`config.log' for more details." "$LINENO" 5; }; }
70040 else
70041 ac_cv_sizeof_void_p=0
70042 fi
70043 fi
70044
70045 fi
70046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70047 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70048
70049
70050
70051 cat >>confdefs.h <<_ACEOF
70052 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70053 _ACEOF
70054
70055 ;;
70056 esac
70057
70058 # Lacking an uint64_t? Test size of long
70059 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70060 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70062 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70063 # This bug is HP SR number 8606223364.
70064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70065 $as_echo_n "checking size of long... " >&6; }
70066 if test "${ac_cv_sizeof_long+set}" = set; then :
70067 $as_echo_n "(cached) " >&6
70068 else
70069 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70070
70071 else
70072 if test "$ac_cv_type_long" = yes; then
70073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70075 { as_fn_set_status 77
70076 as_fn_error "cannot compute sizeof (long)
70077 See \`config.log' for more details." "$LINENO" 5; }; }
70078 else
70079 ac_cv_sizeof_long=0
70080 fi
70081 fi
70082
70083 fi
70084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70085 $as_echo "$ac_cv_sizeof_long" >&6; }
70086
70087
70088
70089 cat >>confdefs.h <<_ACEOF
70090 #define SIZEOF_LONG $ac_cv_sizeof_long
70091 _ACEOF
70092
70093 ;;
70094 esac
70095
70096 if test $acx_cv_header_stdint = stddef.h; then
70097 # Lacking a good header? Test size of everything and deduce all types.
70098 # The cast to long int works around a bug in the HP C Compiler
70099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70101 # This bug is HP SR number 8606223364.
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70103 $as_echo_n "checking size of int... " >&6; }
70104 if test "${ac_cv_sizeof_int+set}" = set; then :
70105 $as_echo_n "(cached) " >&6
70106 else
70107 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70108
70109 else
70110 if test "$ac_cv_type_int" = yes; then
70111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70113 { as_fn_set_status 77
70114 as_fn_error "cannot compute sizeof (int)
70115 See \`config.log' for more details." "$LINENO" 5; }; }
70116 else
70117 ac_cv_sizeof_int=0
70118 fi
70119 fi
70120
70121 fi
70122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70123 $as_echo "$ac_cv_sizeof_int" >&6; }
70124
70125
70126
70127 cat >>confdefs.h <<_ACEOF
70128 #define SIZEOF_INT $ac_cv_sizeof_int
70129 _ACEOF
70130
70131
70132 # The cast to long int works around a bug in the HP C Compiler
70133 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70134 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70135 # This bug is HP SR number 8606223364.
70136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70137 $as_echo_n "checking size of short... " >&6; }
70138 if test "${ac_cv_sizeof_short+set}" = set; then :
70139 $as_echo_n "(cached) " >&6
70140 else
70141 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70142
70143 else
70144 if test "$ac_cv_type_short" = yes; then
70145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70147 { as_fn_set_status 77
70148 as_fn_error "cannot compute sizeof (short)
70149 See \`config.log' for more details." "$LINENO" 5; }; }
70150 else
70151 ac_cv_sizeof_short=0
70152 fi
70153 fi
70154
70155 fi
70156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70157 $as_echo "$ac_cv_sizeof_short" >&6; }
70158
70159
70160
70161 cat >>confdefs.h <<_ACEOF
70162 #define SIZEOF_SHORT $ac_cv_sizeof_short
70163 _ACEOF
70164
70165
70166 # The cast to long int works around a bug in the HP C Compiler
70167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70169 # This bug is HP SR number 8606223364.
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70171 $as_echo_n "checking size of char... " >&6; }
70172 if test "${ac_cv_sizeof_char+set}" = set; then :
70173 $as_echo_n "(cached) " >&6
70174 else
70175 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70176
70177 else
70178 if test "$ac_cv_type_char" = yes; then
70179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70181 { as_fn_set_status 77
70182 as_fn_error "cannot compute sizeof (char)
70183 See \`config.log' for more details." "$LINENO" 5; }; }
70184 else
70185 ac_cv_sizeof_char=0
70186 fi
70187 fi
70188
70189 fi
70190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70191 $as_echo "$ac_cv_sizeof_char" >&6; }
70192
70193
70194
70195 cat >>confdefs.h <<_ACEOF
70196 #define SIZEOF_CHAR $ac_cv_sizeof_char
70197 _ACEOF
70198
70199
70200
70201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70202 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70203 case "$ac_cv_sizeof_char" in
70204 1) acx_cv_type_int8_t=char ;;
70205 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70206 esac
70207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70208 $as_echo "$acx_cv_type_int8_t" >&6; }
70209
70210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70211 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70212 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70213 2:*) acx_cv_type_int16_t=int ;;
70214 *:2) acx_cv_type_int16_t=short ;;
70215 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70216 esac
70217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70218 $as_echo "$acx_cv_type_int16_t" >&6; }
70219
70220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70221 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70222 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70223 4:*) acx_cv_type_int32_t=int ;;
70224 *:4) acx_cv_type_int32_t=long ;;
70225 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70226 esac
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70228 $as_echo "$acx_cv_type_int32_t" >&6; }
70229 fi
70230
70231 # These tests are here to make the output prettier
70232
70233 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70234 case "$ac_cv_sizeof_long" in
70235 8) acx_cv_type_int64_t=long ;;
70236 esac
70237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70238 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70240 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70241 fi
70242
70243 # Now we can use the above types
70244
70245 if test "$ac_cv_type_uintptr_t" != yes; then
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70247 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70248 case $ac_cv_sizeof_void_p in
70249 2) acx_cv_type_intptr_t=int16_t ;;
70250 4) acx_cv_type_intptr_t=int32_t ;;
70251 8) acx_cv_type_intptr_t=int64_t ;;
70252 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70253 esac
70254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70255 $as_echo "$acx_cv_type_intptr_t" >&6; }
70256 fi
70257
70258 # ----------------- done all checks, emit header -------------
70259 ac_config_commands="$ac_config_commands include/gstdint.h"
70260
70261
70262
70263
70264
70265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70266 $as_echo_n "checking for GNU c++filt... " >&6; }
70267 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70268 $as_echo_n "(cached) " >&6
70269 else
70270 if test -z "$CXXFILT"; then
70271 ac_path_CXXFILT_found=false
70272 # Loop through the user's path and test for each of PROGNAME-LIST
70273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70274 for as_dir in $PATH
70275 do
70276 IFS=$as_save_IFS
70277 test -z "$as_dir" && as_dir=.
70278 for ac_prog in c++filt gc++filt; do
70279 for ac_exec_ext in '' $ac_executable_extensions; do
70280 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70281 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70282 # Check for GNU $ac_path_CXXFILT
70283 case `"$ac_path_CXXFILT" --version 2>&1` in
70284 *GNU*)
70285 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70286 esac
70287
70288 $ac_path_CXXFILT_found && break 3
70289 done
70290 done
70291 done
70292 IFS=$as_save_IFS
70293 if test -z "$ac_cv_path_CXXFILT"; then
70294 :
70295 fi
70296 else
70297 ac_cv_path_CXXFILT=$CXXFILT
70298 fi
70299
70300 fi
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70302 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70303 CXXFILT=$ac_cv_path_CXXFILT
70304
70305
70306
70307 # Check whether --enable-symvers was given.
70308 if test "${enable_symvers+set}" = set; then :
70309 enableval=$enable_symvers;
70310 case "$enableval" in
70311 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70312 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70313 esac
70314
70315 else
70316 enable_symvers=yes
70317 fi
70318
70319
70320
70321 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70322 # don't know enough about $LD to do tricks...
70323
70324 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70325 # with extern "C++" in version scripts.
70326
70327
70328 # Turn a 'yes' into a suitable default.
70329 if test x$enable_symvers = xyes ; then
70330 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70331 enable_symvers=no
70332 else
70333 if test $with_gnu_ld = yes ; then
70334 case ${target_os} in
70335 hpux*)
70336 enable_symvers=no ;;
70337 *)
70338 enable_symvers=gnu ;;
70339 esac
70340 else
70341 case ${target_os} in
70342 darwin*)
70343 enable_symvers=darwin ;;
70344 # Sun symbol versioning exists since Solaris 2.5.
70345 solaris2.[5-9]* | solaris2.1[0-9]*)
70346 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70347 # version scripts, so disable symbol versioning if none can be
70348 # found.
70349 if test -z "$ac_cv_path_CXXFILT"; then
70350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70351 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70353 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70355 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70356 enable_symvers=no
70357 else
70358 enable_symvers=sun
70359 fi
70360 ;;
70361 *)
70362 enable_symvers=no ;;
70363 esac
70364 fi
70365 fi
70366 fi
70367
70368 # Check to see if 'darwin' or 'darwin-export' can win.
70369 if test x$enable_symvers = xdarwin-export ; then
70370 enable_symvers=darwin
70371 fi
70372
70373 # Check if 'sun' was requested on non-Solaris 2 platforms.
70374 if test x$enable_symvers = xsun ; then
70375 case ${target_os} in
70376 solaris2*)
70377 # All fine.
70378 ;;
70379 *)
70380 # Unlikely to work.
70381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70382 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70384 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70386 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70387 enable_symvers=no
70388 ;;
70389 esac
70390 fi
70391
70392 # Check to see if 'gnu' can win.
70393 if test $enable_symvers = gnu ||
70394 test $enable_symvers = gnu-versioned-namespace ||
70395 test $enable_symvers = sun; then
70396 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70398 $as_echo_n "checking for shared libgcc... " >&6; }
70399 ac_save_CFLAGS="$CFLAGS"
70400 CFLAGS=' -lgcc_s'
70401 if test x$gcc_no_link = xyes; then
70402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70403 fi
70404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70405 /* end confdefs.h. */
70406
70407 int
70408 main ()
70409 {
70410 return 0;
70411 ;
70412 return 0;
70413 }
70414 _ACEOF
70415 if ac_fn_c_try_link "$LINENO"; then :
70416 glibcxx_shared_libgcc=yes
70417 else
70418 glibcxx_shared_libgcc=no
70419 fi
70420 rm -f core conftest.err conftest.$ac_objext \
70421 conftest$ac_exeext conftest.$ac_ext
70422 CFLAGS="$ac_save_CFLAGS"
70423 if test $glibcxx_shared_libgcc = no; then
70424 cat > conftest.c <<EOF
70425 int main (void) { return 0; }
70426 EOF
70427 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70428 -shared -shared-libgcc -o conftest.so \
70429 conftest.c -v 2>&1 >/dev/null \
70430 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70431 rm -f conftest.c conftest.so
70432 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70433 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70434 if test x$gcc_no_link = xyes; then
70435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70436 fi
70437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70438 /* end confdefs.h. */
70439
70440 int
70441 main ()
70442 {
70443 return 0;
70444 ;
70445 return 0;
70446 }
70447 _ACEOF
70448 if ac_fn_c_try_link "$LINENO"; then :
70449 glibcxx_shared_libgcc=yes
70450 fi
70451 rm -f core conftest.err conftest.$ac_objext \
70452 conftest$ac_exeext conftest.$ac_ext
70453 CFLAGS="$ac_save_CFLAGS"
70454 fi
70455 fi
70456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70457 $as_echo "$glibcxx_shared_libgcc" >&6; }
70458
70459 # For GNU ld, we need at least this version. The format is described in
70460 # GLIBCXX_CHECK_LINKER_FEATURES above.
70461 glibcxx_min_gnu_ld_version=21400
70462
70463 # If no shared libgcc, can't win.
70464 if test $glibcxx_shared_libgcc != yes; then
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70466 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70468 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70470 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70471 enable_symvers=no
70472 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70473 : All interesting versions of Sun ld support sun style symbol versioning.
70474 elif test $with_gnu_ld != yes ; then
70475 # just fail for now
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70477 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70479 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70481 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70482 enable_symvers=no
70483 elif test $glibcxx_ld_is_gold = yes ; then
70484 : All versions of gold support symbol versioning.
70485 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70486 # The right tools, the right setup, but too old. Fallbacks?
70487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70488 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70490 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70492 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70494 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70496 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70497 enable_symvers=no
70498 fi
70499 fi
70500
70501 # For libtool versioning info, format is CURRENT:REVISION:AGE
70502 libtool_VERSION=6:17:0
70503
70504 # Everything parsed; figure out what files and settings to use.
70505 case $enable_symvers in
70506 no)
70507 SYMVER_FILE=config/abi/pre/none.ver
70508 ;;
70509 gnu)
70510 SYMVER_FILE=config/abi/pre/gnu.ver
70511
70512 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70513
70514 ;;
70515 gnu-versioned-namespace)
70516 libtool_VERSION=7:0:0
70517 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70518
70519 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70520
70521 ;;
70522 darwin)
70523 SYMVER_FILE=config/abi/pre/gnu.ver
70524
70525 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70526
70527 ;;
70528 sun)
70529 SYMVER_FILE=config/abi/pre/gnu.ver
70530
70531 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70532
70533 ;;
70534 esac
70535
70536 if test x$enable_symvers != xno ; then
70537
70538 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70539
70540 fi
70541
70542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70543 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70544 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70545 $as_echo_n "(cached) " >&6
70546 else
70547
70548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70549 /* end confdefs.h. */
70550 void foo (void); __asm (".symver foo, bar@SYMVER");
70551 int
70552 main ()
70553 {
70554
70555 ;
70556 return 0;
70557 }
70558 _ACEOF
70559 if ac_fn_c_try_compile "$LINENO"; then :
70560 glibcxx_cv_have_as_symver_directive=yes
70561 else
70562 glibcxx_cv_have_as_symver_directive=no
70563 fi
70564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70565 fi
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70567 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70568 if test $glibcxx_cv_have_as_symver_directive = yes; then
70569
70570 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70571
70572 fi
70573
70574
70575
70576
70577
70578
70579
70580
70581 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70582 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70583
70584 if test $enable_symvers != no ; then
70585 case ${target_os} in
70586 # The Solaris 2 runtime linker doesn't support the GNU extension of
70587 # binding the same symbol to different versions
70588 solaris2*)
70589 ;;
70590 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70591 *)
70592
70593 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70594
70595 ;;
70596 esac
70597 fi
70598
70599 # Now, set up compatibility support, if any.
70600 # In addition, need this to deal with std::size_t mangling in
70601 # src/compatibility.cc. In a perfect world, could use
70602 # typeid(std::size_t).name()[0] to do direct substitution.
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70604 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70605 ac_save_CFLAGS="$CFLAGS"
70606 CFLAGS="-Werror"
70607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70608 /* end confdefs.h. */
70609
70610 int
70611 main ()
70612 {
70613 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70614 ;
70615 return 0;
70616 }
70617 _ACEOF
70618 if ac_fn_c_try_compile "$LINENO"; then :
70619 glibcxx_size_t_is_i=yes
70620 else
70621 glibcxx_size_t_is_i=no
70622 fi
70623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70624 CFLAGS=$ac_save_CFLAGS
70625 if test "$glibcxx_size_t_is_i" = yes; then
70626
70627 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70628
70629 fi
70630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70631 $as_echo "$glibcxx_size_t_is_i" >&6; }
70632
70633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70634 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70635 ac_save_CFLAGS="$CFLAGS"
70636 CFLAGS="-Werror"
70637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70638 /* end confdefs.h. */
70639
70640 int
70641 main ()
70642 {
70643 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70644 ;
70645 return 0;
70646 }
70647 _ACEOF
70648 if ac_fn_c_try_compile "$LINENO"; then :
70649 glibcxx_ptrdiff_t_is_i=yes
70650 else
70651 glibcxx_ptrdiff_t_is_i=no
70652 fi
70653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70654 CFLAGS=$ac_save_CFLAGS
70655 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70656
70657 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70658
70659 fi
70660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70661 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70662
70663
70664
70665
70666 # Check whether --enable-libstdcxx-visibility was given.
70667 if test "${enable_libstdcxx_visibility+set}" = set; then :
70668 enableval=$enable_libstdcxx_visibility;
70669 case "$enableval" in
70670 yes|no) ;;
70671 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70672 esac
70673
70674 else
70675 enable_libstdcxx_visibility=yes
70676 fi
70677
70678
70679
70680 if test x$enable_libstdcxx_visibility = xyes ; then
70681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70682 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70683 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70684 $as_echo_n "(cached) " >&6
70685 else
70686
70687 save_CFLAGS="$CFLAGS"
70688 CFLAGS="$CFLAGS -Werror"
70689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70690 /* end confdefs.h. */
70691 void __attribute__((visibility("hidden"))) foo(void) { }
70692 int
70693 main ()
70694 {
70695
70696 ;
70697 return 0;
70698 }
70699 _ACEOF
70700 if ac_fn_c_try_compile "$LINENO"; then :
70701 glibcxx_cv_have_attribute_visibility=yes
70702 else
70703 glibcxx_cv_have_attribute_visibility=no
70704 fi
70705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70706 CFLAGS="$save_CFLAGS"
70707 fi
70708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70709 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70710 if test $glibcxx_cv_have_attribute_visibility = no; then
70711 enable_libstdcxx_visibility=no
70712 fi
70713 fi
70714
70715
70716 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70717 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70718
70719
70720 ac_ldbl_compat=no
70721 case "$target" in
70722 powerpc*-*-linux* | \
70723 sparc*-*-linux* | \
70724 s390*-*-linux* | \
70725 alpha*-*-linux*)
70726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70727 /* end confdefs.h. */
70728
70729 int
70730 main ()
70731 {
70732
70733 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70734 #error no need for long double compatibility
70735 #endif
70736
70737 ;
70738 return 0;
70739 }
70740 _ACEOF
70741 if ac_fn_c_try_compile "$LINENO"; then :
70742 ac_ldbl_compat=yes
70743 else
70744 ac_ldbl_compat=no
70745 fi
70746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70747 if test "$ac_ldbl_compat" = yes; then
70748
70749 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70750
70751 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70752 fi
70753 esac
70754
70755
70756 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70757
70758 if $GLIBCXX_IS_NATIVE ; then
70759 # Do checks for resource limit functions.
70760
70761 setrlimit_have_headers=yes
70762 for ac_header in unistd.h sys/time.h sys/resource.h
70763 do :
70764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70765 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70766 eval as_val=\$$as_ac_Header
70767 if test "x$as_val" = x""yes; then :
70768 cat >>confdefs.h <<_ACEOF
70769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70770 _ACEOF
70771
70772 else
70773 setrlimit_have_headers=no
70774 fi
70775
70776 done
70777
70778 # If don't have the headers, then we can't run the tests now, and we
70779 # won't be seeing any of these during testsuite compilation.
70780 if test $setrlimit_have_headers = yes; then
70781 # Can't do these in a loop, else the resulting syntax is wrong.
70782
70783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70784 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70786 /* end confdefs.h. */
70787 #include <unistd.h>
70788 #include <sys/time.h>
70789 #include <sys/resource.h>
70790
70791 int
70792 main ()
70793 {
70794 int f = RLIMIT_DATA ;
70795 ;
70796 return 0;
70797 }
70798 _ACEOF
70799 if ac_fn_c_try_compile "$LINENO"; then :
70800 glibcxx_mresult=1
70801 else
70802 glibcxx_mresult=0
70803 fi
70804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70805
70806 cat >>confdefs.h <<_ACEOF
70807 #define HAVE_LIMIT_DATA $glibcxx_mresult
70808 _ACEOF
70809
70810 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70812 $as_echo "$res" >&6; }
70813
70814
70815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70816 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70818 /* end confdefs.h. */
70819 #include <unistd.h>
70820 #include <sys/time.h>
70821 #include <sys/resource.h>
70822
70823 int
70824 main ()
70825 {
70826 int f = RLIMIT_RSS ;
70827 ;
70828 return 0;
70829 }
70830 _ACEOF
70831 if ac_fn_c_try_compile "$LINENO"; then :
70832 glibcxx_mresult=1
70833 else
70834 glibcxx_mresult=0
70835 fi
70836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70837
70838 cat >>confdefs.h <<_ACEOF
70839 #define HAVE_LIMIT_RSS $glibcxx_mresult
70840 _ACEOF
70841
70842 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70844 $as_echo "$res" >&6; }
70845
70846
70847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70848 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70850 /* end confdefs.h. */
70851 #include <unistd.h>
70852 #include <sys/time.h>
70853 #include <sys/resource.h>
70854
70855 int
70856 main ()
70857 {
70858 int f = RLIMIT_VMEM ;
70859 ;
70860 return 0;
70861 }
70862 _ACEOF
70863 if ac_fn_c_try_compile "$LINENO"; then :
70864 glibcxx_mresult=1
70865 else
70866 glibcxx_mresult=0
70867 fi
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869
70870 cat >>confdefs.h <<_ACEOF
70871 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70872 _ACEOF
70873
70874 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70876 $as_echo "$res" >&6; }
70877
70878
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70880 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70882 /* end confdefs.h. */
70883 #include <unistd.h>
70884 #include <sys/time.h>
70885 #include <sys/resource.h>
70886
70887 int
70888 main ()
70889 {
70890 int f = RLIMIT_AS ;
70891 ;
70892 return 0;
70893 }
70894 _ACEOF
70895 if ac_fn_c_try_compile "$LINENO"; then :
70896 glibcxx_mresult=1
70897 else
70898 glibcxx_mresult=0
70899 fi
70900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70901
70902 cat >>confdefs.h <<_ACEOF
70903 #define HAVE_LIMIT_AS $glibcxx_mresult
70904 _ACEOF
70905
70906 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70908 $as_echo "$res" >&6; }
70909
70910
70911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70912 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70914 /* end confdefs.h. */
70915 #include <unistd.h>
70916 #include <sys/time.h>
70917 #include <sys/resource.h>
70918
70919 int
70920 main ()
70921 {
70922 int f = RLIMIT_FSIZE ;
70923 ;
70924 return 0;
70925 }
70926 _ACEOF
70927 if ac_fn_c_try_compile "$LINENO"; then :
70928 glibcxx_mresult=1
70929 else
70930 glibcxx_mresult=0
70931 fi
70932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70933
70934 cat >>confdefs.h <<_ACEOF
70935 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70936 _ACEOF
70937
70938 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70940 $as_echo "$res" >&6; }
70941
70942
70943 # Check for rlimit, setrlimit.
70944 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70945 $as_echo_n "(cached) " >&6
70946 else
70947
70948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70949 /* end confdefs.h. */
70950 #include <unistd.h>
70951 #include <sys/time.h>
70952 #include <sys/resource.h>
70953
70954 int
70955 main ()
70956 {
70957 struct rlimit r;
70958 setrlimit(0, &r);
70959 ;
70960 return 0;
70961 }
70962 _ACEOF
70963 if ac_fn_c_try_compile "$LINENO"; then :
70964 glibcxx_cv_setrlimit=yes
70965 else
70966 glibcxx_cv_setrlimit=no
70967 fi
70968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70969
70970 fi
70971
70972 fi
70973
70974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70975 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70976 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70977 ac_res_limits=yes
70978
70979 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70980
70981 else
70982 ac_res_limits=no
70983 fi
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70985 $as_echo "$ac_res_limits" >&6; }
70986
70987
70988 # Look for setenv, so that extended locale tests can be performed.
70989
70990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70991 $as_echo_n "checking for setenv declaration... " >&6; }
70992 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70993 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70994 $as_echo_n "(cached) " >&6
70995 else
70996
70997
70998 ac_ext=cpp
70999 ac_cpp='$CXXCPP $CPPFLAGS'
71000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71003
71004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71005 /* end confdefs.h. */
71006 #include <stdlib.h>
71007 int
71008 main ()
71009 {
71010 setenv(0, 0, 0);
71011 ;
71012 return 0;
71013 }
71014 _ACEOF
71015 if ac_fn_cxx_try_compile "$LINENO"; then :
71016 glibcxx_cv_func_setenv_use=yes
71017 else
71018 glibcxx_cv_func_setenv_use=no
71019 fi
71020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71021 ac_ext=c
71022 ac_cpp='$CPP $CPPFLAGS'
71023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71026
71027
71028 fi
71029
71030 fi
71031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71032 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71033 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71034 for ac_func in setenv
71035 do :
71036 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71037 if test "x$ac_cv_func_setenv" = x""yes; then :
71038 cat >>confdefs.h <<_ACEOF
71039 #define HAVE_SETENV 1
71040 _ACEOF
71041
71042 fi
71043 done
71044
71045 fi
71046
71047 fi
71048
71049 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71050 test $enable_symvers != no; then
71051 case "$host" in
71052 *-*-cygwin*)
71053 enable_abi_check=no ;;
71054 *)
71055 enable_abi_check=yes ;;
71056 esac
71057 else
71058 # Only build this as native, since automake does not understand
71059 # CXX_FOR_BUILD.
71060 enable_abi_check=no
71061 fi
71062
71063 # Export file names for ABI checking.
71064 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71065
71066 baseline_subdir_switch="$abi_baseline_subdir_switch"
71067
71068
71069
71070 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71071
71072 # Check whether --enable-libstdcxx-threads was given.
71073 if test "${enable_libstdcxx_threads+set}" = set; then :
71074 enableval=$enable_libstdcxx_threads;
71075 case "$enableval" in
71076 yes|no) ;;
71077 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71078 esac
71079
71080 else
71081 enable_libstdcxx_threads=auto
71082 fi
71083
71084
71085
71086 if test x$enable_libstdcxx_threads = xauto ||
71087 test x$enable_libstdcxx_threads = xyes; then
71088
71089
71090 ac_ext=cpp
71091 ac_cpp='$CXXCPP $CPPFLAGS'
71092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71095
71096
71097 ac_save_CXXFLAGS="$CXXFLAGS"
71098 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71099 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71100
71101 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71102 case $target_thread_file in
71103 posix)
71104 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71105 esac
71106
71107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71108 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71109
71110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71111 /* end confdefs.h. */
71112 #include <unistd.h>
71113 int
71114 main ()
71115 {
71116
71117 // In case of POSIX threads check _POSIX_TIMEOUTS.
71118 #if (defined(_PTHREADS) \
71119 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71120 #error
71121 #endif
71122
71123 ;
71124 return 0;
71125 }
71126 _ACEOF
71127 if ac_fn_cxx_try_compile "$LINENO"; then :
71128 ac_gthread_use_mutex_timedlock=1
71129 else
71130 ac_gthread_use_mutex_timedlock=0
71131 fi
71132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71133
71134
71135 cat >>confdefs.h <<_ACEOF
71136 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71137 _ACEOF
71138
71139
71140 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71141 else res_mutex_timedlock=no ; fi
71142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71143 $as_echo "$res_mutex_timedlock" >&6; }
71144
71145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71146 $as_echo_n "checking for gthreads library... " >&6; }
71147
71148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71149 /* end confdefs.h. */
71150 #include "gthr.h"
71151 int
71152 main ()
71153 {
71154
71155 #ifndef __GTHREADS_CXX0X
71156 #error
71157 #endif
71158
71159 ;
71160 return 0;
71161 }
71162 _ACEOF
71163 if ac_fn_cxx_try_compile "$LINENO"; then :
71164 case $target_os in
71165 # gthreads support breaks symbol versioning on Solaris 9 (PR
71166 # libstdc++/52189).
71167 solaris2.9*)
71168 if test x$enable_symvers = xno; then
71169 ac_has_gthreads=yes
71170 elif test x$enable_libstdcxx_threads = xyes; then
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71172 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71174 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71175 ac_has_gthreads=yes
71176 else
71177 ac_has_gthreads=no
71178 fi
71179 ;;
71180 *)
71181 ac_has_gthreads=yes
71182 ;;
71183 esac
71184 else
71185 ac_has_gthreads=no
71186 fi
71187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71188 else
71189 ac_has_gthreads=no
71190 fi
71191
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71193 $as_echo "$ac_has_gthreads" >&6; }
71194
71195 if test x"$ac_has_gthreads" = x"yes"; then
71196
71197 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71198
71199 fi
71200
71201 CXXFLAGS="$ac_save_CXXFLAGS"
71202 ac_ext=c
71203 ac_cpp='$CPP $CPPFLAGS'
71204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71207
71208
71209
71210 # Define documentation rules conditionally.
71211
71212 # See if makeinfo has been installed and is modern enough
71213 # that we can use it.
71214
71215 # Extract the first word of "makeinfo", so it can be a program name with args.
71216 set dummy makeinfo; ac_word=$2
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71218 $as_echo_n "checking for $ac_word... " >&6; }
71219 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71220 $as_echo_n "(cached) " >&6
71221 else
71222 if test -n "$MAKEINFO"; then
71223 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71224 else
71225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71226 for as_dir in $PATH
71227 do
71228 IFS=$as_save_IFS
71229 test -z "$as_dir" && as_dir=.
71230 for ac_exec_ext in '' $ac_executable_extensions; do
71231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71232 ac_cv_prog_MAKEINFO="makeinfo"
71233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71234 break 2
71235 fi
71236 done
71237 done
71238 IFS=$as_save_IFS
71239
71240 fi
71241 fi
71242 MAKEINFO=$ac_cv_prog_MAKEINFO
71243 if test -n "$MAKEINFO"; then
71244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71245 $as_echo "$MAKEINFO" >&6; }
71246 else
71247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71248 $as_echo "no" >&6; }
71249 fi
71250
71251
71252 if test -n "$MAKEINFO"; then
71253 # Found it, now check the version.
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71255 $as_echo_n "checking for modern makeinfo... " >&6; }
71256 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71257 $as_echo_n "(cached) " >&6
71258 else
71259 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71260 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71261
71262 case $ac_prog_version in
71263 '') gcc_cv_prog_makeinfo_modern=no;;
71264 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71265 *) gcc_cv_prog_makeinfo_modern=no;;
71266 esac
71267
71268 fi
71269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71270 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71271 else
71272 gcc_cv_prog_makeinfo_modern=no
71273 fi
71274 if test $gcc_cv_prog_makeinfo_modern = no; then
71275 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71276 fi
71277
71278 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71279 BUILD_INFO_TRUE=
71280 BUILD_INFO_FALSE='#'
71281 else
71282 BUILD_INFO_TRUE='#'
71283 BUILD_INFO_FALSE=
71284 fi
71285
71286
71287 # Check for doxygen
71288 # Extract the first word of "doxygen", so it can be a program name with args.
71289 set dummy doxygen; ac_word=$2
71290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71291 $as_echo_n "checking for $ac_word... " >&6; }
71292 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71293 $as_echo_n "(cached) " >&6
71294 else
71295 if test -n "$DOXYGEN"; then
71296 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71297 else
71298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71299 for as_dir in $PATH
71300 do
71301 IFS=$as_save_IFS
71302 test -z "$as_dir" && as_dir=.
71303 for ac_exec_ext in '' $ac_executable_extensions; do
71304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71305 ac_cv_prog_DOXYGEN="yes"
71306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71307 break 2
71308 fi
71309 done
71310 done
71311 IFS=$as_save_IFS
71312
71313 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71314 fi
71315 fi
71316 DOXYGEN=$ac_cv_prog_DOXYGEN
71317 if test -n "$DOXYGEN"; then
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71319 $as_echo "$DOXYGEN" >&6; }
71320 else
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71322 $as_echo "no" >&6; }
71323 fi
71324
71325
71326 # Extract the first word of "dot", so it can be a program name with args.
71327 set dummy dot; ac_word=$2
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71329 $as_echo_n "checking for $ac_word... " >&6; }
71330 if test "${ac_cv_prog_DOT+set}" = set; then :
71331 $as_echo_n "(cached) " >&6
71332 else
71333 if test -n "$DOT"; then
71334 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71335 else
71336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71337 for as_dir in $PATH
71338 do
71339 IFS=$as_save_IFS
71340 test -z "$as_dir" && as_dir=.
71341 for ac_exec_ext in '' $ac_executable_extensions; do
71342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71343 ac_cv_prog_DOT="yes"
71344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71345 break 2
71346 fi
71347 done
71348 done
71349 IFS=$as_save_IFS
71350
71351 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71352 fi
71353 fi
71354 DOT=$ac_cv_prog_DOT
71355 if test -n "$DOT"; then
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71357 $as_echo "$DOT" >&6; }
71358 else
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71360 $as_echo "no" >&6; }
71361 fi
71362
71363
71364
71365 # Check for docbook
71366 # Extract the first word of "xsltproc", so it can be a program name with args.
71367 set dummy xsltproc; ac_word=$2
71368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71369 $as_echo_n "checking for $ac_word... " >&6; }
71370 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71371 $as_echo_n "(cached) " >&6
71372 else
71373 if test -n "$XSLTPROC"; then
71374 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71375 else
71376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71377 for as_dir in $PATH
71378 do
71379 IFS=$as_save_IFS
71380 test -z "$as_dir" && as_dir=.
71381 for ac_exec_ext in '' $ac_executable_extensions; do
71382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71383 ac_cv_prog_XSLTPROC="yes"
71384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71385 break 2
71386 fi
71387 done
71388 done
71389 IFS=$as_save_IFS
71390
71391 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71392 fi
71393 fi
71394 XSLTPROC=$ac_cv_prog_XSLTPROC
71395 if test -n "$XSLTPROC"; then
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71397 $as_echo "$XSLTPROC" >&6; }
71398 else
71399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71400 $as_echo "no" >&6; }
71401 fi
71402
71403
71404 # Extract the first word of "xmllint", so it can be a program name with args.
71405 set dummy xmllint; ac_word=$2
71406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71407 $as_echo_n "checking for $ac_word... " >&6; }
71408 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71409 $as_echo_n "(cached) " >&6
71410 else
71411 if test -n "$XMLLINT"; then
71412 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71413 else
71414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71415 for as_dir in $PATH
71416 do
71417 IFS=$as_save_IFS
71418 test -z "$as_dir" && as_dir=.
71419 for ac_exec_ext in '' $ac_executable_extensions; do
71420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71421 ac_cv_prog_XMLLINT="yes"
71422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71423 break 2
71424 fi
71425 done
71426 done
71427 IFS=$as_save_IFS
71428
71429 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71430 fi
71431 fi
71432 XMLLINT=$ac_cv_prog_XMLLINT
71433 if test -n "$XMLLINT"; then
71434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71435 $as_echo "$XMLLINT" >&6; }
71436 else
71437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71438 $as_echo "no" >&6; }
71439 fi
71440
71441
71442
71443
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71445 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71446 glibcxx_stylesheets=no
71447 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
71448 glibcxx_stylesheets=yes
71449 fi
71450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71451 $as_echo "$glibcxx_stylesheets" >&6; }
71452
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71454 $as_echo_n "checking for local stylesheet directory... " >&6; }
71455 glibcxx_local_stylesheets=no
71456 if test x"$glibcxx_stylesheets" = x"yes"; then
71457 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71458 glibcxx_local_stylesheets=yes
71459 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71460 fi
71461 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71462 glibcxx_local_stylesheets=yes
71463 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71464 fi
71465 fi
71466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71467 $as_echo "$glibcxx_local_stylesheets" >&6; }
71468
71469 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71470
71471 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71472 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71473 else
71474 glibcxx_stylesheets=no
71475 fi
71476
71477 # Check for epub3 dependencies.
71478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71479 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71480 glibcxx_epub_stylesheets=no
71481 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71482 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71483 glibcxx_epub_stylesheets=yes
71484 fi
71485 fi
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71487 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71488 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71489 BUILD_EPUB_TRUE=
71490 BUILD_EPUB_FALSE='#'
71491 else
71492 BUILD_EPUB_TRUE='#'
71493 BUILD_EPUB_FALSE=
71494 fi
71495
71496
71497
71498
71499 # Check for xml/html dependencies.
71500 if test $ac_cv_prog_DOXYGEN = "yes" &&
71501 test $ac_cv_prog_DOT = "yes" &&
71502 test $ac_cv_prog_XSLTPROC = "yes" &&
71503 test $ac_cv_prog_XMLLINT = "yes" &&
71504 test $glibcxx_stylesheets = "yes"; then
71505 BUILD_XML_TRUE=
71506 BUILD_XML_FALSE='#'
71507 else
71508 BUILD_XML_TRUE='#'
71509 BUILD_XML_FALSE=
71510 fi
71511
71512
71513 if test $ac_cv_prog_DOXYGEN = "yes" &&
71514 test $ac_cv_prog_DOT = "yes" &&
71515 test $ac_cv_prog_XSLTPROC = "yes" &&
71516 test $ac_cv_prog_XMLLINT = "yes" &&
71517 test $glibcxx_stylesheets = "yes"; then
71518 BUILD_HTML_TRUE=
71519 BUILD_HTML_FALSE='#'
71520 else
71521 BUILD_HTML_TRUE='#'
71522 BUILD_HTML_FALSE=
71523 fi
71524
71525
71526 # Check for man dependencies.
71527 if test $ac_cv_prog_DOXYGEN = "yes" &&
71528 test $ac_cv_prog_DOT = "yes"; then
71529 BUILD_MAN_TRUE=
71530 BUILD_MAN_FALSE='#'
71531 else
71532 BUILD_MAN_TRUE='#'
71533 BUILD_MAN_FALSE=
71534 fi
71535
71536
71537 # Check for pdf dependencies.
71538 # Extract the first word of "dblatex", so it can be a program name with args.
71539 set dummy dblatex; ac_word=$2
71540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71541 $as_echo_n "checking for $ac_word... " >&6; }
71542 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71543 $as_echo_n "(cached) " >&6
71544 else
71545 if test -n "$DBLATEX"; then
71546 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71547 else
71548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71549 for as_dir in $PATH
71550 do
71551 IFS=$as_save_IFS
71552 test -z "$as_dir" && as_dir=.
71553 for ac_exec_ext in '' $ac_executable_extensions; do
71554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71555 ac_cv_prog_DBLATEX="yes"
71556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71557 break 2
71558 fi
71559 done
71560 done
71561 IFS=$as_save_IFS
71562
71563 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71564 fi
71565 fi
71566 DBLATEX=$ac_cv_prog_DBLATEX
71567 if test -n "$DBLATEX"; then
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71569 $as_echo "$DBLATEX" >&6; }
71570 else
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71572 $as_echo "no" >&6; }
71573 fi
71574
71575
71576 # Extract the first word of "pdflatex", so it can be a program name with args.
71577 set dummy pdflatex; ac_word=$2
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71579 $as_echo_n "checking for $ac_word... " >&6; }
71580 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71581 $as_echo_n "(cached) " >&6
71582 else
71583 if test -n "$PDFLATEX"; then
71584 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71585 else
71586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71587 for as_dir in $PATH
71588 do
71589 IFS=$as_save_IFS
71590 test -z "$as_dir" && as_dir=.
71591 for ac_exec_ext in '' $ac_executable_extensions; do
71592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71593 ac_cv_prog_PDFLATEX="yes"
71594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71595 break 2
71596 fi
71597 done
71598 done
71599 IFS=$as_save_IFS
71600
71601 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71602 fi
71603 fi
71604 PDFLATEX=$ac_cv_prog_PDFLATEX
71605 if test -n "$PDFLATEX"; then
71606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71607 $as_echo "$PDFLATEX" >&6; }
71608 else
71609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71610 $as_echo "no" >&6; }
71611 fi
71612
71613
71614 if test $ac_cv_prog_DBLATEX = "yes" &&
71615 test $ac_cv_prog_PDFLATEX = "yes"; then
71616 BUILD_PDF_TRUE=
71617 BUILD_PDF_FALSE='#'
71618 else
71619 BUILD_PDF_TRUE='#'
71620 BUILD_PDF_FALSE=
71621 fi
71622
71623
71624
71625 # Propagate the target-specific source directories through the build chain.
71626 ATOMICITY_SRCDIR=config/${atomicity_dir}
71627 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71628 ATOMIC_FLAGS=${atomic_flags}
71629 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71630 OS_INC_SRCDIR=config/${os_include_dir}
71631 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71632 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71633
71634
71635
71636
71637
71638
71639
71640
71641
71642 # Determine cross-compile flags and AM_CONDITIONALs.
71643 #AC_SUBST(GLIBCXX_IS_NATIVE)
71644 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71645 if test $is_hosted = yes; then
71646 GLIBCXX_HOSTED_TRUE=
71647 GLIBCXX_HOSTED_FALSE='#'
71648 else
71649 GLIBCXX_HOSTED_TRUE='#'
71650 GLIBCXX_HOSTED_FALSE=
71651 fi
71652
71653
71654 if test $enable_libstdcxx_pch = yes; then
71655 GLIBCXX_BUILD_PCH_TRUE=
71656 GLIBCXX_BUILD_PCH_FALSE='#'
71657 else
71658 GLIBCXX_BUILD_PCH_TRUE='#'
71659 GLIBCXX_BUILD_PCH_FALSE=
71660 fi
71661
71662
71663 if test $enable_cheaders = c; then
71664 GLIBCXX_C_HEADERS_C_TRUE=
71665 GLIBCXX_C_HEADERS_C_FALSE='#'
71666 else
71667 GLIBCXX_C_HEADERS_C_TRUE='#'
71668 GLIBCXX_C_HEADERS_C_FALSE=
71669 fi
71670
71671
71672 if test $enable_cheaders = c_std; then
71673 GLIBCXX_C_HEADERS_C_STD_TRUE=
71674 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71675 else
71676 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71677 GLIBCXX_C_HEADERS_C_STD_FALSE=
71678 fi
71679
71680
71681 if test $enable_cheaders = c_global; then
71682 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71683 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71684 else
71685 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71686 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71687 fi
71688
71689
71690 if test $c_compatibility = yes; then
71691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71693 else
71694 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71695 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71696 fi
71697
71698
71699 if test $enable_libstdcxx_debug = yes; then
71700 GLIBCXX_BUILD_DEBUG_TRUE=
71701 GLIBCXX_BUILD_DEBUG_FALSE='#'
71702 else
71703 GLIBCXX_BUILD_DEBUG_TRUE='#'
71704 GLIBCXX_BUILD_DEBUG_FALSE=
71705 fi
71706
71707
71708 if test $enable_parallel = yes; then
71709 ENABLE_PARALLEL_TRUE=
71710 ENABLE_PARALLEL_FALSE='#'
71711 else
71712 ENABLE_PARALLEL_TRUE='#'
71713 ENABLE_PARALLEL_FALSE=
71714 fi
71715
71716
71717 if test $enable_extern_template = yes; then
71718 ENABLE_EXTERN_TEMPLATE_TRUE=
71719 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71720 else
71721 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71722 ENABLE_EXTERN_TEMPLATE_FALSE=
71723 fi
71724
71725
71726 if test $python_mod_dir != no; then
71727 ENABLE_PYTHONDIR_TRUE=
71728 ENABLE_PYTHONDIR_FALSE='#'
71729 else
71730 ENABLE_PYTHONDIR_TRUE='#'
71731 ENABLE_PYTHONDIR_FALSE=
71732 fi
71733
71734
71735 if test $enable_werror = yes; then
71736 ENABLE_WERROR_TRUE=
71737 ENABLE_WERROR_FALSE='#'
71738 else
71739 ENABLE_WERROR_TRUE='#'
71740 ENABLE_WERROR_FALSE=
71741 fi
71742
71743
71744 if test $enable_symvers != no; then
71745 ENABLE_SYMVERS_TRUE=
71746 ENABLE_SYMVERS_FALSE='#'
71747 else
71748 ENABLE_SYMVERS_TRUE='#'
71749 ENABLE_SYMVERS_FALSE=
71750 fi
71751
71752
71753 if test $enable_symvers = gnu; then
71754 ENABLE_SYMVERS_GNU_TRUE=
71755 ENABLE_SYMVERS_GNU_FALSE='#'
71756 else
71757 ENABLE_SYMVERS_GNU_TRUE='#'
71758 ENABLE_SYMVERS_GNU_FALSE=
71759 fi
71760
71761
71762 if test $enable_symvers = gnu-versioned-namespace; then
71763 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71764 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71765 else
71766 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71767 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71768 fi
71769
71770
71771 if test $enable_symvers = darwin; then
71772 ENABLE_SYMVERS_DARWIN_TRUE=
71773 ENABLE_SYMVERS_DARWIN_FALSE='#'
71774 else
71775 ENABLE_SYMVERS_DARWIN_TRUE='#'
71776 ENABLE_SYMVERS_DARWIN_FALSE=
71777 fi
71778
71779
71780 if test $enable_symvers = sun; then
71781 ENABLE_SYMVERS_SUN_TRUE=
71782 ENABLE_SYMVERS_SUN_FALSE='#'
71783 else
71784 ENABLE_SYMVERS_SUN_TRUE='#'
71785 ENABLE_SYMVERS_SUN_FALSE=
71786 fi
71787
71788
71789 if test $enable_libstdcxx_visibility = yes; then
71790 ENABLE_VISIBILITY_TRUE=
71791 ENABLE_VISIBILITY_FALSE='#'
71792 else
71793 ENABLE_VISIBILITY_TRUE='#'
71794 ENABLE_VISIBILITY_FALSE=
71795 fi
71796
71797
71798 if test $ac_ldbl_compat = yes; then
71799 GLIBCXX_LDBL_COMPAT_TRUE=
71800 GLIBCXX_LDBL_COMPAT_FALSE='#'
71801 else
71802 GLIBCXX_LDBL_COMPAT_TRUE='#'
71803 GLIBCXX_LDBL_COMPAT_FALSE=
71804 fi
71805
71806
71807
71808
71809 cat >confcache <<\_ACEOF
71810 # This file is a shell script that caches the results of configure
71811 # tests run on this system so they can be shared between configure
71812 # scripts and configure runs, see configure's option --config-cache.
71813 # It is not useful on other systems. If it contains results you don't
71814 # want to keep, you may remove or edit it.
71815 #
71816 # config.status only pays attention to the cache file if you give it
71817 # the --recheck option to rerun configure.
71818 #
71819 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71820 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71821 # following values.
71822
71823 _ACEOF
71824
71825 # The following way of writing the cache mishandles newlines in values,
71826 # but we know of no workaround that is simple, portable, and efficient.
71827 # So, we kill variables containing newlines.
71828 # Ultrix sh set writes to stderr and can't be redirected directly,
71829 # and sets the high bit in the cache file unless we assign to the vars.
71830 (
71831 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71832 eval ac_val=\$$ac_var
71833 case $ac_val in #(
71834 *${as_nl}*)
71835 case $ac_var in #(
71836 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71838 esac
71839 case $ac_var in #(
71840 _ | IFS | as_nl) ;; #(
71841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71842 *) { eval $ac_var=; unset $ac_var;} ;;
71843 esac ;;
71844 esac
71845 done
71846
71847 (set) 2>&1 |
71848 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71849 *${as_nl}ac_space=\ *)
71850 # `set' does not quote correctly, so add quotes: double-quote
71851 # substitution turns \\\\ into \\, and sed turns \\ into \.
71852 sed -n \
71853 "s/'/'\\\\''/g;
71854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71855 ;; #(
71856 *)
71857 # `set' quotes correctly as required by POSIX, so do not add quotes.
71858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71859 ;;
71860 esac |
71861 sort
71862 ) |
71863 sed '
71864 /^ac_cv_env_/b end
71865 t clear
71866 :clear
71867 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71868 t end
71869 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71870 :end' >>confcache
71871 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71872 if test -w "$cache_file"; then
71873 test "x$cache_file" != "x/dev/null" &&
71874 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71875 $as_echo "$as_me: updating cache $cache_file" >&6;}
71876 cat confcache >$cache_file
71877 else
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71880 fi
71881 fi
71882 rm -f confcache
71883
71884 if test ${multilib} = yes; then
71885 multilib_arg="--enable-multilib"
71886 else
71887 multilib_arg=
71888 fi
71889
71890 # Export all the install information.
71891
71892 glibcxx_toolexecdir=no
71893 glibcxx_toolexeclibdir=no
71894 glibcxx_prefixdir=$prefix
71895
71896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71897 $as_echo_n "checking for gxx-include-dir... " >&6; }
71898
71899 # Check whether --with-gxx-include-dir was given.
71900 if test "${with_gxx_include_dir+set}" = set; then :
71901 withval=$with_gxx_include_dir; case "$withval" in
71902 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71903 no) gxx_include_dir=no ;;
71904 *) gxx_include_dir=$withval ;;
71905 esac
71906 else
71907 gxx_include_dir=no
71908 fi
71909
71910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71911 $as_echo "$gxx_include_dir" >&6; }
71912
71913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71914 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71915 # Check whether --enable-version-specific-runtime-libs was given.
71916 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71917 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71918 yes) version_specific_libs=yes ;;
71919 no) version_specific_libs=no ;;
71920 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71921 esac
71922 else
71923 version_specific_libs=no
71924 fi
71925
71926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71927 $as_echo "$version_specific_libs" >&6; }
71928
71929 # Default case for install directory for include files.
71930 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71931 gxx_include_dir='include/c++/${gcc_version}'
71932 if test -n "$with_cross_host" &&
71933 test x"$with_cross_host" != x"no"; then
71934 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71935 else
71936 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71937 fi
71938 fi
71939
71940 # Version-specific runtime libs processing.
71941 if test $version_specific_libs = yes; then
71942 # Need the gcc compiler version to know where to install libraries
71943 # and header files if --enable-version-specific-runtime-libs option
71944 # is selected. FIXME: these variables are misnamed, there are
71945 # no executables installed in _toolexecdir or _toolexeclibdir.
71946 if test x"$gxx_include_dir" = x"no"; then
71947 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71948 fi
71949 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71950 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71951 fi
71952
71953 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71954 # Install a library built with a cross compiler in tooldir, not libdir.
71955 if test x"$glibcxx_toolexecdir" = x"no"; then
71956 if test -n "$with_cross_host" &&
71957 test x"$with_cross_host" != x"no"; then
71958 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71959 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71960 else
71961 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71962 glibcxx_toolexeclibdir='${libdir}'
71963 fi
71964 multi_os_directory=`$CXX -print-multi-os-directory`
71965 case $multi_os_directory in
71966 .) ;; # Avoid trailing /.
71967 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71968 esac
71969 fi
71970
71971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71972 $as_echo_n "checking for install location... " >&6; }
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71974 $as_echo "$gxx_include_dir" >&6; }
71975
71976
71977
71978
71979
71980
71981
71982 # Export all the include and flag information to Makefiles.
71983
71984 # Used for every C++ compile we perform.
71985 GLIBCXX_INCLUDES="\
71986 -I$glibcxx_builddir/include/$host_alias \
71987 -I$glibcxx_builddir/include \
71988 -I$glibcxx_srcdir/libsupc++"
71989
71990 # For Canadian crosses, pick this up too.
71991 if test $CANADIAN = yes; then
71992 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71993 fi
71994
71995 # Stuff in the actual top level. Currently only used by libsupc++ to
71996 # get unwind* headers from the libgcc dir.
71997 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71998 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71999
72000 # Now, export this to all the little Makefiles....
72001
72002
72003
72004
72005 # Optimization flags that are probably a good idea for thrill-seekers. Just
72006 # uncomment the lines below and make, everything else is ready to go...
72007 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72008 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72009
72010
72011 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72012
72013
72014
72015 if test "$enable_shared" = yes; then
72016 PIC_CXXFLAGS="-prefer-pic"
72017 else
72018 PIC_CXXFLAGS=
72019 fi
72020
72021
72022 ac_config_files="$ac_config_files Makefile"
72023
72024 ac_config_files="$ac_config_files scripts/testsuite_flags"
72025
72026 ac_config_files="$ac_config_files scripts/extract_symvers"
72027
72028
72029 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72030 # that multilib installs will end up installed in the correct place.
72031 # The testsuite needs it for multilib-aware ABI baseline files.
72032 # To work around this not being passed down from config-ml.in ->
72033 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72034 # append it here. Only modify Makefiles that have just been created.
72035 #
72036 # Also, get rid of this simulated-VPATH thing that automake does.
72037 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
72038
72039
72040 ac_config_commands="$ac_config_commands generate-headers"
72041
72042
72043 cat >confcache <<\_ACEOF
72044 # This file is a shell script that caches the results of configure
72045 # tests run on this system so they can be shared between configure
72046 # scripts and configure runs, see configure's option --config-cache.
72047 # It is not useful on other systems. If it contains results you don't
72048 # want to keep, you may remove or edit it.
72049 #
72050 # config.status only pays attention to the cache file if you give it
72051 # the --recheck option to rerun configure.
72052 #
72053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72055 # following values.
72056
72057 _ACEOF
72058
72059 # The following way of writing the cache mishandles newlines in values,
72060 # but we know of no workaround that is simple, portable, and efficient.
72061 # So, we kill variables containing newlines.
72062 # Ultrix sh set writes to stderr and can't be redirected directly,
72063 # and sets the high bit in the cache file unless we assign to the vars.
72064 (
72065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72066 eval ac_val=\$$ac_var
72067 case $ac_val in #(
72068 *${as_nl}*)
72069 case $ac_var in #(
72070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72072 esac
72073 case $ac_var in #(
72074 _ | IFS | as_nl) ;; #(
72075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72076 *) { eval $ac_var=; unset $ac_var;} ;;
72077 esac ;;
72078 esac
72079 done
72080
72081 (set) 2>&1 |
72082 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72083 *${as_nl}ac_space=\ *)
72084 # `set' does not quote correctly, so add quotes: double-quote
72085 # substitution turns \\\\ into \\, and sed turns \\ into \.
72086 sed -n \
72087 "s/'/'\\\\''/g;
72088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72089 ;; #(
72090 *)
72091 # `set' quotes correctly as required by POSIX, so do not add quotes.
72092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72093 ;;
72094 esac |
72095 sort
72096 ) |
72097 sed '
72098 /^ac_cv_env_/b end
72099 t clear
72100 :clear
72101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72102 t end
72103 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72104 :end' >>confcache
72105 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72106 if test -w "$cache_file"; then
72107 test "x$cache_file" != "x/dev/null" &&
72108 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72109 $as_echo "$as_me: updating cache $cache_file" >&6;}
72110 cat confcache >$cache_file
72111 else
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72113 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72114 fi
72115 fi
72116 rm -f confcache
72117
72118 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72119 # Let make expand exec_prefix.
72120 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72121
72122 DEFS=-DHAVE_CONFIG_H
72123
72124 ac_libobjs=
72125 ac_ltlibobjs=
72126 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72127 # 1. Remove the extension, and $U if already installed.
72128 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72129 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72130 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72131 # will be set to the directory where LIBOBJS objects are built.
72132 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72133 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72134 done
72135 LIBOBJS=$ac_libobjs
72136
72137 LTLIBOBJS=$ac_ltlibobjs
72138
72139
72140 if test -n "$EXEEXT"; then
72141 am__EXEEXT_TRUE=
72142 am__EXEEXT_FALSE='#'
72143 else
72144 am__EXEEXT_TRUE='#'
72145 am__EXEEXT_FALSE=
72146 fi
72147
72148 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72149 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72151 fi
72152 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72153 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72155 fi
72156 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72157 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72159 fi
72160 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72161 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72163 fi
72164 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72165 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72167 fi
72168 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72169 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72171 fi
72172 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72173 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72175 fi
72176 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72177 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72179 fi
72180 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72181 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72183 fi
72184 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72185 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72187 fi
72188 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72189 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72191 fi
72192 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72193 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72195 fi
72196 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72197 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72199 fi
72200 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72201 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72203 fi
72204 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72205 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72207 fi
72208 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72209 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72211 fi
72212 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72213 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72215 fi
72216 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72217 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72219 fi
72220 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72221 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72223 fi
72224 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72225 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72227 fi
72228 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72229 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72231 fi
72232 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72233 as_fn_error "conditional \"BUILD_XML\" was never defined.
72234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72235 fi
72236 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72237 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72239 fi
72240 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72241 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72243 fi
72244 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72245 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72247 fi
72248
72249 : ${CONFIG_STATUS=./config.status}
72250 ac_write_fail=0
72251 ac_clean_files_save=$ac_clean_files
72252 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72254 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72255 as_write_fail=0
72256 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72257 #! $SHELL
72258 # Generated by $as_me.
72259 # Run this file to recreate the current configuration.
72260 # Compiler output produced by configure, useful for debugging
72261 # configure, is in config.log if it exists.
72262
72263 debug=false
72264 ac_cs_recheck=false
72265 ac_cs_silent=false
72266
72267 SHELL=\${CONFIG_SHELL-$SHELL}
72268 export SHELL
72269 _ASEOF
72270 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72271 ## -------------------- ##
72272 ## M4sh Initialization. ##
72273 ## -------------------- ##
72274
72275 # Be more Bourne compatible
72276 DUALCASE=1; export DUALCASE # for MKS sh
72277 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72278 emulate sh
72279 NULLCMD=:
72280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72281 # is contrary to our usage. Disable this feature.
72282 alias -g '${1+"$@"}'='"$@"'
72283 setopt NO_GLOB_SUBST
72284 else
72285 case `(set -o) 2>/dev/null` in #(
72286 *posix*) :
72287 set -o posix ;; #(
72288 *) :
72289 ;;
72290 esac
72291 fi
72292
72293
72294 as_nl='
72295 '
72296 export as_nl
72297 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72298 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72301 # Prefer a ksh shell builtin over an external printf program on Solaris,
72302 # but without wasting forks for bash or zsh.
72303 if test -z "$BASH_VERSION$ZSH_VERSION" \
72304 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72305 as_echo='print -r --'
72306 as_echo_n='print -rn --'
72307 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72308 as_echo='printf %s\n'
72309 as_echo_n='printf %s'
72310 else
72311 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72312 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72313 as_echo_n='/usr/ucb/echo -n'
72314 else
72315 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72316 as_echo_n_body='eval
72317 arg=$1;
72318 case $arg in #(
72319 *"$as_nl"*)
72320 expr "X$arg" : "X\\(.*\\)$as_nl";
72321 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72322 esac;
72323 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72324 '
72325 export as_echo_n_body
72326 as_echo_n='sh -c $as_echo_n_body as_echo'
72327 fi
72328 export as_echo_body
72329 as_echo='sh -c $as_echo_body as_echo'
72330 fi
72331
72332 # The user is always right.
72333 if test "${PATH_SEPARATOR+set}" != set; then
72334 PATH_SEPARATOR=:
72335 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72336 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72337 PATH_SEPARATOR=';'
72338 }
72339 fi
72340
72341
72342 # IFS
72343 # We need space, tab and new line, in precisely that order. Quoting is
72344 # there to prevent editors from complaining about space-tab.
72345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72346 # splitting by setting IFS to empty value.)
72347 IFS=" "" $as_nl"
72348
72349 # Find who we are. Look in the path if we contain no directory separator.
72350 case $0 in #((
72351 *[\\/]* ) as_myself=$0 ;;
72352 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72353 for as_dir in $PATH
72354 do
72355 IFS=$as_save_IFS
72356 test -z "$as_dir" && as_dir=.
72357 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72358 done
72359 IFS=$as_save_IFS
72360
72361 ;;
72362 esac
72363 # We did not find ourselves, most probably we were run as `sh COMMAND'
72364 # in which case we are not to be found in the path.
72365 if test "x$as_myself" = x; then
72366 as_myself=$0
72367 fi
72368 if test ! -f "$as_myself"; then
72369 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72370 exit 1
72371 fi
72372
72373 # Unset variables that we do not need and which cause bugs (e.g. in
72374 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72375 # suppresses any "Segmentation fault" message there. '((' could
72376 # trigger a bug in pdksh 5.2.14.
72377 for as_var in BASH_ENV ENV MAIL MAILPATH
72378 do eval test x\${$as_var+set} = xset \
72379 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72380 done
72381 PS1='$ '
72382 PS2='> '
72383 PS4='+ '
72384
72385 # NLS nuisances.
72386 LC_ALL=C
72387 export LC_ALL
72388 LANGUAGE=C
72389 export LANGUAGE
72390
72391 # CDPATH.
72392 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72393
72394
72395 # as_fn_error ERROR [LINENO LOG_FD]
72396 # ---------------------------------
72397 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72398 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72399 # script with status $?, using 1 if that was 0.
72400 as_fn_error ()
72401 {
72402 as_status=$?; test $as_status -eq 0 && as_status=1
72403 if test "$3"; then
72404 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72405 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72406 fi
72407 $as_echo "$as_me: error: $1" >&2
72408 as_fn_exit $as_status
72409 } # as_fn_error
72410
72411
72412 # as_fn_set_status STATUS
72413 # -----------------------
72414 # Set $? to STATUS, without forking.
72415 as_fn_set_status ()
72416 {
72417 return $1
72418 } # as_fn_set_status
72419
72420 # as_fn_exit STATUS
72421 # -----------------
72422 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72423 as_fn_exit ()
72424 {
72425 set +e
72426 as_fn_set_status $1
72427 exit $1
72428 } # as_fn_exit
72429
72430 # as_fn_unset VAR
72431 # ---------------
72432 # Portably unset VAR.
72433 as_fn_unset ()
72434 {
72435 { eval $1=; unset $1;}
72436 }
72437 as_unset=as_fn_unset
72438 # as_fn_append VAR VALUE
72439 # ----------------------
72440 # Append the text in VALUE to the end of the definition contained in VAR. Take
72441 # advantage of any shell optimizations that allow amortized linear growth over
72442 # repeated appends, instead of the typical quadratic growth present in naive
72443 # implementations.
72444 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72445 eval 'as_fn_append ()
72446 {
72447 eval $1+=\$2
72448 }'
72449 else
72450 as_fn_append ()
72451 {
72452 eval $1=\$$1\$2
72453 }
72454 fi # as_fn_append
72455
72456 # as_fn_arith ARG...
72457 # ------------------
72458 # Perform arithmetic evaluation on the ARGs, and store the result in the
72459 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72460 # must be portable across $(()) and expr.
72461 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72462 eval 'as_fn_arith ()
72463 {
72464 as_val=$(( $* ))
72465 }'
72466 else
72467 as_fn_arith ()
72468 {
72469 as_val=`expr "$@" || test $? -eq 1`
72470 }
72471 fi # as_fn_arith
72472
72473
72474 if expr a : '\(a\)' >/dev/null 2>&1 &&
72475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72476 as_expr=expr
72477 else
72478 as_expr=false
72479 fi
72480
72481 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72482 as_basename=basename
72483 else
72484 as_basename=false
72485 fi
72486
72487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72488 as_dirname=dirname
72489 else
72490 as_dirname=false
72491 fi
72492
72493 as_me=`$as_basename -- "$0" ||
72494 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72495 X"$0" : 'X\(//\)$' \| \
72496 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72497 $as_echo X/"$0" |
72498 sed '/^.*\/\([^/][^/]*\)\/*$/{
72499 s//\1/
72500 q
72501 }
72502 /^X\/\(\/\/\)$/{
72503 s//\1/
72504 q
72505 }
72506 /^X\/\(\/\).*/{
72507 s//\1/
72508 q
72509 }
72510 s/.*/./; q'`
72511
72512 # Avoid depending upon Character Ranges.
72513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72516 as_cr_digits='0123456789'
72517 as_cr_alnum=$as_cr_Letters$as_cr_digits
72518
72519 ECHO_C= ECHO_N= ECHO_T=
72520 case `echo -n x` in #(((((
72521 -n*)
72522 case `echo 'xy\c'` in
72523 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72524 xy) ECHO_C='\c';;
72525 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72526 ECHO_T=' ';;
72527 esac;;
72528 *)
72529 ECHO_N='-n';;
72530 esac
72531
72532 rm -f conf$$ conf$$.exe conf$$.file
72533 if test -d conf$$.dir; then
72534 rm -f conf$$.dir/conf$$.file
72535 else
72536 rm -f conf$$.dir
72537 mkdir conf$$.dir 2>/dev/null
72538 fi
72539 if (echo >conf$$.file) 2>/dev/null; then
72540 if ln -s conf$$.file conf$$ 2>/dev/null; then
72541 as_ln_s='ln -s'
72542 # ... but there are two gotchas:
72543 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72544 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72545 # In both cases, we have to default to `cp -p'.
72546 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72547 as_ln_s='cp -p'
72548 elif ln conf$$.file conf$$ 2>/dev/null; then
72549 as_ln_s=ln
72550 else
72551 as_ln_s='cp -p'
72552 fi
72553 else
72554 as_ln_s='cp -p'
72555 fi
72556 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72557 rmdir conf$$.dir 2>/dev/null
72558
72559
72560 # as_fn_mkdir_p
72561 # -------------
72562 # Create "$as_dir" as a directory, including parents if necessary.
72563 as_fn_mkdir_p ()
72564 {
72565
72566 case $as_dir in #(
72567 -*) as_dir=./$as_dir;;
72568 esac
72569 test -d "$as_dir" || eval $as_mkdir_p || {
72570 as_dirs=
72571 while :; do
72572 case $as_dir in #(
72573 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72574 *) as_qdir=$as_dir;;
72575 esac
72576 as_dirs="'$as_qdir' $as_dirs"
72577 as_dir=`$as_dirname -- "$as_dir" ||
72578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72579 X"$as_dir" : 'X\(//\)[^/]' \| \
72580 X"$as_dir" : 'X\(//\)$' \| \
72581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72582 $as_echo X"$as_dir" |
72583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72584 s//\1/
72585 q
72586 }
72587 /^X\(\/\/\)[^/].*/{
72588 s//\1/
72589 q
72590 }
72591 /^X\(\/\/\)$/{
72592 s//\1/
72593 q
72594 }
72595 /^X\(\/\).*/{
72596 s//\1/
72597 q
72598 }
72599 s/.*/./; q'`
72600 test -d "$as_dir" && break
72601 done
72602 test -z "$as_dirs" || eval "mkdir $as_dirs"
72603 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72604
72605
72606 } # as_fn_mkdir_p
72607 if mkdir -p . 2>/dev/null; then
72608 as_mkdir_p='mkdir -p "$as_dir"'
72609 else
72610 test -d ./-p && rmdir ./-p
72611 as_mkdir_p=false
72612 fi
72613
72614 if test -x / >/dev/null 2>&1; then
72615 as_test_x='test -x'
72616 else
72617 if ls -dL / >/dev/null 2>&1; then
72618 as_ls_L_option=L
72619 else
72620 as_ls_L_option=
72621 fi
72622 as_test_x='
72623 eval sh -c '\''
72624 if test -d "$1"; then
72625 test -d "$1/.";
72626 else
72627 case $1 in #(
72628 -*)set "./$1";;
72629 esac;
72630 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72631 ???[sx]*):;;*)false;;esac;fi
72632 '\'' sh
72633 '
72634 fi
72635 as_executable_p=$as_test_x
72636
72637 # Sed expression to map a string onto a valid CPP name.
72638 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72639
72640 # Sed expression to map a string onto a valid variable name.
72641 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72642
72643
72644 exec 6>&1
72645 ## ----------------------------------- ##
72646 ## Main body of $CONFIG_STATUS script. ##
72647 ## ----------------------------------- ##
72648 _ASEOF
72649 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72650
72651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72652 # Save the log message, to keep $0 and so on meaningful, and to
72653 # report actual input values of CONFIG_FILES etc. instead of their
72654 # values after options handling.
72655 ac_log="
72656 This file was extended by package-unused $as_me version-unused, which was
72657 generated by GNU Autoconf 2.64. Invocation command line was
72658
72659 CONFIG_FILES = $CONFIG_FILES
72660 CONFIG_HEADERS = $CONFIG_HEADERS
72661 CONFIG_LINKS = $CONFIG_LINKS
72662 CONFIG_COMMANDS = $CONFIG_COMMANDS
72663 $ $0 $@
72664
72665 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72666 "
72667
72668 _ACEOF
72669
72670 case $ac_config_files in *"
72671 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72672 esac
72673
72674 case $ac_config_headers in *"
72675 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72676 esac
72677
72678
72679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72680 # Files that config.status was made for.
72681 config_files="$ac_config_files"
72682 config_headers="$ac_config_headers"
72683 config_commands="$ac_config_commands"
72684
72685 _ACEOF
72686
72687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72688 ac_cs_usage="\
72689 \`$as_me' instantiates files and other configuration actions
72690 from templates according to the current configuration. Unless the files
72691 and actions are specified as TAGs, all are instantiated by default.
72692
72693 Usage: $0 [OPTION]... [TAG]...
72694
72695 -h, --help print this help, then exit
72696 -V, --version print version number and configuration settings, then exit
72697 -q, --quiet, --silent
72698 do not print progress messages
72699 -d, --debug don't remove temporary files
72700 --recheck update $as_me by reconfiguring in the same conditions
72701 --file=FILE[:TEMPLATE]
72702 instantiate the configuration file FILE
72703 --header=FILE[:TEMPLATE]
72704 instantiate the configuration header FILE
72705
72706 Configuration files:
72707 $config_files
72708
72709 Configuration headers:
72710 $config_headers
72711
72712 Configuration commands:
72713 $config_commands
72714
72715 Report bugs to the package provider."
72716
72717 _ACEOF
72718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72719 ac_cs_version="\\
72720 package-unused config.status version-unused
72721 configured by $0, generated by GNU Autoconf 2.64,
72722 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72723
72724 Copyright (C) 2009 Free Software Foundation, Inc.
72725 This config.status script is free software; the Free Software Foundation
72726 gives unlimited permission to copy, distribute and modify it."
72727
72728 ac_pwd='$ac_pwd'
72729 srcdir='$srcdir'
72730 INSTALL='$INSTALL'
72731 MKDIR_P='$MKDIR_P'
72732 AWK='$AWK'
72733 test -n "\$AWK" || AWK=awk
72734 _ACEOF
72735
72736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72737 # The default lists apply if the user does not specify any file.
72738 ac_need_defaults=:
72739 while test $# != 0
72740 do
72741 case $1 in
72742 --*=*)
72743 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72744 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72745 ac_shift=:
72746 ;;
72747 *)
72748 ac_option=$1
72749 ac_optarg=$2
72750 ac_shift=shift
72751 ;;
72752 esac
72753
72754 case $ac_option in
72755 # Handling of the options.
72756 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72757 ac_cs_recheck=: ;;
72758 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72759 $as_echo "$ac_cs_version"; exit ;;
72760 --debug | --debu | --deb | --de | --d | -d )
72761 debug=: ;;
72762 --file | --fil | --fi | --f )
72763 $ac_shift
72764 case $ac_optarg in
72765 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72766 esac
72767 as_fn_append CONFIG_FILES " '$ac_optarg'"
72768 ac_need_defaults=false;;
72769 --header | --heade | --head | --hea )
72770 $ac_shift
72771 case $ac_optarg in
72772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72773 esac
72774 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72775 ac_need_defaults=false;;
72776 --he | --h)
72777 # Conflict between --help and --header
72778 as_fn_error "ambiguous option: \`$1'
72779 Try \`$0 --help' for more information.";;
72780 --help | --hel | -h )
72781 $as_echo "$ac_cs_usage"; exit ;;
72782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72783 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72784 ac_cs_silent=: ;;
72785
72786 # This is an error.
72787 -*) as_fn_error "unrecognized option: \`$1'
72788 Try \`$0 --help' for more information." ;;
72789
72790 *) as_fn_append ac_config_targets " $1"
72791 ac_need_defaults=false ;;
72792
72793 esac
72794 shift
72795 done
72796
72797 ac_configure_extra_args=
72798
72799 if $ac_cs_silent; then
72800 exec 6>/dev/null
72801 ac_configure_extra_args="$ac_configure_extra_args --silent"
72802 fi
72803
72804 _ACEOF
72805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72806 if \$ac_cs_recheck; then
72807 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72808 shift
72809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72810 CONFIG_SHELL='$SHELL'
72811 export CONFIG_SHELL
72812 exec "\$@"
72813 fi
72814
72815 _ACEOF
72816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72817 exec 5>>config.log
72818 {
72819 echo
72820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72821 ## Running $as_me. ##
72822 _ASBOX
72823 $as_echo "$ac_log"
72824 } >&5
72825
72826 _ACEOF
72827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72828 #
72829 # INIT-COMMANDS
72830 #
72831
72832 srcdir="$srcdir"
72833 host="$host"
72834 target="$target"
72835 with_multisubdir="$with_multisubdir"
72836 with_multisrctop="$with_multisrctop"
72837 with_target_subdir="$with_target_subdir"
72838 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72839 multi_basedir="$multi_basedir"
72840 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72841 CC="$CC"
72842 CXX="$CXX"
72843 GFORTRAN="$GFORTRAN"
72844 GCJ="$GCJ"
72845
72846
72847 # The HP-UX ksh and POSIX shell print the target directory to stdout
72848 # if CDPATH is set.
72849 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72850
72851 sed_quote_subst='$sed_quote_subst'
72852 double_quote_subst='$double_quote_subst'
72853 delay_variable_subst='$delay_variable_subst'
72854 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72855 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72856 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72857 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72858 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72859 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72860 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72861 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72862 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72863 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72864 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72865 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72866 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72867 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72868 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72869 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72870 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72871 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72872 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72873 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72874 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72875 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72876 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72877 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72878 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72879 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72880 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72881 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72882 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72883 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72884 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72885 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72886 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72887 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72888 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72889 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72890 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72891 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72892 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72893 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72894 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72895 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72896 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72897 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72898 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72899 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72900 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72901 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72902 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"`'
72903 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72904 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72905 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72906 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72907 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72908 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72909 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72910 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72911 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72912 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72913 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72914 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72915 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72916 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72917 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72918 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72919 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72920 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72921 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72922 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72923 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72924 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72925 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72926 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72927 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72928 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72929 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72930 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72931 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72932 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72933 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72934 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72935 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72936 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72937 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72938 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72939 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72940 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72941 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72942 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72943 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72944 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72945 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72946 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72947 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72948 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72949 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72950 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72951 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72952 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72953 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72954 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72955 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72956 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72957 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72958 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72959 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72960 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72961 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72962 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72963 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72964 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72965 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72966 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72967 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72968 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72969 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72970 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72971 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72972 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72973 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72974 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72975 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72976 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72977 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72978 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72979 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72980 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72981 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72982 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72983 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72984 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72985 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72986 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72987 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72988 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72989 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72990 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72991 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72992 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72993 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72994 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72995 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72996 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72997 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72999 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73000 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73001 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73002 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73003 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73004 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73005 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73006 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73007 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73008 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73009 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73010 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73011 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73012 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73013 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73014 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73015 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73016 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73017 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73018 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73019 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73020 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73021 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73022 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73023 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73024 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73025 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73026 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73027 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73028 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73029
73030 LTCC='$LTCC'
73031 LTCFLAGS='$LTCFLAGS'
73032 compiler='$compiler_DEFAULT'
73033
73034 # A function that is used when there is no print builtin or printf.
73035 func_fallback_echo ()
73036 {
73037 eval 'cat <<_LTECHO_EOF
73038 \$1
73039 _LTECHO_EOF'
73040 }
73041
73042 # Quote evaled strings.
73043 for var in SHELL \
73044 ECHO \
73045 SED \
73046 GREP \
73047 EGREP \
73048 FGREP \
73049 LD \
73050 NM \
73051 LN_S \
73052 lt_SP2NL \
73053 lt_NL2SP \
73054 reload_flag \
73055 OBJDUMP \
73056 deplibs_check_method \
73057 file_magic_cmd \
73058 AR \
73059 AR_FLAGS \
73060 STRIP \
73061 RANLIB \
73062 CC \
73063 CFLAGS \
73064 compiler \
73065 lt_cv_sys_global_symbol_pipe \
73066 lt_cv_sys_global_symbol_to_cdecl \
73067 lt_cv_sys_global_symbol_to_c_name_address \
73068 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73069 lt_prog_compiler_no_builtin_flag \
73070 lt_prog_compiler_wl \
73071 lt_prog_compiler_pic \
73072 lt_prog_compiler_static \
73073 lt_cv_prog_compiler_c_o \
73074 need_locks \
73075 DSYMUTIL \
73076 NMEDIT \
73077 LIPO \
73078 OTOOL \
73079 OTOOL64 \
73080 shrext_cmds \
73081 export_dynamic_flag_spec \
73082 whole_archive_flag_spec \
73083 compiler_needs_object \
73084 with_gnu_ld \
73085 allow_undefined_flag \
73086 no_undefined_flag \
73087 hardcode_libdir_flag_spec \
73088 hardcode_libdir_flag_spec_ld \
73089 hardcode_libdir_separator \
73090 fix_srcfile_path \
73091 exclude_expsyms \
73092 include_expsyms \
73093 file_list_spec \
73094 variables_saved_for_relink \
73095 libname_spec \
73096 library_names_spec \
73097 soname_spec \
73098 install_override_mode \
73099 finish_eval \
73100 old_striplib \
73101 striplib \
73102 compiler_lib_search_dirs \
73103 predep_objects \
73104 postdep_objects \
73105 predeps \
73106 postdeps \
73107 compiler_lib_search_path \
73108 LD_CXX \
73109 reload_flag_CXX \
73110 compiler_CXX \
73111 lt_prog_compiler_no_builtin_flag_CXX \
73112 lt_prog_compiler_wl_CXX \
73113 lt_prog_compiler_pic_CXX \
73114 lt_prog_compiler_static_CXX \
73115 lt_cv_prog_compiler_c_o_CXX \
73116 export_dynamic_flag_spec_CXX \
73117 whole_archive_flag_spec_CXX \
73118 compiler_needs_object_CXX \
73119 with_gnu_ld_CXX \
73120 allow_undefined_flag_CXX \
73121 no_undefined_flag_CXX \
73122 hardcode_libdir_flag_spec_CXX \
73123 hardcode_libdir_flag_spec_ld_CXX \
73124 hardcode_libdir_separator_CXX \
73125 fix_srcfile_path_CXX \
73126 exclude_expsyms_CXX \
73127 include_expsyms_CXX \
73128 file_list_spec_CXX \
73129 compiler_lib_search_dirs_CXX \
73130 predep_objects_CXX \
73131 postdep_objects_CXX \
73132 predeps_CXX \
73133 postdeps_CXX \
73134 compiler_lib_search_path_CXX; do
73135 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73136 *[\\\\\\\`\\"\\\$]*)
73137 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73138 ;;
73139 *)
73140 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73141 ;;
73142 esac
73143 done
73144
73145 # Double-quote double-evaled strings.
73146 for var in reload_cmds \
73147 old_postinstall_cmds \
73148 old_postuninstall_cmds \
73149 old_archive_cmds \
73150 extract_expsyms_cmds \
73151 old_archive_from_new_cmds \
73152 old_archive_from_expsyms_cmds \
73153 archive_cmds \
73154 archive_expsym_cmds \
73155 module_cmds \
73156 module_expsym_cmds \
73157 export_symbols_cmds \
73158 prelink_cmds \
73159 postinstall_cmds \
73160 postuninstall_cmds \
73161 finish_cmds \
73162 sys_lib_search_path_spec \
73163 sys_lib_dlsearch_path_spec \
73164 reload_cmds_CXX \
73165 old_archive_cmds_CXX \
73166 old_archive_from_new_cmds_CXX \
73167 old_archive_from_expsyms_cmds_CXX \
73168 archive_cmds_CXX \
73169 archive_expsym_cmds_CXX \
73170 module_cmds_CXX \
73171 module_expsym_cmds_CXX \
73172 export_symbols_cmds_CXX \
73173 prelink_cmds_CXX; do
73174 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73175 *[\\\\\\\`\\"\\\$]*)
73176 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73177 ;;
73178 *)
73179 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73180 ;;
73181 esac
73182 done
73183
73184 ac_aux_dir='$ac_aux_dir'
73185 xsi_shell='$xsi_shell'
73186 lt_shell_append='$lt_shell_append'
73187
73188 # See if we are running on zsh, and set the options which allow our
73189 # commands through without removal of \ escapes INIT.
73190 if test -n "\${ZSH_VERSION+set}" ; then
73191 setopt NO_GLOB_SUBST
73192 fi
73193
73194
73195 PACKAGE='$PACKAGE'
73196 VERSION='$VERSION'
73197 TIMESTAMP='$TIMESTAMP'
73198 RM='$RM'
73199 ofile='$ofile'
73200
73201
73202
73203
73204
73205
73206 GCC="$GCC"
73207 CC="$CC"
73208 acx_cv_header_stdint="$acx_cv_header_stdint"
73209 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73210 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73211 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73212 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73213 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73214 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73215 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73216 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73217 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73218 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73219 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73220 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73221 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73222
73223
73224 _ACEOF
73225
73226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73227
73228 # Handling of arguments.
73229 for ac_config_target in $ac_config_targets
73230 do
73231 case $ac_config_target in
73232 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73233 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73234 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73235 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73236 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73237 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73238 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73239 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73240 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73241 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73242 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73243 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73244 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73245 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73246 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73247 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73248 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73249
73250 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73251 esac
73252 done
73253
73254
73255 # If the user did not use the arguments to specify the items to instantiate,
73256 # then the envvar interface is used. Set only those that are not.
73257 # We use the long form for the default assignment because of an extremely
73258 # bizarre bug on SunOS 4.1.3.
73259 if $ac_need_defaults; then
73260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73261 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73262 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73263 fi
73264
73265 # Have a temporary directory for convenience. Make it in the build tree
73266 # simply because there is no reason against having it here, and in addition,
73267 # creating and moving files from /tmp can sometimes cause problems.
73268 # Hook for its removal unless debugging.
73269 # Note that there is a small window in which the directory will not be cleaned:
73270 # after its creation but before its name has been assigned to `$tmp'.
73271 $debug ||
73272 {
73273 tmp=
73274 trap 'exit_status=$?
73275 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73276 ' 0
73277 trap 'as_fn_exit 1' 1 2 13 15
73278 }
73279 # Create a (secure) tmp directory for tmp files.
73280
73281 {
73282 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73283 test -n "$tmp" && test -d "$tmp"
73284 } ||
73285 {
73286 tmp=./conf$$-$RANDOM
73287 (umask 077 && mkdir "$tmp")
73288 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73289
73290 # Set up the scripts for CONFIG_FILES section.
73291 # No need to generate them if there are no CONFIG_FILES.
73292 # This happens for instance with `./config.status config.h'.
73293 if test -n "$CONFIG_FILES"; then
73294
73295
73296 ac_cr=`echo X | tr X '\015'`
73297 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73298 # But we know of no other shell where ac_cr would be empty at this
73299 # point, so we can use a bashism as a fallback.
73300 if test "x$ac_cr" = x; then
73301 eval ac_cr=\$\'\\r\'
73302 fi
73303 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73304 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73305 ac_cs_awk_cr='\r'
73306 else
73307 ac_cs_awk_cr=$ac_cr
73308 fi
73309
73310 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73311 _ACEOF
73312
73313
73314 {
73315 echo "cat >conf$$subs.awk <<_ACEOF" &&
73316 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73317 echo "_ACEOF"
73318 } >conf$$subs.sh ||
73319 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73320 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73321 ac_delim='%!_!# '
73322 for ac_last_try in false false false false false :; do
73323 . ./conf$$subs.sh ||
73324 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73325
73326 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73327 if test $ac_delim_n = $ac_delim_num; then
73328 break
73329 elif $ac_last_try; then
73330 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73331 else
73332 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73333 fi
73334 done
73335 rm -f conf$$subs.sh
73336
73337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73338 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73339 _ACEOF
73340 sed -n '
73341 h
73342 s/^/S["/; s/!.*/"]=/
73343 p
73344 g
73345 s/^[^!]*!//
73346 :repl
73347 t repl
73348 s/'"$ac_delim"'$//
73349 t delim
73350 :nl
73351 h
73352 s/\(.\{148\}\).*/\1/
73353 t more1
73354 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73355 p
73356 n
73357 b repl
73358 :more1
73359 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73360 p
73361 g
73362 s/.\{148\}//
73363 t nl
73364 :delim
73365 h
73366 s/\(.\{148\}\).*/\1/
73367 t more2
73368 s/["\\]/\\&/g; s/^/"/; s/$/"/
73369 p
73370 b
73371 :more2
73372 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73373 p
73374 g
73375 s/.\{148\}//
73376 t delim
73377 ' <conf$$subs.awk | sed '
73378 /^[^""]/{
73379 N
73380 s/\n//
73381 }
73382 ' >>$CONFIG_STATUS || ac_write_fail=1
73383 rm -f conf$$subs.awk
73384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73385 _ACAWK
73386 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73387 for (key in S) S_is_set[key] = 1
73388 FS = "\a"
73389
73390 }
73391 {
73392 line = $ 0
73393 nfields = split(line, field, "@")
73394 substed = 0
73395 len = length(field[1])
73396 for (i = 2; i < nfields; i++) {
73397 key = field[i]
73398 keylen = length(key)
73399 if (S_is_set[key]) {
73400 value = S[key]
73401 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73402 len += length(value) + length(field[++i])
73403 substed = 1
73404 } else
73405 len += 1 + keylen
73406 }
73407
73408 print line
73409 }
73410
73411 _ACAWK
73412 _ACEOF
73413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73414 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73415 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73416 else
73417 cat
73418 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73419 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73420 _ACEOF
73421
73422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73424 # trailing colons and then remove the whole line if VPATH becomes empty
73425 # (actually we leave an empty line to preserve line numbers).
73426 if test "x$srcdir" = x.; then
73427 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73428 s/:*\$(srcdir):*/:/
73429 s/:*\${srcdir}:*/:/
73430 s/:*@srcdir@:*/:/
73431 s/^\([^=]*=[ ]*\):*/\1/
73432 s/:*$//
73433 s/^[^=]*=[ ]*$//
73434 }'
73435 fi
73436
73437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73438 fi # test -n "$CONFIG_FILES"
73439
73440 # Set up the scripts for CONFIG_HEADERS section.
73441 # No need to generate them if there are no CONFIG_HEADERS.
73442 # This happens for instance with `./config.status Makefile'.
73443 if test -n "$CONFIG_HEADERS"; then
73444 cat >"$tmp/defines.awk" <<\_ACAWK ||
73445 BEGIN {
73446 _ACEOF
73447
73448 # Transform confdefs.h into an awk script `defines.awk', embedded as
73449 # here-document in config.status, that substitutes the proper values into
73450 # config.h.in to produce config.h.
73451
73452 # Create a delimiter string that does not exist in confdefs.h, to ease
73453 # handling of long lines.
73454 ac_delim='%!_!# '
73455 for ac_last_try in false false :; do
73456 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73457 if test -z "$ac_t"; then
73458 break
73459 elif $ac_last_try; then
73460 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73461 else
73462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73463 fi
73464 done
73465
73466 # For the awk script, D is an array of macro values keyed by name,
73467 # likewise P contains macro parameters if any. Preserve backslash
73468 # newline sequences.
73469
73470 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73471 sed -n '
73472 s/.\{148\}/&'"$ac_delim"'/g
73473 t rset
73474 :rset
73475 s/^[ ]*#[ ]*define[ ][ ]*/ /
73476 t def
73477 d
73478 :def
73479 s/\\$//
73480 t bsnl
73481 s/["\\]/\\&/g
73482 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73483 D["\1"]=" \3"/p
73484 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73485 d
73486 :bsnl
73487 s/["\\]/\\&/g
73488 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73489 D["\1"]=" \3\\\\\\n"\\/p
73490 t cont
73491 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73492 t cont
73493 d
73494 :cont
73495 n
73496 s/.\{148\}/&'"$ac_delim"'/g
73497 t clear
73498 :clear
73499 s/\\$//
73500 t bsnlc
73501 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73502 d
73503 :bsnlc
73504 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73505 b cont
73506 ' <confdefs.h | sed '
73507 s/'"$ac_delim"'/"\\\
73508 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73509
73510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73511 for (key in D) D_is_set[key] = 1
73512 FS = "\a"
73513 }
73514 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73515 line = \$ 0
73516 split(line, arg, " ")
73517 if (arg[1] == "#") {
73518 defundef = arg[2]
73519 mac1 = arg[3]
73520 } else {
73521 defundef = substr(arg[1], 2)
73522 mac1 = arg[2]
73523 }
73524 split(mac1, mac2, "(") #)
73525 macro = mac2[1]
73526 prefix = substr(line, 1, index(line, defundef) - 1)
73527 if (D_is_set[macro]) {
73528 # Preserve the white space surrounding the "#".
73529 print prefix "define", macro P[macro] D[macro]
73530 next
73531 } else {
73532 # Replace #undef with comments. This is necessary, for example,
73533 # in the case of _POSIX_SOURCE, which is predefined and required
73534 # on some systems where configure will not decide to define it.
73535 if (defundef == "undef") {
73536 print "/*", prefix defundef, macro, "*/"
73537 next
73538 }
73539 }
73540 }
73541 { print }
73542 _ACAWK
73543 _ACEOF
73544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73545 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73546 fi # test -n "$CONFIG_HEADERS"
73547
73548
73549 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73550 shift
73551 for ac_tag
73552 do
73553 case $ac_tag in
73554 :[FHLC]) ac_mode=$ac_tag; continue;;
73555 esac
73556 case $ac_mode$ac_tag in
73557 :[FHL]*:*);;
73558 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73559 :[FH]-) ac_tag=-:-;;
73560 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73561 esac
73562 ac_save_IFS=$IFS
73563 IFS=:
73564 set x $ac_tag
73565 IFS=$ac_save_IFS
73566 shift
73567 ac_file=$1
73568 shift
73569
73570 case $ac_mode in
73571 :L) ac_source=$1;;
73572 :[FH])
73573 ac_file_inputs=
73574 for ac_f
73575 do
73576 case $ac_f in
73577 -) ac_f="$tmp/stdin";;
73578 *) # Look for the file first in the build tree, then in the source tree
73579 # (if the path is not absolute). The absolute path cannot be DOS-style,
73580 # because $ac_f cannot contain `:'.
73581 test -f "$ac_f" ||
73582 case $ac_f in
73583 [\\/$]*) false;;
73584 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73585 esac ||
73586 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73587 esac
73588 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73589 as_fn_append ac_file_inputs " '$ac_f'"
73590 done
73591
73592 # Let's still pretend it is `configure' which instantiates (i.e., don't
73593 # use $as_me), people would be surprised to read:
73594 # /* config.h. Generated by config.status. */
73595 configure_input='Generated from '`
73596 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73597 `' by configure.'
73598 if test x"$ac_file" != x-; then
73599 configure_input="$ac_file. $configure_input"
73600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73601 $as_echo "$as_me: creating $ac_file" >&6;}
73602 fi
73603 # Neutralize special characters interpreted by sed in replacement strings.
73604 case $configure_input in #(
73605 *\&* | *\|* | *\\* )
73606 ac_sed_conf_input=`$as_echo "$configure_input" |
73607 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73608 *) ac_sed_conf_input=$configure_input;;
73609 esac
73610
73611 case $ac_tag in
73612 *:-:* | *:-) cat >"$tmp/stdin" \
73613 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73614 esac
73615 ;;
73616 esac
73617
73618 ac_dir=`$as_dirname -- "$ac_file" ||
73619 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73620 X"$ac_file" : 'X\(//\)[^/]' \| \
73621 X"$ac_file" : 'X\(//\)$' \| \
73622 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73623 $as_echo X"$ac_file" |
73624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73625 s//\1/
73626 q
73627 }
73628 /^X\(\/\/\)[^/].*/{
73629 s//\1/
73630 q
73631 }
73632 /^X\(\/\/\)$/{
73633 s//\1/
73634 q
73635 }
73636 /^X\(\/\).*/{
73637 s//\1/
73638 q
73639 }
73640 s/.*/./; q'`
73641 as_dir="$ac_dir"; as_fn_mkdir_p
73642 ac_builddir=.
73643
73644 case "$ac_dir" in
73645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73646 *)
73647 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73648 # A ".." for each directory in $ac_dir_suffix.
73649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73650 case $ac_top_builddir_sub in
73651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73653 esac ;;
73654 esac
73655 ac_abs_top_builddir=$ac_pwd
73656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73657 # for backward compatibility:
73658 ac_top_builddir=$ac_top_build_prefix
73659
73660 case $srcdir in
73661 .) # We are building in place.
73662 ac_srcdir=.
73663 ac_top_srcdir=$ac_top_builddir_sub
73664 ac_abs_top_srcdir=$ac_pwd ;;
73665 [\\/]* | ?:[\\/]* ) # Absolute name.
73666 ac_srcdir=$srcdir$ac_dir_suffix;
73667 ac_top_srcdir=$srcdir
73668 ac_abs_top_srcdir=$srcdir ;;
73669 *) # Relative name.
73670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73671 ac_top_srcdir=$ac_top_build_prefix$srcdir
73672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73673 esac
73674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73675
73676
73677 case $ac_mode in
73678 :F)
73679 #
73680 # CONFIG_FILE
73681 #
73682
73683 case $INSTALL in
73684 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73685 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73686 esac
73687 ac_MKDIR_P=$MKDIR_P
73688 case $MKDIR_P in
73689 [\\/$]* | ?:[\\/]* ) ;;
73690 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73691 esac
73692 _ACEOF
73693
73694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73695 # If the template does not know about datarootdir, expand it.
73696 # FIXME: This hack should be removed a few years after 2.60.
73697 ac_datarootdir_hack=; ac_datarootdir_seen=
73698 ac_sed_dataroot='
73699 /datarootdir/ {
73700 p
73701 q
73702 }
73703 /@datadir@/p
73704 /@docdir@/p
73705 /@infodir@/p
73706 /@localedir@/p
73707 /@mandir@/p'
73708 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73709 *datarootdir*) ac_datarootdir_seen=yes;;
73710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73712 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73713 _ACEOF
73714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73715 ac_datarootdir_hack='
73716 s&@datadir@&$datadir&g
73717 s&@docdir@&$docdir&g
73718 s&@infodir@&$infodir&g
73719 s&@localedir@&$localedir&g
73720 s&@mandir@&$mandir&g
73721 s&\\\${datarootdir}&$datarootdir&g' ;;
73722 esac
73723 _ACEOF
73724
73725 # Neutralize VPATH when `$srcdir' = `.'.
73726 # Shell code in configure.ac might set extrasub.
73727 # FIXME: do we really want to maintain this feature?
73728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73729 ac_sed_extra="$ac_vpsub
73730 $extrasub
73731 _ACEOF
73732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73733 :t
73734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73735 s|@configure_input@|$ac_sed_conf_input|;t t
73736 s&@top_builddir@&$ac_top_builddir_sub&;t t
73737 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73738 s&@srcdir@&$ac_srcdir&;t t
73739 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73740 s&@top_srcdir@&$ac_top_srcdir&;t t
73741 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73742 s&@builddir@&$ac_builddir&;t t
73743 s&@abs_builddir@&$ac_abs_builddir&;t t
73744 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73745 s&@INSTALL@&$ac_INSTALL&;t t
73746 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73747 $ac_datarootdir_hack
73748 "
73749 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73750 || as_fn_error "could not create $ac_file" "$LINENO" 5
73751
73752 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73753 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73756 which seems to be undefined. Please make sure it is defined." >&5
73757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73758 which seems to be undefined. Please make sure it is defined." >&2;}
73759
73760 rm -f "$tmp/stdin"
73761 case $ac_file in
73762 -) cat "$tmp/out" && rm -f "$tmp/out";;
73763 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73764 esac \
73765 || as_fn_error "could not create $ac_file" "$LINENO" 5
73766 ;;
73767 :H)
73768 #
73769 # CONFIG_HEADER
73770 #
73771 if test x"$ac_file" != x-; then
73772 {
73773 $as_echo "/* $configure_input */" \
73774 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73775 } >"$tmp/config.h" \
73776 || as_fn_error "could not create $ac_file" "$LINENO" 5
73777 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73778 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73779 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73780 else
73781 rm -f "$ac_file"
73782 mv "$tmp/config.h" "$ac_file" \
73783 || as_fn_error "could not create $ac_file" "$LINENO" 5
73784 fi
73785 else
73786 $as_echo "/* $configure_input */" \
73787 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73788 || as_fn_error "could not create -" "$LINENO" 5
73789 fi
73790 # Compute "$ac_file"'s index in $config_headers.
73791 _am_arg="$ac_file"
73792 _am_stamp_count=1
73793 for _am_header in $config_headers :; do
73794 case $_am_header in
73795 $_am_arg | $_am_arg:* )
73796 break ;;
73797 * )
73798 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73799 esac
73800 done
73801 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73802 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73803 X"$_am_arg" : 'X\(//\)[^/]' \| \
73804 X"$_am_arg" : 'X\(//\)$' \| \
73805 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73806 $as_echo X"$_am_arg" |
73807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73808 s//\1/
73809 q
73810 }
73811 /^X\(\/\/\)[^/].*/{
73812 s//\1/
73813 q
73814 }
73815 /^X\(\/\/\)$/{
73816 s//\1/
73817 q
73818 }
73819 /^X\(\/\).*/{
73820 s//\1/
73821 q
73822 }
73823 s/.*/./; q'`/stamp-h$_am_stamp_count
73824 ;;
73825
73826 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73827 $as_echo "$as_me: executing $ac_file commands" >&6;}
73828 ;;
73829 esac
73830
73831
73832 case $ac_file$ac_mode in
73833 "default-1":C)
73834 # Only add multilib support code if we just rebuilt the top-level
73835 # Makefile.
73836 case " $CONFIG_FILES " in
73837 *" Makefile "*)
73838 ac_file=Makefile . ${multi_basedir}/config-ml.in
73839 ;;
73840 esac ;;
73841 "libtool":C)
73842
73843 # See if we are running on zsh, and set the options which allow our
73844 # commands through without removal of \ escapes.
73845 if test -n "${ZSH_VERSION+set}" ; then
73846 setopt NO_GLOB_SUBST
73847 fi
73848
73849 cfgfile="${ofile}T"
73850 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73851 $RM "$cfgfile"
73852
73853 cat <<_LT_EOF >> "$cfgfile"
73854 #! $SHELL
73855
73856 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73857 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73858 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73859 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73860 #
73861 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73862 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73863 # Written by Gordon Matzigkeit, 1996
73864 #
73865 # This file is part of GNU Libtool.
73866 #
73867 # GNU Libtool is free software; you can redistribute it and/or
73868 # modify it under the terms of the GNU General Public License as
73869 # published by the Free Software Foundation; either version 2 of
73870 # the License, or (at your option) any later version.
73871 #
73872 # As a special exception to the GNU General Public License,
73873 # if you distribute this file as part of a program or library that
73874 # is built using GNU Libtool, you may include this file under the
73875 # same distribution terms that you use for the rest of that program.
73876 #
73877 # GNU Libtool is distributed in the hope that it will be useful,
73878 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73879 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73880 # GNU General Public License for more details.
73881 #
73882 # You should have received a copy of the GNU General Public License
73883 # along with GNU Libtool; see the file COPYING. If not, a copy
73884 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73885 # obtained by writing to the Free Software Foundation, Inc.,
73886 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73887
73888
73889 # The names of the tagged configurations supported by this script.
73890 available_tags="CXX "
73891
73892 # ### BEGIN LIBTOOL CONFIG
73893
73894 # Which release of libtool.m4 was used?
73895 macro_version=$macro_version
73896 macro_revision=$macro_revision
73897
73898 # Whether or not to build shared libraries.
73899 build_libtool_libs=$enable_shared
73900
73901 # Whether or not to build static libraries.
73902 build_old_libs=$enable_static
73903
73904 # What type of objects to build.
73905 pic_mode=$pic_mode
73906
73907 # Whether or not to optimize for fast installation.
73908 fast_install=$enable_fast_install
73909
73910 # Shell to use when invoking shell scripts.
73911 SHELL=$lt_SHELL
73912
73913 # An echo program that protects backslashes.
73914 ECHO=$lt_ECHO
73915
73916 # The host system.
73917 host_alias=$host_alias
73918 host=$host
73919 host_os=$host_os
73920
73921 # The build system.
73922 build_alias=$build_alias
73923 build=$build
73924 build_os=$build_os
73925
73926 # A sed program that does not truncate output.
73927 SED=$lt_SED
73928
73929 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73930 Xsed="\$SED -e 1s/^X//"
73931
73932 # A grep program that handles long lines.
73933 GREP=$lt_GREP
73934
73935 # An ERE matcher.
73936 EGREP=$lt_EGREP
73937
73938 # A literal string matcher.
73939 FGREP=$lt_FGREP
73940
73941 # A BSD- or MS-compatible name lister.
73942 NM=$lt_NM
73943
73944 # Whether we need soft or hard links.
73945 LN_S=$lt_LN_S
73946
73947 # What is the maximum length of a command?
73948 max_cmd_len=$max_cmd_len
73949
73950 # Object file suffix (normally "o").
73951 objext=$ac_objext
73952
73953 # Executable file suffix (normally "").
73954 exeext=$exeext
73955
73956 # whether the shell understands "unset".
73957 lt_unset=$lt_unset
73958
73959 # turn spaces into newlines.
73960 SP2NL=$lt_lt_SP2NL
73961
73962 # turn newlines into spaces.
73963 NL2SP=$lt_lt_NL2SP
73964
73965 # An object symbol dumper.
73966 OBJDUMP=$lt_OBJDUMP
73967
73968 # Method to check whether dependent libraries are shared objects.
73969 deplibs_check_method=$lt_deplibs_check_method
73970
73971 # Command to use when deplibs_check_method == "file_magic".
73972 file_magic_cmd=$lt_file_magic_cmd
73973
73974 # The archiver.
73975 AR=$lt_AR
73976 AR_FLAGS=$lt_AR_FLAGS
73977
73978 # A symbol stripping program.
73979 STRIP=$lt_STRIP
73980
73981 # Commands used to install an old-style archive.
73982 RANLIB=$lt_RANLIB
73983 old_postinstall_cmds=$lt_old_postinstall_cmds
73984 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73985
73986 # Whether to use a lock for old archive extraction.
73987 lock_old_archive_extraction=$lock_old_archive_extraction
73988
73989 # A C compiler.
73990 LTCC=$lt_CC
73991
73992 # LTCC compiler flags.
73993 LTCFLAGS=$lt_CFLAGS
73994
73995 # Take the output of nm and produce a listing of raw symbols and C names.
73996 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73997
73998 # Transform the output of nm in a proper C declaration.
73999 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74000
74001 # Transform the output of nm in a C name address pair.
74002 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74003
74004 # Transform the output of nm in a C name address pair when lib prefix is needed.
74005 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74006
74007 # The name of the directory that contains temporary libtool files.
74008 objdir=$objdir
74009
74010 # Used to examine libraries when file_magic_cmd begins with "file".
74011 MAGIC_CMD=$MAGIC_CMD
74012
74013 # Must we lock files when doing compilation?
74014 need_locks=$lt_need_locks
74015
74016 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74017 DSYMUTIL=$lt_DSYMUTIL
74018
74019 # Tool to change global to local symbols on Mac OS X.
74020 NMEDIT=$lt_NMEDIT
74021
74022 # Tool to manipulate fat objects and archives on Mac OS X.
74023 LIPO=$lt_LIPO
74024
74025 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74026 OTOOL=$lt_OTOOL
74027
74028 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74029 OTOOL64=$lt_OTOOL64
74030
74031 # Old archive suffix (normally "a").
74032 libext=$libext
74033
74034 # Shared library suffix (normally ".so").
74035 shrext_cmds=$lt_shrext_cmds
74036
74037 # The commands to extract the exported symbol list from a shared archive.
74038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74039
74040 # Variables whose values should be saved in libtool wrapper scripts and
74041 # restored at link time.
74042 variables_saved_for_relink=$lt_variables_saved_for_relink
74043
74044 # Do we need the "lib" prefix for modules?
74045 need_lib_prefix=$need_lib_prefix
74046
74047 # Do we need a version for libraries?
74048 need_version=$need_version
74049
74050 # Library versioning type.
74051 version_type=$version_type
74052
74053 # Shared library runtime path variable.
74054 runpath_var=$runpath_var
74055
74056 # Shared library path variable.
74057 shlibpath_var=$shlibpath_var
74058
74059 # Is shlibpath searched before the hard-coded library search path?
74060 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74061
74062 # Format of library name prefix.
74063 libname_spec=$lt_libname_spec
74064
74065 # List of archive names. First name is the real one, the rest are links.
74066 # The last name is the one that the linker finds with -lNAME
74067 library_names_spec=$lt_library_names_spec
74068
74069 # The coded name of the library, if different from the real name.
74070 soname_spec=$lt_soname_spec
74071
74072 # Permission mode override for installation of shared libraries.
74073 install_override_mode=$lt_install_override_mode
74074
74075 # Command to use after installation of a shared archive.
74076 postinstall_cmds=$lt_postinstall_cmds
74077
74078 # Command to use after uninstallation of a shared archive.
74079 postuninstall_cmds=$lt_postuninstall_cmds
74080
74081 # Commands used to finish a libtool library installation in a directory.
74082 finish_cmds=$lt_finish_cmds
74083
74084 # As "finish_cmds", except a single script fragment to be evaled but
74085 # not shown.
74086 finish_eval=$lt_finish_eval
74087
74088 # Whether we should hardcode library paths into libraries.
74089 hardcode_into_libs=$hardcode_into_libs
74090
74091 # Compile-time system search path for libraries.
74092 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74093
74094 # Run-time system search path for libraries.
74095 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74096
74097 # Whether dlopen is supported.
74098 dlopen_support=$enable_dlopen
74099
74100 # Whether dlopen of programs is supported.
74101 dlopen_self=$enable_dlopen_self
74102
74103 # Whether dlopen of statically linked programs is supported.
74104 dlopen_self_static=$enable_dlopen_self_static
74105
74106 # Commands to strip libraries.
74107 old_striplib=$lt_old_striplib
74108 striplib=$lt_striplib
74109
74110
74111 # The linker used to build libraries.
74112 LD=$lt_LD
74113
74114 # How to create reloadable object files.
74115 reload_flag=$lt_reload_flag
74116 reload_cmds=$lt_reload_cmds
74117
74118 # Commands used to build an old-style archive.
74119 old_archive_cmds=$lt_old_archive_cmds
74120
74121 # A language specific compiler.
74122 CC=$lt_compiler
74123
74124 # Is the compiler the GNU compiler?
74125 with_gcc=$GCC
74126
74127 # Compiler flag to turn off builtin functions.
74128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74129
74130 # How to pass a linker flag through the compiler.
74131 wl=$lt_lt_prog_compiler_wl
74132
74133 # Additional compiler flags for building library objects.
74134 pic_flag=$lt_lt_prog_compiler_pic
74135
74136 # Compiler flag to prevent dynamic linking.
74137 link_static_flag=$lt_lt_prog_compiler_static
74138
74139 # Does compiler simultaneously support -c and -o options?
74140 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74141
74142 # Whether or not to add -lc for building shared libraries.
74143 build_libtool_need_lc=$archive_cmds_need_lc
74144
74145 # Whether or not to disallow shared libs when runtime libs are static.
74146 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74147
74148 # Compiler flag to allow reflexive dlopens.
74149 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74150
74151 # Compiler flag to generate shared objects directly from archives.
74152 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74153
74154 # Whether the compiler copes with passing no objects directly.
74155 compiler_needs_object=$lt_compiler_needs_object
74156
74157 # Create an old-style archive from a shared archive.
74158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74159
74160 # Create a temporary old-style archive to link instead of a shared archive.
74161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74162
74163 # Commands used to build a shared archive.
74164 archive_cmds=$lt_archive_cmds
74165 archive_expsym_cmds=$lt_archive_expsym_cmds
74166
74167 # Commands used to build a loadable module if different from building
74168 # a shared archive.
74169 module_cmds=$lt_module_cmds
74170 module_expsym_cmds=$lt_module_expsym_cmds
74171
74172 # Whether we are building with GNU ld or not.
74173 with_gnu_ld=$lt_with_gnu_ld
74174
74175 # Flag that allows shared libraries with undefined symbols to be built.
74176 allow_undefined_flag=$lt_allow_undefined_flag
74177
74178 # Flag that enforces no undefined symbols.
74179 no_undefined_flag=$lt_no_undefined_flag
74180
74181 # Flag to hardcode \$libdir into a binary during linking.
74182 # This must work even if \$libdir does not exist
74183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74184
74185 # If ld is used when linking, flag to hardcode \$libdir into a binary
74186 # during linking. This must work even if \$libdir does not exist.
74187 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74188
74189 # Whether we need a single "-rpath" flag with a separated argument.
74190 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74191
74192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74193 # DIR into the resulting binary.
74194 hardcode_direct=$hardcode_direct
74195
74196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74197 # DIR into the resulting binary and the resulting library dependency is
74198 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74199 # library is relocated.
74200 hardcode_direct_absolute=$hardcode_direct_absolute
74201
74202 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74203 # into the resulting binary.
74204 hardcode_minus_L=$hardcode_minus_L
74205
74206 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74207 # into the resulting binary.
74208 hardcode_shlibpath_var=$hardcode_shlibpath_var
74209
74210 # Set to "yes" if building a shared library automatically hardcodes DIR
74211 # into the library and all subsequent libraries and executables linked
74212 # against it.
74213 hardcode_automatic=$hardcode_automatic
74214
74215 # Set to yes if linker adds runtime paths of dependent libraries
74216 # to runtime path list.
74217 inherit_rpath=$inherit_rpath
74218
74219 # Whether libtool must link a program against all its dependency libraries.
74220 link_all_deplibs=$link_all_deplibs
74221
74222 # Fix the shell variable \$srcfile for the compiler.
74223 fix_srcfile_path=$lt_fix_srcfile_path
74224
74225 # Set to "yes" if exported symbols are required.
74226 always_export_symbols=$always_export_symbols
74227
74228 # The commands to list exported symbols.
74229 export_symbols_cmds=$lt_export_symbols_cmds
74230
74231 # Symbols that should not be listed in the preloaded symbols.
74232 exclude_expsyms=$lt_exclude_expsyms
74233
74234 # Symbols that must always be exported.
74235 include_expsyms=$lt_include_expsyms
74236
74237 # Commands necessary for linking programs (against libraries) with templates.
74238 prelink_cmds=$lt_prelink_cmds
74239
74240 # Specify filename containing input files.
74241 file_list_spec=$lt_file_list_spec
74242
74243 # How to hardcode a shared library path into an executable.
74244 hardcode_action=$hardcode_action
74245
74246 # The directories searched by this compiler when creating a shared library.
74247 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74248
74249 # Dependencies to place before and after the objects being linked to
74250 # create a shared library.
74251 predep_objects=$lt_predep_objects
74252 postdep_objects=$lt_postdep_objects
74253 predeps=$lt_predeps
74254 postdeps=$lt_postdeps
74255
74256 # The library search path used internally by the compiler when linking
74257 # a shared library.
74258 compiler_lib_search_path=$lt_compiler_lib_search_path
74259
74260 # ### END LIBTOOL CONFIG
74261
74262 _LT_EOF
74263
74264 case $host_os in
74265 aix3*)
74266 cat <<\_LT_EOF >> "$cfgfile"
74267 # AIX sometimes has problems with the GCC collect2 program. For some
74268 # reason, if we set the COLLECT_NAMES environment variable, the problems
74269 # vanish in a puff of smoke.
74270 if test "X${COLLECT_NAMES+set}" != Xset; then
74271 COLLECT_NAMES=
74272 export COLLECT_NAMES
74273 fi
74274 _LT_EOF
74275 ;;
74276 esac
74277
74278
74279 ltmain="$ac_aux_dir/ltmain.sh"
74280
74281
74282 # We use sed instead of cat because bash on DJGPP gets confused if
74283 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74284 # text mode, it properly converts lines to CR/LF. This bash problem
74285 # is reportedly fixed, but why not run on old versions too?
74286 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74287 || (rm -f "$cfgfile"; exit 1)
74288
74289 case $xsi_shell in
74290 yes)
74291 cat << \_LT_EOF >> "$cfgfile"
74292
74293 # func_dirname file append nondir_replacement
74294 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74295 # otherwise set result to NONDIR_REPLACEMENT.
74296 func_dirname ()
74297 {
74298 case ${1} in
74299 */*) func_dirname_result="${1%/*}${2}" ;;
74300 * ) func_dirname_result="${3}" ;;
74301 esac
74302 }
74303
74304 # func_basename file
74305 func_basename ()
74306 {
74307 func_basename_result="${1##*/}"
74308 }
74309
74310 # func_dirname_and_basename file append nondir_replacement
74311 # perform func_basename and func_dirname in a single function
74312 # call:
74313 # dirname: Compute the dirname of FILE. If nonempty,
74314 # add APPEND to the result, otherwise set result
74315 # to NONDIR_REPLACEMENT.
74316 # value returned in "$func_dirname_result"
74317 # basename: Compute filename of FILE.
74318 # value retuned in "$func_basename_result"
74319 # Implementation must be kept synchronized with func_dirname
74320 # and func_basename. For efficiency, we do not delegate to
74321 # those functions but instead duplicate the functionality here.
74322 func_dirname_and_basename ()
74323 {
74324 case ${1} in
74325 */*) func_dirname_result="${1%/*}${2}" ;;
74326 * ) func_dirname_result="${3}" ;;
74327 esac
74328 func_basename_result="${1##*/}"
74329 }
74330
74331 # func_stripname prefix suffix name
74332 # strip PREFIX and SUFFIX off of NAME.
74333 # PREFIX and SUFFIX must not contain globbing or regex special
74334 # characters, hashes, percent signs, but SUFFIX may contain a leading
74335 # dot (in which case that matches only a dot).
74336 func_stripname ()
74337 {
74338 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74339 # positional parameters, so assign one to ordinary parameter first.
74340 func_stripname_result=${3}
74341 func_stripname_result=${func_stripname_result#"${1}"}
74342 func_stripname_result=${func_stripname_result%"${2}"}
74343 }
74344
74345 # func_opt_split
74346 func_opt_split ()
74347 {
74348 func_opt_split_opt=${1%%=*}
74349 func_opt_split_arg=${1#*=}
74350 }
74351
74352 # func_lo2o object
74353 func_lo2o ()
74354 {
74355 case ${1} in
74356 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74357 *) func_lo2o_result=${1} ;;
74358 esac
74359 }
74360
74361 # func_xform libobj-or-source
74362 func_xform ()
74363 {
74364 func_xform_result=${1%.*}.lo
74365 }
74366
74367 # func_arith arithmetic-term...
74368 func_arith ()
74369 {
74370 func_arith_result=$(( $* ))
74371 }
74372
74373 # func_len string
74374 # STRING may not start with a hyphen.
74375 func_len ()
74376 {
74377 func_len_result=${#1}
74378 }
74379
74380 _LT_EOF
74381 ;;
74382 *) # Bourne compatible functions.
74383 cat << \_LT_EOF >> "$cfgfile"
74384
74385 # func_dirname file append nondir_replacement
74386 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74387 # otherwise set result to NONDIR_REPLACEMENT.
74388 func_dirname ()
74389 {
74390 # Extract subdirectory from the argument.
74391 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74392 if test "X$func_dirname_result" = "X${1}"; then
74393 func_dirname_result="${3}"
74394 else
74395 func_dirname_result="$func_dirname_result${2}"
74396 fi
74397 }
74398
74399 # func_basename file
74400 func_basename ()
74401 {
74402 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74403 }
74404
74405
74406 # func_stripname prefix suffix name
74407 # strip PREFIX and SUFFIX off of NAME.
74408 # PREFIX and SUFFIX must not contain globbing or regex special
74409 # characters, hashes, percent signs, but SUFFIX may contain a leading
74410 # dot (in which case that matches only a dot).
74411 # func_strip_suffix prefix name
74412 func_stripname ()
74413 {
74414 case ${2} in
74415 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74416 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74417 esac
74418 }
74419
74420 # sed scripts:
74421 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74422 my_sed_long_arg='1s/^-[^=]*=//'
74423
74424 # func_opt_split
74425 func_opt_split ()
74426 {
74427 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74428 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74429 }
74430
74431 # func_lo2o object
74432 func_lo2o ()
74433 {
74434 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74435 }
74436
74437 # func_xform libobj-or-source
74438 func_xform ()
74439 {
74440 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74441 }
74442
74443 # func_arith arithmetic-term...
74444 func_arith ()
74445 {
74446 func_arith_result=`expr "$@"`
74447 }
74448
74449 # func_len string
74450 # STRING may not start with a hyphen.
74451 func_len ()
74452 {
74453 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74454 }
74455
74456 _LT_EOF
74457 esac
74458
74459 case $lt_shell_append in
74460 yes)
74461 cat << \_LT_EOF >> "$cfgfile"
74462
74463 # func_append var value
74464 # Append VALUE to the end of shell variable VAR.
74465 func_append ()
74466 {
74467 eval "$1+=\$2"
74468 }
74469 _LT_EOF
74470 ;;
74471 *)
74472 cat << \_LT_EOF >> "$cfgfile"
74473
74474 # func_append var value
74475 # Append VALUE to the end of shell variable VAR.
74476 func_append ()
74477 {
74478 eval "$1=\$$1\$2"
74479 }
74480
74481 _LT_EOF
74482 ;;
74483 esac
74484
74485
74486 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74487 || (rm -f "$cfgfile"; exit 1)
74488
74489 mv -f "$cfgfile" "$ofile" ||
74490 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74491 chmod +x "$ofile"
74492
74493
74494 cat <<_LT_EOF >> "$ofile"
74495
74496 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74497
74498 # The linker used to build libraries.
74499 LD=$lt_LD_CXX
74500
74501 # How to create reloadable object files.
74502 reload_flag=$lt_reload_flag_CXX
74503 reload_cmds=$lt_reload_cmds_CXX
74504
74505 # Commands used to build an old-style archive.
74506 old_archive_cmds=$lt_old_archive_cmds_CXX
74507
74508 # A language specific compiler.
74509 CC=$lt_compiler_CXX
74510
74511 # Is the compiler the GNU compiler?
74512 with_gcc=$GCC_CXX
74513
74514 # Compiler flag to turn off builtin functions.
74515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74516
74517 # How to pass a linker flag through the compiler.
74518 wl=$lt_lt_prog_compiler_wl_CXX
74519
74520 # Additional compiler flags for building library objects.
74521 pic_flag=$lt_lt_prog_compiler_pic_CXX
74522
74523 # Compiler flag to prevent dynamic linking.
74524 link_static_flag=$lt_lt_prog_compiler_static_CXX
74525
74526 # Does compiler simultaneously support -c and -o options?
74527 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74528
74529 # Whether or not to add -lc for building shared libraries.
74530 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74531
74532 # Whether or not to disallow shared libs when runtime libs are static.
74533 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74534
74535 # Compiler flag to allow reflexive dlopens.
74536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74537
74538 # Compiler flag to generate shared objects directly from archives.
74539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74540
74541 # Whether the compiler copes with passing no objects directly.
74542 compiler_needs_object=$lt_compiler_needs_object_CXX
74543
74544 # Create an old-style archive from a shared archive.
74545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74546
74547 # Create a temporary old-style archive to link instead of a shared archive.
74548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74549
74550 # Commands used to build a shared archive.
74551 archive_cmds=$lt_archive_cmds_CXX
74552 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74553
74554 # Commands used to build a loadable module if different from building
74555 # a shared archive.
74556 module_cmds=$lt_module_cmds_CXX
74557 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74558
74559 # Whether we are building with GNU ld or not.
74560 with_gnu_ld=$lt_with_gnu_ld_CXX
74561
74562 # Flag that allows shared libraries with undefined symbols to be built.
74563 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74564
74565 # Flag that enforces no undefined symbols.
74566 no_undefined_flag=$lt_no_undefined_flag_CXX
74567
74568 # Flag to hardcode \$libdir into a binary during linking.
74569 # This must work even if \$libdir does not exist
74570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74571
74572 # If ld is used when linking, flag to hardcode \$libdir into a binary
74573 # during linking. This must work even if \$libdir does not exist.
74574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74575
74576 # Whether we need a single "-rpath" flag with a separated argument.
74577 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74578
74579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74580 # DIR into the resulting binary.
74581 hardcode_direct=$hardcode_direct_CXX
74582
74583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74584 # DIR into the resulting binary and the resulting library dependency is
74585 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74586 # library is relocated.
74587 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74588
74589 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74590 # into the resulting binary.
74591 hardcode_minus_L=$hardcode_minus_L_CXX
74592
74593 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74594 # into the resulting binary.
74595 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74596
74597 # Set to "yes" if building a shared library automatically hardcodes DIR
74598 # into the library and all subsequent libraries and executables linked
74599 # against it.
74600 hardcode_automatic=$hardcode_automatic_CXX
74601
74602 # Set to yes if linker adds runtime paths of dependent libraries
74603 # to runtime path list.
74604 inherit_rpath=$inherit_rpath_CXX
74605
74606 # Whether libtool must link a program against all its dependency libraries.
74607 link_all_deplibs=$link_all_deplibs_CXX
74608
74609 # Fix the shell variable \$srcfile for the compiler.
74610 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74611
74612 # Set to "yes" if exported symbols are required.
74613 always_export_symbols=$always_export_symbols_CXX
74614
74615 # The commands to list exported symbols.
74616 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74617
74618 # Symbols that should not be listed in the preloaded symbols.
74619 exclude_expsyms=$lt_exclude_expsyms_CXX
74620
74621 # Symbols that must always be exported.
74622 include_expsyms=$lt_include_expsyms_CXX
74623
74624 # Commands necessary for linking programs (against libraries) with templates.
74625 prelink_cmds=$lt_prelink_cmds_CXX
74626
74627 # Specify filename containing input files.
74628 file_list_spec=$lt_file_list_spec_CXX
74629
74630 # How to hardcode a shared library path into an executable.
74631 hardcode_action=$hardcode_action_CXX
74632
74633 # The directories searched by this compiler when creating a shared library.
74634 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74635
74636 # Dependencies to place before and after the objects being linked to
74637 # create a shared library.
74638 predep_objects=$lt_predep_objects_CXX
74639 postdep_objects=$lt_postdep_objects_CXX
74640 predeps=$lt_predeps_CXX
74641 postdeps=$lt_postdeps_CXX
74642
74643 # The library search path used internally by the compiler when linking
74644 # a shared library.
74645 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74646
74647 # ### END LIBTOOL TAG CONFIG: CXX
74648 _LT_EOF
74649
74650 ;;
74651 "include/gstdint.h":C)
74652 if test "$GCC" = yes; then
74653 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74654 else
74655 echo "/* generated for $CC */" > tmp-stdint.h
74656 fi
74657
74658 sed 's/^ *//' >> tmp-stdint.h <<EOF
74659
74660 #ifndef GCC_GENERATED_STDINT_H
74661 #define GCC_GENERATED_STDINT_H 1
74662
74663 #include <sys/types.h>
74664 EOF
74665
74666 if test "$acx_cv_header_stdint" != stdint.h; then
74667 echo "#include <stddef.h>" >> tmp-stdint.h
74668 fi
74669 if test "$acx_cv_header_stdint" != stddef.h; then
74670 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74671 fi
74672
74673 sed 's/^ *//' >> tmp-stdint.h <<EOF
74674 /* glibc uses these symbols as guards to prevent redefinitions. */
74675 #ifdef __int8_t_defined
74676 #define _INT8_T
74677 #define _INT16_T
74678 #define _INT32_T
74679 #endif
74680 #ifdef __uint32_t_defined
74681 #define _UINT32_T
74682 #endif
74683
74684 EOF
74685
74686 # ----------------- done header, emit basic int types -------------
74687 if test "$acx_cv_header_stdint" = stddef.h; then
74688 sed 's/^ *//' >> tmp-stdint.h <<EOF
74689
74690 #ifndef _UINT8_T
74691 #define _UINT8_T
74692 #ifndef __uint8_t_defined
74693 #define __uint8_t_defined
74694 #ifndef uint8_t
74695 typedef unsigned $acx_cv_type_int8_t uint8_t;
74696 #endif
74697 #endif
74698 #endif
74699
74700 #ifndef _UINT16_T
74701 #define _UINT16_T
74702 #ifndef __uint16_t_defined
74703 #define __uint16_t_defined
74704 #ifndef uint16_t
74705 typedef unsigned $acx_cv_type_int16_t uint16_t;
74706 #endif
74707 #endif
74708 #endif
74709
74710 #ifndef _UINT32_T
74711 #define _UINT32_T
74712 #ifndef __uint32_t_defined
74713 #define __uint32_t_defined
74714 #ifndef uint32_t
74715 typedef unsigned $acx_cv_type_int32_t uint32_t;
74716 #endif
74717 #endif
74718 #endif
74719
74720 #ifndef _INT8_T
74721 #define _INT8_T
74722 #ifndef __int8_t_defined
74723 #define __int8_t_defined
74724 #ifndef int8_t
74725 typedef $acx_cv_type_int8_t int8_t;
74726 #endif
74727 #endif
74728 #endif
74729
74730 #ifndef _INT16_T
74731 #define _INT16_T
74732 #ifndef __int16_t_defined
74733 #define __int16_t_defined
74734 #ifndef int16_t
74735 typedef $acx_cv_type_int16_t int16_t;
74736 #endif
74737 #endif
74738 #endif
74739
74740 #ifndef _INT32_T
74741 #define _INT32_T
74742 #ifndef __int32_t_defined
74743 #define __int32_t_defined
74744 #ifndef int32_t
74745 typedef $acx_cv_type_int32_t int32_t;
74746 #endif
74747 #endif
74748 #endif
74749 EOF
74750 elif test "$ac_cv_type_u_int32_t" = yes; then
74751 sed 's/^ *//' >> tmp-stdint.h <<EOF
74752
74753 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74754 #ifndef _INT8_T
74755 #define _INT8_T
74756 #endif
74757 #ifndef _INT16_T
74758 #define _INT16_T
74759 #endif
74760 #ifndef _INT32_T
74761 #define _INT32_T
74762 #endif
74763
74764 #ifndef _UINT8_T
74765 #define _UINT8_T
74766 #ifndef __uint8_t_defined
74767 #define __uint8_t_defined
74768 #ifndef uint8_t
74769 typedef u_int8_t uint8_t;
74770 #endif
74771 #endif
74772 #endif
74773
74774 #ifndef _UINT16_T
74775 #define _UINT16_T
74776 #ifndef __uint16_t_defined
74777 #define __uint16_t_defined
74778 #ifndef uint16_t
74779 typedef u_int16_t uint16_t;
74780 #endif
74781 #endif
74782 #endif
74783
74784 #ifndef _UINT32_T
74785 #define _UINT32_T
74786 #ifndef __uint32_t_defined
74787 #define __uint32_t_defined
74788 #ifndef uint32_t
74789 typedef u_int32_t uint32_t;
74790 #endif
74791 #endif
74792 #endif
74793 EOF
74794 else
74795 sed 's/^ *//' >> tmp-stdint.h <<EOF
74796
74797 /* Some systems have guard macros to prevent redefinitions, define them. */
74798 #ifndef _INT8_T
74799 #define _INT8_T
74800 #endif
74801 #ifndef _INT16_T
74802 #define _INT16_T
74803 #endif
74804 #ifndef _INT32_T
74805 #define _INT32_T
74806 #endif
74807 #ifndef _UINT8_T
74808 #define _UINT8_T
74809 #endif
74810 #ifndef _UINT16_T
74811 #define _UINT16_T
74812 #endif
74813 #ifndef _UINT32_T
74814 #define _UINT32_T
74815 #endif
74816 EOF
74817 fi
74818
74819 # ------------- done basic int types, emit int64_t types ------------
74820 if test "$ac_cv_type_uint64_t" = yes; then
74821 sed 's/^ *//' >> tmp-stdint.h <<EOF
74822
74823 /* system headers have good uint64_t and int64_t */
74824 #ifndef _INT64_T
74825 #define _INT64_T
74826 #endif
74827 #ifndef _UINT64_T
74828 #define _UINT64_T
74829 #endif
74830 EOF
74831 elif test "$ac_cv_type_u_int64_t" = yes; then
74832 sed 's/^ *//' >> tmp-stdint.h <<EOF
74833
74834 /* system headers have an u_int64_t (and int64_t) */
74835 #ifndef _INT64_T
74836 #define _INT64_T
74837 #endif
74838 #ifndef _UINT64_T
74839 #define _UINT64_T
74840 #ifndef __uint64_t_defined
74841 #define __uint64_t_defined
74842 #ifndef uint64_t
74843 typedef u_int64_t uint64_t;
74844 #endif
74845 #endif
74846 #endif
74847 EOF
74848 elif test -n "$acx_cv_type_int64_t"; then
74849 sed 's/^ *//' >> tmp-stdint.h <<EOF
74850
74851 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74852 #ifndef _INT64_T
74853 #define _INT64_T
74854 #ifndef int64_t
74855 typedef $acx_cv_type_int64_t int64_t;
74856 #endif
74857 #endif
74858 #ifndef _UINT64_T
74859 #define _UINT64_T
74860 #ifndef __uint64_t_defined
74861 #define __uint64_t_defined
74862 #ifndef uint64_t
74863 typedef unsigned $acx_cv_type_int64_t uint64_t;
74864 #endif
74865 #endif
74866 #endif
74867 EOF
74868 else
74869 sed 's/^ *//' >> tmp-stdint.h <<EOF
74870
74871 /* some common heuristics for int64_t, using compiler-specific tests */
74872 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74873 #ifndef _INT64_T
74874 #define _INT64_T
74875 #ifndef __int64_t_defined
74876 #ifndef int64_t
74877 typedef long long int64_t;
74878 #endif
74879 #endif
74880 #endif
74881 #ifndef _UINT64_T
74882 #define _UINT64_T
74883 #ifndef uint64_t
74884 typedef unsigned long long uint64_t;
74885 #endif
74886 #endif
74887
74888 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74889 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74890 does not implement __extension__. But that compiler doesn't define
74891 __GNUC_MINOR__. */
74892 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74893 # define __extension__
74894 # endif
74895
74896 # ifndef _INT64_T
74897 # define _INT64_T
74898 # ifndef int64_t
74899 __extension__ typedef long long int64_t;
74900 # endif
74901 # endif
74902 # ifndef _UINT64_T
74903 # define _UINT64_T
74904 # ifndef uint64_t
74905 __extension__ typedef unsigned long long uint64_t;
74906 # endif
74907 # endif
74908
74909 #elif !defined __STRICT_ANSI__
74910 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74911
74912 # ifndef _INT64_T
74913 # define _INT64_T
74914 # ifndef int64_t
74915 typedef __int64 int64_t;
74916 # endif
74917 # endif
74918 # ifndef _UINT64_T
74919 # define _UINT64_T
74920 # ifndef uint64_t
74921 typedef unsigned __int64 uint64_t;
74922 # endif
74923 # endif
74924 # endif /* compiler */
74925
74926 #endif /* ANSI version */
74927 EOF
74928 fi
74929
74930 # ------------- done int64_t types, emit intptr types ------------
74931 if test "$ac_cv_type_uintptr_t" != yes; then
74932 sed 's/^ *//' >> tmp-stdint.h <<EOF
74933
74934 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74935 #ifndef __uintptr_t_defined
74936 #ifndef uintptr_t
74937 typedef u$acx_cv_type_intptr_t uintptr_t;
74938 #endif
74939 #endif
74940 #ifndef __intptr_t_defined
74941 #ifndef intptr_t
74942 typedef $acx_cv_type_intptr_t intptr_t;
74943 #endif
74944 #endif
74945 EOF
74946 fi
74947
74948 # ------------- done intptr types, emit int_least types ------------
74949 if test "$ac_cv_type_int_least32_t" != yes; then
74950 sed 's/^ *//' >> tmp-stdint.h <<EOF
74951
74952 /* Define int_least types */
74953 typedef int8_t int_least8_t;
74954 typedef int16_t int_least16_t;
74955 typedef int32_t int_least32_t;
74956 #ifdef _INT64_T
74957 typedef int64_t int_least64_t;
74958 #endif
74959
74960 typedef uint8_t uint_least8_t;
74961 typedef uint16_t uint_least16_t;
74962 typedef uint32_t uint_least32_t;
74963 #ifdef _UINT64_T
74964 typedef uint64_t uint_least64_t;
74965 #endif
74966 EOF
74967 fi
74968
74969 # ------------- done intptr types, emit int_fast types ------------
74970 if test "$ac_cv_type_int_fast32_t" != yes; then
74971 sed 's/^ *//' >> tmp-stdint.h <<EOF
74972
74973 /* Define int_fast types. short is often slow */
74974 typedef int8_t int_fast8_t;
74975 typedef int int_fast16_t;
74976 typedef int32_t int_fast32_t;
74977 #ifdef _INT64_T
74978 typedef int64_t int_fast64_t;
74979 #endif
74980
74981 typedef uint8_t uint_fast8_t;
74982 typedef unsigned int uint_fast16_t;
74983 typedef uint32_t uint_fast32_t;
74984 #ifdef _UINT64_T
74985 typedef uint64_t uint_fast64_t;
74986 #endif
74987 EOF
74988 fi
74989
74990 if test "$ac_cv_type_uintmax_t" != yes; then
74991 sed 's/^ *//' >> tmp-stdint.h <<EOF
74992
74993 /* Define intmax based on what we found */
74994 #ifndef intmax_t
74995 #ifdef _INT64_T
74996 typedef int64_t intmax_t;
74997 #else
74998 typedef long intmax_t;
74999 #endif
75000 #endif
75001 #ifndef uintmax_t
75002 #ifdef _UINT64_T
75003 typedef uint64_t uintmax_t;
75004 #else
75005 typedef unsigned long uintmax_t;
75006 #endif
75007 #endif
75008 EOF
75009 fi
75010
75011 sed 's/^ *//' >> tmp-stdint.h <<EOF
75012
75013 #endif /* GCC_GENERATED_STDINT_H */
75014 EOF
75015
75016 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75017 rm -f tmp-stdint.h
75018 else
75019 mv -f tmp-stdint.h include/gstdint.h
75020 fi
75021
75022 ;;
75023 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75024 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75025 "include/Makefile":F) cat > vpsed$$ << \_EOF
75026 s!`test -f '$<' || echo '$(srcdir)/'`!!
75027 _EOF
75028 sed -f vpsed$$ $ac_file > tmp$$
75029 mv tmp$$ $ac_file
75030 rm vpsed$$
75031 echo 'MULTISUBDIR =' >> $ac_file
75032 ml_norecursion=yes
75033 . ${multi_basedir}/config-ml.in
75034 { ml_norecursion=; unset ml_norecursion;}
75035 ;;
75036 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75037 s!`test -f '$<' || echo '$(srcdir)/'`!!
75038 _EOF
75039 sed -f vpsed$$ $ac_file > tmp$$
75040 mv tmp$$ $ac_file
75041 rm vpsed$$
75042 echo 'MULTISUBDIR =' >> $ac_file
75043 ml_norecursion=yes
75044 . ${multi_basedir}/config-ml.in
75045 { ml_norecursion=; unset ml_norecursion;}
75046 ;;
75047 "python/Makefile":F) cat > vpsed$$ << \_EOF
75048 s!`test -f '$<' || echo '$(srcdir)/'`!!
75049 _EOF
75050 sed -f vpsed$$ $ac_file > tmp$$
75051 mv tmp$$ $ac_file
75052 rm vpsed$$
75053 echo 'MULTISUBDIR =' >> $ac_file
75054 ml_norecursion=yes
75055 . ${multi_basedir}/config-ml.in
75056 { ml_norecursion=; unset ml_norecursion;}
75057 ;;
75058 "src/Makefile":F) cat > vpsed$$ << \_EOF
75059 s!`test -f '$<' || echo '$(srcdir)/'`!!
75060 _EOF
75061 sed -f vpsed$$ $ac_file > tmp$$
75062 mv tmp$$ $ac_file
75063 rm vpsed$$
75064 echo 'MULTISUBDIR =' >> $ac_file
75065 ml_norecursion=yes
75066 . ${multi_basedir}/config-ml.in
75067 { ml_norecursion=; unset ml_norecursion;}
75068 ;;
75069 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75070 s!`test -f '$<' || echo '$(srcdir)/'`!!
75071 _EOF
75072 sed -f vpsed$$ $ac_file > tmp$$
75073 mv tmp$$ $ac_file
75074 rm vpsed$$
75075 echo 'MULTISUBDIR =' >> $ac_file
75076 ml_norecursion=yes
75077 . ${multi_basedir}/config-ml.in
75078 { ml_norecursion=; unset ml_norecursion;}
75079 ;;
75080 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75081 s!`test -f '$<' || echo '$(srcdir)/'`!!
75082 _EOF
75083 sed -f vpsed$$ $ac_file > tmp$$
75084 mv tmp$$ $ac_file
75085 rm vpsed$$
75086 echo 'MULTISUBDIR =' >> $ac_file
75087 ml_norecursion=yes
75088 . ${multi_basedir}/config-ml.in
75089 { ml_norecursion=; unset ml_norecursion;}
75090 ;;
75091 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75092 s!`test -f '$<' || echo '$(srcdir)/'`!!
75093 _EOF
75094 sed -f vpsed$$ $ac_file > tmp$$
75095 mv tmp$$ $ac_file
75096 rm vpsed$$
75097 echo 'MULTISUBDIR =' >> $ac_file
75098 ml_norecursion=yes
75099 . ${multi_basedir}/config-ml.in
75100 { ml_norecursion=; unset ml_norecursion;}
75101 ;;
75102 "po/Makefile":F) cat > vpsed$$ << \_EOF
75103 s!`test -f '$<' || echo '$(srcdir)/'`!!
75104 _EOF
75105 sed -f vpsed$$ $ac_file > tmp$$
75106 mv tmp$$ $ac_file
75107 rm vpsed$$
75108 echo 'MULTISUBDIR =' >> $ac_file
75109 ml_norecursion=yes
75110 . ${multi_basedir}/config-ml.in
75111 { ml_norecursion=; unset ml_norecursion;}
75112 ;;
75113 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75114 s!`test -f '$<' || echo '$(srcdir)/'`!!
75115 _EOF
75116 sed -f vpsed$$ $ac_file > tmp$$
75117 mv tmp$$ $ac_file
75118 rm vpsed$$
75119 echo 'MULTISUBDIR =' >> $ac_file
75120 ml_norecursion=yes
75121 . ${multi_basedir}/config-ml.in
75122 { ml_norecursion=; unset ml_norecursion;}
75123 ;;
75124 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75125
75126 esac
75127 done # for ac_tag
75128
75129
75130 as_fn_exit 0
75131 _ACEOF
75132 ac_clean_files=$ac_clean_files_save
75133
75134 test $ac_write_fail = 0 ||
75135 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75136
75137
75138 # configure is writing to config.log, and then calls config.status.
75139 # config.status does its own redirection, appending to config.log.
75140 # Unfortunately, on DOS this fails, as config.log is still kept open
75141 # by configure, so config.status won't be able to write to it; its
75142 # output is simply discarded. So we exec the FD to /dev/null,
75143 # effectively closing config.log, so it can be properly (re)opened and
75144 # appended to by config.status. When coming back to configure, we
75145 # need to make the FD available again.
75146 if test "$no_create" != yes; then
75147 ac_cs_success=:
75148 ac_config_status_args=
75149 test "$silent" = yes &&
75150 ac_config_status_args="$ac_config_status_args --quiet"
75151 exec 5>/dev/null
75152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75153 exec 5>>config.log
75154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75155 # would make configure fail if this is the last instruction.
75156 $ac_cs_success || as_fn_exit $?
75157 fi
75158 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75160 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75161 fi
75162