Fix missing gthr-default.h issue on separate libstdc++ configure
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
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_thread_h
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
954 fi
955
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
960
961 # Accept the important Cygnus configure options, so we can diagnose typos.
962
963 case $ac_dashdash$ac_option in
964 --)
965 ac_dashdash=yes ;;
966
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
971
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
976
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
983
984 --config-cache | -C)
985 cache_file=config.cache ;;
986
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
991
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
998
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1007 *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1014
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1019
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1024
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1049
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1053
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1060
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1065
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1071
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1078
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1083
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1088
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1095
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1100
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1107
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1112
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1116
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1120
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1124
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1133
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1138
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1145
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1152
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1169
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1174
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1179
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1183
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1189
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1200
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1205
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1210
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1217
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1222
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1225
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1228
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1237 *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1244
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1253 *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1260
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1264
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1271
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1278
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281 ;;
1282
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1292
1293 *)
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 ;;
1300
1301 esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1322 do
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1353 fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1382 q
1383 }
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1386 q
1387 }
1388 /^X\(\/\/\)$/{
1389 s//\1/
1390 q
1391 }
1392 /^X\(\/\).*/{
1393 s//\1/
1394 q
1395 }
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1400 fi
1401 else
1402 ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1490
1491 cat <<\_ACEOF
1492
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1510
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1576
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1595
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1711 fi
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722 ac_retval=1
1723 fi
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1786 fi
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797 ac_retval=1
1798 fi
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1824 fi
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=1
1839 fi
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=$ac_status
1916 fi
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974 ;
1975 return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2012 fi
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 ac_retval=1
2024 fi
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2050 fi
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064 ac_retval=1
2065 fi
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 ;;
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 ;;
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2296 fi
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327 ;
2328 return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2338 fi
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2392 {
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2397 }
2398 else
2399 {
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2404 }
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422 fi
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448 return 0;
2449 ;
2450 return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461 return 0;
2462 ;
2463 return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469 eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2487
2488 $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2506
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549 for ac_arg
2550 do
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561 2)
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2574 ;;
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2577 fi
2578 as_fn_append ac_configure_args " '$ac_arg'"
2579 ;;
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2593 {
2594 echo
2595
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2603 (
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2626 *)
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628 ;;
2629 esac |
2630 sort
2631 )
2632 echo
2633
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2641 do
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2649
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2658 do
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2666 fi
2667
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2677 fi
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2744 fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2757 fi
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2782 *)
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2812 fi
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2868 fi
2869 else
2870 multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2905 fi
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3051 fi
3052 ;;
3053
3054 *)
3055
3056 ;;
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3107 *)
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3117 :
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3121 :
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3134 fi
3135 fi
3136 fi
3137 done
3138 done
3139 ;;
3140 esac
3141
3142 done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3156 fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3197 fi
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208 fi
3209
3210 test "$2" = conftest.file
3211 )
3212 then
3213 # Ok.
3214 :
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238 *)
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255 *)
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3352 fi
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3397 fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3430 fi
3431 done
3432 done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447 test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3466 *)
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497 fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3506 fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3643 fi
3644 else
3645 CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671 done
3672 done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687 fi
3688 fi
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3711 fi
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3748 do
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786 test -n "$CC" && break
3787 done
3788 fi
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3792 do
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3813 fi
3814 done
3815 done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 test -n "$ac_ct_CC" && break
3831 done
3832
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3843 fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 fi
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881
3882 int
3883 main ()
3884 {
3885
3886 ;
3887 return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3909
3910 int
3911 main ()
3912 {
3913
3914 ;
3915 return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 ;;
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970 fi
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3977 * )
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984 ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027 fi
4028 fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4147
4148 ;
4149 return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181
4182 int
4183 main ()
4184 {
4185
4186 ;
4187 return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4240 fi
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4267 {
4268 return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324 x)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330 *)
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 do
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4377 fi
4378 done
4379 done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394 test -n "$CXX" && break
4395 done
4396 fi
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4421 fi
4422 done
4423 done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438 test -n "$ac_ct_CXX" && break
4439 done
4440
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4451 fi
4452 fi
4453
4454 fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 fi
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4495
4496 ;
4497 return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529
4530 int
4531 main ()
4532 {
4533
4534 ;
4535 return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560
4561 int
4562 main ()
4563 {
4564
4565 ;
4566 return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4588 fi
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4594 fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4617 fi
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624 do
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646 # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4672 fi
4673
4674 done
4675 ac_cv_prog_CPP=$CPP
4676
4677 fi
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705 # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4771 do
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4783 fi
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 fi
4798 else
4799 ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4837 do
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4849 fi
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 fi
4864 else
4865 ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868 fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4879
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4917 fi
4918
4919
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933 #LN_S='cp -p'
4934
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958 done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5022 fi
5023 else
5024 AS="$ac_cv_prog_AS"
5025 fi
5026
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5048 fi
5049 done
5050 done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5088 fi
5089 done
5090 done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5114 fi
5115 else
5116 AR="$ac_cv_prog_AR"
5117 fi
5118
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5180 fi
5181 done
5182 done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5206 fi
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5230 fi
5231
5232 MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5240
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5354 {
5355 eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358 }
5359 ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366 $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5423 do
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5435 fi
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449 fi
5450 else
5451 ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5502 do
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5514 fi
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 fi
5529 else
5530 ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533 fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576 *)
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5589 ;;
5590 "")
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5593 ;;
5594 *)
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5597 ;;
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5622 ;;
5623 *)
5624 test "$with_gnu_ld" != yes && break
5625 ;;
5626 esac
5627 fi
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5653 ;;
5654 *)
5655 lt_cv_prog_gnu_ld=no
5656 ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5683 fi
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5699 ;;
5700 *)
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5705 ;;
5706 *)
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5709 ;;
5710 esac
5711 ;;
5712 esac
5713 fi
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5731 do
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5752 fi
5753 done
5754 done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769 test -n "$DUMPBIN" && break
5770 done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5775 do
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5796 fi
5797 done
5798 done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5826 fi
5827 fi
5828
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5832 ;;
5833 *)
5834 DUMPBIN=:
5835 ;;
5836 esac
5837 fi
5838
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5841 fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5867 fi
5868 rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 i=0
5880 teststring="ABCD"
5881
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5889 ;;
5890
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5896 ;;
5897
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5907 ;;
5908
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5912 ;;
5913
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5918 ;;
5919
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5928 fi
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932 ;;
5933
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5937 ;;
5938
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5945 #
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5950 fi
5951 ;;
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5954 ;;
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5961 fi
5962 ;;
5963 *)
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5981 do
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992 fi
5993 ;;
5994 esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6056 ;;
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6060 ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092 fi
6093 ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6125 fi
6126 done
6127 done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6165 fi
6166 done
6167 done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6191 fi
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6228 ;;
6229
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6232 ;;
6233
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6238 ;;
6239
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6244 ;;
6245
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6257 fi
6258 ;;
6259
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 ;;
6265
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 ;;
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6283 fi
6284 ;;
6285
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6288 ;;
6289
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6292 ;;
6293
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 ;;
6301 hppa*64*)
6302 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]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304 ;;
6305 *)
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 ;;
6309 esac
6310 ;;
6311
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315 ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6325 ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6330 ;;
6331
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337 fi
6338 ;;
6339
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344 ;;
6345
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 fi
6356 ;;
6357
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 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]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 ;;
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 ;;
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6391 ;;
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 pc)
6396 lt_cv_deplibs_check_method=pass_all
6397 ;;
6398 esac
6399 ;;
6400
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6403 ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6445 fi
6446 done
6447 done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6485 fi
6486 done
6487 done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6511 fi
6512 else
6513 AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6550 fi
6551 done
6552 done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6616 fi
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6649 fi
6650 done
6651 done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6689 fi
6690 done
6691 done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6715 fi
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736 ;;
6737 *)
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739 ;;
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6747 *)
6748 lock_old_archive_extraction=no ;;
6749 esac
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
6782
6783
6784
6785
6786
6787
6788
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6819 ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6822 ;;
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6826 fi
6827 ;;
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6830 ;;
6831 osf*)
6832 symcode='[BCDEGQRST]'
6833 ;;
6834 solaris*)
6835 symcode='[BDRT]'
6836 ;;
6837 sco3.2v5*)
6838 symcode='[DT]'
6839 ;;
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6842 ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6845 ;;
6846 sysv4)
6847 symcode='[DFNSTU]'
6848 ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 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'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899 fi
6900
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6903
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6935 fi
6936
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949 cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6988 fi
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6993 fi
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6996 fi
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999 fi
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7003 fi
7004 rm -rf conftest* conftst*
7005
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7011 fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7069 ;;
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7072 ;;
7073 esac
7074 fi
7075 rm -rf conftest*
7076 ;;
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7089 ;;
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7092 ;;
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7095 ;;
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -n32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7107 ;;
7108 esac
7109 fi
7110 fi
7111 rm -rf conftest*
7112 ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7128 ;;
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7133 ;;
7134 *)
7135 LD="${LD-ld} -m elf_i386"
7136 ;;
7137 esac
7138 ;;
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7141 ;;
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7144 ;;
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7147 ;;
7148 esac
7149 ;;
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7154 ;;
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7157 ;;
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7160 ;;
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7163 ;;
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7166 ;;
7167 esac
7168 ;;
7169 esac
7170 fi
7171 rm -rf conftest*
7172 ;;
7173
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194
7195 int
7196 main ()
7197 {
7198
7199 ;
7200 return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7222 fi
7223 ;;
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236 *)
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7239 fi
7240 ;;
7241 esac
7242 ;;
7243 esac
7244 fi
7245 rm -rf conftest*
7246 ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7341 fi
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7433 fi
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7459 fi
7460 done
7461 done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7499 fi
7500 done
7501 done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7525 fi
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7551 fi
7552 done
7553 done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7591 fi
7592 done
7593 done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7617 fi
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7643 fi
7644 done
7645 done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7683 fi
7684 done
7685 done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7709 fi
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7762 fi
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7765 fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783
7784 int
7785 main ()
7786 {
7787
7788 ;
7789 return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885 ;
7886 return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907 ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924 ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7933 :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965 ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022 enable_win32_dll=no
8023
8024
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8031 *)
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8039 fi
8040 done
8041 IFS="$lt_save_ifs"
8042 ;;
8043 esac
8044 else
8045 enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8062 *)
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8070 fi
8071 done
8072 IFS="$lt_save_ifs"
8073 ;;
8074 esac
8075 else
8076 enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8110 *)
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8118 fi
8119 done
8120 IFS="$lt_save_ifs"
8121 ;;
8122 esac
8123 else
8124 enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8225 fi
8226 ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273 ;;
8274 *)
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8290 :
8291 else
8292 cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304 fi ;;
8305 esac
8306 fi
8307 break
8308 fi
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339 ;;
8340 *)
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8356 :
8357 else
8358 cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370 fi ;;
8371 esac
8372 fi
8373 break
8374 fi
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8378 ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392 else
8393 MAGIC_CMD=:
8394 fi
8395 fi
8396
8397 fi
8398 ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469 *)
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8472
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8503 fi
8504 fi
8505 $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514 :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8534
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8541 fi
8542 lt_prog_compiler_pic='-fPIC'
8543 ;;
8544
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8550 ;;
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556 ;;
8557 esac
8558 ;;
8559
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8562 ;;
8563
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8570 ;;
8571
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8576 ;;
8577
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8582 ;;
8583
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8591 ;;
8592 *)
8593 lt_prog_compiler_pic='-fPIC'
8594 ;;
8595 esac
8596 ;;
8597
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8601 ;;
8602
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8608 ;;
8609
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8614 ;;
8615
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8619 fi
8620 ;;
8621
8622 *)
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625 esac
8626
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8631 ;;
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643 fi
8644 ;;
8645
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8650 ;;
8651
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8659 ;;
8660 *)
8661 lt_prog_compiler_pic='+Z'
8662 ;;
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8666 ;;
8667
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8672 ;;
8673
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8681 ;;
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8688 ;;
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8694 ;;
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8701 ;;
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8706 ;;
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8712 ;;
8713 *)
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8720 ;;
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 ;;
8727 esac
8728 ;;
8729 esac
8730 ;;
8731
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8735 ;;
8736
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8741 ;;
8742
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8747 ;;
8748
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8751 ;;
8752
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8759 *)
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8762 ;;
8763
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8768 ;;
8769
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 ;;
8775
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8780 fi
8781 ;;
8782
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8787 ;;
8788
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8792 ;;
8793
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8797 ;;
8798
8799 *)
8800 lt_prog_compiler_can_build_shared=no
8801 ;;
8802 esac
8803 fi
8804
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8809 ;;
8810 *)
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812 ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8856 fi
8857 fi
8858 $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8904 fi
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8907 fi
8908 fi
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917 :
8918 else
8919 lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8962 fi
8963 fi
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9017 fi
9018 fi
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9053 fi
9054 else
9055 need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9106
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9114 fi
9115 ;;
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9119 ;;
9120 openbsd*)
9121 with_gnu_ld=no
9122 ;;
9123 esac
9124
9125 ld_shlibs=yes
9126
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141 *)
9142 lt_use_gnu_ld_interface=yes
9143 ;;
9144 esac
9145 ;;
9146 *)
9147 lt_use_gnu_ld_interface=yes
9148 ;;
9149 esac
9150 fi
9151
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9155
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9167 fi
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9177
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194 fi
9195 ;;
9196
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9203 ;;
9204 m68k)
9205 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)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9208 ;;
9209 esac
9210 ;;
9211
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9220 fi
9221 ;;
9222
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9242 fi~
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9246 fi
9247 ;;
9248
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9252 ;;
9253
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9267 ;;
9268
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9275 fi
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 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'
9284 tmp_addflag=' $pic_flag'
9285 ;;
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object=yes
9305 ;;
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 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'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322 fi
9323
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336 fi
9337 ;;
9338 esac
9339 else
9340 ld_shlibs=no
9341 fi
9342 ;;
9343
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351 fi
9352 ;;
9353
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9372 fi
9373 ;;
9374
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389 ;;
9390 *)
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9401 fi
9402 ;;
9403 esac
9404 ;;
9405
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9411 ;;
9412
9413 *)
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9428 fi
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9443 fi
9444 ;;
9445
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 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'
9460 else
9461 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'
9462 fi
9463 aix_use_runtimelinking=no
9464
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9473 fi
9474 done
9475 ;;
9476 esac
9477
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9480 fi
9481
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9494
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9504 :
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9514 fi
9515 ;;
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9520 fi
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9532 fi
9533 fi
9534 fi
9535
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551
9552 int
9553 main ()
9554 {
9555
9556 ;
9557 return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9566 p
9567 }
9568 }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594
9595 int
9596 main ()
9597 {
9598
9599 ;
9600 return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9609 p
9610 }
9611 }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9633 fi
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 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'
9637 fi
9638 fi
9639 ;;
9640
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9647 ;;
9648 m68k)
9649 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)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9652 ;;
9653 esac
9654 ;;
9655
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9658 ;;
9659
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9679 ;;
9680
9681 darwin* | rhapsody*)
9682
9683
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 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\"`'
9690 else
9691 whole_archive_flag_spec=''
9692 fi
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 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}"
9704 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}"
9705
9706 else
9707 ld_shlibs=no
9708 fi
9709
9710 ;;
9711
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9716 ;;
9717
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9735 ;;
9736
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 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'
9748 else
9749 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'
9750 fi
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9754
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9759 ;;
9760
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766 fi
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9777 fi
9778 ;;
9779
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 ;;
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 ;;
9789 *)
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 ;;
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 ;;
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800 ;;
9801 *)
9802
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9824 fi
9825 else
9826 lt_cv_prog_compiler__b=yes
9827 fi
9828 fi
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842 ;;
9843 esac
9844 fi
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9853 ;;
9854 *)
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9862 ;;
9863 esac
9864 fi
9865 ;;
9866
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 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'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 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'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 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'
9891 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'
9892 fi
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9898 ;;
9899
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9905 fi
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9917 ;;
9918
9919 *nto* | *qnx*)
9920 ;;
9921
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 ;;
9938 *)
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 ;;
9942 esac
9943 fi
9944 else
9945 ld_shlibs=no
9946 fi
9947 ;;
9948
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 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'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955 ;;
9956
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 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'
9964 fi
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9968 ;;
9969
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9980
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9983 fi
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002 ;;
10003 *)
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 ;;
10009 esac
10010 fi
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10015 *)
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024 fi
10025 ;;
10026 esac
10027 link_all_deplibs=yes
10028 ;;
10029
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037 fi
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10042 ;;
10043
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10049 ;;
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10056 ;;
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060 ;;
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10064 ;;
10065
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10070 ;;
10071
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10079 fi
10080 ;;
10081
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10087
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 fi
10095 ;;
10096
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10113
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 fi
10121 ;;
10122
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10127 ;;
10128
10129 *)
10130 ld_shlibs=no
10131 ;;
10132 esac
10133
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10138 ;;
10139 esac
10140 fi
10141 fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10170
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10175 ;;
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10215 fi
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10219 fi
10220 $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 ;;
10227 esac
10228 fi
10229 ;;
10230 esac
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
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408 ;;
10409 *)
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411 ;;
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423 fi
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10438 }
10439 }
10440 }
10441 }
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10480
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 ;;
10484
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505 :
10506 else
10507 can_build_shared=no
10508 fi
10509 ;;
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 fi
10525 shlibpath_var=LIBPATH
10526 fi
10527 ;;
10528
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 ;;
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10540 ;;
10541 esac
10542 ;;
10543
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10548 ;;
10549
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10562 ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10569
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582 fi'
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10587
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594 ;;
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 ;;
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 ;;
10603 esac
10604 ;;
10605
10606 *)
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608 ;;
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10613 ;;
10614
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628 ;;
10629
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 ;;
10638
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10649 fi
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10656 ;;
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10660 ;;
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10666 ;;
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10670 ;;
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10675 ;;
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10679 ;;
10680 esac
10681 ;;
10682
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10691 ;;
10692
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10704 ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 fi
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 ;;
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 ;;
10739 *)
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 ;;
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10752 ;;
10753
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10764 ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10769 *)
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10783 ;;
10784 *)
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10794 ;;
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10801 ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10806 ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10818
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833
10834 int
10835 main ()
10836 {
10837
10838 ;
10839 return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10851
10852 fi
10853
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10860
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 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' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865 fi
10866
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10874 ;;
10875
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10888 fi
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10892 ;;
10893
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10899 ;;
10900
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10911 ;;
10912
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10929 ;;
10930 *)
10931 shlibpath_overrides_runpath=yes
10932 ;;
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10936 fi
10937 ;;
10938
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10946 ;;
10947
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957 ;;
10958
10959 rdos*)
10960 dynamic_linker=no
10961 ;;
10962
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10974 ;;
10975
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10984 fi
10985 need_version=yes
10986 ;;
10987
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10998 ;;
10999 siemens)
11000 need_lib_prefix=no
11001 ;;
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007 ;;
11008 esac
11009 ;;
11010
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 fi
11018 ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036 ;;
11037 esac
11038 fi
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11040 ;;
11041
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11051 ;;
11052
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 ;;
11059
11060 *)
11061 dynamic_linker=no
11062 ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
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
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11177
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11190 fi
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11221
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11227 ;;
11228
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11232 ;;
11233
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11237 ;;
11238
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290 ;;
11291
11292 *)
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321 ;
11322 return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367 ;
11368 return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409 ;
11410 return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485 ;;
11486 esac
11487
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11492 fi
11493
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11568
11569 if (self)
11570 {
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11573 {
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11576 }
11577 /* dlclose (self); */
11578 }
11579 else
11580 puts (dlerror ());
11581
11582 return status;
11583 }
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11600 fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11674
11675 if (self)
11676 {
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11679 {
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11682 }
11683 /* dlclose (self); */
11684 }
11685 else
11686 puts (dlerror ());
11687
11688 return status;
11689 }
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11706 fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714 fi
11715
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11719 ;;
11720 esac
11721
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11726
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770 fi
11771 ;;
11772 *)
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775 ;;
11776 esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11799
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11808 fi
11809 ;;
11810
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11814 fi
11815 ;;
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11855 do
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11903 fi
11904
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936 # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976 _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12024
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12070 fi
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12075 fi
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12098 fi
12099
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121 *)
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12134 ;;
12135 "")
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12138 ;;
12139 *)
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12142 ;;
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12167 ;;
12168 *)
12169 test "$with_gnu_ld" != yes && break
12170 ;;
12171 esac
12172 fi
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12198 ;;
12199 *)
12200 lt_cv_prog_gnu_ld=no
12201 ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 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'
12219
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12227
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12234 fi
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12238
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245 fi
12246
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12256 fi
12257
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12266 ;;
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12276
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12286 ;;
12287 esac
12288 done
12289 ;;
12290 esac
12291
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12294 fi
12295
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12308
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12318 :
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12328 fi
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12333 fi
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12345 fi
12346 fi
12347 fi
12348
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365
12366 int
12367 main ()
12368 {
12369
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12380 p
12381 }
12382 }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395 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"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 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"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409
12410 int
12411 main ()
12412 {
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12424 p
12425 }
12426 }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12448 fi
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 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'
12453 fi
12454 fi
12455 ;;
12456
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12465 fi
12466 ;;
12467
12468 chorus*)
12469 case $cc_basename in
12470 *)
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12473 ;;
12474 esac
12475 ;;
12476
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12485
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12495 fi~
12496 $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'
12497 else
12498 ld_shlibs_CXX=no
12499 fi
12500 ;;
12501 darwin* | rhapsody*)
12502
12503
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 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\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12512 fi
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 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}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 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}"
12524 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}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 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}"
12527 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}"
12528 fi
12529
12530 else
12531 ld_shlibs_CXX=no
12532 fi
12533
12534 ;;
12535
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12541 ;;
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12546 ;;
12547 *)
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12550 ;;
12551 esac
12552 ;;
12553
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12558 ;;
12559
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12562 ;;
12563
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12568 ;;
12569
12570 gnu*)
12571 ;;
12572
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12576 ;;
12577
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12586
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12591 ;;
12592 aCC*)
12593 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'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12597 #
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 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"'
12603 ;;
12604 *)
12605 if test "$GXX" = yes; then
12606 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'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12610 fi
12611 ;;
12612 esac
12613 ;;
12614
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12619
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12622 ;;
12623 *)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12625 ;;
12626 esac
12627 fi
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12632 ;;
12633 *)
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12639 ;;
12640 esac
12641
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12646 ;;
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 ;;
12655 *)
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 ;;
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12662 #
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 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"'
12668 ;;
12669 *)
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ;;
12679 *)
12680 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'
12681 ;;
12682 esac
12683 fi
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12687 fi
12688 ;;
12689 esac
12690 ;;
12691
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 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'
12704 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'
12705 ;;
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 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'
12711
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717 ;;
12718 *)
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 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'
12722 else
12723 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'
12724 fi
12725 fi
12726 link_all_deplibs_CXX=yes
12727 ;;
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12732 ;;
12733
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 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'
12743 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'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12747 #
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12753
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760 ;;
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 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'
12771 ;;
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12779 ;;
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785 ;;
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $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'
12807 ;;
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 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'
12811 ;;
12812 esac
12813
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 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'
12817 ;;
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12822
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12826
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12830 #
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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'
12836 ;;
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847 fi
12848 ;;
12849 *)
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 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'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 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'
12858 compiler_needs_object_CXX=yes
12859
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12864
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870 ;;
12871 esac
12872 ;;
12873 esac
12874 ;;
12875
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12884 ;;
12885
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12891 ;;
12892 *)
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12895 ;;
12896 esac
12897 ;;
12898
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12906 fi
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909 ;;
12910
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12913 ;;
12914
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12918 ;;
12919
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931 fi
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12935 fi
12936 ;;
12937
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 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'
12947
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12950
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12957 ;;
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12962 ;;
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 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'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969 ;;
12970 *)
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 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'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $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~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 ;;
12979 esac
12980
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 #
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 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"'
12992 ;;
12993 *)
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 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'
12999 ;;
13000 *)
13001 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'
13002 ;;
13003 esac
13004
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13007
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018 esac
13019 ;;
13020
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13024 ;;
13025
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13032 ;;
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038 *)
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13041 ;;
13042 esac
13043 ;;
13044
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $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'
13054
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 *)
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064 ;;
13065 esac
13066 link_all_deplibs_CXX=yes
13067
13068 output_verbose_link_cmd='func_echo_all'
13069
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075 ;;
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082 ;;
13083 *)
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 fi
13108
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112 *)
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114 ;;
13115 esac
13116 fi
13117 ;;
13118 esac
13119 ;;
13120
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13126
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 ;;
13132 *)
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13155
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13164 ;;
13165 *)
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 ;;
13169 esac
13170 ;;
13171
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 *)
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13182 ;;
13183 esac
13184 ;;
13185
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13189 ;;
13190
13191 *)
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13194 ;;
13195 esac
13196
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13203
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13232
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13236
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13239
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13249 fi
13250
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261 fi
13262 ;;
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271 fi
13272 fi
13273 ;;
13274
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13281 fi
13282
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13288 fi
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13294 fi
13295 fi
13296 ;;
13297
13298 *) ;; # Ignore the rest.
13299
13300 esac
13301 done
13302
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13319 ;;
13320
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13325
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13333 ;;
13334 esac
13335
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13338 fi
13339 ;;
13340 esac
13341 ;;
13342
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13353 ;;
13354 esac
13355
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13361 fi
13362 ;;
13363 esac
13364 ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13417
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13424 fi
13425 lt_prog_compiler_pic_CXX='-fPIC'
13426 ;;
13427
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13433 ;;
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439 ;;
13440 esac
13441 ;;
13442
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13445 ;;
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452 ;;
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13457 ;;
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13461 ;;
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13466 ;;
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13470 ;;
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13474 fi
13475 ;;
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13482 ;;
13483 *)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13485 ;;
13486 esac
13487 ;;
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13492 ;;
13493 *)
13494 lt_prog_compiler_pic_CXX='-fPIC'
13495 ;;
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506 fi
13507 ;;
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _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"
13513 ;;
13514 esac
13515 ;;
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13520 ;;
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13531 ;;
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13539 fi
13540 ;;
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13547 ;;
13548 *)
13549 lt_prog_compiler_pic_CXX='+Z'
13550 ;;
13551 esac
13552 ;;
13553 *)
13554 ;;
13555 esac
13556 ;;
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13560 ;;
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13567 ;;
13568 *)
13569 ;;
13570 esac
13571 ;;
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13578 ;;
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13584 ;;
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13591 ;;
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13597 ;;
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13604 ;;
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13610 ;;
13611 *)
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13618 ;;
13619 esac
13620 ;;
13621 esac
13622 ;;
13623 lynxos*)
13624 ;;
13625 m88k*)
13626 ;;
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13631 ;;
13632 *)
13633 ;;
13634 esac
13635 ;;
13636 netbsd*)
13637 ;;
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13642 ;;
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13647 ;;
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13651 ;;
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13659 ;;
13660 *)
13661 ;;
13662 esac
13663 ;;
13664 psos*)
13665 ;;
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13673 ;;
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13688 ;;
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13692 ;;
13693 *)
13694 ;;
13695 esac
13696 ;;
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13703 ;;
13704 esac
13705 ;;
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 ;;
13712 *)
13713 ;;
13714 esac
13715 ;;
13716 vxworks*)
13717 ;;
13718 *)
13719 lt_prog_compiler_can_build_shared_CXX=no
13720 ;;
13721 esac
13722 fi
13723
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13728 ;;
13729 *)
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731 ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13772 fi
13773 fi
13774 $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13817 fi
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13820 fi
13821 fi
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830 :
13831 else
13832 lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13872 fi
13873 fi
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13924 fi
13925 fi
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13960 fi
13961 else
13962 need_locks=no
13963 fi
13964
13965
13966
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 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'
13979 else
13980 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'
13981 fi
13982 ;;
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13985 ;;
13986 cygwin* | mingw* | cegcc*)
13987 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'
13988 ;;
13989 *)
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 ;;
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14013
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14018 ;;
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14058 fi
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14062 fi
14063 $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069 ;;
14070 esac
14071 fi
14072 ;;
14073 esac
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
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14166
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 ;;
14170
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191 :
14192 else
14193 can_build_shared=no
14194 fi
14195 ;;
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 fi
14211 shlibpath_var=LIBPATH
14212 fi
14213 ;;
14214
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 ;;
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 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'
14226 ;;
14227 esac
14228 ;;
14229
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14234 ;;
14235
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14248 ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14255
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 fi'
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14273
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279 ;;
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283 ;;
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 ;;
14288 esac
14289 ;;
14290
14291 *)
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293 ;;
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14298 ;;
14299
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312 ;;
14313
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14321 ;;
14322
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14333 fi
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14340 ;;
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14344 ;;
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14350 ;;
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14354 ;;
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14359 ;;
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14363 ;;
14364 esac
14365 ;;
14366
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14375 ;;
14376
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14388 ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409 fi
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411 ;;
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422 ;;
14423 *)
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14430 ;;
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14436 ;;
14437
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14448 ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14453 *)
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14467 ;;
14468 *)
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14478 ;;
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14485 ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14490 ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14502
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517
14518 int
14519 main ()
14520 {
14521
14522 ;
14523 return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14535
14536 fi
14537
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14544
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 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' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549 fi
14550
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14558 ;;
14559
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14572 fi
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14576 ;;
14577
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14583 ;;
14584
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14595 ;;
14596
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14613 ;;
14614 *)
14615 shlibpath_overrides_runpath=yes
14616 ;;
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14620 fi
14621 ;;
14622
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14630 ;;
14631
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641 ;;
14642
14643 rdos*)
14644 dynamic_linker=no
14645 ;;
14646
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14658 ;;
14659
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14668 fi
14669 need_version=yes
14670 ;;
14671
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14682 ;;
14683 siemens)
14684 need_lib_prefix=no
14685 ;;
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691 ;;
14692 esac
14693 ;;
14694
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 fi
14702 ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720 ;;
14721 esac
14722 fi
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14724 ;;
14725
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14735 ;;
14736
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 ;;
14743
14744 *)
14745 dynamic_linker=no
14746 ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14820 fi
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845 fi # test -n "$compiler"
14846
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876 ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897 fi
14898 ;;
14899 *)
14900 lt_host_flags=
14901 ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14947
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14955 ;;
14956 *)
14957 enable_hosted_libstdcxx=yes
14958 ;;
14959 esac
14960 fi
14961
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14972 fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14988 fi
14989
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14996 fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15022
15023 else
15024 enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15033 #
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041 S s;
15042 bar();
15043 }
15044 EOF
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15058 fi
15059 fi
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15062 fi
15063
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071 ac_exception_model_name=sjlj
15072 ;;
15073 no)
15074 ac_exception_model_name="call frame"
15075 ;;
15076 *)
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15078 ;;
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15097
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15128 fi
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142 fi
15143
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15154 fi
15155
15156
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 glibcxx_thread_h=gthr-$target_thread_file.h
15165
15166
15167
15168
15169 ac_ext=cpp
15170 ac_cpp='$CXXCPP $CPPFLAGS'
15171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15174
15175 old_CXXFLAGS="$CXXFLAGS"
15176
15177 # Do link tests if possible, instead asm tests, limited to some platforms
15178 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15179 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15180 atomic_builtins_link_tests=no
15181 if test x$gcc_no_link != xyes; then
15182 # Can do link tests. Limit to some tested platforms
15183 case "$host" in
15184 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15185 atomic_builtins_link_tests=yes
15186 ;;
15187 esac
15188 fi
15189
15190 if test x$atomic_builtins_link_tests = xyes; then
15191
15192 # Do link tests.
15193
15194 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15195
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15197 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15198 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15199 $as_echo_n "(cached) " >&6
15200 else
15201
15202 if test x$gcc_no_link = xyes; then
15203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15204 fi
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207
15208 int
15209 main ()
15210 {
15211 typedef bool atomic_type;
15212 atomic_type c1;
15213 atomic_type c2;
15214 atomic_type c3(0);
15215 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15216 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15217 __ATOMIC_RELAXED);
15218 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15219 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15220
15221 ;
15222 return 0;
15223 }
15224 _ACEOF
15225 if ac_fn_cxx_try_link "$LINENO"; then :
15226 glibcxx_cv_atomic_bool=yes
15227 else
15228 glibcxx_cv_atomic_bool=no
15229 fi
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232
15233 fi
15234
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15236 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15237
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15239 $as_echo_n "checking for atomic builtins for short... " >&6; }
15240 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15243
15244 if test x$gcc_no_link = xyes; then
15245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15246 fi
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249
15250 int
15251 main ()
15252 {
15253 typedef short atomic_type;
15254 atomic_type c1;
15255 atomic_type c2;
15256 atomic_type c3(0);
15257 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15258 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15259 __ATOMIC_RELAXED);
15260 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15261 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15262
15263 ;
15264 return 0;
15265 }
15266 _ACEOF
15267 if ac_fn_cxx_try_link "$LINENO"; then :
15268 glibcxx_cv_atomic_short=yes
15269 else
15270 glibcxx_cv_atomic_short=no
15271 fi
15272 rm -f core conftest.err conftest.$ac_objext \
15273 conftest$ac_exeext conftest.$ac_ext
15274
15275 fi
15276
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15278 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15279
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15281 $as_echo_n "checking for atomic builtins for int... " >&6; }
15282 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15285
15286 if test x$gcc_no_link = xyes; then
15287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15288 fi
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291
15292 int
15293 main ()
15294 {
15295 typedef int atomic_type;
15296 atomic_type c1;
15297 atomic_type c2;
15298 atomic_type c3(0);
15299 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15300 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15301 __ATOMIC_RELAXED);
15302 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15303 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15304
15305 ;
15306 return 0;
15307 }
15308 _ACEOF
15309 if ac_fn_cxx_try_link "$LINENO"; then :
15310 glibcxx_cv_atomic_int=yes
15311 else
15312 glibcxx_cv_atomic_int=no
15313 fi
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15316
15317 fi
15318
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15320 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15321
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15323 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15324 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15325 $as_echo_n "(cached) " >&6
15326 else
15327
15328 if test x$gcc_no_link = xyes; then
15329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15330 fi
15331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15333
15334 int
15335 main ()
15336 {
15337 typedef long long 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 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 if ac_fn_cxx_try_link "$LINENO"; then :
15352 glibcxx_cv_atomic_long_long=yes
15353 else
15354 glibcxx_cv_atomic_long_long=no
15355 fi
15356 rm -f core conftest.err conftest.$ac_objext \
15357 conftest$ac_exeext conftest.$ac_ext
15358
15359 fi
15360
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15362 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15363
15364 else
15365
15366 # Do asm tests.
15367
15368 # Compile unoptimized.
15369 CXXFLAGS='-O0 -S'
15370
15371 # Fake what AC_TRY_COMPILE does.
15372
15373 cat > conftest.$ac_ext << EOF
15374 #line 15374 "configure"
15375 int main()
15376 {
15377 typedef bool atomic_type;
15378 atomic_type c1;
15379 atomic_type c2;
15380 atomic_type c3(0);
15381 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15382 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15383 __ATOMIC_RELAXED);
15384 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15385 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15386
15387 return 0;
15388 }
15389 EOF
15390
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15392 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15394 (eval $ac_compile) 2>&5
15395 ac_status=$?
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; }; then
15398 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15399 glibcxx_cv_atomic_bool=no
15400 else
15401 glibcxx_cv_atomic_bool=yes
15402 fi
15403 fi
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15405 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15406 rm -f conftest*
15407
15408 cat > conftest.$ac_ext << EOF
15409 #line 15409 "configure"
15410 int main()
15411 {
15412 typedef short atomic_type;
15413 atomic_type c1;
15414 atomic_type c2;
15415 atomic_type c3(0);
15416 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15417 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15418 __ATOMIC_RELAXED);
15419 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15420 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15421
15422 return 0;
15423 }
15424 EOF
15425
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15427 $as_echo_n "checking for atomic builtins for short... " >&6; }
15428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15429 (eval $ac_compile) 2>&5
15430 ac_status=$?
15431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15432 test $ac_status = 0; }; then
15433 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15434 glibcxx_cv_atomic_short=no
15435 else
15436 glibcxx_cv_atomic_short=yes
15437 fi
15438 fi
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15440 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15441 rm -f conftest*
15442
15443 cat > conftest.$ac_ext << EOF
15444 #line 15444 "configure"
15445 int main()
15446 {
15447 // NB: _Atomic_word not necessarily int.
15448 typedef int atomic_type;
15449 atomic_type c1;
15450 atomic_type c2;
15451 atomic_type c3(0);
15452 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15453 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15454 __ATOMIC_RELAXED);
15455 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15456 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15457
15458 return 0;
15459 }
15460 EOF
15461
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15463 $as_echo_n "checking for atomic builtins for int... " >&6; }
15464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15465 (eval $ac_compile) 2>&5
15466 ac_status=$?
15467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15468 test $ac_status = 0; }; then
15469 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15470 glibcxx_cv_atomic_int=no
15471 else
15472 glibcxx_cv_atomic_int=yes
15473 fi
15474 fi
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15476 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15477 rm -f conftest*
15478
15479 cat > conftest.$ac_ext << EOF
15480 #line 15480 "configure"
15481 int main()
15482 {
15483 typedef long long atomic_type;
15484 atomic_type c1;
15485 atomic_type c2;
15486 atomic_type c3(0);
15487 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15488 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15489 __ATOMIC_RELAXED);
15490 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15491 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15492
15493 return 0;
15494 }
15495 EOF
15496
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15498 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15500 (eval $ac_compile) 2>&5
15501 ac_status=$?
15502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15503 test $ac_status = 0; }; then
15504 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15505 glibcxx_cv_atomic_long_long=no
15506 else
15507 glibcxx_cv_atomic_long_long=yes
15508 fi
15509 fi
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15511 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15512 rm -f conftest*
15513
15514 fi
15515
15516 CXXFLAGS="$old_CXXFLAGS"
15517 ac_ext=c
15518 ac_cpp='$CPP $CPPFLAGS'
15519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15522
15523
15524 # Set atomicity_dir to builtins if all but the long long test above passes.
15525 if test $glibcxx_cv_atomic_bool = yes \
15526 && test $glibcxx_cv_atomic_short = yes \
15527 && test $glibcxx_cv_atomic_int = yes; then
15528
15529 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15530
15531 atomicity_dir=cpu/generic/atomicity_builtins
15532 fi
15533
15534 # If still generic, set to mutex.
15535 if test $atomicity_dir = "cpu/generic" ; then
15536 atomicity_dir=cpu/generic/atomicity_mutex
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15538 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15539 if test "x$target_thread_file" = xsingle; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15541 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15543 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15544 else
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15546 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15548 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15549 fi
15550 fi
15551
15552
15553
15554
15555 # Fake what AC_TRY_COMPILE does, without linking as this is
15556 # unnecessary for this test.
15557
15558 cat > conftest.$ac_ext << EOF
15559 #line 15559 "configure"
15560 int main()
15561 {
15562 _Decimal32 d1;
15563 _Decimal64 d2;
15564 _Decimal128 d3;
15565 return 0;
15566 }
15567 EOF
15568
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15570 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15572 (eval $ac_compile) 2>&5
15573 ac_status=$?
15574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15575 test $ac_status = 0; }; then
15576
15577 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15578
15579 enable_dfp=yes
15580 else
15581 enable_dfp=no
15582 fi
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15584 $as_echo "$enable_dfp" >&6; }
15585 rm -f conftest*
15586
15587
15588
15589
15590 ac_ext=cpp
15591 ac_cpp='$CXXCPP $CPPFLAGS'
15592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15595
15596
15597 # Fake what AC_TRY_COMPILE does, without linking as this is
15598 # unnecessary for this test.
15599
15600 cat > conftest.$ac_ext << EOF
15601 #line 15601 "configure"
15602 template<typename T1, typename T2>
15603 struct same
15604 { typedef T2 type; };
15605
15606 template<typename T>
15607 struct same<T, T>;
15608
15609 int main()
15610 {
15611 typename same<long, __int128>::type i1;
15612 typename same<long long, __int128>::type i2;
15613 }
15614 EOF
15615
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15617 $as_echo_n "checking for __int128... " >&6; }
15618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15619 (eval $ac_compile) 2>&5
15620 ac_status=$?
15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622 test $ac_status = 0; }; then
15623
15624 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15625
15626 enable_int128=yes
15627 else
15628 enable_int128=no
15629 fi
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15631 $as_echo "$enable_int128" >&6; }
15632 rm -f conftest*
15633
15634 cat > conftest.$ac_ext << EOF
15635 #line 15635 "configure"
15636 template<typename T1, typename T2>
15637 struct same
15638 { typedef T2 type; };
15639
15640 template<typename T>
15641 struct same<T, T>;
15642
15643 int main()
15644 {
15645 typename same<double, __float128>::type f1;
15646 typename same<long double, __float128>::type f2;
15647 }
15648 EOF
15649
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15651 $as_echo_n "checking for __float128... " >&6; }
15652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15653 (eval $ac_compile) 2>&5
15654 ac_status=$?
15655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15656 test $ac_status = 0; }; then
15657
15658 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15659
15660 enable_float128=yes
15661 else
15662 enable_float128=no
15663 fi
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15665 $as_echo "$enable_float128" >&6; }
15666 rm -f conftest*
15667
15668 ac_ext=c
15669 ac_cpp='$CPP $CPPFLAGS'
15670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673
15674
15675
15676 # Checks for compiler support that doesn't require linking.
15677
15678 # All these tests are for C++; save the language and the compiler flags.
15679 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15680 # found in GLIBCXX_CONFIGURE.
15681
15682 ac_ext=cpp
15683 ac_cpp='$CXXCPP $CPPFLAGS'
15684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15687
15688 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15689 ac_save_CXXFLAGS="$CXXFLAGS"
15690
15691 # Check for maintainer-mode bits.
15692 if test x"$USE_MAINTAINER_MODE" = xno; then
15693 WERROR=''
15694 else
15695 WERROR='-Werror'
15696 fi
15697
15698 # Check for -ffunction-sections -fdata-sections
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15700 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15701 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15704 int foo; void bar() { };
15705 int
15706 main ()
15707 {
15708
15709 ;
15710 return 0;
15711 }
15712 _ACEOF
15713 if ac_fn_cxx_try_compile "$LINENO"; then :
15714 ac_fdsections=yes
15715 else
15716 ac_fdsections=no
15717 fi
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 if test "$ac_test_CXXFLAGS" = set; then
15720 CXXFLAGS="$ac_save_CXXFLAGS"
15721 else
15722 # this is the suspicious part
15723 CXXFLAGS=''
15724 fi
15725 if test x"$ac_fdsections" = x"yes"; then
15726 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15727 fi
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15729 $as_echo "$ac_fdsections" >&6; }
15730
15731 ac_ext=c
15732 ac_cpp='$CPP $CPPFLAGS'
15733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15736
15737
15738
15739
15740
15741 # Enable all the variable C++ runtime options that don't require linking.
15742
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15744 $as_echo_n "checking for underlying I/O to use... " >&6; }
15745 # Check whether --enable-cstdio was given.
15746 if test "${enable_cstdio+set}" = set; then :
15747 enableval=$enable_cstdio;
15748 case "$enableval" in
15749 stdio) ;;
15750 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15751 esac
15752
15753 else
15754 enable_cstdio=stdio
15755 fi
15756
15757
15758
15759 # Now that libio has been removed, you can have any color you want as long
15760 # as it's black. This is one big no-op until other packages are added, but
15761 # showing the framework never hurts.
15762 case ${enable_cstdio} in
15763 stdio)
15764 CSTDIO_H=config/io/c_io_stdio.h
15765 BASIC_FILE_H=config/io/basic_file_stdio.h
15766 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15768 $as_echo "stdio" >&6; }
15769 ;;
15770 esac
15771
15772
15773
15774
15775
15776
15777 # Check whether --enable-clocale was given.
15778 if test "${enable_clocale+set}" = set; then :
15779 enableval=$enable_clocale;
15780 case "$enableval" in
15781 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15782 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15783 esac
15784
15785 else
15786 enable_clocale=auto
15787 fi
15788
15789
15790
15791 # Deal with gettext issues. Default to not using it (=no) until we detect
15792 # support for it later. Let the user turn it off via --e/d, but let that
15793 # default to on for easier handling.
15794 USE_NLS=no
15795 # Check whether --enable-nls was given.
15796 if test "${enable_nls+set}" = set; then :
15797 enableval=$enable_nls;
15798 else
15799 enable_nls=yes
15800 fi
15801
15802
15803 # Either a known package, or "auto"
15804 if test $enable_clocale = no || test $enable_clocale = yes; then
15805 enable_clocale=auto
15806 fi
15807 enable_clocale_flag=$enable_clocale
15808
15809 # Probe for locale model to use if none specified.
15810 # Default to "generic".
15811 if test $enable_clocale_flag = auto; then
15812 case ${target_os} in
15813 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15814 enable_clocale_flag=gnu
15815 ;;
15816 darwin* | freebsd*)
15817 enable_clocale_flag=darwin
15818 ;;
15819 *)
15820 if test x"$with_newlib" = x"yes"; then
15821 enable_clocale_flag=newlib
15822 else
15823 enable_clocale_flag=generic
15824 fi
15825 ;;
15826 esac
15827 fi
15828
15829 # Sanity check model, and test for special functionality.
15830 if test $enable_clocale_flag = gnu; then
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833
15834 #include <features.h>
15835 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15836 _GLIBCXX_ok
15837 #endif
15838
15839 _ACEOF
15840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15841 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15842 enable_clocale_flag=gnu
15843 else
15844 enable_clocale_flag=generic
15845 fi
15846 rm -f conftest*
15847
15848
15849 # Set it to scream when it hurts.
15850 ac_save_CFLAGS="$CFLAGS"
15851 CFLAGS="-Wimplicit-function-declaration -Werror"
15852
15853 # Use strxfrm_l if available.
15854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15856 #define _GNU_SOURCE 1
15857 #include <string.h>
15858 #include <locale.h>
15859 int
15860 main ()
15861 {
15862 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15863 ;
15864 return 0;
15865 }
15866 _ACEOF
15867 if ac_fn_c_try_compile "$LINENO"; then :
15868
15869 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15870
15871 fi
15872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15873
15874 # Use strerror_l if available.
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #define _GNU_SOURCE 1
15878 #include <string.h>
15879 #include <locale.h>
15880 int
15881 main ()
15882 {
15883 __locale_t loc; strerror_l(5, loc);
15884 ;
15885 return 0;
15886 }
15887 _ACEOF
15888 if ac_fn_c_try_compile "$LINENO"; then :
15889
15890 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15891
15892 fi
15893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894
15895 CFLAGS="$ac_save_CFLAGS"
15896 fi
15897
15898 # Perhaps use strerror_r if available, and strerror_l isn't.
15899 ac_save_CFLAGS="$CFLAGS"
15900 CFLAGS="-Wimplicit-function-declaration -Werror"
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15906 int
15907 main ()
15908 {
15909 char s[128]; strerror_r(5, s, 128);
15910 ;
15911 return 0;
15912 }
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15915
15916 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15917
15918 fi
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920 CFLAGS="$ac_save_CFLAGS"
15921
15922 # Set configure bits for specified locale package
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15924 $as_echo_n "checking for C locale to use... " >&6; }
15925 case ${enable_clocale_flag} in
15926 generic)
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15928 $as_echo "generic" >&6; }
15929
15930 CLOCALE_H=config/locale/generic/c_locale.h
15931 CLOCALE_CC=config/locale/generic/c_locale.cc
15932 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15933 CCOLLATE_CC=config/locale/generic/collate_members.cc
15934 CCTYPE_CC=config/locale/generic/ctype_members.cc
15935 CMESSAGES_H=config/locale/generic/messages_members.h
15936 CMESSAGES_CC=config/locale/generic/messages_members.cc
15937 CMONEY_CC=config/locale/generic/monetary_members.cc
15938 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15939 CTIME_H=config/locale/generic/time_members.h
15940 CTIME_CC=config/locale/generic/time_members.cc
15941 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15942 ;;
15943 darwin)
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15945 $as_echo "darwin or freebsd" >&6; }
15946
15947 CLOCALE_H=config/locale/generic/c_locale.h
15948 CLOCALE_CC=config/locale/generic/c_locale.cc
15949 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15950 CCOLLATE_CC=config/locale/generic/collate_members.cc
15951 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15952 CMESSAGES_H=config/locale/generic/messages_members.h
15953 CMESSAGES_CC=config/locale/generic/messages_members.cc
15954 CMONEY_CC=config/locale/generic/monetary_members.cc
15955 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15956 CTIME_H=config/locale/generic/time_members.h
15957 CTIME_CC=config/locale/generic/time_members.cc
15958 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15959 ;;
15960
15961 gnu)
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15963 $as_echo "gnu" >&6; }
15964
15965 # Declare intention to use gettext, and add support for specific
15966 # languages.
15967 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15968 ALL_LINGUAS="de fr"
15969
15970 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15971 # Extract the first word of "msgfmt", so it can be a program name with args.
15972 set dummy msgfmt; ac_word=$2
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15974 $as_echo_n "checking for $ac_word... " >&6; }
15975 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15976 $as_echo_n "(cached) " >&6
15977 else
15978 if test -n "$check_msgfmt"; then
15979 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15980 else
15981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15982 for as_dir in $PATH
15983 do
15984 IFS=$as_save_IFS
15985 test -z "$as_dir" && as_dir=.
15986 for ac_exec_ext in '' $ac_executable_extensions; do
15987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15988 ac_cv_prog_check_msgfmt="yes"
15989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15990 break 2
15991 fi
15992 done
15993 done
15994 IFS=$as_save_IFS
15995
15996 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15997 fi
15998 fi
15999 check_msgfmt=$ac_cv_prog_check_msgfmt
16000 if test -n "$check_msgfmt"; then
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16002 $as_echo "$check_msgfmt" >&6; }
16003 else
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16005 $as_echo "no" >&6; }
16006 fi
16007
16008
16009 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16010 USE_NLS=yes
16011 fi
16012 # Export the build objects.
16013 for ling in $ALL_LINGUAS; do \
16014 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16015 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16016 done
16017
16018
16019
16020 CLOCALE_H=config/locale/gnu/c_locale.h
16021 CLOCALE_CC=config/locale/gnu/c_locale.cc
16022 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16023 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16024 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16025 CMESSAGES_H=config/locale/gnu/messages_members.h
16026 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16027 CMONEY_CC=config/locale/gnu/monetary_members.cc
16028 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16029 CTIME_H=config/locale/gnu/time_members.h
16030 CTIME_CC=config/locale/gnu/time_members.cc
16031 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16032 ;;
16033 ieee_1003.1-2001)
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16035 $as_echo "IEEE 1003.1" >&6; }
16036
16037 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16038 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16039 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16040 CCOLLATE_CC=config/locale/generic/collate_members.cc
16041 CCTYPE_CC=config/locale/generic/ctype_members.cc
16042 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16043 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16044 CMONEY_CC=config/locale/generic/monetary_members.cc
16045 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16046 CTIME_H=config/locale/generic/time_members.h
16047 CTIME_CC=config/locale/generic/time_members.cc
16048 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16049 ;;
16050 newlib)
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16052 $as_echo "newlib" >&6; }
16053
16054 CLOCALE_H=config/locale/generic/c_locale.h
16055 CLOCALE_CC=config/locale/generic/c_locale.cc
16056 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16057 CCOLLATE_CC=config/locale/generic/collate_members.cc
16058 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16059 CMESSAGES_H=config/locale/generic/messages_members.h
16060 CMESSAGES_CC=config/locale/generic/messages_members.cc
16061 CMONEY_CC=config/locale/generic/monetary_members.cc
16062 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16063 CTIME_H=config/locale/generic/time_members.h
16064 CTIME_CC=config/locale/generic/time_members.cc
16065 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16066 ;;
16067 esac
16068
16069 # This is where the testsuite looks for locale catalogs, using the
16070 # -DLOCALEDIR define during testsuite compilation.
16071 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16072
16073
16074 # A standalone libintl (e.g., GNU libintl) may be in use.
16075 if test $USE_NLS = yes; then
16076 for ac_header in libintl.h
16077 do :
16078 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_LIBINTL_H 1
16082 _ACEOF
16083
16084 else
16085 USE_NLS=no
16086 fi
16087
16088 done
16089
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16091 $as_echo_n "checking for library containing gettext... " >&6; }
16092 if test "${ac_cv_search_gettext+set}" = set; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_func_search_save_LIBS=$LIBS
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16098
16099 /* Override any GCC internal prototype to avoid an error.
16100 Use char because int might match the return type of a GCC
16101 builtin and then its argument prototype would still apply. */
16102 #ifdef __cplusplus
16103 extern "C"
16104 #endif
16105 char gettext ();
16106 int
16107 main ()
16108 {
16109 return gettext ();
16110 ;
16111 return 0;
16112 }
16113 _ACEOF
16114 for ac_lib in '' intl; do
16115 if test -z "$ac_lib"; then
16116 ac_res="none required"
16117 else
16118 ac_res=-l$ac_lib
16119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16120 fi
16121 if test x$gcc_no_link = xyes; then
16122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16123 fi
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 ac_cv_search_gettext=$ac_res
16126 fi
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext
16129 if test "${ac_cv_search_gettext+set}" = set; then :
16130 break
16131 fi
16132 done
16133 if test "${ac_cv_search_gettext+set}" = set; then :
16134
16135 else
16136 ac_cv_search_gettext=no
16137 fi
16138 rm conftest.$ac_ext
16139 LIBS=$ac_func_search_save_LIBS
16140 fi
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16142 $as_echo "$ac_cv_search_gettext" >&6; }
16143 ac_res=$ac_cv_search_gettext
16144 if test "$ac_res" != no; then :
16145 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16146
16147 else
16148 USE_NLS=no
16149 fi
16150
16151 fi
16152 if test $USE_NLS = yes; then
16153
16154 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16155
16156 fi
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16174 $as_echo_n "checking for std::allocator base class... " >&6; }
16175 # Check whether --enable-libstdcxx-allocator was given.
16176 if test "${enable_libstdcxx_allocator+set}" = set; then :
16177 enableval=$enable_libstdcxx_allocator;
16178 case "$enableval" in
16179 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16180 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16181 esac
16182
16183 else
16184 enable_libstdcxx_allocator=auto
16185 fi
16186
16187
16188
16189 # If they didn't use this option switch, or if they specified --enable
16190 # with no specific model, we'll have to look for one. If they
16191 # specified --disable (???), do likewise.
16192 if test $enable_libstdcxx_allocator = no ||
16193 test $enable_libstdcxx_allocator = yes;
16194 then
16195 enable_libstdcxx_allocator=auto
16196 fi
16197
16198 # Either a known package, or "auto". Auto implies the default choice
16199 # for a particular platform.
16200 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16201
16202 # Probe for host-specific support if no specific model is specified.
16203 # Default to "new".
16204 if test $enable_libstdcxx_allocator_flag = auto; then
16205 case ${target_os} in
16206 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16207 enable_libstdcxx_allocator_flag=new
16208 ;;
16209 *)
16210 enable_libstdcxx_allocator_flag=new
16211 ;;
16212 esac
16213 fi
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16215 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16216
16217
16218 # Set configure bits for specified locale package
16219 case ${enable_libstdcxx_allocator_flag} in
16220 bitmap)
16221 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16222 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16223 ;;
16224 malloc)
16225 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16226 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16227 ;;
16228 mt)
16229 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16230 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16231 ;;
16232 new)
16233 ALLOCATOR_H=config/allocator/new_allocator_base.h
16234 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16235 ;;
16236 pool)
16237 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16238 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16239 ;;
16240 esac
16241
16242
16243
16244
16245
16246 # Check whether --enable-cheaders was given.
16247 if test "${enable_cheaders+set}" = set; then :
16248 enableval=$enable_cheaders;
16249 case "$enableval" in
16250 c|c_std|c_global) ;;
16251 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16252 esac
16253
16254 else
16255 enable_cheaders=$c_model
16256 fi
16257
16258
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16260 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16261
16262 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16263
16264 # Allow overrides to configure.host here.
16265 if test $enable_cheaders = c_global; then
16266 c_compatibility=yes
16267 fi
16268
16269
16270
16271
16272
16273
16274
16275 # Check whether --enable-long-long was given.
16276 if test "${enable_long_long+set}" = set; then :
16277 enableval=$enable_long_long;
16278 case "$enableval" in
16279 yes|no) ;;
16280 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16281 esac
16282
16283 else
16284 enable_long_long=yes
16285 fi
16286
16287
16288 if test $enable_long_long = yes; then
16289
16290 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16291
16292 fi
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16294 $as_echo_n "checking for enabled long long specializations... " >&6; }
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16296 $as_echo "$enable_long_long" >&6; }
16297
16298
16299 # Check whether --enable-wchar_t was given.
16300 if test "${enable_wchar_t+set}" = set; then :
16301 enableval=$enable_wchar_t;
16302 case "$enableval" in
16303 yes|no) ;;
16304 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16305 esac
16306
16307 else
16308 enable_wchar_t=yes
16309 fi
16310
16311
16312
16313 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16314 for ac_header in wchar.h
16315 do :
16316 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_WCHAR_H 1
16320 _ACEOF
16321 ac_has_wchar_h=yes
16322 else
16323 ac_has_wchar_h=no
16324 fi
16325
16326 done
16327
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16329 $as_echo_n "checking for mbstate_t... " >&6; }
16330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16332 #include <wchar.h>
16333 int
16334 main ()
16335 {
16336 mbstate_t teststate;
16337 ;
16338 return 0;
16339 }
16340 _ACEOF
16341 if ac_fn_c_try_compile "$LINENO"; then :
16342 have_mbstate_t=yes
16343 else
16344 have_mbstate_t=no
16345 fi
16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16348 $as_echo "$have_mbstate_t" >&6; }
16349 if test x"$have_mbstate_t" = xyes; then
16350
16351 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16352
16353 fi
16354
16355 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16356 # ac_has_wchar_h.
16357 for ac_header in wctype.h
16358 do :
16359 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16360 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_WCTYPE_H 1
16363 _ACEOF
16364 ac_has_wctype_h=yes
16365 else
16366 ac_has_wctype_h=no
16367 fi
16368
16369 done
16370
16371
16372 if test x"$enable_wchar_t" = x"yes"; then
16373
16374
16375 ac_ext=cpp
16376 ac_cpp='$CXXCPP $CPPFLAGS'
16377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16380
16381
16382 if test x"$ac_has_wchar_h" = xyes &&
16383 test x"$ac_has_wctype_h" = xyes; then
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16386 #include <wchar.h>
16387 #include <stddef.h>
16388 wint_t i;
16389 long l = WEOF;
16390 long j = WCHAR_MIN;
16391 long k = WCHAR_MAX;
16392 namespace test
16393 {
16394 using ::btowc;
16395 using ::fgetwc;
16396 using ::fgetws;
16397 using ::fputwc;
16398 using ::fputws;
16399 using ::fwide;
16400 using ::fwprintf;
16401 using ::fwscanf;
16402 using ::getwc;
16403 using ::getwchar;
16404 using ::mbrlen;
16405 using ::mbrtowc;
16406 using ::mbsinit;
16407 using ::mbsrtowcs;
16408 using ::putwc;
16409 using ::putwchar;
16410 using ::swprintf;
16411 using ::swscanf;
16412 using ::ungetwc;
16413 using ::vfwprintf;
16414 using ::vswprintf;
16415 using ::vwprintf;
16416 using ::wcrtomb;
16417 using ::wcscat;
16418 using ::wcschr;
16419 using ::wcscmp;
16420 using ::wcscoll;
16421 using ::wcscpy;
16422 using ::wcscspn;
16423 using ::wcsftime;
16424 using ::wcslen;
16425 using ::wcsncat;
16426 using ::wcsncmp;
16427 using ::wcsncpy;
16428 using ::wcspbrk;
16429 using ::wcsrchr;
16430 using ::wcsrtombs;
16431 using ::wcsspn;
16432 using ::wcsstr;
16433 using ::wcstod;
16434 using ::wcstok;
16435 using ::wcstol;
16436 using ::wcstoul;
16437 using ::wcsxfrm;
16438 using ::wctob;
16439 using ::wmemchr;
16440 using ::wmemcmp;
16441 using ::wmemcpy;
16442 using ::wmemmove;
16443 using ::wmemset;
16444 using ::wprintf;
16445 using ::wscanf;
16446 }
16447
16448 int
16449 main ()
16450 {
16451
16452 ;
16453 return 0;
16454 }
16455 _ACEOF
16456 if ac_fn_cxx_try_compile "$LINENO"; then :
16457
16458 else
16459 enable_wchar_t=no
16460 fi
16461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16462 else
16463 enable_wchar_t=no
16464 fi
16465
16466 ac_ext=c
16467 ac_cpp='$CPP $CPPFLAGS'
16468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16471
16472 fi
16473
16474 if test x"$enable_wchar_t" = x"yes"; then
16475
16476 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16477
16478 fi
16479
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16481 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16483 $as_echo "$enable_wchar_t" >&6; }
16484
16485
16486
16487 # Check whether --enable-c99 was given.
16488 if test "${enable_c99+set}" = set; then :
16489 enableval=$enable_c99;
16490 case "$enableval" in
16491 yes|no) ;;
16492 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16493 esac
16494
16495 else
16496 enable_c99=yes
16497 fi
16498
16499
16500
16501 if test x"$enable_c99" = x"yes"; then
16502
16503
16504 ac_ext=cpp
16505 ac_cpp='$CXXCPP $CPPFLAGS'
16506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16509
16510
16511 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16512 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16513 # spuriously enabled.
16514 # Long term, -std=c++0x could be even better, could manage to explicitely
16515 # request C99 facilities to the underlying C headers.
16516 ac_save_CXXFLAGS="$CXXFLAGS"
16517 CXXFLAGS="$CXXFLAGS -std=c++98"
16518 ac_save_LIBS="$LIBS"
16519 ac_save_gcc_no_link="$gcc_no_link"
16520
16521 if test x$gcc_no_link != xyes; then
16522 # Use -fno-exceptions to that the C driver can link these tests without
16523 # hitting undefined references to personality routines.
16524 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16526 $as_echo_n "checking for sin in -lm... " >&6; }
16527 if test "${ac_cv_lib_m_sin+set}" = set; then :
16528 $as_echo_n "(cached) " >&6
16529 else
16530 ac_check_lib_save_LIBS=$LIBS
16531 LIBS="-lm $LIBS"
16532 if test x$gcc_no_link = xyes; then
16533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16534 fi
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537
16538 /* Override any GCC internal prototype to avoid an error.
16539 Use char because int might match the return type of a GCC
16540 builtin and then its argument prototype would still apply. */
16541 #ifdef __cplusplus
16542 extern "C"
16543 #endif
16544 char sin ();
16545 int
16546 main ()
16547 {
16548 return sin ();
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 if ac_fn_cxx_try_link "$LINENO"; then :
16554 ac_cv_lib_m_sin=yes
16555 else
16556 ac_cv_lib_m_sin=no
16557 fi
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16560 LIBS=$ac_check_lib_save_LIBS
16561 fi
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16563 $as_echo "$ac_cv_lib_m_sin" >&6; }
16564 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16565
16566 LIBS="$LIBS -lm"
16567
16568 else
16569
16570 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16571 gcc_no_link=yes
16572
16573 fi
16574
16575 fi
16576
16577 # Check for the existence of <math.h> functions used if C99 is enabled.
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16579 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16580 if test "${glibcxx_cv_c99_math+set}" = set; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583
16584 if test x$gcc_no_link = xyes; then
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16587 #include <math.h>
16588 volatile double d1, d2;
16589 volatile int i;
16590 int
16591 main ()
16592 {
16593 i = fpclassify(d1);
16594 i = isfinite(d1);
16595 i = isinf(d1);
16596 i = isnan(d1);
16597 i = isnormal(d1);
16598 i = signbit(d1);
16599 i = isgreater(d1, d2);
16600 i = isgreaterequal(d1, d2);
16601 i = isless(d1, d2);
16602 i = islessequal(d1, d2);
16603 i = islessgreater(d1, d2);
16604 i = islessgreater(d1, d2);
16605 i = isunordered(d1, d2);
16606
16607 ;
16608 return 0;
16609 }
16610 _ACEOF
16611 if ac_fn_cxx_try_compile "$LINENO"; then :
16612 glibcxx_cv_c99_math=yes
16613 else
16614 glibcxx_cv_c99_math=no
16615 fi
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 else
16618 if test x$gcc_no_link = xyes; then
16619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16620 fi
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16626 int
16627 main ()
16628 {
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16642
16643 ;
16644 return 0;
16645 }
16646 _ACEOF
16647 if ac_fn_cxx_try_link "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16651 fi
16652 rm -f core conftest.err conftest.$ac_objext \
16653 conftest$ac_exeext conftest.$ac_ext
16654 fi
16655
16656 fi
16657
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16659 $as_echo "$glibcxx_cv_c99_math" >&6; }
16660 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16661
16662 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16663
16664 fi
16665
16666 # Check for the existence of <complex.h> complex math functions.
16667 # This is necessary even though libstdc++ uses the builtin versions
16668 # of these functions, because if the builtin cannot be used, a reference
16669 # to the library function is emitted.
16670 for ac_header in tgmath.h
16671 do :
16672 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16673 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_TGMATH_H 1
16676 _ACEOF
16677 ac_has_tgmath_h=yes
16678 else
16679 ac_has_tgmath_h=no
16680 fi
16681
16682 done
16683
16684 for ac_header in complex.h
16685 do :
16686 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16687 if test "x$ac_cv_header_complex_h" = x""yes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_COMPLEX_H 1
16690 _ACEOF
16691 ac_has_complex_h=yes
16692 else
16693 ac_has_complex_h=no
16694 fi
16695
16696 done
16697
16698 glibcxx_cv_c99_complex=no;
16699 if test x"$ac_has_complex_h" = x"yes"; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16701 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16702 if test x$gcc_no_link = xyes; then
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #include <complex.h>
16706 typedef __complex__ float float_type;
16707 typedef __complex__ double double_type;
16708 typedef __complex__ long double ld_type;
16709 volatile float_type tmpf;
16710 volatile double_type tmpd;
16711 volatile ld_type tmpld;
16712 volatile float f;
16713 volatile double d;
16714 volatile long double ld;
16715 int
16716 main ()
16717 {
16718 f = cabsf(tmpf);
16719 f = cargf(tmpf);
16720 tmpf = ccosf(tmpf);
16721 tmpf = ccoshf(tmpf);
16722 tmpf = cexpf(tmpf);
16723 tmpf = clogf(tmpf);
16724 tmpf = csinf(tmpf);
16725 tmpf = csinhf(tmpf);
16726 tmpf = csqrtf(tmpf);
16727 tmpf = ctanf(tmpf);
16728 tmpf = ctanhf(tmpf);
16729 tmpf = cpowf(tmpf, tmpf);
16730 tmpf = cprojf(tmpf);
16731 d = cabs(tmpd);
16732 d = carg(tmpd);
16733 tmpd = ccos(tmpd);
16734 tmpd = ccosh(tmpd);
16735 tmpd = cexp(tmpd);
16736 tmpd = clog(tmpd);
16737 tmpd = csin(tmpd);
16738 tmpd = csinh(tmpd);
16739 tmpd = csqrt(tmpd);
16740 tmpd = ctan(tmpd);
16741 tmpd = ctanh(tmpd);
16742 tmpd = cpow(tmpd, tmpd);
16743 tmpd = cproj(tmpd);
16744 ld = cabsl(tmpld);
16745 ld = cargl(tmpld);
16746 tmpld = ccosl(tmpld);
16747 tmpld = ccoshl(tmpld);
16748 tmpld = cexpl(tmpld);
16749 tmpld = clogl(tmpld);
16750 tmpld = csinl(tmpld);
16751 tmpld = csinhl(tmpld);
16752 tmpld = csqrtl(tmpld);
16753 tmpld = ctanl(tmpld);
16754 tmpld = ctanhl(tmpld);
16755 tmpld = cpowl(tmpld, tmpld);
16756 tmpld = cprojl(tmpld);
16757
16758 ;
16759 return 0;
16760 }
16761 _ACEOF
16762 if ac_fn_cxx_try_compile "$LINENO"; then :
16763 glibcxx_cv_c99_complex=yes
16764 else
16765 glibcxx_cv_c99_complex=no
16766 fi
16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16768 else
16769 if test x$gcc_no_link = xyes; then
16770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16771 fi
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 #include <complex.h>
16775 typedef __complex__ float float_type;
16776 typedef __complex__ double double_type;
16777 typedef __complex__ long double ld_type;
16778 volatile float_type tmpf;
16779 volatile double_type tmpd;
16780 volatile ld_type tmpld;
16781 volatile float f;
16782 volatile double d;
16783 volatile long double ld;
16784 int
16785 main ()
16786 {
16787 f = cabsf(tmpf);
16788 f = cargf(tmpf);
16789 tmpf = ccosf(tmpf);
16790 tmpf = ccoshf(tmpf);
16791 tmpf = cexpf(tmpf);
16792 tmpf = clogf(tmpf);
16793 tmpf = csinf(tmpf);
16794 tmpf = csinhf(tmpf);
16795 tmpf = csqrtf(tmpf);
16796 tmpf = ctanf(tmpf);
16797 tmpf = ctanhf(tmpf);
16798 tmpf = cpowf(tmpf, tmpf);
16799 tmpf = cprojf(tmpf);
16800 d = cabs(tmpd);
16801 d = carg(tmpd);
16802 tmpd = ccos(tmpd);
16803 tmpd = ccosh(tmpd);
16804 tmpd = cexp(tmpd);
16805 tmpd = clog(tmpd);
16806 tmpd = csin(tmpd);
16807 tmpd = csinh(tmpd);
16808 tmpd = csqrt(tmpd);
16809 tmpd = ctan(tmpd);
16810 tmpd = ctanh(tmpd);
16811 tmpd = cpow(tmpd, tmpd);
16812 tmpd = cproj(tmpd);
16813 ld = cabsl(tmpld);
16814 ld = cargl(tmpld);
16815 tmpld = ccosl(tmpld);
16816 tmpld = ccoshl(tmpld);
16817 tmpld = cexpl(tmpld);
16818 tmpld = clogl(tmpld);
16819 tmpld = csinl(tmpld);
16820 tmpld = csinhl(tmpld);
16821 tmpld = csqrtl(tmpld);
16822 tmpld = ctanl(tmpld);
16823 tmpld = ctanhl(tmpld);
16824 tmpld = cpowl(tmpld, tmpld);
16825 tmpld = cprojl(tmpld);
16826
16827 ;
16828 return 0;
16829 }
16830 _ACEOF
16831 if ac_fn_cxx_try_link "$LINENO"; then :
16832 glibcxx_cv_c99_complex=yes
16833 else
16834 glibcxx_cv_c99_complex=no
16835 fi
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 fi
16839 fi
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16841 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16842 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16843
16844 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16845
16846 fi
16847
16848 # Check for the existence in <stdio.h> of vscanf, et. al.
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16850 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16851 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854
16855 if test x$gcc_no_link = xyes; then
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16858 #include <stdio.h>
16859 #include <stdarg.h>
16860 void foo(char* fmt, ...)
16861 {
16862 va_list args; va_start(args, fmt);
16863 vfscanf(stderr, "%i", args);
16864 vscanf("%i", args);
16865 vsnprintf(fmt, 0, "%i", args);
16866 vsscanf(fmt, "%i", args);
16867 }
16868 int
16869 main ()
16870 {
16871 snprintf("12", 0, "%i");
16872 ;
16873 return 0;
16874 }
16875 _ACEOF
16876 if ac_fn_cxx_try_compile "$LINENO"; then :
16877 glibcxx_cv_c99_stdio=yes
16878 else
16879 glibcxx_cv_c99_stdio=no
16880 fi
16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16882 else
16883 if test x$gcc_no_link = xyes; then
16884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16885 fi
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16888 #include <stdio.h>
16889 #include <stdarg.h>
16890 void foo(char* fmt, ...)
16891 {
16892 va_list args; va_start(args, fmt);
16893 vfscanf(stderr, "%i", args);
16894 vscanf("%i", args);
16895 vsnprintf(fmt, 0, "%i", args);
16896 vsscanf(fmt, "%i", args);
16897 }
16898 int
16899 main ()
16900 {
16901 snprintf("12", 0, "%i");
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 if ac_fn_cxx_try_link "$LINENO"; then :
16907 glibcxx_cv_c99_stdio=yes
16908 else
16909 glibcxx_cv_c99_stdio=no
16910 fi
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16913 fi
16914
16915 fi
16916
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16918 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16919
16920 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16922 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16923 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926
16927 if test x$gcc_no_link = xyes; then
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <stdlib.h>
16931 volatile float f;
16932 volatile long double ld;
16933 volatile unsigned long long ll;
16934 lldiv_t mydivt;
16935 int
16936 main ()
16937 {
16938 char* tmp;
16939 f = strtof("gnu", &tmp);
16940 ld = strtold("gnu", &tmp);
16941 ll = strtoll("gnu", &tmp, 10);
16942 ll = strtoull("gnu", &tmp, 10);
16943 ll = llabs(10);
16944 mydivt = lldiv(10,1);
16945 ll = mydivt.quot;
16946 ll = mydivt.rem;
16947 ll = atoll("10");
16948 _Exit(0);
16949
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16955 glibcxx_cv_c99_stdlib=yes
16956 else
16957 glibcxx_cv_c99_stdlib=no
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960 else
16961 if test x$gcc_no_link = xyes; then
16962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16963 fi
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <stdlib.h>
16967 volatile float f;
16968 volatile long double ld;
16969 volatile unsigned long long ll;
16970 lldiv_t mydivt;
16971 int
16972 main ()
16973 {
16974 char* tmp;
16975 f = strtof("gnu", &tmp);
16976 ld = strtold("gnu", &tmp);
16977 ll = strtoll("gnu", &tmp, 10);
16978 ll = strtoull("gnu", &tmp, 10);
16979 ll = llabs(10);
16980 mydivt = lldiv(10,1);
16981 ll = mydivt.quot;
16982 ll = mydivt.rem;
16983 ll = atoll("10");
16984 _Exit(0);
16985
16986 ;
16987 return 0;
16988 }
16989 _ACEOF
16990 if ac_fn_cxx_try_link "$LINENO"; then :
16991 glibcxx_cv_c99_stdlib=yes
16992 else
16993 glibcxx_cv_c99_stdlib=no
16994 fi
16995 rm -f core conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16997 fi
16998
16999 fi
17000
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17002 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17003
17004 # Check for the existence in <wchar.h> of wcstold, etc.
17005 glibcxx_cv_c99_wchar=no;
17006 if test x"$ac_has_wchar_h" = xyes &&
17007 test x"$ac_has_wctype_h" = xyes; then
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17009 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 #include <wchar.h>
17013 namespace test
17014 {
17015 using ::wcstold;
17016 using ::wcstoll;
17017 using ::wcstoull;
17018 }
17019
17020 int
17021 main ()
17022 {
17023
17024 ;
17025 return 0;
17026 }
17027 _ACEOF
17028 if ac_fn_cxx_try_compile "$LINENO"; then :
17029 glibcxx_cv_c99_wchar=yes
17030 else
17031 glibcxx_cv_c99_wchar=no
17032 fi
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034
17035 # Checks for wide character functions that may not be present.
17036 # Injection of these is wrapped with guard macros.
17037 # NB: only put functions here, instead of immediately above, if
17038 # absolutely necessary.
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #include <wchar.h>
17042 namespace test { using ::vfwscanf; }
17043 int
17044 main ()
17045 {
17046
17047 ;
17048 return 0;
17049 }
17050 _ACEOF
17051 if ac_fn_cxx_try_compile "$LINENO"; then :
17052
17053 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17054
17055 fi
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 #include <wchar.h>
17061 namespace test { using ::vswscanf; }
17062 int
17063 main ()
17064 {
17065
17066 ;
17067 return 0;
17068 }
17069 _ACEOF
17070 if ac_fn_cxx_try_compile "$LINENO"; then :
17071
17072 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17073
17074 fi
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17076
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <wchar.h>
17080 namespace test { using ::vwscanf; }
17081 int
17082 main ()
17083 {
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 if ac_fn_cxx_try_compile "$LINENO"; then :
17090
17091 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17092
17093 fi
17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 #include <wchar.h>
17099 namespace test { using ::wcstof; }
17100 int
17101 main ()
17102 {
17103
17104 ;
17105 return 0;
17106 }
17107 _ACEOF
17108 if ac_fn_cxx_try_compile "$LINENO"; then :
17109
17110 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17111
17112 fi
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <wctype.h>
17118 int
17119 main ()
17120 {
17121 wint_t t; int i = iswblank(t);
17122 ;
17123 return 0;
17124 }
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17127
17128 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17129
17130 fi
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17134 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17135 fi
17136
17137 # Option parsed, now set things appropriately.
17138 if test x"$glibcxx_cv_c99_math" = x"no" ||
17139 test x"$glibcxx_cv_c99_complex" = x"no" ||
17140 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17141 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17142 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17143 enable_c99=no;
17144 else
17145
17146 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17147
17148 fi
17149
17150 gcc_no_link="$ac_save_gcc_no_link"
17151 LIBS="$ac_save_LIBS"
17152 CXXFLAGS="$ac_save_CXXFLAGS"
17153 ac_ext=c
17154 ac_cpp='$CPP $CPPFLAGS'
17155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17158
17159 fi
17160
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17162 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17164 $as_echo "$enable_c99" >&6; }
17165
17166
17167 # Check whether --enable-concept-checks was given.
17168 if test "${enable_concept_checks+set}" = set; then :
17169 enableval=$enable_concept_checks;
17170 case "$enableval" in
17171 yes|no) ;;
17172 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17173 esac
17174
17175 else
17176 enable_concept_checks=no
17177 fi
17178
17179
17180 if test $enable_concept_checks = yes; then
17181
17182 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17183
17184 fi
17185
17186
17187 # Check whether --enable-libstdcxx-debug-flags was given.
17188 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17189 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17190 xno | x) enable_libstdcxx_debug_flags= ;;
17191 x-*) ;;
17192 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17193 esac
17194 else
17195 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17196 fi
17197
17198
17199
17200 # Option parsed, now set things appropriately
17201 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17202
17203
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17205 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17206
17207
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17209 $as_echo_n "checking for additional debug build... " >&6; }
17210 # Check whether --enable-libstdcxx-debug was given.
17211 if test "${enable_libstdcxx_debug+set}" = set; then :
17212 enableval=$enable_libstdcxx_debug;
17213 case "$enableval" in
17214 yes|no) ;;
17215 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17216 esac
17217
17218 else
17219 enable_libstdcxx_debug=no
17220 fi
17221
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17224 $as_echo "$enable_libstdcxx_debug" >&6; }
17225
17226
17227
17228
17229 enable_parallel=no;
17230
17231 # See if configured libgomp/omp.h exists. (libgomp may be in
17232 # noconfigdirs but not explicitly disabled.)
17233 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17234 enable_parallel=yes;
17235 else
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17237 $as_echo "$as_me: target-libgomp not built" >&6;}
17238 fi
17239
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17241 $as_echo_n "checking for parallel mode support... " >&6; }
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17243 $as_echo "$enable_parallel" >&6; }
17244
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17246 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17247 # Check whether --enable-cxx-flags was given.
17248 if test "${enable_cxx_flags+set}" = set; then :
17249 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17250 xno | x) enable_cxx_flags= ;;
17251 x-*) ;;
17252 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17253 esac
17254 else
17255 enable_cxx_flags=
17256 fi
17257
17258
17259
17260 # Run through flags (either default or command-line) and set anything
17261 # extra (e.g., #defines) that must accompany particular g++ options.
17262 if test -n "$enable_cxx_flags"; then
17263 for f in $enable_cxx_flags; do
17264 case "$f" in
17265 -fhonor-std) ;;
17266 -*) ;;
17267 *) # and we're trying to pass /what/ exactly?
17268 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17269 esac
17270 done
17271 fi
17272
17273 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17275 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17276
17277
17278
17279 # Check whether --enable-fully-dynamic-string was given.
17280 if test "${enable_fully_dynamic_string+set}" = set; then :
17281 enableval=$enable_fully_dynamic_string;
17282 case "$enableval" in
17283 yes|no) ;;
17284 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17285 esac
17286
17287 else
17288 enable_fully_dynamic_string=no
17289 fi
17290
17291
17292 if test $enable_fully_dynamic_string = yes; then
17293 enable_fully_dynamic_string_def=1
17294 else
17295 enable_fully_dynamic_string_def=0
17296 fi
17297
17298 cat >>confdefs.h <<_ACEOF
17299 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17300 _ACEOF
17301
17302
17303
17304
17305 # Check whether --enable-extern-template was given.
17306 if test "${enable_extern_template+set}" = set; then :
17307 enableval=$enable_extern_template;
17308 case "$enableval" in
17309 yes|no) ;;
17310 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17311 esac
17312
17313 else
17314 enable_extern_template=yes
17315 fi
17316
17317
17318
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17320 $as_echo_n "checking for extern template support... " >&6; }
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17322 $as_echo "$enable_extern_template" >&6; }
17323
17324
17325
17326
17327
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17329 $as_echo_n "checking for custom python install directory... " >&6; }
17330
17331 # Check whether --with-python-dir was given.
17332 if test "${with_python_dir+set}" = set; then :
17333 withval=$with_python_dir; with_python_dir=$withval
17334 else
17335 with_python_dir="no"
17336 fi
17337
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17339 $as_echo "${with_python_dir}" >&6; }
17340
17341 # Needed for installing Python modules during make install.
17342 python_mod_dir="${with_python_dir}"
17343
17344
17345
17346
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17348 $as_echo_n "checking for -Werror... " >&6; }
17349 # Check whether --enable-werror was given.
17350 if test "${enable_werror+set}" = set; then :
17351 enableval=$enable_werror;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17355 esac
17356
17357 else
17358 enable_werror=yes
17359 fi
17360
17361
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17363 $as_echo "$enable_werror" >&6; }
17364
17365
17366
17367 # Checks for operating systems support that doesn't require linking.
17368
17369
17370
17371 ac_ext=cpp
17372 ac_cpp='$CXXCPP $CPPFLAGS'
17373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17376
17377
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17379 $as_echo_n "checking for gets declaration... " >&6; }
17380 if test "${glibcxx_cv_gets+set}" = set; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #include <stdio.h>
17387 namespace test
17388 {
17389 using ::gets;
17390 }
17391
17392 _ACEOF
17393 if ac_fn_cxx_try_compile "$LINENO"; then :
17394 glibcxx_cv_gets=yes
17395 else
17396 glibcxx_cv_gets=no
17397
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 fi
17401
17402
17403 if test $glibcxx_cv_gets = yes; then
17404
17405 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17406
17407 fi
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17409 $as_echo "$glibcxx_cv_gets" >&6; }
17410
17411 ac_ext=c
17412 ac_cpp='$CPP $CPPFLAGS'
17413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17416
17417
17418
17419
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17421 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17422 if test "${glibcxx_cv_system_error1+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #include <errno.h>
17429 int
17430 main ()
17431 {
17432 int i = EOWNERDEAD;
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 if ac_fn_c_try_compile "$LINENO"; then :
17438 glibcxx_cv_system_error1=yes
17439 else
17440 glibcxx_cv_system_error1=no
17441 fi
17442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443
17444 fi
17445
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17447 $as_echo "$glibcxx_cv_system_error1" >&6; }
17448 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17449
17450 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17451
17452 fi
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17454 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17455 if test "${glibcxx_cv_system_error2+set}" = set; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 #include <errno.h>
17462 int
17463 main ()
17464 {
17465 int i = ENOTRECOVERABLE;
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 if ac_fn_c_try_compile "$LINENO"; then :
17471 glibcxx_cv_system_error2=yes
17472 else
17473 glibcxx_cv_system_error2=no
17474 fi
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476
17477 fi
17478
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17480 $as_echo "$glibcxx_cv_system_error2" >&6; }
17481 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17482
17483 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17484
17485 fi
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17487 $as_echo_n "checking for ENOLINK... " >&6; }
17488 if test "${glibcxx_cv_system_error3+set}" = set; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <errno.h>
17495 int
17496 main ()
17497 {
17498 int i = ENOLINK;
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 if ac_fn_c_try_compile "$LINENO"; then :
17504 glibcxx_cv_system_error3=yes
17505 else
17506 glibcxx_cv_system_error3=no
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509
17510 fi
17511
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17513 $as_echo "$glibcxx_cv_system_error3" >&6; }
17514 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17515
17516 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17517
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17520 $as_echo_n "checking for EPROTO... " >&6; }
17521 if test "${glibcxx_cv_system_error4+set}" = set; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 #include <errno.h>
17528 int
17529 main ()
17530 {
17531 int i = EPROTO;
17532 ;
17533 return 0;
17534 }
17535 _ACEOF
17536 if ac_fn_c_try_compile "$LINENO"; then :
17537 glibcxx_cv_system_error4=yes
17538 else
17539 glibcxx_cv_system_error4=no
17540 fi
17541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17542
17543 fi
17544
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17546 $as_echo "$glibcxx_cv_system_error4" >&6; }
17547 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17548
17549 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17550
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17553 $as_echo_n "checking for ENODATA... " >&6; }
17554 if test "${glibcxx_cv_system_error5+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 #include <errno.h>
17561 int
17562 main ()
17563 {
17564 int i = ENODATA;
17565 ;
17566 return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_compile "$LINENO"; then :
17570 glibcxx_cv_system_error5=yes
17571 else
17572 glibcxx_cv_system_error5=no
17573 fi
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576 fi
17577
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17579 $as_echo "$glibcxx_cv_system_error5" >&6; }
17580 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17581
17582 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17583
17584 fi
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17586 $as_echo_n "checking for ENOSR... " >&6; }
17587 if test "${glibcxx_cv_system_error6+set}" = set; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #include <errno.h>
17594 int
17595 main ()
17596 {
17597 int i = ENOSR;
17598 ;
17599 return 0;
17600 }
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603 glibcxx_cv_system_error6=yes
17604 else
17605 glibcxx_cv_system_error6=no
17606 fi
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608
17609 fi
17610
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17612 $as_echo "$glibcxx_cv_system_error6" >&6; }
17613 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17614
17615 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17616
17617 fi
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17619 $as_echo_n "checking for ENOSTR... " >&6; }
17620 if test "${glibcxx_cv_system_error7+set}" = set; then :
17621 $as_echo_n "(cached) " >&6
17622 else
17623
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <errno.h>
17627 int
17628 main ()
17629 {
17630 int i = ENOSTR;
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 glibcxx_cv_system_error7=yes
17637 else
17638 glibcxx_cv_system_error7=no
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641
17642 fi
17643
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17645 $as_echo "$glibcxx_cv_system_error7" >&6; }
17646 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17647
17648 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17649
17650 fi
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17652 $as_echo_n "checking for ETIME... " >&6; }
17653 if test "${glibcxx_cv_system_error8+set}" = set; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 #include <errno.h>
17660 int
17661 main ()
17662 {
17663 int i = ETIME;
17664 ;
17665 return 0;
17666 }
17667 _ACEOF
17668 if ac_fn_c_try_compile "$LINENO"; then :
17669 glibcxx_cv_system_error8=yes
17670 else
17671 glibcxx_cv_system_error8=no
17672 fi
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674
17675 fi
17676
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17678 $as_echo "$glibcxx_cv_system_error8" >&6; }
17679 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17680
17681 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17682
17683 fi
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17685 $as_echo_n "checking for EBADMSG... " >&6; }
17686 if test "${glibcxx_cv_system_error9+set}" = set; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 #include <errno.h>
17693 int
17694 main ()
17695 {
17696 int i = EBADMSG;
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_c_try_compile "$LINENO"; then :
17702 glibcxx_cv_system_error9=yes
17703 else
17704 glibcxx_cv_system_error9=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707
17708 fi
17709
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17711 $as_echo "$glibcxx_cv_system_error9" >&6; }
17712 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17713
17714 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17715
17716 fi
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17718 $as_echo_n "checking for ECANCELED... " >&6; }
17719 if test "${glibcxx_cv_system_error10+set}" = set; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17722
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <errno.h>
17726 int
17727 main ()
17728 {
17729 int i = ECANCELED;
17730 ;
17731 return 0;
17732 }
17733 _ACEOF
17734 if ac_fn_c_try_compile "$LINENO"; then :
17735 glibcxx_cv_system_error10=yes
17736 else
17737 glibcxx_cv_system_error10=no
17738 fi
17739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17740
17741 fi
17742
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17744 $as_echo "$glibcxx_cv_system_error10" >&6; }
17745 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17746
17747 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17748
17749 fi
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17751 $as_echo_n "checking for EOVERFLOW... " >&6; }
17752 if test "${glibcxx_cv_system_error11+set}" = set; then :
17753 $as_echo_n "(cached) " >&6
17754 else
17755
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17758 #include <errno.h>
17759 int
17760 main ()
17761 {
17762 int i = EOVERFLOW;
17763 ;
17764 return 0;
17765 }
17766 _ACEOF
17767 if ac_fn_c_try_compile "$LINENO"; then :
17768 glibcxx_cv_system_error11=yes
17769 else
17770 glibcxx_cv_system_error11=no
17771 fi
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774 fi
17775
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17777 $as_echo "$glibcxx_cv_system_error11" >&6; }
17778 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17779
17780 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17781
17782 fi
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17784 $as_echo_n "checking for ENOTSUP... " >&6; }
17785 if test "${glibcxx_cv_system_error12+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791 #include <errno.h>
17792 int
17793 main ()
17794 {
17795 int i = ENOTSUP;
17796 ;
17797 return 0;
17798 }
17799 _ACEOF
17800 if ac_fn_c_try_compile "$LINENO"; then :
17801 glibcxx_cv_system_error12=yes
17802 else
17803 glibcxx_cv_system_error12=no
17804 fi
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807 fi
17808
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17810 $as_echo "$glibcxx_cv_system_error12" >&6; }
17811 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17812
17813 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17814
17815 fi
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17817 $as_echo_n "checking for EIDRM... " >&6; }
17818 if test "${glibcxx_cv_system_error13+set}" = set; then :
17819 $as_echo_n "(cached) " >&6
17820 else
17821
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <errno.h>
17825 int
17826 main ()
17827 {
17828 int i = EIDRM;
17829 ;
17830 return 0;
17831 }
17832 _ACEOF
17833 if ac_fn_c_try_compile "$LINENO"; then :
17834 glibcxx_cv_system_error13=yes
17835 else
17836 glibcxx_cv_system_error13=no
17837 fi
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839
17840 fi
17841
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17843 $as_echo "$glibcxx_cv_system_error13" >&6; }
17844 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17845
17846 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17847
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17850 $as_echo_n "checking for ETXTBSY... " >&6; }
17851 if test "${glibcxx_cv_system_error14+set}" = set; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 #include <errno.h>
17858 int
17859 main ()
17860 {
17861 int i = ETXTBSY;
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_c_try_compile "$LINENO"; then :
17867 glibcxx_cv_system_error14=yes
17868 else
17869 glibcxx_cv_system_error14=no
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17876 $as_echo "$glibcxx_cv_system_error14" >&6; }
17877 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17878
17879 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17880
17881 fi
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17883 $as_echo_n "checking for ECHILD... " >&6; }
17884 if test "${glibcxx_cv_system_error15+set}" = set; then :
17885 $as_echo_n "(cached) " >&6
17886 else
17887
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 #include <errno.h>
17891 int
17892 main ()
17893 {
17894 int i = ECHILD;
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 if ac_fn_c_try_compile "$LINENO"; then :
17900 glibcxx_cv_system_error15=yes
17901 else
17902 glibcxx_cv_system_error15=no
17903 fi
17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17905
17906 fi
17907
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17909 $as_echo "$glibcxx_cv_system_error15" >&6; }
17910 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17911
17912 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17913
17914 fi
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17916 $as_echo_n "checking for ENOSPC... " >&6; }
17917 if test "${glibcxx_cv_system_error16+set}" = set; then :
17918 $as_echo_n "(cached) " >&6
17919 else
17920
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17923 #include <errno.h>
17924 int
17925 main ()
17926 {
17927 int i = ENOSPC;
17928 ;
17929 return 0;
17930 }
17931 _ACEOF
17932 if ac_fn_c_try_compile "$LINENO"; then :
17933 glibcxx_cv_system_error16=yes
17934 else
17935 glibcxx_cv_system_error16=no
17936 fi
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938
17939 fi
17940
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17942 $as_echo "$glibcxx_cv_system_error16" >&6; }
17943 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17944
17945 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17946
17947 fi
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17949 $as_echo_n "checking for EPERM... " >&6; }
17950 if test "${glibcxx_cv_system_error17+set}" = set; then :
17951 $as_echo_n "(cached) " >&6
17952 else
17953
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #include <errno.h>
17957 int
17958 main ()
17959 {
17960 int i = EPERM;
17961 ;
17962 return 0;
17963 }
17964 _ACEOF
17965 if ac_fn_c_try_compile "$LINENO"; then :
17966 glibcxx_cv_system_error17=yes
17967 else
17968 glibcxx_cv_system_error17=no
17969 fi
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971
17972 fi
17973
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17975 $as_echo "$glibcxx_cv_system_error17" >&6; }
17976 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17977
17978 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17979
17980 fi
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17982 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17983 if test "${glibcxx_cv_system_error18+set}" = set; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #include <errno.h>
17990 int
17991 main ()
17992 {
17993 int i = ETIMEDOUT;
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 if ac_fn_c_try_compile "$LINENO"; then :
17999 glibcxx_cv_system_error18=yes
18000 else
18001 glibcxx_cv_system_error18=no
18002 fi
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18004
18005 fi
18006
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18008 $as_echo "$glibcxx_cv_system_error18" >&6; }
18009 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18010
18011 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18012
18013 fi
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18015 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18016 if test "${glibcxx_cv_system_error19+set}" = set; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <errno.h>
18023 int
18024 main ()
18025 {
18026 int i = EWOULDBLOCK;
18027 ;
18028 return 0;
18029 }
18030 _ACEOF
18031 if ac_fn_c_try_compile "$LINENO"; then :
18032 glibcxx_cv_system_error19=yes
18033 else
18034 glibcxx_cv_system_error19=no
18035 fi
18036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037
18038 fi
18039
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18041 $as_echo "$glibcxx_cv_system_error19" >&6; }
18042 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18043
18044 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18045
18046 fi
18047
18048
18049
18050 # For the streamoff typedef.
18051
18052
18053
18054 ac_ext=cpp
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18059
18060
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18062 $as_echo_n "checking for int64_t... " >&6; }
18063 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18066
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18069 #include <stdint.h>
18070 int
18071 main ()
18072 {
18073 int64_t var;
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 if ac_fn_cxx_try_compile "$LINENO"; then :
18079 glibcxx_cv_INT64_T=yes
18080 else
18081 glibcxx_cv_INT64_T=no
18082 fi
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084
18085 fi
18086
18087
18088 if test $glibcxx_cv_INT64_T = yes; then
18089
18090 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18091
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18093 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18094
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18096 $as_echo_n "checking for int64_t as long... " >&6; }
18097 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18098 $as_echo_n "(cached) " >&6
18099 else
18100
18101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h. */
18103 #include <stdint.h>
18104 template<typename, typename> struct same { enum { value = -1 }; };
18105 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18106 int array[same<int64_t, long>::value];
18107 int
18108 main ()
18109 {
18110
18111 ;
18112 return 0;
18113 }
18114 _ACEOF
18115 if ac_fn_cxx_try_compile "$LINENO"; then :
18116 glibcxx_cv_int64_t_long=yes
18117 else
18118 glibcxx_cv_int64_t_long=no
18119 fi
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121
18122 fi
18123
18124
18125 if test $glibcxx_cv_int64_t_long = yes; then
18126
18127 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18128
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18130 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18131 fi
18132
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18134 $as_echo_n "checking for int64_t as long long... " >&6; }
18135 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18138
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <stdint.h>
18142 template<typename, typename> struct same { enum { value = -1 }; };
18143 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18144 int array[same<int64_t, long long>::value];
18145 int
18146 main ()
18147 {
18148
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 if ac_fn_cxx_try_compile "$LINENO"; then :
18154 glibcxx_cv_int64_t_long_long=yes
18155 else
18156 glibcxx_cv_int64_t_long_long=no
18157 fi
18158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18159
18160 fi
18161
18162
18163 if test $glibcxx_cv_int64_t_long_long = yes; then
18164
18165 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18166
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18168 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18169 fi
18170 fi
18171
18172 ac_ext=c
18173 ac_cpp='$CPP $CPPFLAGS'
18174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18177
18178
18179
18180 # For LFS support.
18181
18182
18183 ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188
18189 ac_save_CXXFLAGS="$CXXFLAGS"
18190 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18192 $as_echo_n "checking for LFS support... " >&6; }
18193 if test "${glibcxx_cv_LFS+set}" = set; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18196
18197 if test x$gcc_no_link = xyes; then
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <unistd.h>
18201 #include <stdio.h>
18202 #include <sys/stat.h>
18203
18204 int
18205 main ()
18206 {
18207 FILE* fp;
18208 fopen64("t", "w");
18209 fseeko64(fp, 0, SEEK_CUR);
18210 ftello64(fp);
18211 lseek64(1, 0, SEEK_CUR);
18212 struct stat64 buf;
18213 fstat64(1, &buf);
18214 ;
18215 return 0;
18216 }
18217 _ACEOF
18218 if ac_fn_cxx_try_compile "$LINENO"; then :
18219 glibcxx_cv_LFS=yes
18220 else
18221 glibcxx_cv_LFS=no
18222 fi
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224 else
18225 if test x$gcc_no_link = xyes; then
18226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18227 fi
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <unistd.h>
18231 #include <stdio.h>
18232 #include <sys/stat.h>
18233
18234 int
18235 main ()
18236 {
18237 FILE* fp;
18238 fopen64("t", "w");
18239 fseeko64(fp, 0, SEEK_CUR);
18240 ftello64(fp);
18241 lseek64(1, 0, SEEK_CUR);
18242 struct stat64 buf;
18243 fstat64(1, &buf);
18244 ;
18245 return 0;
18246 }
18247 _ACEOF
18248 if ac_fn_cxx_try_link "$LINENO"; then :
18249 glibcxx_cv_LFS=yes
18250 else
18251 glibcxx_cv_LFS=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext \
18254 conftest$ac_exeext conftest.$ac_ext
18255 fi
18256
18257 fi
18258
18259 if test $glibcxx_cv_LFS = yes; then
18260
18261 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18262
18263 fi
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18265 $as_echo "$glibcxx_cv_LFS" >&6; }
18266 CXXFLAGS="$ac_save_CXXFLAGS"
18267 ac_ext=c
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18272
18273
18274
18275 # For showmanyc_helper().
18276 for ac_header in sys/ioctl.h sys/filio.h
18277 do :
18278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18279 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18280 eval as_val=\$$as_ac_Header
18281 if test "x$as_val" = x""yes; then :
18282 cat >>confdefs.h <<_ACEOF
18283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18284 _ACEOF
18285
18286 fi
18287
18288 done
18289
18290
18291
18292
18293 ac_ext=cpp
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18298
18299 ac_save_CXXFLAGS="$CXXFLAGS"
18300 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18301
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18303 $as_echo_n "checking for poll... " >&6; }
18304 if test "${glibcxx_cv_POLL+set}" = set; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307
18308 if test x$gcc_no_link = xyes; then
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311 #include <poll.h>
18312 int
18313 main ()
18314 {
18315 struct pollfd pfd[1];
18316 pfd[0].events = POLLIN;
18317 poll(pfd, 1, 0);
18318 ;
18319 return 0;
18320 }
18321 _ACEOF
18322 if ac_fn_cxx_try_compile "$LINENO"; then :
18323 glibcxx_cv_POLL=yes
18324 else
18325 glibcxx_cv_POLL=no
18326 fi
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 else
18329 if test x$gcc_no_link = xyes; then
18330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18331 fi
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18334 #include <poll.h>
18335 int
18336 main ()
18337 {
18338 struct pollfd pfd[1];
18339 pfd[0].events = POLLIN;
18340 poll(pfd, 1, 0);
18341 ;
18342 return 0;
18343 }
18344 _ACEOF
18345 if ac_fn_cxx_try_link "$LINENO"; then :
18346 glibcxx_cv_POLL=yes
18347 else
18348 glibcxx_cv_POLL=no
18349 fi
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18352 fi
18353
18354 fi
18355
18356 if test $glibcxx_cv_POLL = yes; then
18357
18358 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18359
18360 fi
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18362 $as_echo "$glibcxx_cv_POLL" >&6; }
18363
18364 CXXFLAGS="$ac_save_CXXFLAGS"
18365 ac_ext=c
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370
18371
18372
18373
18374
18375 ac_ext=cpp
18376 ac_cpp='$CXXCPP $CPPFLAGS'
18377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18380
18381 ac_save_CXXFLAGS="$CXXFLAGS"
18382 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18383
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18385 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18386 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18387 $as_echo_n "(cached) " >&6
18388 else
18389
18390 if test x$gcc_no_link = xyes; then
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 #include <sys/stat.h>
18394 int
18395 main ()
18396 {
18397 struct stat buffer;
18398 fstat(0, &buffer);
18399 S_ISREG(buffer.st_mode);
18400 ;
18401 return 0;
18402 }
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18405 glibcxx_cv_S_ISREG=yes
18406 else
18407 glibcxx_cv_S_ISREG=no
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 else
18411 if test x$gcc_no_link = xyes; then
18412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 fi
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416 #include <sys/stat.h>
18417 int
18418 main ()
18419 {
18420 struct stat buffer;
18421 fstat(0, &buffer);
18422 S_ISREG(buffer.st_mode);
18423 ;
18424 return 0;
18425 }
18426 _ACEOF
18427 if ac_fn_cxx_try_link "$LINENO"; then :
18428 glibcxx_cv_S_ISREG=yes
18429 else
18430 glibcxx_cv_S_ISREG=no
18431 fi
18432 rm -f core conftest.err conftest.$ac_objext \
18433 conftest$ac_exeext conftest.$ac_ext
18434 fi
18435
18436 fi
18437
18438 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18439 $as_echo_n "(cached) " >&6
18440 else
18441
18442 if test x$gcc_no_link = xyes; then
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18445 #include <sys/stat.h>
18446 int
18447 main ()
18448 {
18449 struct stat buffer;
18450 fstat(0, &buffer);
18451 S_IFREG & buffer.st_mode;
18452 ;
18453 return 0;
18454 }
18455 _ACEOF
18456 if ac_fn_cxx_try_compile "$LINENO"; then :
18457 glibcxx_cv_S_IFREG=yes
18458 else
18459 glibcxx_cv_S_IFREG=no
18460 fi
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 else
18463 if test x$gcc_no_link = xyes; then
18464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 fi
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18468 #include <sys/stat.h>
18469 int
18470 main ()
18471 {
18472 struct stat buffer;
18473 fstat(0, &buffer);
18474 S_IFREG & buffer.st_mode;
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 if ac_fn_cxx_try_link "$LINENO"; then :
18480 glibcxx_cv_S_IFREG=yes
18481 else
18482 glibcxx_cv_S_IFREG=no
18483 fi
18484 rm -f core conftest.err conftest.$ac_objext \
18485 conftest$ac_exeext conftest.$ac_ext
18486 fi
18487
18488 fi
18489
18490 res=no
18491 if test $glibcxx_cv_S_ISREG = yes; then
18492
18493 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18494
18495 res=S_ISREG
18496 elif test $glibcxx_cv_S_IFREG = yes; then
18497
18498 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18499
18500 res=S_IFREG
18501 fi
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18503 $as_echo "$res" >&6; }
18504
18505 CXXFLAGS="$ac_save_CXXFLAGS"
18506 ac_ext=c
18507 ac_cpp='$CPP $CPPFLAGS'
18508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18511
18512
18513
18514 # For xsputn_2().
18515 for ac_header in sys/uio.h
18516 do :
18517 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18518 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define HAVE_SYS_UIO_H 1
18521 _ACEOF
18522
18523 fi
18524
18525 done
18526
18527
18528
18529
18530 ac_ext=cpp
18531 ac_cpp='$CXXCPP $CPPFLAGS'
18532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18535
18536 ac_save_CXXFLAGS="$CXXFLAGS"
18537 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18538
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18540 $as_echo_n "checking for writev... " >&6; }
18541 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18544
18545 if test x$gcc_no_link = xyes; then
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 #include <sys/uio.h>
18549 int
18550 main ()
18551 {
18552 struct iovec iov[2];
18553 writev(0, iov, 0);
18554 ;
18555 return 0;
18556 }
18557 _ACEOF
18558 if ac_fn_cxx_try_compile "$LINENO"; then :
18559 glibcxx_cv_WRITEV=yes
18560 else
18561 glibcxx_cv_WRITEV=no
18562 fi
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 else
18565 if test x$gcc_no_link = xyes; then
18566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 fi
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <sys/uio.h>
18571 int
18572 main ()
18573 {
18574 struct iovec iov[2];
18575 writev(0, iov, 0);
18576 ;
18577 return 0;
18578 }
18579 _ACEOF
18580 if ac_fn_cxx_try_link "$LINENO"; then :
18581 glibcxx_cv_WRITEV=yes
18582 else
18583 glibcxx_cv_WRITEV=no
18584 fi
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18587 fi
18588
18589 fi
18590
18591 if test $glibcxx_cv_WRITEV = yes; then
18592
18593 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18594
18595 fi
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18597 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18598
18599 CXXFLAGS="$ac_save_CXXFLAGS"
18600 ac_ext=c
18601 ac_cpp='$CPP $CPPFLAGS'
18602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18605
18606
18607
18608 # For C99 support to TR1.
18609
18610
18611
18612 ac_ext=cpp
18613 ac_cpp='$CXXCPP $CPPFLAGS'
18614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617
18618
18619 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18620 # undefined and fake C99 facilities may be spuriously enabled.
18621 ac_save_CXXFLAGS="$CXXFLAGS"
18622 CXXFLAGS="$CXXFLAGS -std=c++98"
18623
18624 # Check for the existence of <complex.h> complex math functions used
18625 # by tr1/complex.
18626 for ac_header in complex.h
18627 do :
18628 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18629 if test "x$ac_cv_header_complex_h" = x""yes; then :
18630 cat >>confdefs.h <<_ACEOF
18631 #define HAVE_COMPLEX_H 1
18632 _ACEOF
18633 ac_has_complex_h=yes
18634 else
18635 ac_has_complex_h=no
18636 fi
18637
18638 done
18639
18640 ac_c99_complex_tr1=no;
18641 if test x"$ac_has_complex_h" = x"yes"; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18643 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <complex.h>
18647 int
18648 main ()
18649 {
18650 typedef __complex__ float float_type; float_type tmpf;
18651 cacosf(tmpf);
18652 casinf(tmpf);
18653 catanf(tmpf);
18654 cacoshf(tmpf);
18655 casinhf(tmpf);
18656 catanhf(tmpf);
18657 typedef __complex__ double double_type; double_type tmpd;
18658 cacos(tmpd);
18659 casin(tmpd);
18660 catan(tmpd);
18661 cacosh(tmpd);
18662 casinh(tmpd);
18663 catanh(tmpd);
18664 typedef __complex__ long double ld_type; ld_type tmpld;
18665 cacosl(tmpld);
18666 casinl(tmpld);
18667 catanl(tmpld);
18668 cacoshl(tmpld);
18669 casinhl(tmpld);
18670 catanhl(tmpld);
18671
18672 ;
18673 return 0;
18674 }
18675 _ACEOF
18676 if ac_fn_cxx_try_compile "$LINENO"; then :
18677 ac_c99_complex_tr1=yes
18678 else
18679 ac_c99_complex_tr1=no
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 fi
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18684 $as_echo "$ac_c99_complex_tr1" >&6; }
18685 if test x"$ac_c99_complex_tr1" = x"yes"; then
18686
18687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18688
18689 fi
18690
18691 # Check for the existence of <ctype.h> functions.
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18693 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18694 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18695 $as_echo_n "(cached) " >&6
18696 else
18697
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #include <ctype.h>
18701 int
18702 main ()
18703 {
18704 int ch;
18705 int ret;
18706 ret = isblank(ch);
18707
18708 ;
18709 return 0;
18710 }
18711 _ACEOF
18712 if ac_fn_cxx_try_compile "$LINENO"; then :
18713 glibcxx_cv_c99_ctype_tr1=yes
18714 else
18715 glibcxx_cv_c99_ctype_tr1=no
18716 fi
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718
18719 fi
18720
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18722 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18723 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18724
18725 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18726
18727 fi
18728
18729 # Check for the existence of <fenv.h> functions.
18730 for ac_header in fenv.h
18731 do :
18732 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18733 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_FENV_H 1
18736 _ACEOF
18737 ac_has_fenv_h=yes
18738 else
18739 ac_has_fenv_h=no
18740 fi
18741
18742 done
18743
18744 ac_c99_fenv_tr1=no;
18745 if test x"$ac_has_fenv_h" = x"yes"; then
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18747 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 #include <fenv.h>
18751 int
18752 main ()
18753 {
18754 int except, mode;
18755 fexcept_t* pflag;
18756 fenv_t* penv;
18757 int ret;
18758 ret = feclearexcept(except);
18759 ret = fegetexceptflag(pflag, except);
18760 ret = feraiseexcept(except);
18761 ret = fesetexceptflag(pflag, except);
18762 ret = fetestexcept(except);
18763 ret = fegetround();
18764 ret = fesetround(mode);
18765 ret = fegetenv(penv);
18766 ret = feholdexcept(penv);
18767 ret = fesetenv(penv);
18768 ret = feupdateenv(penv);
18769
18770 ;
18771 return 0;
18772 }
18773 _ACEOF
18774 if ac_fn_cxx_try_compile "$LINENO"; then :
18775 ac_c99_fenv_tr1=yes
18776 else
18777 ac_c99_fenv_tr1=no
18778 fi
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18780 fi
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18782 $as_echo "$ac_c99_fenv_tr1" >&6; }
18783 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18784
18785 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18786
18787 fi
18788
18789 # Check for the existence of <stdint.h> types.
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18791 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18792 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18793 $as_echo_n "(cached) " >&6
18794 else
18795
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #define __STDC_LIMIT_MACROS
18799 #define __STDC_CONSTANT_MACROS
18800 #include <stdint.h>
18801 int
18802 main ()
18803 {
18804 typedef int8_t my_int8_t;
18805 my_int8_t i8 = INT8_MIN;
18806 i8 = INT8_MAX;
18807 typedef int16_t my_int16_t;
18808 my_int16_t i16 = INT16_MIN;
18809 i16 = INT16_MAX;
18810 typedef int32_t my_int32_t;
18811 my_int32_t i32 = INT32_MIN;
18812 i32 = INT32_MAX;
18813 typedef int64_t my_int64_t;
18814 my_int64_t i64 = INT64_MIN;
18815 i64 = INT64_MAX;
18816 typedef int_fast8_t my_int_fast8_t;
18817 my_int_fast8_t if8 = INT_FAST8_MIN;
18818 if8 = INT_FAST8_MAX;
18819 typedef int_fast16_t my_int_fast16_t;
18820 my_int_fast16_t if16 = INT_FAST16_MIN;
18821 if16 = INT_FAST16_MAX;
18822 typedef int_fast32_t my_int_fast32_t;
18823 my_int_fast32_t if32 = INT_FAST32_MIN;
18824 if32 = INT_FAST32_MAX;
18825 typedef int_fast64_t my_int_fast64_t;
18826 my_int_fast64_t if64 = INT_FAST64_MIN;
18827 if64 = INT_FAST64_MAX;
18828 typedef int_least8_t my_int_least8_t;
18829 my_int_least8_t il8 = INT_LEAST8_MIN;
18830 il8 = INT_LEAST8_MAX;
18831 typedef int_least16_t my_int_least16_t;
18832 my_int_least16_t il16 = INT_LEAST16_MIN;
18833 il16 = INT_LEAST16_MAX;
18834 typedef int_least32_t my_int_least32_t;
18835 my_int_least32_t il32 = INT_LEAST32_MIN;
18836 il32 = INT_LEAST32_MAX;
18837 typedef int_least64_t my_int_least64_t;
18838 my_int_least64_t il64 = INT_LEAST64_MIN;
18839 il64 = INT_LEAST64_MAX;
18840 typedef intmax_t my_intmax_t;
18841 my_intmax_t im = INTMAX_MAX;
18842 im = INTMAX_MIN;
18843 typedef intptr_t my_intptr_t;
18844 my_intptr_t ip = INTPTR_MAX;
18845 ip = INTPTR_MIN;
18846 typedef uint8_t my_uint8_t;
18847 my_uint8_t ui8 = UINT8_MAX;
18848 ui8 = UINT8_MAX;
18849 typedef uint16_t my_uint16_t;
18850 my_uint16_t ui16 = UINT16_MAX;
18851 ui16 = UINT16_MAX;
18852 typedef uint32_t my_uint32_t;
18853 my_uint32_t ui32 = UINT32_MAX;
18854 ui32 = UINT32_MAX;
18855 typedef uint64_t my_uint64_t;
18856 my_uint64_t ui64 = UINT64_MAX;
18857 ui64 = UINT64_MAX;
18858 typedef uint_fast8_t my_uint_fast8_t;
18859 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18860 uif8 = UINT_FAST8_MAX;
18861 typedef uint_fast16_t my_uint_fast16_t;
18862 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18863 uif16 = UINT_FAST16_MAX;
18864 typedef uint_fast32_t my_uint_fast32_t;
18865 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18866 uif32 = UINT_FAST32_MAX;
18867 typedef uint_fast64_t my_uint_fast64_t;
18868 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18869 uif64 = UINT_FAST64_MAX;
18870 typedef uint_least8_t my_uint_least8_t;
18871 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18872 uil8 = UINT_LEAST8_MAX;
18873 typedef uint_least16_t my_uint_least16_t;
18874 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18875 uil16 = UINT_LEAST16_MAX;
18876 typedef uint_least32_t my_uint_least32_t;
18877 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18878 uil32 = UINT_LEAST32_MAX;
18879 typedef uint_least64_t my_uint_least64_t;
18880 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18881 uil64 = UINT_LEAST64_MAX;
18882 typedef uintmax_t my_uintmax_t;
18883 my_uintmax_t uim = UINTMAX_MAX;
18884 uim = UINTMAX_MAX;
18885 typedef uintptr_t my_uintptr_t;
18886 my_uintptr_t uip = UINTPTR_MAX;
18887 uip = UINTPTR_MAX;
18888
18889 ;
18890 return 0;
18891 }
18892 _ACEOF
18893 if ac_fn_cxx_try_compile "$LINENO"; then :
18894 glibcxx_cv_c99_stdint_tr1=yes
18895 else
18896 glibcxx_cv_c99_stdint_tr1=no
18897 fi
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899
18900 fi
18901
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18903 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18904 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18905
18906 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18907
18908 fi
18909
18910 # Check for the existence of <math.h> functions.
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18912 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18913 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18916
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <math.h>
18920 int
18921 main ()
18922 {
18923 typedef double_t my_double_t;
18924 typedef float_t my_float_t;
18925 acosh(0.0);
18926 acoshf(0.0f);
18927 acoshl(0.0l);
18928 asinh(0.0);
18929 asinhf(0.0f);
18930 asinhl(0.0l);
18931 atanh(0.0);
18932 atanhf(0.0f);
18933 atanhl(0.0l);
18934 cbrt(0.0);
18935 cbrtf(0.0f);
18936 cbrtl(0.0l);
18937 copysign(0.0, 0.0);
18938 copysignf(0.0f, 0.0f);
18939 copysignl(0.0l, 0.0l);
18940 erf(0.0);
18941 erff(0.0f);
18942 erfl(0.0l);
18943 erfc(0.0);
18944 erfcf(0.0f);
18945 erfcl(0.0l);
18946 exp2(0.0);
18947 exp2f(0.0f);
18948 exp2l(0.0l);
18949 expm1(0.0);
18950 expm1f(0.0f);
18951 expm1l(0.0l);
18952 fdim(0.0, 0.0);
18953 fdimf(0.0f, 0.0f);
18954 fdiml(0.0l, 0.0l);
18955 fma(0.0, 0.0, 0.0);
18956 fmaf(0.0f, 0.0f, 0.0f);
18957 fmal(0.0l, 0.0l, 0.0l);
18958 fmax(0.0, 0.0);
18959 fmaxf(0.0f, 0.0f);
18960 fmaxl(0.0l, 0.0l);
18961 fmin(0.0, 0.0);
18962 fminf(0.0f, 0.0f);
18963 fminl(0.0l, 0.0l);
18964 hypot(0.0, 0.0);
18965 hypotf(0.0f, 0.0f);
18966 hypotl(0.0l, 0.0l);
18967 ilogb(0.0);
18968 ilogbf(0.0f);
18969 ilogbl(0.0l);
18970 lgamma(0.0);
18971 lgammaf(0.0f);
18972 lgammal(0.0l);
18973 llrint(0.0);
18974 llrintf(0.0f);
18975 llrintl(0.0l);
18976 llround(0.0);
18977 llroundf(0.0f);
18978 llroundl(0.0l);
18979 log1p(0.0);
18980 log1pf(0.0f);
18981 log1pl(0.0l);
18982 log2(0.0);
18983 log2f(0.0f);
18984 log2l(0.0l);
18985 logb(0.0);
18986 logbf(0.0f);
18987 logbl(0.0l);
18988 lrint(0.0);
18989 lrintf(0.0f);
18990 lrintl(0.0l);
18991 lround(0.0);
18992 lroundf(0.0f);
18993 lroundl(0.0l);
18994 nan(0);
18995 nanf(0);
18996 nanl(0);
18997 nearbyint(0.0);
18998 nearbyintf(0.0f);
18999 nearbyintl(0.0l);
19000 nextafter(0.0, 0.0);
19001 nextafterf(0.0f, 0.0f);
19002 nextafterl(0.0l, 0.0l);
19003 nexttoward(0.0, 0.0);
19004 nexttowardf(0.0f, 0.0f);
19005 nexttowardl(0.0l, 0.0l);
19006 remainder(0.0, 0.0);
19007 remainderf(0.0f, 0.0f);
19008 remainderl(0.0l, 0.0l);
19009 remquo(0.0, 0.0, 0);
19010 remquof(0.0f, 0.0f, 0);
19011 remquol(0.0l, 0.0l, 0);
19012 rint(0.0);
19013 rintf(0.0f);
19014 rintl(0.0l);
19015 round(0.0);
19016 roundf(0.0f);
19017 roundl(0.0l);
19018 scalbln(0.0, 0l);
19019 scalblnf(0.0f, 0l);
19020 scalblnl(0.0l, 0l);
19021 scalbn(0.0, 0);
19022 scalbnf(0.0f, 0);
19023 scalbnl(0.0l, 0);
19024 tgamma(0.0);
19025 tgammaf(0.0f);
19026 tgammal(0.0l);
19027 trunc(0.0);
19028 truncf(0.0f);
19029 truncl(0.0l);
19030
19031 ;
19032 return 0;
19033 }
19034 _ACEOF
19035 if ac_fn_cxx_try_compile "$LINENO"; then :
19036 glibcxx_cv_c99_math_tr1=yes
19037 else
19038 glibcxx_cv_c99_math_tr1=no
19039 fi
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19041
19042 fi
19043
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19045 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19046 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19047
19048 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19049
19050 fi
19051
19052 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19053 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19054 ac_c99_inttypes_tr1=no;
19055 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19057 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19060 #include <inttypes.h>
19061 int
19062 main ()
19063 {
19064 intmax_t i, numer, denom, base;
19065 const char* s;
19066 char** endptr;
19067 intmax_t ret = imaxabs(i);
19068 imaxdiv_t dret = imaxdiv(numer, denom);
19069 ret = strtoimax(s, endptr, base);
19070 uintmax_t uret = strtoumax(s, endptr, base);
19071
19072 ;
19073 return 0;
19074 }
19075 _ACEOF
19076 if ac_fn_cxx_try_compile "$LINENO"; then :
19077 ac_c99_inttypes_tr1=yes
19078 else
19079 ac_c99_inttypes_tr1=no
19080 fi
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082 fi
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19084 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19085 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19086
19087 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19088
19089 fi
19090
19091 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19092 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19093 ac_c99_inttypes_wchar_t_tr1=no;
19094 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19096 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19099 #include <inttypes.h>
19100 int
19101 main ()
19102 {
19103 intmax_t base;
19104 const wchar_t* s;
19105 wchar_t** endptr;
19106 intmax_t ret = wcstoimax(s, endptr, base);
19107 uintmax_t uret = wcstoumax(s, endptr, base);
19108
19109 ;
19110 return 0;
19111 }
19112 _ACEOF
19113 if ac_fn_cxx_try_compile "$LINENO"; then :
19114 ac_c99_inttypes_wchar_t_tr1=yes
19115 else
19116 ac_c99_inttypes_wchar_t_tr1=no
19117 fi
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 fi
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19121 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19122 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19123
19124 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19125
19126 fi
19127
19128 # Check for the existence of the <stdbool.h> header.
19129 for ac_header in stdbool.h
19130 do :
19131 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19132 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STDBOOL_H 1
19135 _ACEOF
19136
19137 fi
19138
19139 done
19140
19141
19142 # Check for the existence of the <stdalign.h> header.
19143 for ac_header in stdalign.h
19144 do :
19145 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19146 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STDALIGN_H 1
19149 _ACEOF
19150
19151 fi
19152
19153 done
19154
19155
19156 CXXFLAGS="$ac_save_CXXFLAGS"
19157 ac_ext=c
19158 ac_cpp='$CPP $CPPFLAGS'
19159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19162
19163
19164
19165 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19166
19167
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19169 $as_echo_n "checking for the value of EOF... " >&6; }
19170 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19171 $as_echo_n "(cached) " >&6
19172 else
19173
19174 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19175
19176 else
19177 as_fn_error "computing EOF failed" "$LINENO" 5
19178 fi
19179
19180
19181 fi
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19183 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19184
19185 cat >>confdefs.h <<_ACEOF
19186 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19187 _ACEOF
19188
19189
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19191 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19192 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19193 $as_echo_n "(cached) " >&6
19194 else
19195
19196 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19197
19198 else
19199 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19200 fi
19201
19202
19203 fi
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19205 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19206
19207 cat >>confdefs.h <<_ACEOF
19208 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19209 _ACEOF
19210
19211
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19213 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19214 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19215 $as_echo_n "(cached) " >&6
19216 else
19217
19218 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19219
19220 else
19221 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19222 fi
19223
19224
19225 fi
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19227 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19228
19229 cat >>confdefs.h <<_ACEOF
19230 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19231 _ACEOF
19232
19233
19234
19235 # For gettimeofday support.
19236
19237
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19239 $as_echo_n "checking for gettimeofday... " >&6; }
19240
19241
19242 ac_ext=cpp
19243 ac_cpp='$CXXCPP $CPPFLAGS'
19244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19247
19248 ac_save_CXXFLAGS="$CXXFLAGS"
19249 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19250
19251 ac_has_gettimeofday=no;
19252 for ac_header in sys/time.h
19253 do :
19254 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19255 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_SYS_TIME_H 1
19258 _ACEOF
19259 ac_has_sys_time_h=yes
19260 else
19261 ac_has_sys_time_h=no
19262 fi
19263
19264 done
19265
19266 if test x"$ac_has_sys_time_h" = x"yes"; then
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19268 $as_echo_n "checking for gettimeofday... " >&6; }
19269 if test x$gcc_no_link = xyes; then
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 #include <sys/time.h>
19273 int
19274 main ()
19275 {
19276 timeval tv; gettimeofday(&tv, 0);
19277 ;
19278 return 0;
19279 }
19280 _ACEOF
19281 if ac_fn_cxx_try_compile "$LINENO"; then :
19282 ac_has_gettimeofday=yes
19283 else
19284 ac_has_gettimeofday=no
19285 fi
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19287 else
19288 if test x$gcc_no_link = xyes; then
19289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 fi
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19293 #include <sys/time.h>
19294 int
19295 main ()
19296 {
19297 timeval tv; gettimeofday(&tv, 0);
19298 ;
19299 return 0;
19300 }
19301 _ACEOF
19302 if ac_fn_cxx_try_link "$LINENO"; then :
19303 ac_has_gettimeofday=yes
19304 else
19305 ac_has_gettimeofday=no
19306 fi
19307 rm -f core conftest.err conftest.$ac_objext \
19308 conftest$ac_exeext conftest.$ac_ext
19309 fi
19310
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19312 $as_echo "$ac_has_gettimeofday" >&6; }
19313 fi
19314
19315 if test x"$ac_has_gettimeofday" = x"yes"; then
19316
19317 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19318
19319 fi
19320
19321 CXXFLAGS="$ac_save_CXXFLAGS"
19322 ac_ext=c
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19327
19328
19329
19330 # For clock_gettime, nanosleep and sched_yield support.
19331 # NB: The default is [no], because otherwise it requires linking.
19332
19333
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19335 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19336 # Check whether --enable-libstdcxx-time was given.
19337 if test "${enable_libstdcxx_time+set}" = set; then :
19338 enableval=$enable_libstdcxx_time;
19339 case "$enableval" in
19340 yes|no|rt) ;;
19341 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19342 esac
19343
19344 else
19345 enable_libstdcxx_time=no
19346 fi
19347
19348
19349
19350
19351 ac_ext=cpp
19352 ac_cpp='$CXXCPP $CPPFLAGS'
19353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19356
19357 ac_save_CXXFLAGS="$CXXFLAGS"
19358 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19359 ac_save_LIBS="$LIBS"
19360
19361 ac_has_clock_monotonic=no
19362 ac_has_clock_realtime=no
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19364 $as_echo "$enable_libstdcxx_time" >&6; }
19365
19366 if test x"$enable_libstdcxx_time" != x"no"; then
19367
19368 if test x"$enable_libstdcxx_time" = x"rt"; then
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19370 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19371 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 ac_func_search_save_LIBS=$LIBS
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377
19378 /* Override any GCC internal prototype to avoid an error.
19379 Use char because int might match the return type of a GCC
19380 builtin and then its argument prototype would still apply. */
19381 #ifdef __cplusplus
19382 extern "C"
19383 #endif
19384 char clock_gettime ();
19385 int
19386 main ()
19387 {
19388 return clock_gettime ();
19389 ;
19390 return 0;
19391 }
19392 _ACEOF
19393 for ac_lib in '' rt posix4; do
19394 if test -z "$ac_lib"; then
19395 ac_res="none required"
19396 else
19397 ac_res=-l$ac_lib
19398 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19399 fi
19400 if test x$gcc_no_link = xyes; then
19401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19402 fi
19403 if ac_fn_cxx_try_link "$LINENO"; then :
19404 ac_cv_search_clock_gettime=$ac_res
19405 fi
19406 rm -f core conftest.err conftest.$ac_objext \
19407 conftest$ac_exeext
19408 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19409 break
19410 fi
19411 done
19412 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19413
19414 else
19415 ac_cv_search_clock_gettime=no
19416 fi
19417 rm conftest.$ac_ext
19418 LIBS=$ac_func_search_save_LIBS
19419 fi
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19421 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19422 ac_res=$ac_cv_search_clock_gettime
19423 if test "$ac_res" != no; then :
19424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19425
19426 fi
19427
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19429 $as_echo_n "checking for library containing nanosleep... " >&6; }
19430 if test "${ac_cv_search_nanosleep+set}" = set; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19433 ac_func_search_save_LIBS=$LIBS
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436
19437 /* Override any GCC internal prototype to avoid an error.
19438 Use char because int might match the return type of a GCC
19439 builtin and then its argument prototype would still apply. */
19440 #ifdef __cplusplus
19441 extern "C"
19442 #endif
19443 char nanosleep ();
19444 int
19445 main ()
19446 {
19447 return nanosleep ();
19448 ;
19449 return 0;
19450 }
19451 _ACEOF
19452 for ac_lib in '' rt posix4; do
19453 if test -z "$ac_lib"; then
19454 ac_res="none required"
19455 else
19456 ac_res=-l$ac_lib
19457 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19458 fi
19459 if test x$gcc_no_link = xyes; then
19460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19461 fi
19462 if ac_fn_cxx_try_link "$LINENO"; then :
19463 ac_cv_search_nanosleep=$ac_res
19464 fi
19465 rm -f core conftest.err conftest.$ac_objext \
19466 conftest$ac_exeext
19467 if test "${ac_cv_search_nanosleep+set}" = set; then :
19468 break
19469 fi
19470 done
19471 if test "${ac_cv_search_nanosleep+set}" = set; then :
19472
19473 else
19474 ac_cv_search_nanosleep=no
19475 fi
19476 rm conftest.$ac_ext
19477 LIBS=$ac_func_search_save_LIBS
19478 fi
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19480 $as_echo "$ac_cv_search_nanosleep" >&6; }
19481 ac_res=$ac_cv_search_nanosleep
19482 if test "$ac_res" != no; then :
19483 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19484
19485 fi
19486
19487 else
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19489 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19490 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19491 $as_echo_n "(cached) " >&6
19492 else
19493 ac_func_search_save_LIBS=$LIBS
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496
19497 /* Override any GCC internal prototype to avoid an error.
19498 Use char because int might match the return type of a GCC
19499 builtin and then its argument prototype would still apply. */
19500 #ifdef __cplusplus
19501 extern "C"
19502 #endif
19503 char clock_gettime ();
19504 int
19505 main ()
19506 {
19507 return clock_gettime ();
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 for ac_lib in '' posix4; do
19513 if test -z "$ac_lib"; then
19514 ac_res="none required"
19515 else
19516 ac_res=-l$ac_lib
19517 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19518 fi
19519 if test x$gcc_no_link = xyes; then
19520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19521 fi
19522 if ac_fn_cxx_try_link "$LINENO"; then :
19523 ac_cv_search_clock_gettime=$ac_res
19524 fi
19525 rm -f core conftest.err conftest.$ac_objext \
19526 conftest$ac_exeext
19527 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19528 break
19529 fi
19530 done
19531 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19532
19533 else
19534 ac_cv_search_clock_gettime=no
19535 fi
19536 rm conftest.$ac_ext
19537 LIBS=$ac_func_search_save_LIBS
19538 fi
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19540 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19541 ac_res=$ac_cv_search_clock_gettime
19542 if test "$ac_res" != no; then :
19543 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19544
19545 fi
19546
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19548 $as_echo_n "checking for library containing nanosleep... " >&6; }
19549 if test "${ac_cv_search_nanosleep+set}" = set; then :
19550 $as_echo_n "(cached) " >&6
19551 else
19552 ac_func_search_save_LIBS=$LIBS
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555
19556 /* Override any GCC internal prototype to avoid an error.
19557 Use char because int might match the return type of a GCC
19558 builtin and then its argument prototype would still apply. */
19559 #ifdef __cplusplus
19560 extern "C"
19561 #endif
19562 char nanosleep ();
19563 int
19564 main ()
19565 {
19566 return nanosleep ();
19567 ;
19568 return 0;
19569 }
19570 _ACEOF
19571 for ac_lib in '' posix4; do
19572 if test -z "$ac_lib"; then
19573 ac_res="none required"
19574 else
19575 ac_res=-l$ac_lib
19576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19577 fi
19578 if test x$gcc_no_link = xyes; then
19579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 fi
19581 if ac_fn_cxx_try_link "$LINENO"; then :
19582 ac_cv_search_nanosleep=$ac_res
19583 fi
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext
19586 if test "${ac_cv_search_nanosleep+set}" = set; then :
19587 break
19588 fi
19589 done
19590 if test "${ac_cv_search_nanosleep+set}" = set; then :
19591
19592 else
19593 ac_cv_search_nanosleep=no
19594 fi
19595 rm conftest.$ac_ext
19596 LIBS=$ac_func_search_save_LIBS
19597 fi
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19599 $as_echo "$ac_cv_search_nanosleep" >&6; }
19600 ac_res=$ac_cv_search_nanosleep
19601 if test "$ac_res" != no; then :
19602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19603
19604 fi
19605
19606 fi
19607
19608 case "$ac_cv_search_clock_gettime" in
19609 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19610 ;;
19611 esac
19612 case "$ac_cv_search_nanosleep" in
19613 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19614 ;;
19615 esac
19616
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19618 $as_echo_n "checking for library containing sched_yield... " >&6; }
19619 if test "${ac_cv_search_sched_yield+set}" = set; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622 ac_func_search_save_LIBS=$LIBS
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625
19626 /* Override any GCC internal prototype to avoid an error.
19627 Use char because int might match the return type of a GCC
19628 builtin and then its argument prototype would still apply. */
19629 #ifdef __cplusplus
19630 extern "C"
19631 #endif
19632 char sched_yield ();
19633 int
19634 main ()
19635 {
19636 return sched_yield ();
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 for ac_lib in '' rt posix4; do
19642 if test -z "$ac_lib"; then
19643 ac_res="none required"
19644 else
19645 ac_res=-l$ac_lib
19646 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19647 fi
19648 if test x$gcc_no_link = xyes; then
19649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19650 fi
19651 if ac_fn_cxx_try_link "$LINENO"; then :
19652 ac_cv_search_sched_yield=$ac_res
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext
19656 if test "${ac_cv_search_sched_yield+set}" = set; then :
19657 break
19658 fi
19659 done
19660 if test "${ac_cv_search_sched_yield+set}" = set; then :
19661
19662 else
19663 ac_cv_search_sched_yield=no
19664 fi
19665 rm conftest.$ac_ext
19666 LIBS=$ac_func_search_save_LIBS
19667 fi
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19669 $as_echo "$ac_cv_search_sched_yield" >&6; }
19670 ac_res=$ac_cv_search_sched_yield
19671 if test "$ac_res" != no; then :
19672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19673
19674 fi
19675
19676
19677 case "$ac_cv_search_sched_yield" in
19678 -lposix4*)
19679 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19680
19681 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19682
19683 ;;
19684 -lrt*)
19685 if test x"$enable_libstdcxx_time" = x"rt"; then
19686 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19687
19688 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19689
19690 fi
19691 ;;
19692 *)
19693
19694 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19695
19696 ;;
19697 esac
19698
19699 for ac_header in unistd.h
19700 do :
19701 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19702 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_UNISTD_H 1
19705 _ACEOF
19706 ac_has_unistd_h=yes
19707 else
19708 ac_has_unistd_h=no
19709 fi
19710
19711 done
19712
19713
19714 if test x"$ac_has_unistd_h" = x"yes"; then
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19716 $as_echo_n "checking for monotonic clock... " >&6; }
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <unistd.h>
19723 #include <time.h>
19724
19725 int
19726 main ()
19727 {
19728 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19729 timespec tp;
19730 #endif
19731 clock_gettime(CLOCK_MONOTONIC, &tp);
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_has_clock_monotonic=yes
19739 else
19740 ac_has_clock_monotonic=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19746 $as_echo "$ac_has_clock_monotonic" >&6; }
19747
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19749 $as_echo_n "checking for realtime clock... " >&6; }
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <unistd.h>
19756 #include <time.h>
19757
19758 int
19759 main ()
19760 {
19761 #if _POSIX_TIMERS > 0
19762 timespec tp;
19763 #endif
19764 clock_gettime(CLOCK_REALTIME, &tp);
19765
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_has_clock_realtime=yes
19772 else
19773 ac_has_clock_realtime=no
19774 fi
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19777
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19779 $as_echo "$ac_has_clock_realtime" >&6; }
19780
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19782 $as_echo_n "checking for nanosleep... " >&6; }
19783 if test x$gcc_no_link = xyes; then
19784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 fi
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 #include <unistd.h>
19789 #include <time.h>
19790
19791 int
19792 main ()
19793 {
19794 #if _POSIX_TIMERS > 0
19795 timespec tp;
19796 #endif
19797 nanosleep(&tp, 0);
19798
19799 ;
19800 return 0;
19801 }
19802 _ACEOF
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804 ac_has_nanosleep=yes
19805 else
19806 ac_has_nanosleep=no
19807 fi
19808 rm -f core conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext conftest.$ac_ext
19810
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19812 $as_echo "$ac_has_nanosleep" >&6; }
19813 fi
19814 fi
19815
19816 if test x"$ac_has_clock_monotonic" = x"yes"; then
19817
19818 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19819
19820 fi
19821
19822 if test x"$ac_has_clock_realtime" = x"yes"; then
19823
19824 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19825
19826 fi
19827
19828 if test x"$ac_has_nanosleep" = x"yes"; then
19829
19830 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19831
19832 fi
19833
19834
19835
19836 CXXFLAGS="$ac_save_CXXFLAGS"
19837 LIBS="$ac_save_LIBS"
19838 ac_ext=c
19839 ac_cpp='$CPP $CPPFLAGS'
19840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19843
19844
19845
19846
19847 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_locale_h" = x""yes; then :
19849
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19851 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19852 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19853 $as_echo_n "(cached) " >&6
19854 else
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19857 #include <locale.h>
19858 int
19859 main ()
19860 {
19861 return LC_MESSAGES
19862 ;
19863 return 0;
19864 }
19865 _ACEOF
19866 if ac_fn_c_try_compile "$LINENO"; then :
19867 ac_cv_val_LC_MESSAGES=yes
19868 else
19869 ac_cv_val_LC_MESSAGES=no
19870 fi
19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872 fi
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19874 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19875 if test $ac_cv_val_LC_MESSAGES = yes; then
19876
19877 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19878
19879 fi
19880
19881 fi
19882
19883
19884
19885
19886 # For hardware_concurrency
19887 for ac_header in sys/sysinfo.h
19888 do :
19889 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19890 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19891 cat >>confdefs.h <<_ACEOF
19892 #define HAVE_SYS_SYSINFO_H 1
19893 _ACEOF
19894
19895 fi
19896
19897 done
19898
19899
19900
19901
19902 ac_ext=cpp
19903 ac_cpp='$CXXCPP $CPPFLAGS'
19904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19907
19908 ac_save_CXXFLAGS="$CXXFLAGS"
19909 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19910
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19912 $as_echo_n "checking for get_nprocs... " >&6; }
19913 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19914 $as_echo_n "(cached) " >&6
19915 else
19916
19917 if test x$gcc_no_link = xyes; then
19918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19920 #include <sys/sysinfo.h>
19921 int
19922 main ()
19923 {
19924 int n = get_nprocs();
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 if ac_fn_cxx_try_compile "$LINENO"; then :
19930 glibcxx_cv_GET_NPROCS=yes
19931 else
19932 glibcxx_cv_GET_NPROCS=no
19933 fi
19934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19935 else
19936 if test x$gcc_no_link = xyes; then
19937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19938 fi
19939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h. */
19941 #include <sys/sysinfo.h>
19942 int
19943 main ()
19944 {
19945 int n = get_nprocs();
19946 ;
19947 return 0;
19948 }
19949 _ACEOF
19950 if ac_fn_cxx_try_link "$LINENO"; then :
19951 glibcxx_cv_GET_NPROCS=yes
19952 else
19953 glibcxx_cv_GET_NPROCS=no
19954 fi
19955 rm -f core conftest.err conftest.$ac_objext \
19956 conftest$ac_exeext conftest.$ac_ext
19957 fi
19958
19959 fi
19960
19961 if test $glibcxx_cv_GET_NPROCS = yes; then
19962
19963 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19964
19965 fi
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19967 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19968
19969 CXXFLAGS="$ac_save_CXXFLAGS"
19970 ac_ext=c
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975
19976
19977 for ac_header in unistd.h
19978 do :
19979 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19980 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19981 cat >>confdefs.h <<_ACEOF
19982 #define HAVE_UNISTD_H 1
19983 _ACEOF
19984
19985 fi
19986
19987 done
19988
19989
19990
19991
19992 ac_ext=cpp
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997
19998 ac_save_CXXFLAGS="$CXXFLAGS"
19999 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20000
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20002 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20003 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20004 $as_echo_n "(cached) " >&6
20005 else
20006
20007 if test x$gcc_no_link = xyes; then
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 #include <unistd.h>
20011 int
20012 main ()
20013 {
20014 int n = sysconf(_SC_NPROCESSORS_ONLN);
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 if ac_fn_cxx_try_compile "$LINENO"; then :
20020 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20021 else
20022 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20023 fi
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 else
20026 if test x$gcc_no_link = xyes; then
20027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20028 fi
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <unistd.h>
20032 int
20033 main ()
20034 {
20035 int n = sysconf(_SC_NPROCESSORS_ONLN);
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_cxx_try_link "$LINENO"; then :
20041 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20042 else
20043 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext \
20046 conftest$ac_exeext conftest.$ac_ext
20047 fi
20048
20049 fi
20050
20051 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20052
20053 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20054
20055 fi
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20057 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20058
20059 CXXFLAGS="$ac_save_CXXFLAGS"
20060 ac_ext=c
20061 ac_cpp='$CPP $CPPFLAGS'
20062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20065
20066
20067
20068
20069
20070 ac_ext=cpp
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20075
20076 ac_save_CXXFLAGS="$CXXFLAGS"
20077 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20078
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20080 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20081 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20082 $as_echo_n "(cached) " >&6
20083 else
20084
20085 if test x$gcc_no_link = xyes; then
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 #include <unistd.h>
20089 int
20090 main ()
20091 {
20092 int n = sysconf(_SC_NPROC_ONLN);
20093 ;
20094 return 0;
20095 }
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 glibcxx_cv_SC_NPROC_ONLN=yes
20099 else
20100 glibcxx_cv_SC_NPROC_ONLN=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 else
20104 if test x$gcc_no_link = xyes; then
20105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20106 fi
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <unistd.h>
20110 int
20111 main ()
20112 {
20113 int n = sysconf(_SC_NPROC_ONLN);
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 if ac_fn_cxx_try_link "$LINENO"; then :
20119 glibcxx_cv_SC_NPROC_ONLN=yes
20120 else
20121 glibcxx_cv_SC_NPROC_ONLN=no
20122 fi
20123 rm -f core conftest.err conftest.$ac_objext \
20124 conftest$ac_exeext conftest.$ac_ext
20125 fi
20126
20127 fi
20128
20129 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20130
20131 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20132
20133 fi
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20135 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20136
20137 CXXFLAGS="$ac_save_CXXFLAGS"
20138 ac_ext=c
20139 ac_cpp='$CPP $CPPFLAGS'
20140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20143
20144
20145
20146
20147
20148 ac_ext=cpp
20149 ac_cpp='$CXXCPP $CPPFLAGS'
20150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20153
20154 ac_save_CXXFLAGS="$CXXFLAGS"
20155 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20156
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20158 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20159 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20160 $as_echo_n "(cached) " >&6
20161 else
20162
20163 if test x$gcc_no_link = xyes; then
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20166 #include <pthread.h>
20167 int
20168 main ()
20169 {
20170 int n = pthread_num_processors_np();
20171 ;
20172 return 0;
20173 }
20174 _ACEOF
20175 if ac_fn_cxx_try_compile "$LINENO"; then :
20176 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20177 else
20178 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20179 fi
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 else
20182 if test x$gcc_no_link = xyes; then
20183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20184 fi
20185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h. */
20187 #include <pthread.h>
20188 int
20189 main ()
20190 {
20191 int n = pthread_num_processors_np();
20192 ;
20193 return 0;
20194 }
20195 _ACEOF
20196 if ac_fn_cxx_try_link "$LINENO"; then :
20197 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20198 else
20199 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20200 fi
20201 rm -f core conftest.err conftest.$ac_objext \
20202 conftest$ac_exeext conftest.$ac_ext
20203 fi
20204
20205 fi
20206
20207 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20208
20209 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20210
20211 fi
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20213 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20214
20215 CXXFLAGS="$ac_save_CXXFLAGS"
20216 ac_ext=c
20217 ac_cpp='$CPP $CPPFLAGS'
20218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20221
20222
20223
20224
20225
20226 ac_ext=cpp
20227 ac_cpp='$CXXCPP $CPPFLAGS'
20228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20231
20232 ac_save_CXXFLAGS="$CXXFLAGS"
20233 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20234
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20236 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20237 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20238 $as_echo_n "(cached) " >&6
20239 else
20240
20241 if test x$gcc_no_link = xyes; then
20242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20243 /* end confdefs.h. */
20244
20245 #include <stddef.h>
20246 #include <sys/sysctl.h>
20247
20248 int
20249 main ()
20250 {
20251
20252 int count;
20253 size_t size = sizeof(count);
20254 int mib[] = { CTL_HW, HW_NCPU };
20255 sysctl(mib, 2, &count, &size, NULL, 0);
20256
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 if ac_fn_cxx_try_compile "$LINENO"; then :
20262 glibcxx_cv_SYSCTL_HW_NCPU=yes
20263 else
20264 glibcxx_cv_SYSCTL_HW_NCPU=no
20265 fi
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 else
20268 if test x$gcc_no_link = xyes; then
20269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20270 fi
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20273
20274 #include <stddef.h>
20275 #include <sys/sysctl.h>
20276
20277 int
20278 main ()
20279 {
20280
20281 int count;
20282 size_t size = sizeof(count);
20283 int mib[] = { CTL_HW, HW_NCPU };
20284 sysctl(mib, 2, &count, &size, NULL, 0);
20285
20286 ;
20287 return 0;
20288 }
20289 _ACEOF
20290 if ac_fn_cxx_try_link "$LINENO"; then :
20291 glibcxx_cv_SYSCTL_HW_NCPU=yes
20292 else
20293 glibcxx_cv_SYSCTL_HW_NCPU=no
20294 fi
20295 rm -f core conftest.err conftest.$ac_objext \
20296 conftest$ac_exeext conftest.$ac_ext
20297 fi
20298
20299 fi
20300
20301 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20302
20303 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20304
20305 fi
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20307 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20308
20309 CXXFLAGS="$ac_save_CXXFLAGS"
20310 ac_ext=c
20311 ac_cpp='$CPP $CPPFLAGS'
20312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20315
20316
20317
20318 # Check for available headers.
20319 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20320 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20321 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20322 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20323 wchar.h wctype.h
20324 do :
20325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20326 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20327 eval as_val=\$$as_ac_Header
20328 if test "x$as_val" = x""yes; then :
20329 cat >>confdefs.h <<_ACEOF
20330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20331 _ACEOF
20332
20333 fi
20334
20335 done
20336
20337
20338 # Only do link tests if native. Else, hardcode.
20339 if $GLIBCXX_IS_NATIVE; then
20340
20341 # We can do more elaborate tests that assume a working linker.
20342 CANADIAN=no
20343
20344
20345
20346 # Check whether --with-gnu-ld was given.
20347 if test "${with_gnu_ld+set}" = set; then :
20348 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20349 else
20350 with_gnu_ld=no
20351 fi
20352
20353 ac_prog=ld
20354 if test "$GCC" = yes; then
20355 # Check if gcc -print-prog-name=ld gives a path.
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20357 $as_echo_n "checking for ld used by $CC... " >&6; }
20358 case $host in
20359 *-*-mingw*)
20360 # gcc leaves a trailing carriage return which upsets mingw
20361 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20362 *)
20363 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20364 esac
20365 case $ac_prog in
20366 # Accept absolute paths.
20367 [\\/]* | ?:[\\/]*)
20368 re_direlt='/[^/][^/]*/\.\./'
20369 # Canonicalize the pathname of ld
20370 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20371 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20372 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20373 done
20374 test -z "$LD" && LD="$ac_prog"
20375 ;;
20376 "")
20377 # If it fails, then pretend we aren't using GCC.
20378 ac_prog=ld
20379 ;;
20380 *)
20381 # If it is relative, then search for the first ld in PATH.
20382 with_gnu_ld=unknown
20383 ;;
20384 esac
20385 elif test "$with_gnu_ld" = yes; then
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20387 $as_echo_n "checking for GNU ld... " >&6; }
20388 else
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20390 $as_echo_n "checking for non-GNU ld... " >&6; }
20391 fi
20392 if test "${lt_cv_path_LD+set}" = set; then :
20393 $as_echo_n "(cached) " >&6
20394 else
20395 if test -z "$LD"; then
20396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20397 for ac_dir in $PATH; do
20398 IFS="$lt_save_ifs"
20399 test -z "$ac_dir" && ac_dir=.
20400 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20401 lt_cv_path_LD="$ac_dir/$ac_prog"
20402 # Check to see if the program is GNU ld. I'd rather use --version,
20403 # but apparently some variants of GNU ld only accept -v.
20404 # Break only if it was the GNU/non-GNU ld that we prefer.
20405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20406 *GNU* | *'with BFD'*)
20407 test "$with_gnu_ld" != no && break
20408 ;;
20409 *)
20410 test "$with_gnu_ld" != yes && break
20411 ;;
20412 esac
20413 fi
20414 done
20415 IFS="$lt_save_ifs"
20416 else
20417 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20418 fi
20419 fi
20420
20421 LD="$lt_cv_path_LD"
20422 if test -n "$LD"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20424 $as_echo "$LD" >&6; }
20425 else
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20427 $as_echo "no" >&6; }
20428 fi
20429 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20431 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20432 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20433 $as_echo_n "(cached) " >&6
20434 else
20435 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20436 case `$LD -v 2>&1 </dev/null` in
20437 *GNU* | *'with BFD'*)
20438 lt_cv_prog_gnu_ld=yes
20439 ;;
20440 *)
20441 lt_cv_prog_gnu_ld=no
20442 ;;
20443 esac
20444 fi
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20446 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20447 with_gnu_ld=$lt_cv_prog_gnu_ld
20448
20449
20450
20451
20452
20453
20454
20455 # If we're not using GNU ld, then there's no point in even trying these
20456 # tests. Check for that first. We should have already tested for gld
20457 # by now (in libtool), but require it now just to be safe...
20458 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20459 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20460
20461
20462
20463 # The name set by libtool depends on the version of libtool. Shame on us
20464 # for depending on an impl detail, but c'est la vie. Older versions used
20465 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20466 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20467 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20468 # set (hence we're using an older libtool), then set it.
20469 if test x${with_gnu_ld+set} != xset; then
20470 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20471 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20472 with_gnu_ld=no
20473 else
20474 with_gnu_ld=$ac_cv_prog_gnu_ld
20475 fi
20476 fi
20477
20478 # Start by getting the version number. I think the libtool test already
20479 # does some of this, but throws away the result.
20480 glibcxx_ld_is_gold=no
20481 if test x"$with_gnu_ld" = x"yes"; then
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20483 $as_echo_n "checking for ld version... " >&6; }
20484
20485 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20486 glibcxx_ld_is_gold=yes
20487 fi
20488 ldver=`$LD --version 2>/dev/null |
20489 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'`
20490
20491 glibcxx_gnu_ld_version=`echo $ldver | \
20492 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20494 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20495 fi
20496
20497 # Set --gc-sections.
20498 glibcxx_have_gc_sections=no
20499 if test "$glibcxx_ld_is_gold" = "yes"; then
20500 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20501 glibcxx_have_gc_sections=yes
20502 fi
20503 else
20504 glibcxx_gcsections_min_ld=21602
20505 if test x"$with_gnu_ld" = x"yes" &&
20506 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20507 glibcxx_have_gc_sections=yes
20508 fi
20509 fi
20510 if test "$glibcxx_have_gc_sections" = "yes"; then
20511 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20512 # NB: This flag only works reliably after 2.16.1. Configure tests
20513 # for this are difficult, so hard wire a value that should work.
20514
20515 ac_test_CFLAGS="${CFLAGS+set}"
20516 ac_save_CFLAGS="$CFLAGS"
20517 CFLAGS='-Wl,--gc-sections'
20518
20519 # Check for -Wl,--gc-sections
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20521 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20522 if test x$gcc_no_link = xyes; then
20523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20524 fi
20525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h. */
20527 int one(void) { return 1; }
20528 int two(void) { return 2; }
20529
20530 int
20531 main ()
20532 {
20533 two();
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 if ac_fn_c_try_link "$LINENO"; then :
20539 ac_gcsections=yes
20540 else
20541 ac_gcsections=no
20542 fi
20543 rm -f core conftest.err conftest.$ac_objext \
20544 conftest$ac_exeext conftest.$ac_ext
20545 if test "$ac_gcsections" = "yes"; then
20546 rm -f conftest.c
20547 touch conftest.c
20548 if $CC -c conftest.c; then
20549 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20550 grep "Warning: gc-sections option ignored" > /dev/null; then
20551 ac_gcsections=no
20552 fi
20553 fi
20554 rm -f conftest.c conftest.o conftest
20555 fi
20556 if test "$ac_gcsections" = "yes"; then
20557 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20558 fi
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20560 $as_echo "$ac_gcsections" >&6; }
20561
20562 if test "$ac_test_CFLAGS" = set; then
20563 CFLAGS="$ac_save_CFLAGS"
20564 else
20565 # this is the suspicious part
20566 CFLAGS=''
20567 fi
20568 fi
20569
20570 # Set -z,relro.
20571 # Note this is only for shared objects.
20572 ac_ld_relro=no
20573 if test x"$with_gnu_ld" = x"yes"; then
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20575 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20576 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20577 if test -n "$cxx_z_relo"; then
20578 OPT_LDFLAGS="-Wl,-z,relro"
20579 ac_ld_relro=yes
20580 fi
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20582 $as_echo "$ac_ld_relro" >&6; }
20583 fi
20584
20585 # Set linker optimization flags.
20586 if test x"$with_gnu_ld" = x"yes"; then
20587 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20588 fi
20589
20590
20591
20592
20593
20594 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20595 ac_save_CXXFLAGS="$CXXFLAGS"
20596 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20597
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20599 $as_echo_n "checking for sin in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_sin+set}" = set; then :
20601 $as_echo_n "(cached) " >&6
20602 else
20603 ac_check_lib_save_LIBS=$LIBS
20604 LIBS="-lm $LIBS"
20605 if test x$gcc_no_link = xyes; then
20606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 fi
20608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h. */
20610
20611 /* Override any GCC internal prototype to avoid an error.
20612 Use char because int might match the return type of a GCC
20613 builtin and then its argument prototype would still apply. */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 char sin ();
20618 int
20619 main ()
20620 {
20621 return sin ();
20622 ;
20623 return 0;
20624 }
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627 ac_cv_lib_m_sin=yes
20628 else
20629 ac_cv_lib_m_sin=no
20630 fi
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20634 fi
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20636 $as_echo "$ac_cv_lib_m_sin" >&6; }
20637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20638 libm="-lm"
20639 fi
20640
20641 ac_save_LIBS="$LIBS"
20642 LIBS="$LIBS $libm"
20643
20644
20645
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20647 $as_echo_n "checking for isinf declaration... " >&6; }
20648 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20649 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20651 else
20652
20653
20654 ac_ext=cpp
20655 ac_cpp='$CXXCPP $CPPFLAGS'
20656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20662 #include <math.h>
20663 #ifdef HAVE_IEEEFP_H
20664 #include <ieeefp.h>
20665 #endif
20666
20667 int
20668 main ()
20669 {
20670 isinf(0);
20671 ;
20672 return 0;
20673 }
20674 _ACEOF
20675 if ac_fn_cxx_try_compile "$LINENO"; then :
20676 glibcxx_cv_func_isinf_use=yes
20677 else
20678 glibcxx_cv_func_isinf_use=no
20679 fi
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 ac_ext=c
20682 ac_cpp='$CPP $CPPFLAGS'
20683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20686
20687
20688 fi
20689
20690 fi
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20692 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20693
20694 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20695 for ac_func in isinf
20696 do :
20697 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20698 if test "x$ac_cv_func_isinf" = x""yes; then :
20699 cat >>confdefs.h <<_ACEOF
20700 #define HAVE_ISINF 1
20701 _ACEOF
20702
20703 fi
20704 done
20705
20706 else
20707
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20709 $as_echo_n "checking for _isinf declaration... " >&6; }
20710 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20711 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20714
20715
20716 ac_ext=cpp
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20721
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20724 #include <math.h>
20725 #ifdef HAVE_IEEEFP_H
20726 #include <ieeefp.h>
20727 #endif
20728
20729 int
20730 main ()
20731 {
20732 _isinf(0);
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 if ac_fn_cxx_try_compile "$LINENO"; then :
20738 glibcxx_cv_func__isinf_use=yes
20739 else
20740 glibcxx_cv_func__isinf_use=no
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 ac_ext=c
20744 ac_cpp='$CPP $CPPFLAGS'
20745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748
20749
20750 fi
20751
20752 fi
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20754 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20755
20756 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20757 for ac_func in _isinf
20758 do :
20759 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20760 if test "x$ac_cv_func__isinf" = x""yes; then :
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE__ISINF 1
20763 _ACEOF
20764
20765 fi
20766 done
20767
20768 fi
20769 fi
20770
20771
20772
20773
20774
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20776 $as_echo_n "checking for isnan declaration... " >&6; }
20777 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20778 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20779 $as_echo_n "(cached) " >&6
20780 else
20781
20782
20783 ac_ext=cpp
20784 ac_cpp='$CXXCPP $CPPFLAGS'
20785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20788
20789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h. */
20791 #include <math.h>
20792 #ifdef HAVE_IEEEFP_H
20793 #include <ieeefp.h>
20794 #endif
20795
20796 int
20797 main ()
20798 {
20799 isnan(0);
20800 ;
20801 return 0;
20802 }
20803 _ACEOF
20804 if ac_fn_cxx_try_compile "$LINENO"; then :
20805 glibcxx_cv_func_isnan_use=yes
20806 else
20807 glibcxx_cv_func_isnan_use=no
20808 fi
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810 ac_ext=c
20811 ac_cpp='$CPP $CPPFLAGS'
20812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815
20816
20817 fi
20818
20819 fi
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20821 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20822
20823 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20824 for ac_func in isnan
20825 do :
20826 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20827 if test "x$ac_cv_func_isnan" = x""yes; then :
20828 cat >>confdefs.h <<_ACEOF
20829 #define HAVE_ISNAN 1
20830 _ACEOF
20831
20832 fi
20833 done
20834
20835 else
20836
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20838 $as_echo_n "checking for _isnan declaration... " >&6; }
20839 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20840 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20843
20844
20845 ac_ext=cpp
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20850
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <math.h>
20854 #ifdef HAVE_IEEEFP_H
20855 #include <ieeefp.h>
20856 #endif
20857
20858 int
20859 main ()
20860 {
20861 _isnan(0);
20862 ;
20863 return 0;
20864 }
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867 glibcxx_cv_func__isnan_use=yes
20868 else
20869 glibcxx_cv_func__isnan_use=no
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872 ac_ext=c
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877
20878
20879 fi
20880
20881 fi
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20883 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20884
20885 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20886 for ac_func in _isnan
20887 do :
20888 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20889 if test "x$ac_cv_func__isnan" = x""yes; then :
20890 cat >>confdefs.h <<_ACEOF
20891 #define HAVE__ISNAN 1
20892 _ACEOF
20893
20894 fi
20895 done
20896
20897 fi
20898 fi
20899
20900
20901
20902
20903
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20905 $as_echo_n "checking for finite declaration... " >&6; }
20906 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20907 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20908 $as_echo_n "(cached) " >&6
20909 else
20910
20911
20912 ac_ext=cpp
20913 ac_cpp='$CXXCPP $CPPFLAGS'
20914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20917
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20920 #include <math.h>
20921 #ifdef HAVE_IEEEFP_H
20922 #include <ieeefp.h>
20923 #endif
20924
20925 int
20926 main ()
20927 {
20928 finite(0);
20929 ;
20930 return 0;
20931 }
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934 glibcxx_cv_func_finite_use=yes
20935 else
20936 glibcxx_cv_func_finite_use=no
20937 fi
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939 ac_ext=c
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20944
20945
20946 fi
20947
20948 fi
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20950 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20951
20952 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20953 for ac_func in finite
20954 do :
20955 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20956 if test "x$ac_cv_func_finite" = x""yes; then :
20957 cat >>confdefs.h <<_ACEOF
20958 #define HAVE_FINITE 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964 else
20965
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20967 $as_echo_n "checking for _finite declaration... " >&6; }
20968 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20969 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20970 $as_echo_n "(cached) " >&6
20971 else
20972
20973
20974 ac_ext=cpp
20975 ac_cpp='$CXXCPP $CPPFLAGS'
20976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20979
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #include <math.h>
20983 #ifdef HAVE_IEEEFP_H
20984 #include <ieeefp.h>
20985 #endif
20986
20987 int
20988 main ()
20989 {
20990 _finite(0);
20991 ;
20992 return 0;
20993 }
20994 _ACEOF
20995 if ac_fn_cxx_try_compile "$LINENO"; then :
20996 glibcxx_cv_func__finite_use=yes
20997 else
20998 glibcxx_cv_func__finite_use=no
20999 fi
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001 ac_ext=c
21002 ac_cpp='$CPP $CPPFLAGS'
21003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21006
21007
21008 fi
21009
21010 fi
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21012 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21013
21014 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21015 for ac_func in _finite
21016 do :
21017 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21018 if test "x$ac_cv_func__finite" = x""yes; then :
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE__FINITE 1
21021 _ACEOF
21022
21023 fi
21024 done
21025
21026 fi
21027 fi
21028
21029
21030
21031
21032
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21034 $as_echo_n "checking for sincos declaration... " >&6; }
21035 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21036 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21039
21040
21041 ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21046
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21049 #include <math.h>
21050 int
21051 main ()
21052 {
21053 sincos(0, 0, 0);
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 if ac_fn_cxx_try_compile "$LINENO"; then :
21059 glibcxx_cv_func_sincos_use=yes
21060 else
21061 glibcxx_cv_func_sincos_use=no
21062 fi
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064 ac_ext=c
21065 ac_cpp='$CPP $CPPFLAGS'
21066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21069
21070
21071 fi
21072
21073 fi
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21075 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21076
21077 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21078 for ac_func in sincos
21079 do :
21080 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21081 if test "x$ac_cv_func_sincos" = x""yes; then :
21082 cat >>confdefs.h <<_ACEOF
21083 #define HAVE_SINCOS 1
21084 _ACEOF
21085
21086 fi
21087 done
21088
21089 else
21090
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21092 $as_echo_n "checking for _sincos declaration... " >&6; }
21093 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21094 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21095 $as_echo_n "(cached) " >&6
21096 else
21097
21098
21099 ac_ext=cpp
21100 ac_cpp='$CXXCPP $CPPFLAGS'
21101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21104
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21107 #include <math.h>
21108 int
21109 main ()
21110 {
21111 _sincos(0, 0, 0);
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117 glibcxx_cv_func__sincos_use=yes
21118 else
21119 glibcxx_cv_func__sincos_use=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128
21129 fi
21130
21131 fi
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21133 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21134
21135 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21136 for ac_func in _sincos
21137 do :
21138 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21139 if test "x$ac_cv_func__sincos" = x""yes; then :
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE__SINCOS 1
21142 _ACEOF
21143
21144 fi
21145 done
21146
21147 fi
21148 fi
21149
21150
21151
21152
21153
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21155 $as_echo_n "checking for fpclass declaration... " >&6; }
21156 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21157 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21158 $as_echo_n "(cached) " >&6
21159 else
21160
21161
21162 ac_ext=cpp
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21170 #include <math.h>
21171 #ifdef HAVE_IEEEFP_H
21172 #include <ieeefp.h>
21173 #endif
21174
21175 int
21176 main ()
21177 {
21178 fpclass(0);
21179 ;
21180 return 0;
21181 }
21182 _ACEOF
21183 if ac_fn_cxx_try_compile "$LINENO"; then :
21184 glibcxx_cv_func_fpclass_use=yes
21185 else
21186 glibcxx_cv_func_fpclass_use=no
21187 fi
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194
21195
21196 fi
21197
21198 fi
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21200 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21201
21202 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21203 for ac_func in fpclass
21204 do :
21205 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21206 if test "x$ac_cv_func_fpclass" = x""yes; then :
21207 cat >>confdefs.h <<_ACEOF
21208 #define HAVE_FPCLASS 1
21209 _ACEOF
21210
21211 fi
21212 done
21213
21214 else
21215
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21217 $as_echo_n "checking for _fpclass declaration... " >&6; }
21218 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21219 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21220 $as_echo_n "(cached) " >&6
21221 else
21222
21223
21224 ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #include <math.h>
21233 #ifdef HAVE_IEEEFP_H
21234 #include <ieeefp.h>
21235 #endif
21236
21237 int
21238 main ()
21239 {
21240 _fpclass(0);
21241 ;
21242 return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246 glibcxx_cv_func__fpclass_use=yes
21247 else
21248 glibcxx_cv_func__fpclass_use=no
21249 fi
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256
21257
21258 fi
21259
21260 fi
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21262 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21263
21264 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21265 for ac_func in _fpclass
21266 do :
21267 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21268 if test "x$ac_cv_func__fpclass" = x""yes; then :
21269 cat >>confdefs.h <<_ACEOF
21270 #define HAVE__FPCLASS 1
21271 _ACEOF
21272
21273 fi
21274 done
21275
21276 fi
21277 fi
21278
21279
21280
21281
21282
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21284 $as_echo_n "checking for qfpclass declaration... " >&6; }
21285 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21286 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21287 $as_echo_n "(cached) " >&6
21288 else
21289
21290
21291 ac_ext=cpp
21292 ac_cpp='$CXXCPP $CPPFLAGS'
21293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21296
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21299 #include <math.h>
21300 #ifdef HAVE_IEEEFP_H
21301 #include <ieeefp.h>
21302 #endif
21303
21304 int
21305 main ()
21306 {
21307 qfpclass(0);
21308 ;
21309 return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313 glibcxx_cv_func_qfpclass_use=yes
21314 else
21315 glibcxx_cv_func_qfpclass_use=no
21316 fi
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323
21324
21325 fi
21326
21327 fi
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21329 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21330
21331 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21332 for ac_func in qfpclass
21333 do :
21334 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21335 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21336 cat >>confdefs.h <<_ACEOF
21337 #define HAVE_QFPCLASS 1
21338 _ACEOF
21339
21340 fi
21341 done
21342
21343 else
21344
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21346 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21347 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21348 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21351
21352
21353 ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21358
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <math.h>
21362 #ifdef HAVE_IEEEFP_H
21363 #include <ieeefp.h>
21364 #endif
21365
21366 int
21367 main ()
21368 {
21369 _qfpclass(0);
21370 ;
21371 return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375 glibcxx_cv_func__qfpclass_use=yes
21376 else
21377 glibcxx_cv_func__qfpclass_use=no
21378 fi
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385
21386
21387 fi
21388
21389 fi
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21391 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21392
21393 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21394 for ac_func in _qfpclass
21395 do :
21396 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21397 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE__QFPCLASS 1
21400 _ACEOF
21401
21402 fi
21403 done
21404
21405 fi
21406 fi
21407
21408
21409
21410
21411
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21413 $as_echo_n "checking for hypot declaration... " >&6; }
21414 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21415 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21416 $as_echo_n "(cached) " >&6
21417 else
21418
21419
21420 ac_ext=cpp
21421 ac_cpp='$CXXCPP $CPPFLAGS'
21422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h. */
21428 #include <math.h>
21429 int
21430 main ()
21431 {
21432 hypot(0, 0);
21433 ;
21434 return 0;
21435 }
21436 _ACEOF
21437 if ac_fn_cxx_try_compile "$LINENO"; then :
21438 glibcxx_cv_func_hypot_use=yes
21439 else
21440 glibcxx_cv_func_hypot_use=no
21441 fi
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 ac_ext=c
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21448
21449
21450 fi
21451
21452 fi
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21454 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21455
21456 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21457 for ac_func in hypot
21458 do :
21459 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21460 if test "x$ac_cv_func_hypot" = x""yes; then :
21461 cat >>confdefs.h <<_ACEOF
21462 #define HAVE_HYPOT 1
21463 _ACEOF
21464
21465 fi
21466 done
21467
21468 else
21469
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21471 $as_echo_n "checking for _hypot declaration... " >&6; }
21472 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21473 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21474 $as_echo_n "(cached) " >&6
21475 else
21476
21477
21478 ac_ext=cpp
21479 ac_cpp='$CXXCPP $CPPFLAGS'
21480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <math.h>
21487 int
21488 main ()
21489 {
21490 _hypot(0, 0);
21491 ;
21492 return 0;
21493 }
21494 _ACEOF
21495 if ac_fn_cxx_try_compile "$LINENO"; then :
21496 glibcxx_cv_func__hypot_use=yes
21497 else
21498 glibcxx_cv_func__hypot_use=no
21499 fi
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21506
21507
21508 fi
21509
21510 fi
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21512 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21513
21514 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21515 for ac_func in _hypot
21516 do :
21517 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21518 if test "x$ac_cv_func__hypot" = x""yes; then :
21519 cat >>confdefs.h <<_ACEOF
21520 #define HAVE__HYPOT 1
21521 _ACEOF
21522
21523 fi
21524 done
21525
21526 fi
21527 fi
21528
21529
21530
21531
21532
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21534 $as_echo_n "checking for float trig functions... " >&6; }
21535 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21536 $as_echo_n "(cached) " >&6
21537 else
21538
21539
21540 ac_ext=cpp
21541 ac_cpp='$CXXCPP $CPPFLAGS'
21542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21545
21546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21548 #include <math.h>
21549 int
21550 main ()
21551 {
21552 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558 glibcxx_cv_func_float_trig_use=yes
21559 else
21560 glibcxx_cv_func_float_trig_use=no
21561 fi
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568
21569 fi
21570
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21572 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21573 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21574 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21575 do :
21576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21578 eval as_val=\$$as_ac_var
21579 if test "x$as_val" = x""yes; then :
21580 cat >>confdefs.h <<_ACEOF
21581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21582 _ACEOF
21583
21584 fi
21585 done
21586
21587 else
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21589 $as_echo_n "checking for _float trig functions... " >&6; }
21590 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21591 $as_echo_n "(cached) " >&6
21592 else
21593
21594
21595 ac_ext=cpp
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21600
21601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21603 #include <math.h>
21604 int
21605 main ()
21606 {
21607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21608 ;
21609 return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 glibcxx_cv_func__float_trig_use=yes
21614 else
21615 glibcxx_cv_func__float_trig_use=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624 fi
21625
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21627 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21628 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21629 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21630 do :
21631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21633 eval as_val=\$$as_ac_var
21634 if test "x$as_val" = x""yes; then :
21635 cat >>confdefs.h <<_ACEOF
21636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21637 _ACEOF
21638
21639 fi
21640 done
21641
21642 fi
21643 fi
21644
21645
21646
21647
21648
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21650 $as_echo_n "checking for float round functions... " >&6; }
21651 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21652 $as_echo_n "(cached) " >&6
21653 else
21654
21655
21656 ac_ext=cpp
21657 ac_cpp='$CXXCPP $CPPFLAGS'
21658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21661
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21664 #include <math.h>
21665 int
21666 main ()
21667 {
21668 ceilf (0); floorf (0);
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 if ac_fn_cxx_try_compile "$LINENO"; then :
21674 glibcxx_cv_func_float_round_use=yes
21675 else
21676 glibcxx_cv_func_float_round_use=no
21677 fi
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 ac_ext=c
21680 ac_cpp='$CPP $CPPFLAGS'
21681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21684
21685 fi
21686
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21688 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21689 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21690 for ac_func in ceilf floorf
21691 do :
21692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21694 eval as_val=\$$as_ac_var
21695 if test "x$as_val" = x""yes; then :
21696 cat >>confdefs.h <<_ACEOF
21697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21698 _ACEOF
21699
21700 fi
21701 done
21702
21703 else
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21705 $as_echo_n "checking for _float round functions... " >&6; }
21706 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21707 $as_echo_n "(cached) " >&6
21708 else
21709
21710
21711 ac_ext=cpp
21712 ac_cpp='$CXXCPP $CPPFLAGS'
21713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21716
21717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21719 #include <math.h>
21720 int
21721 main ()
21722 {
21723 _ceilf (0); _floorf (0);
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_cxx_try_compile "$LINENO"; then :
21729 glibcxx_cv_func__float_round_use=yes
21730 else
21731 glibcxx_cv_func__float_round_use=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21734 ac_ext=c
21735 ac_cpp='$CPP $CPPFLAGS'
21736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21739
21740 fi
21741
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21743 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21744 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21745 for ac_func in _ceilf _floorf
21746 do :
21747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21749 eval as_val=\$$as_ac_var
21750 if test "x$as_val" = x""yes; then :
21751 cat >>confdefs.h <<_ACEOF
21752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21753 _ACEOF
21754
21755 fi
21756 done
21757
21758 fi
21759 fi
21760
21761
21762
21763
21764
21765
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21767 $as_echo_n "checking for expf declaration... " >&6; }
21768 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21769 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21770 $as_echo_n "(cached) " >&6
21771 else
21772
21773
21774 ac_ext=cpp
21775 ac_cpp='$CXXCPP $CPPFLAGS'
21776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21779
21780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21781 /* end confdefs.h. */
21782 #include <math.h>
21783 #ifdef HAVE_IEEEFP_H
21784 #include <ieeefp.h>
21785 #endif
21786
21787 int
21788 main ()
21789 {
21790 expf(0);
21791 ;
21792 return 0;
21793 }
21794 _ACEOF
21795 if ac_fn_cxx_try_compile "$LINENO"; then :
21796 glibcxx_cv_func_expf_use=yes
21797 else
21798 glibcxx_cv_func_expf_use=no
21799 fi
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21801 ac_ext=c
21802 ac_cpp='$CPP $CPPFLAGS'
21803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21806
21807
21808 fi
21809
21810 fi
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21812 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21813
21814 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21815 for ac_func in expf
21816 do :
21817 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21818 if test "x$ac_cv_func_expf" = x""yes; then :
21819 cat >>confdefs.h <<_ACEOF
21820 #define HAVE_EXPF 1
21821 _ACEOF
21822
21823 fi
21824 done
21825
21826 else
21827
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21829 $as_echo_n "checking for _expf declaration... " >&6; }
21830 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21831 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21832 $as_echo_n "(cached) " >&6
21833 else
21834
21835
21836 ac_ext=cpp
21837 ac_cpp='$CXXCPP $CPPFLAGS'
21838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21841
21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21844 #include <math.h>
21845 #ifdef HAVE_IEEEFP_H
21846 #include <ieeefp.h>
21847 #endif
21848
21849 int
21850 main ()
21851 {
21852 _expf(0);
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 if ac_fn_cxx_try_compile "$LINENO"; then :
21858 glibcxx_cv_func__expf_use=yes
21859 else
21860 glibcxx_cv_func__expf_use=no
21861 fi
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868
21869
21870 fi
21871
21872 fi
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21874 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21875
21876 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21877 for ac_func in _expf
21878 do :
21879 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21880 if test "x$ac_cv_func__expf" = x""yes; then :
21881 cat >>confdefs.h <<_ACEOF
21882 #define HAVE__EXPF 1
21883 _ACEOF
21884
21885 fi
21886 done
21887
21888 fi
21889 fi
21890
21891
21892
21893
21894
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21896 $as_echo_n "checking for isnanf declaration... " >&6; }
21897 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21898 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21899 $as_echo_n "(cached) " >&6
21900 else
21901
21902
21903 ac_ext=cpp
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21908
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21911 #include <math.h>
21912 #ifdef HAVE_IEEEFP_H
21913 #include <ieeefp.h>
21914 #endif
21915
21916 int
21917 main ()
21918 {
21919 isnanf(0);
21920 ;
21921 return 0;
21922 }
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925 glibcxx_cv_func_isnanf_use=yes
21926 else
21927 glibcxx_cv_func_isnanf_use=no
21928 fi
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21935
21936
21937 fi
21938
21939 fi
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21941 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21942
21943 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21944 for ac_func in isnanf
21945 do :
21946 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21947 if test "x$ac_cv_func_isnanf" = x""yes; then :
21948 cat >>confdefs.h <<_ACEOF
21949 #define HAVE_ISNANF 1
21950 _ACEOF
21951
21952 fi
21953 done
21954
21955 else
21956
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21958 $as_echo_n "checking for _isnanf declaration... " >&6; }
21959 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21960 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21961 $as_echo_n "(cached) " >&6
21962 else
21963
21964
21965 ac_ext=cpp
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21970
21971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h. */
21973 #include <math.h>
21974 #ifdef HAVE_IEEEFP_H
21975 #include <ieeefp.h>
21976 #endif
21977
21978 int
21979 main ()
21980 {
21981 _isnanf(0);
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_func__isnanf_use=yes
21988 else
21989 glibcxx_cv_func__isnanf_use=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997
21998
21999 fi
22000
22001 fi
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22003 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22004
22005 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22006 for ac_func in _isnanf
22007 do :
22008 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22009 if test "x$ac_cv_func__isnanf" = x""yes; then :
22010 cat >>confdefs.h <<_ACEOF
22011 #define HAVE__ISNANF 1
22012 _ACEOF
22013
22014 fi
22015 done
22016
22017 fi
22018 fi
22019
22020
22021
22022
22023
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22025 $as_echo_n "checking for isinff declaration... " >&6; }
22026 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22027 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22028 $as_echo_n "(cached) " >&6
22029 else
22030
22031
22032 ac_ext=cpp
22033 ac_cpp='$CXXCPP $CPPFLAGS'
22034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22037
22038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h. */
22040 #include <math.h>
22041 #ifdef HAVE_IEEEFP_H
22042 #include <ieeefp.h>
22043 #endif
22044
22045 int
22046 main ()
22047 {
22048 isinff(0);
22049 ;
22050 return 0;
22051 }
22052 _ACEOF
22053 if ac_fn_cxx_try_compile "$LINENO"; then :
22054 glibcxx_cv_func_isinff_use=yes
22055 else
22056 glibcxx_cv_func_isinff_use=no
22057 fi
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 ac_ext=c
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064
22065
22066 fi
22067
22068 fi
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22070 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22071
22072 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22073 for ac_func in isinff
22074 do :
22075 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22076 if test "x$ac_cv_func_isinff" = x""yes; then :
22077 cat >>confdefs.h <<_ACEOF
22078 #define HAVE_ISINFF 1
22079 _ACEOF
22080
22081 fi
22082 done
22083
22084 else
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22087 $as_echo_n "checking for _isinff declaration... " >&6; }
22088 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22089 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22091 else
22092
22093
22094 ac_ext=cpp
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099
22100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h. */
22102 #include <math.h>
22103 #ifdef HAVE_IEEEFP_H
22104 #include <ieeefp.h>
22105 #endif
22106
22107 int
22108 main ()
22109 {
22110 _isinff(0);
22111 ;
22112 return 0;
22113 }
22114 _ACEOF
22115 if ac_fn_cxx_try_compile "$LINENO"; then :
22116 glibcxx_cv_func__isinff_use=yes
22117 else
22118 glibcxx_cv_func__isinff_use=no
22119 fi
22120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121 ac_ext=c
22122 ac_cpp='$CPP $CPPFLAGS'
22123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22126
22127
22128 fi
22129
22130 fi
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22132 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22133
22134 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22135 for ac_func in _isinff
22136 do :
22137 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22138 if test "x$ac_cv_func__isinff" = x""yes; then :
22139 cat >>confdefs.h <<_ACEOF
22140 #define HAVE__ISINFF 1
22141 _ACEOF
22142
22143 fi
22144 done
22145
22146 fi
22147 fi
22148
22149
22150
22151
22152
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22154 $as_echo_n "checking for atan2f declaration... " >&6; }
22155 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22156 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22157 $as_echo_n "(cached) " >&6
22158 else
22159
22160
22161 ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22166
22167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h. */
22169 #include <math.h>
22170 int
22171 main ()
22172 {
22173 atan2f(0, 0);
22174 ;
22175 return 0;
22176 }
22177 _ACEOF
22178 if ac_fn_cxx_try_compile "$LINENO"; then :
22179 glibcxx_cv_func_atan2f_use=yes
22180 else
22181 glibcxx_cv_func_atan2f_use=no
22182 fi
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184 ac_ext=c
22185 ac_cpp='$CPP $CPPFLAGS'
22186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189
22190
22191 fi
22192
22193 fi
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22195 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22196
22197 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22198 for ac_func in atan2f
22199 do :
22200 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22201 if test "x$ac_cv_func_atan2f" = x""yes; then :
22202 cat >>confdefs.h <<_ACEOF
22203 #define HAVE_ATAN2F 1
22204 _ACEOF
22205
22206 fi
22207 done
22208
22209 else
22210
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22212 $as_echo_n "checking for _atan2f declaration... " >&6; }
22213 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22214 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22215 $as_echo_n "(cached) " >&6
22216 else
22217
22218
22219 ac_ext=cpp
22220 ac_cpp='$CXXCPP $CPPFLAGS'
22221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22224
22225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h. */
22227 #include <math.h>
22228 int
22229 main ()
22230 {
22231 _atan2f(0, 0);
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 if ac_fn_cxx_try_compile "$LINENO"; then :
22237 glibcxx_cv_func__atan2f_use=yes
22238 else
22239 glibcxx_cv_func__atan2f_use=no
22240 fi
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247
22248
22249 fi
22250
22251 fi
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22253 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22254
22255 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22256 for ac_func in _atan2f
22257 do :
22258 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22259 if test "x$ac_cv_func__atan2f" = x""yes; then :
22260 cat >>confdefs.h <<_ACEOF
22261 #define HAVE__ATAN2F 1
22262 _ACEOF
22263
22264 fi
22265 done
22266
22267 fi
22268 fi
22269
22270
22271
22272
22273
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22275 $as_echo_n "checking for fabsf declaration... " >&6; }
22276 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22277 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22278 $as_echo_n "(cached) " >&6
22279 else
22280
22281
22282 ac_ext=cpp
22283 ac_cpp='$CXXCPP $CPPFLAGS'
22284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287
22288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22289 /* end confdefs.h. */
22290 #include <math.h>
22291 #ifdef HAVE_IEEEFP_H
22292 #include <ieeefp.h>
22293 #endif
22294
22295 int
22296 main ()
22297 {
22298 fabsf(0);
22299 ;
22300 return 0;
22301 }
22302 _ACEOF
22303 if ac_fn_cxx_try_compile "$LINENO"; then :
22304 glibcxx_cv_func_fabsf_use=yes
22305 else
22306 glibcxx_cv_func_fabsf_use=no
22307 fi
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314
22315
22316 fi
22317
22318 fi
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22320 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22321
22322 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22323 for ac_func in fabsf
22324 do :
22325 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22326 if test "x$ac_cv_func_fabsf" = x""yes; then :
22327 cat >>confdefs.h <<_ACEOF
22328 #define HAVE_FABSF 1
22329 _ACEOF
22330
22331 fi
22332 done
22333
22334 else
22335
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22337 $as_echo_n "checking for _fabsf declaration... " >&6; }
22338 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22339 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22342
22343
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22353 #ifdef HAVE_IEEEFP_H
22354 #include <ieeefp.h>
22355 #endif
22356
22357 int
22358 main ()
22359 {
22360 _fabsf(0);
22361 ;
22362 return 0;
22363 }
22364 _ACEOF
22365 if ac_fn_cxx_try_compile "$LINENO"; then :
22366 glibcxx_cv_func__fabsf_use=yes
22367 else
22368 glibcxx_cv_func__fabsf_use=no
22369 fi
22370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371 ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22376
22377
22378 fi
22379
22380 fi
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22382 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22383
22384 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22385 for ac_func in _fabsf
22386 do :
22387 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22388 if test "x$ac_cv_func__fabsf" = x""yes; then :
22389 cat >>confdefs.h <<_ACEOF
22390 #define HAVE__FABSF 1
22391 _ACEOF
22392
22393 fi
22394 done
22395
22396 fi
22397 fi
22398
22399
22400
22401
22402
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22404 $as_echo_n "checking for fmodf declaration... " >&6; }
22405 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22406 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22407 $as_echo_n "(cached) " >&6
22408 else
22409
22410
22411 ac_ext=cpp
22412 ac_cpp='$CXXCPP $CPPFLAGS'
22413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22416
22417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h. */
22419 #include <math.h>
22420 int
22421 main ()
22422 {
22423 fmodf(0, 0);
22424 ;
22425 return 0;
22426 }
22427 _ACEOF
22428 if ac_fn_cxx_try_compile "$LINENO"; then :
22429 glibcxx_cv_func_fmodf_use=yes
22430 else
22431 glibcxx_cv_func_fmodf_use=no
22432 fi
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 ac_ext=c
22435 ac_cpp='$CPP $CPPFLAGS'
22436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439
22440
22441 fi
22442
22443 fi
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22445 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22446
22447 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22448 for ac_func in fmodf
22449 do :
22450 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22451 if test "x$ac_cv_func_fmodf" = x""yes; then :
22452 cat >>confdefs.h <<_ACEOF
22453 #define HAVE_FMODF 1
22454 _ACEOF
22455
22456 fi
22457 done
22458
22459 else
22460
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22462 $as_echo_n "checking for _fmodf declaration... " >&6; }
22463 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22464 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22466 else
22467
22468
22469 ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22477 #include <math.h>
22478 int
22479 main ()
22480 {
22481 _fmodf(0, 0);
22482 ;
22483 return 0;
22484 }
22485 _ACEOF
22486 if ac_fn_cxx_try_compile "$LINENO"; then :
22487 glibcxx_cv_func__fmodf_use=yes
22488 else
22489 glibcxx_cv_func__fmodf_use=no
22490 fi
22491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22492 ac_ext=c
22493 ac_cpp='$CPP $CPPFLAGS'
22494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22497
22498
22499 fi
22500
22501 fi
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22503 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22504
22505 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22506 for ac_func in _fmodf
22507 do :
22508 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22509 if test "x$ac_cv_func__fmodf" = x""yes; then :
22510 cat >>confdefs.h <<_ACEOF
22511 #define HAVE__FMODF 1
22512 _ACEOF
22513
22514 fi
22515 done
22516
22517 fi
22518 fi
22519
22520
22521
22522
22523
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22525 $as_echo_n "checking for frexpf declaration... " >&6; }
22526 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22527 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22528 $as_echo_n "(cached) " >&6
22529 else
22530
22531
22532 ac_ext=cpp
22533 ac_cpp='$CXXCPP $CPPFLAGS'
22534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22537
22538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h. */
22540 #include <math.h>
22541 int
22542 main ()
22543 {
22544 frexpf(0, 0);
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_cxx_try_compile "$LINENO"; then :
22550 glibcxx_cv_func_frexpf_use=yes
22551 else
22552 glibcxx_cv_func_frexpf_use=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 ac_ext=c
22556 ac_cpp='$CPP $CPPFLAGS'
22557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560
22561
22562 fi
22563
22564 fi
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22566 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22567
22568 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22569 for ac_func in frexpf
22570 do :
22571 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22572 if test "x$ac_cv_func_frexpf" = x""yes; then :
22573 cat >>confdefs.h <<_ACEOF
22574 #define HAVE_FREXPF 1
22575 _ACEOF
22576
22577 fi
22578 done
22579
22580 else
22581
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22583 $as_echo_n "checking for _frexpf declaration... " >&6; }
22584 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22585 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22586 $as_echo_n "(cached) " >&6
22587 else
22588
22589
22590 ac_ext=cpp
22591 ac_cpp='$CXXCPP $CPPFLAGS'
22592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22595
22596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h. */
22598 #include <math.h>
22599 int
22600 main ()
22601 {
22602 _frexpf(0, 0);
22603 ;
22604 return 0;
22605 }
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func__frexpf_use=yes
22609 else
22610 glibcxx_cv_func__frexpf_use=no
22611 fi
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618
22619
22620 fi
22621
22622 fi
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22624 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22625
22626 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22627 for ac_func in _frexpf
22628 do :
22629 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22630 if test "x$ac_cv_func__frexpf" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE__FREXPF 1
22633 _ACEOF
22634
22635 fi
22636 done
22637
22638 fi
22639 fi
22640
22641
22642
22643
22644
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22646 $as_echo_n "checking for hypotf declaration... " >&6; }
22647 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22648 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22649 $as_echo_n "(cached) " >&6
22650 else
22651
22652
22653 ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h. */
22661 #include <math.h>
22662 int
22663 main ()
22664 {
22665 hypotf(0, 0);
22666 ;
22667 return 0;
22668 }
22669 _ACEOF
22670 if ac_fn_cxx_try_compile "$LINENO"; then :
22671 glibcxx_cv_func_hypotf_use=yes
22672 else
22673 glibcxx_cv_func_hypotf_use=no
22674 fi
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681
22682
22683 fi
22684
22685 fi
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22687 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22688
22689 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22690 for ac_func in hypotf
22691 do :
22692 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22693 if test "x$ac_cv_func_hypotf" = x""yes; then :
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE_HYPOTF 1
22696 _ACEOF
22697
22698 fi
22699 done
22700
22701 else
22702
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22704 $as_echo_n "checking for _hypotf declaration... " >&6; }
22705 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22706 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22708 else
22709
22710
22711 ac_ext=cpp
22712 ac_cpp='$CXXCPP $CPPFLAGS'
22713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716
22717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 /* end confdefs.h. */
22719 #include <math.h>
22720 int
22721 main ()
22722 {
22723 _hypotf(0, 0);
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729 glibcxx_cv_func__hypotf_use=yes
22730 else
22731 glibcxx_cv_func__hypotf_use=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739
22740
22741 fi
22742
22743 fi
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22745 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22746
22747 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22748 for ac_func in _hypotf
22749 do :
22750 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22751 if test "x$ac_cv_func__hypotf" = x""yes; then :
22752 cat >>confdefs.h <<_ACEOF
22753 #define HAVE__HYPOTF 1
22754 _ACEOF
22755
22756 fi
22757 done
22758
22759 fi
22760 fi
22761
22762
22763
22764
22765
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22767 $as_echo_n "checking for ldexpf declaration... " >&6; }
22768 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22769 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22772
22773
22774 ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h. */
22782 #include <math.h>
22783 int
22784 main ()
22785 {
22786 ldexpf(0, 0);
22787 ;
22788 return 0;
22789 }
22790 _ACEOF
22791 if ac_fn_cxx_try_compile "$LINENO"; then :
22792 glibcxx_cv_func_ldexpf_use=yes
22793 else
22794 glibcxx_cv_func_ldexpf_use=no
22795 fi
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802
22803
22804 fi
22805
22806 fi
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22808 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22809
22810 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22811 for ac_func in ldexpf
22812 do :
22813 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22814 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22815 cat >>confdefs.h <<_ACEOF
22816 #define HAVE_LDEXPF 1
22817 _ACEOF
22818
22819 fi
22820 done
22821
22822 else
22823
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22825 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22826 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22827 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22830
22831
22832 ac_ext=cpp
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837
22838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22839 /* end confdefs.h. */
22840 #include <math.h>
22841 int
22842 main ()
22843 {
22844 _ldexpf(0, 0);
22845 ;
22846 return 0;
22847 }
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func__ldexpf_use=yes
22851 else
22852 glibcxx_cv_func__ldexpf_use=no
22853 fi
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860
22861
22862 fi
22863
22864 fi
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22866 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22867
22868 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22869 for ac_func in _ldexpf
22870 do :
22871 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22872 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE__LDEXPF 1
22875 _ACEOF
22876
22877 fi
22878 done
22879
22880 fi
22881 fi
22882
22883
22884
22885
22886
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22888 $as_echo_n "checking for logf declaration... " >&6; }
22889 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22890 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22892 else
22893
22894
22895 ac_ext=cpp
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900
22901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22902 /* end confdefs.h. */
22903 #include <math.h>
22904 #ifdef HAVE_IEEEFP_H
22905 #include <ieeefp.h>
22906 #endif
22907
22908 int
22909 main ()
22910 {
22911 logf(0);
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 if ac_fn_cxx_try_compile "$LINENO"; then :
22917 glibcxx_cv_func_logf_use=yes
22918 else
22919 glibcxx_cv_func_logf_use=no
22920 fi
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22922 ac_ext=c
22923 ac_cpp='$CPP $CPPFLAGS'
22924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927
22928
22929 fi
22930
22931 fi
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22933 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22934
22935 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22936 for ac_func in logf
22937 do :
22938 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22939 if test "x$ac_cv_func_logf" = x""yes; then :
22940 cat >>confdefs.h <<_ACEOF
22941 #define HAVE_LOGF 1
22942 _ACEOF
22943
22944 fi
22945 done
22946
22947 else
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22950 $as_echo_n "checking for _logf declaration... " >&6; }
22951 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22952 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 #ifdef HAVE_IEEEFP_H
22967 #include <ieeefp.h>
22968 #endif
22969
22970 int
22971 main ()
22972 {
22973 _logf(0);
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func__logf_use=yes
22980 else
22981 glibcxx_cv_func__logf_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22995 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22996
22997 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22998 for ac_func in _logf
22999 do :
23000 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23001 if test "x$ac_cv_func__logf" = x""yes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE__LOGF 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009 fi
23010 fi
23011
23012
23013
23014
23015
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23017 $as_echo_n "checking for log10f declaration... " >&6; }
23018 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23019 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23021 else
23022
23023
23024 ac_ext=cpp
23025 ac_cpp='$CXXCPP $CPPFLAGS'
23026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23029
23030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031 /* end confdefs.h. */
23032 #include <math.h>
23033 #ifdef HAVE_IEEEFP_H
23034 #include <ieeefp.h>
23035 #endif
23036
23037 int
23038 main ()
23039 {
23040 log10f(0);
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func_log10f_use=yes
23047 else
23048 glibcxx_cv_func_log10f_use=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056
23057
23058 fi
23059
23060 fi
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23062 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23063
23064 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23065 for ac_func in log10f
23066 do :
23067 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23068 if test "x$ac_cv_func_log10f" = x""yes; then :
23069 cat >>confdefs.h <<_ACEOF
23070 #define HAVE_LOG10F 1
23071 _ACEOF
23072
23073 fi
23074 done
23075
23076 else
23077
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23079 $as_echo_n "checking for _log10f declaration... " >&6; }
23080 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23081 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23084
23085
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23095 #ifdef HAVE_IEEEFP_H
23096 #include <ieeefp.h>
23097 #endif
23098
23099 int
23100 main ()
23101 {
23102 _log10f(0);
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 glibcxx_cv_func__log10f_use=yes
23109 else
23110 glibcxx_cv_func__log10f_use=no
23111 fi
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118
23119
23120 fi
23121
23122 fi
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23124 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23125
23126 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23127 for ac_func in _log10f
23128 do :
23129 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23130 if test "x$ac_cv_func__log10f" = x""yes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define HAVE__LOG10F 1
23133 _ACEOF
23134
23135 fi
23136 done
23137
23138 fi
23139 fi
23140
23141
23142
23143
23144
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23146 $as_echo_n "checking for modff declaration... " >&6; }
23147 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23148 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23149 $as_echo_n "(cached) " >&6
23150 else
23151
23152
23153 ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23158
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23161 #include <math.h>
23162 int
23163 main ()
23164 {
23165 modff(0, 0);
23166 ;
23167 return 0;
23168 }
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func_modff_use=yes
23172 else
23173 glibcxx_cv_func_modff_use=no
23174 fi
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181
23182
23183 fi
23184
23185 fi
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23187 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23188
23189 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23190 for ac_func in modff
23191 do :
23192 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23193 if test "x$ac_cv_func_modff" = x""yes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define HAVE_MODFF 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201 else
23202
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23204 $as_echo_n "checking for _modff declaration... " >&6; }
23205 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23206 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23207 $as_echo_n "(cached) " >&6
23208 else
23209
23210
23211 ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <math.h>
23220 int
23221 main ()
23222 {
23223 _modff(0, 0);
23224 ;
23225 return 0;
23226 }
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func__modff_use=yes
23230 else
23231 glibcxx_cv_func__modff_use=no
23232 fi
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239
23240
23241 fi
23242
23243 fi
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23245 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23246
23247 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23248 for ac_func in _modff
23249 do :
23250 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23251 if test "x$ac_cv_func__modff" = x""yes; then :
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE__MODFF 1
23254 _ACEOF
23255
23256 fi
23257 done
23258
23259 fi
23260 fi
23261
23262
23263
23264
23265
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23267 $as_echo_n "checking for modf declaration... " >&6; }
23268 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23269 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23270 $as_echo_n "(cached) " >&6
23271 else
23272
23273
23274 ac_ext=cpp
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h. */
23282 #include <math.h>
23283 int
23284 main ()
23285 {
23286 modf(0, 0);
23287 ;
23288 return 0;
23289 }
23290 _ACEOF
23291 if ac_fn_cxx_try_compile "$LINENO"; then :
23292 glibcxx_cv_func_modf_use=yes
23293 else
23294 glibcxx_cv_func_modf_use=no
23295 fi
23296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23297 ac_ext=c
23298 ac_cpp='$CPP $CPPFLAGS'
23299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302
23303
23304 fi
23305
23306 fi
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23308 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23309
23310 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23311 for ac_func in modf
23312 do :
23313 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23314 if test "x$ac_cv_func_modf" = x""yes; then :
23315 cat >>confdefs.h <<_ACEOF
23316 #define HAVE_MODF 1
23317 _ACEOF
23318
23319 fi
23320 done
23321
23322 else
23323
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23325 $as_echo_n "checking for _modf declaration... " >&6; }
23326 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23327 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23328 $as_echo_n "(cached) " >&6
23329 else
23330
23331
23332 ac_ext=cpp
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23340 #include <math.h>
23341 int
23342 main ()
23343 {
23344 _modf(0, 0);
23345 ;
23346 return 0;
23347 }
23348 _ACEOF
23349 if ac_fn_cxx_try_compile "$LINENO"; then :
23350 glibcxx_cv_func__modf_use=yes
23351 else
23352 glibcxx_cv_func__modf_use=no
23353 fi
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362 fi
23363
23364 fi
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23366 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23367
23368 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23369 for ac_func in _modf
23370 do :
23371 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23372 if test "x$ac_cv_func__modf" = x""yes; then :
23373 cat >>confdefs.h <<_ACEOF
23374 #define HAVE__MODF 1
23375 _ACEOF
23376
23377 fi
23378 done
23379
23380 fi
23381 fi
23382
23383
23384
23385
23386
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23388 $as_echo_n "checking for powf declaration... " >&6; }
23389 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23390 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23391 $as_echo_n "(cached) " >&6
23392 else
23393
23394
23395 ac_ext=cpp
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400
23401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h. */
23403 #include <math.h>
23404 int
23405 main ()
23406 {
23407 powf(0, 0);
23408 ;
23409 return 0;
23410 }
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func_powf_use=yes
23414 else
23415 glibcxx_cv_func_powf_use=no
23416 fi
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425 fi
23426
23427 fi
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23429 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23430
23431 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23432 for ac_func in powf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23435 if test "x$ac_cv_func_powf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_POWF 1
23438 _ACEOF
23439
23440 fi
23441 done
23442
23443 else
23444
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23446 $as_echo_n "checking for _powf declaration... " >&6; }
23447 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23448 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 int
23463 main ()
23464 {
23465 _powf(0, 0);
23466 ;
23467 return 0;
23468 }
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471 glibcxx_cv_func__powf_use=yes
23472 else
23473 glibcxx_cv_func__powf_use=no
23474 fi
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481
23482
23483 fi
23484
23485 fi
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23487 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23488
23489 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23490 for ac_func in _powf
23491 do :
23492 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23493 if test "x$ac_cv_func__powf" = x""yes; then :
23494 cat >>confdefs.h <<_ACEOF
23495 #define HAVE__POWF 1
23496 _ACEOF
23497
23498 fi
23499 done
23500
23501 fi
23502 fi
23503
23504
23505
23506
23507
23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23509 $as_echo_n "checking for sqrtf declaration... " >&6; }
23510 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23511 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23512 $as_echo_n "(cached) " >&6
23513 else
23514
23515
23516 ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <math.h>
23525 #ifdef HAVE_IEEEFP_H
23526 #include <ieeefp.h>
23527 #endif
23528
23529 int
23530 main ()
23531 {
23532 sqrtf(0);
23533 ;
23534 return 0;
23535 }
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func_sqrtf_use=yes
23539 else
23540 glibcxx_cv_func_sqrtf_use=no
23541 fi
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548
23549
23550 fi
23551
23552 fi
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23554 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23555
23556 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23557 for ac_func in sqrtf
23558 do :
23559 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23560 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE_SQRTF 1
23563 _ACEOF
23564
23565 fi
23566 done
23567
23568 else
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23571 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23572 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23573 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 #ifdef HAVE_IEEEFP_H
23588 #include <ieeefp.h>
23589 #endif
23590
23591 int
23592 main ()
23593 {
23594 _sqrtf(0);
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func__sqrtf_use=yes
23601 else
23602 glibcxx_cv_func__sqrtf_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614 fi
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23616 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23617
23618 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23619 for ac_func in _sqrtf
23620 do :
23621 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23622 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE__SQRTF 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630 fi
23631 fi
23632
23633
23634
23635
23636
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23638 $as_echo_n "checking for sincosf declaration... " >&6; }
23639 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23640 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 int
23655 main ()
23656 {
23657 sincosf(0, 0, 0);
23658 ;
23659 return 0;
23660 }
23661 _ACEOF
23662 if ac_fn_cxx_try_compile "$LINENO"; then :
23663 glibcxx_cv_func_sincosf_use=yes
23664 else
23665 glibcxx_cv_func_sincosf_use=no
23666 fi
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673
23674
23675 fi
23676
23677 fi
23678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23679 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23680
23681 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23682 for ac_func in sincosf
23683 do :
23684 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23685 if test "x$ac_cv_func_sincosf" = x""yes; then :
23686 cat >>confdefs.h <<_ACEOF
23687 #define HAVE_SINCOSF 1
23688 _ACEOF
23689
23690 fi
23691 done
23692
23693 else
23694
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23696 $as_echo_n "checking for _sincosf declaration... " >&6; }
23697 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23698 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23701
23702
23703 ac_ext=cpp
23704 ac_cpp='$CXXCPP $CPPFLAGS'
23705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23708
23709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23710 /* end confdefs.h. */
23711 #include <math.h>
23712 int
23713 main ()
23714 {
23715 _sincosf(0, 0, 0);
23716 ;
23717 return 0;
23718 }
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721 glibcxx_cv_func__sincosf_use=yes
23722 else
23723 glibcxx_cv_func__sincosf_use=no
23724 fi
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726 ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731
23732
23733 fi
23734
23735 fi
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23737 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23738
23739 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23740 for ac_func in _sincosf
23741 do :
23742 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23743 if test "x$ac_cv_func__sincosf" = x""yes; then :
23744 cat >>confdefs.h <<_ACEOF
23745 #define HAVE__SINCOSF 1
23746 _ACEOF
23747
23748 fi
23749 done
23750
23751 fi
23752 fi
23753
23754
23755
23756
23757
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23759 $as_echo_n "checking for finitef declaration... " >&6; }
23760 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23761 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23763 else
23764
23765
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774 #include <math.h>
23775 #ifdef HAVE_IEEEFP_H
23776 #include <ieeefp.h>
23777 #endif
23778
23779 int
23780 main ()
23781 {
23782 finitef(0);
23783 ;
23784 return 0;
23785 }
23786 _ACEOF
23787 if ac_fn_cxx_try_compile "$LINENO"; then :
23788 glibcxx_cv_func_finitef_use=yes
23789 else
23790 glibcxx_cv_func_finitef_use=no
23791 fi
23792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23793 ac_ext=c
23794 ac_cpp='$CPP $CPPFLAGS'
23795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23798
23799
23800 fi
23801
23802 fi
23803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23804 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23805
23806 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23807 for ac_func in finitef
23808 do :
23809 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23810 if test "x$ac_cv_func_finitef" = x""yes; then :
23811 cat >>confdefs.h <<_ACEOF
23812 #define HAVE_FINITEF 1
23813 _ACEOF
23814
23815 fi
23816 done
23817
23818 else
23819
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23821 $as_echo_n "checking for _finitef declaration... " >&6; }
23822 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23823 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23824 $as_echo_n "(cached) " >&6
23825 else
23826
23827
23828 ac_ext=cpp
23829 ac_cpp='$CXXCPP $CPPFLAGS'
23830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23833
23834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23836 #include <math.h>
23837 #ifdef HAVE_IEEEFP_H
23838 #include <ieeefp.h>
23839 #endif
23840
23841 int
23842 main ()
23843 {
23844 _finitef(0);
23845 ;
23846 return 0;
23847 }
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850 glibcxx_cv_func__finitef_use=yes
23851 else
23852 glibcxx_cv_func__finitef_use=no
23853 fi
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860
23861
23862 fi
23863
23864 fi
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23866 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23867
23868 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23869 for ac_func in _finitef
23870 do :
23871 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23872 if test "x$ac_cv_func__finitef" = x""yes; then :
23873 cat >>confdefs.h <<_ACEOF
23874 #define HAVE__FINITEF 1
23875 _ACEOF
23876
23877 fi
23878 done
23879
23880 fi
23881 fi
23882
23883
23884
23885
23886
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23888 $as_echo_n "checking for long double trig functions... " >&6; }
23889 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23890 $as_echo_n "(cached) " >&6
23891 else
23892
23893
23894 ac_ext=cpp
23895 ac_cpp='$CXXCPP $CPPFLAGS'
23896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23899
23900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23901 /* end confdefs.h. */
23902 #include <math.h>
23903 int
23904 main ()
23905 {
23906 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23907 ;
23908 return 0;
23909 }
23910 _ACEOF
23911 if ac_fn_cxx_try_compile "$LINENO"; then :
23912 glibcxx_cv_func_long_double_trig_use=yes
23913 else
23914 glibcxx_cv_func_long_double_trig_use=no
23915 fi
23916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23917 ac_ext=c
23918 ac_cpp='$CPP $CPPFLAGS'
23919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23922
23923 fi
23924
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23926 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23927 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23928 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23929 do :
23930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23932 eval as_val=\$$as_ac_var
23933 if test "x$as_val" = x""yes; then :
23934 cat >>confdefs.h <<_ACEOF
23935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23936 _ACEOF
23937
23938 fi
23939 done
23940
23941 else
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23943 $as_echo_n "checking for _long double trig functions... " >&6; }
23944 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23945 $as_echo_n "(cached) " >&6
23946 else
23947
23948
23949 ac_ext=cpp
23950 ac_cpp='$CXXCPP $CPPFLAGS'
23951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954
23955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23956 /* end confdefs.h. */
23957 #include <math.h>
23958 int
23959 main ()
23960 {
23961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23962 ;
23963 return 0;
23964 }
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func__long_double_trig_use=yes
23968 else
23969 glibcxx_cv_func__long_double_trig_use=no
23970 fi
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977
23978 fi
23979
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23982 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23983 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23984 do :
23985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23987 eval as_val=\$$as_ac_var
23988 if test "x$as_val" = x""yes; then :
23989 cat >>confdefs.h <<_ACEOF
23990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23991 _ACEOF
23992
23993 fi
23994 done
23995
23996 fi
23997 fi
23998
23999
24000
24001
24002
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24004 $as_echo_n "checking for long double round functions... " >&6; }
24005 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24006 $as_echo_n "(cached) " >&6
24007 else
24008
24009
24010 ac_ext=cpp
24011 ac_cpp='$CXXCPP $CPPFLAGS'
24012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015
24016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h. */
24018 #include <math.h>
24019 int
24020 main ()
24021 {
24022 ceill (0); floorl (0);
24023 ;
24024 return 0;
24025 }
24026 _ACEOF
24027 if ac_fn_cxx_try_compile "$LINENO"; then :
24028 glibcxx_cv_func_long_double_round_use=yes
24029 else
24030 glibcxx_cv_func_long_double_round_use=no
24031 fi
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038
24039 fi
24040
24041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24042 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24043 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24044 for ac_func in ceill floorl
24045 do :
24046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24048 eval as_val=\$$as_ac_var
24049 if test "x$as_val" = x""yes; then :
24050 cat >>confdefs.h <<_ACEOF
24051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24052 _ACEOF
24053
24054 fi
24055 done
24056
24057 else
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24059 $as_echo_n "checking for _long double round functions... " >&6; }
24060 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24061 $as_echo_n "(cached) " >&6
24062 else
24063
24064
24065 ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <math.h>
24074 int
24075 main ()
24076 {
24077 _ceill (0); _floorl (0);
24078 ;
24079 return 0;
24080 }
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func__long_double_round_use=yes
24084 else
24085 glibcxx_cv_func__long_double_round_use=no
24086 fi
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093
24094 fi
24095
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24097 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24098 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24099 for ac_func in _ceill _floorl
24100 do :
24101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24103 eval as_val=\$$as_ac_var
24104 if test "x$as_val" = x""yes; then :
24105 cat >>confdefs.h <<_ACEOF
24106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24107 _ACEOF
24108
24109 fi
24110 done
24111
24112 fi
24113 fi
24114
24115
24116
24117
24118
24119
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24121 $as_echo_n "checking for isnanl declaration... " >&6; }
24122 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24123 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24126
24127
24128 ac_ext=cpp
24129 ac_cpp='$CXXCPP $CPPFLAGS'
24130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24133
24134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h. */
24136 #include <math.h>
24137 #ifdef HAVE_IEEEFP_H
24138 #include <ieeefp.h>
24139 #endif
24140
24141 int
24142 main ()
24143 {
24144 isnanl(0);
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150 glibcxx_cv_func_isnanl_use=yes
24151 else
24152 glibcxx_cv_func_isnanl_use=no
24153 fi
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160
24161
24162 fi
24163
24164 fi
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24166 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24167
24168 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24169 for ac_func in isnanl
24170 do :
24171 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24172 if test "x$ac_cv_func_isnanl" = x""yes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define HAVE_ISNANL 1
24175 _ACEOF
24176
24177 fi
24178 done
24179
24180 else
24181
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24183 $as_echo_n "checking for _isnanl declaration... " >&6; }
24184 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24185 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24186 $as_echo_n "(cached) " >&6
24187 else
24188
24189
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195
24196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24198 #include <math.h>
24199 #ifdef HAVE_IEEEFP_H
24200 #include <ieeefp.h>
24201 #endif
24202
24203 int
24204 main ()
24205 {
24206 _isnanl(0);
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 if ac_fn_cxx_try_compile "$LINENO"; then :
24212 glibcxx_cv_func__isnanl_use=yes
24213 else
24214 glibcxx_cv_func__isnanl_use=no
24215 fi
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217 ac_ext=c
24218 ac_cpp='$CPP $CPPFLAGS'
24219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24222
24223
24224 fi
24225
24226 fi
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24228 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24229
24230 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24231 for ac_func in _isnanl
24232 do :
24233 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24234 if test "x$ac_cv_func__isnanl" = x""yes; then :
24235 cat >>confdefs.h <<_ACEOF
24236 #define HAVE__ISNANL 1
24237 _ACEOF
24238
24239 fi
24240 done
24241
24242 fi
24243 fi
24244
24245
24246
24247
24248
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24250 $as_echo_n "checking for isinfl declaration... " >&6; }
24251 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24252 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24253 $as_echo_n "(cached) " >&6
24254 else
24255
24256
24257 ac_ext=cpp
24258 ac_cpp='$CXXCPP $CPPFLAGS'
24259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24265 #include <math.h>
24266 #ifdef HAVE_IEEEFP_H
24267 #include <ieeefp.h>
24268 #endif
24269
24270 int
24271 main ()
24272 {
24273 isinfl(0);
24274 ;
24275 return 0;
24276 }
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func_isinfl_use=yes
24280 else
24281 glibcxx_cv_func_isinfl_use=no
24282 fi
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290
24291 fi
24292
24293 fi
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24295 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24296
24297 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24298 for ac_func in isinfl
24299 do :
24300 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24301 if test "x$ac_cv_func_isinfl" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE_ISINFL 1
24304 _ACEOF
24305
24306 fi
24307 done
24308
24309 else
24310
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24312 $as_echo_n "checking for _isinfl declaration... " >&6; }
24313 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24314 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24317
24318
24319 ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24324
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 #include <math.h>
24328 #ifdef HAVE_IEEEFP_H
24329 #include <ieeefp.h>
24330 #endif
24331
24332 int
24333 main ()
24334 {
24335 _isinfl(0);
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func__isinfl_use=yes
24342 else
24343 glibcxx_cv_func__isinfl_use=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351
24352
24353 fi
24354
24355 fi
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24357 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24358
24359 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24360 for ac_func in _isinfl
24361 do :
24362 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24363 if test "x$ac_cv_func__isinfl" = x""yes; then :
24364 cat >>confdefs.h <<_ACEOF
24365 #define HAVE__ISINFL 1
24366 _ACEOF
24367
24368 fi
24369 done
24370
24371 fi
24372 fi
24373
24374
24375
24376
24377
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24379 $as_echo_n "checking for atan2l declaration... " >&6; }
24380 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24381 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24384
24385
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24395 int
24396 main ()
24397 {
24398 atan2l(0, 0);
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 if ac_fn_cxx_try_compile "$LINENO"; then :
24404 glibcxx_cv_func_atan2l_use=yes
24405 else
24406 glibcxx_cv_func_atan2l_use=no
24407 fi
24408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414
24415
24416 fi
24417
24418 fi
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24420 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24421
24422 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24423 for ac_func in atan2l
24424 do :
24425 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24426 if test "x$ac_cv_func_atan2l" = x""yes; then :
24427 cat >>confdefs.h <<_ACEOF
24428 #define HAVE_ATAN2L 1
24429 _ACEOF
24430
24431 fi
24432 done
24433
24434 else
24435
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24437 $as_echo_n "checking for _atan2l declaration... " >&6; }
24438 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24439 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24440 $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444 ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h. */
24452 #include <math.h>
24453 int
24454 main ()
24455 {
24456 _atan2l(0, 0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func__atan2l_use=yes
24463 else
24464 glibcxx_cv_func__atan2l_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476 fi
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24478 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24479
24480 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24481 for ac_func in _atan2l
24482 do :
24483 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24484 if test "x$ac_cv_func__atan2l" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE__ATAN2L 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492 fi
24493 fi
24494
24495
24496
24497
24498
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24500 $as_echo_n "checking for expl declaration... " >&6; }
24501 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24502 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24503 $as_echo_n "(cached) " >&6
24504 else
24505
24506
24507 ac_ext=cpp
24508 ac_cpp='$CXXCPP $CPPFLAGS'
24509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24515 #include <math.h>
24516 #ifdef HAVE_IEEEFP_H
24517 #include <ieeefp.h>
24518 #endif
24519
24520 int
24521 main ()
24522 {
24523 expl(0);
24524 ;
24525 return 0;
24526 }
24527 _ACEOF
24528 if ac_fn_cxx_try_compile "$LINENO"; then :
24529 glibcxx_cv_func_expl_use=yes
24530 else
24531 glibcxx_cv_func_expl_use=no
24532 fi
24533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24534 ac_ext=c
24535 ac_cpp='$CPP $CPPFLAGS'
24536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539
24540
24541 fi
24542
24543 fi
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24545 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24546
24547 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24548 for ac_func in expl
24549 do :
24550 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24551 if test "x$ac_cv_func_expl" = x""yes; then :
24552 cat >>confdefs.h <<_ACEOF
24553 #define HAVE_EXPL 1
24554 _ACEOF
24555
24556 fi
24557 done
24558
24559 else
24560
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24562 $as_echo_n "checking for _expl declaration... " >&6; }
24563 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24564 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24567
24568
24569 ac_ext=cpp
24570 ac_cpp='$CXXCPP $CPPFLAGS'
24571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24574
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24577 #include <math.h>
24578 #ifdef HAVE_IEEEFP_H
24579 #include <ieeefp.h>
24580 #endif
24581
24582 int
24583 main ()
24584 {
24585 _expl(0);
24586 ;
24587 return 0;
24588 }
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591 glibcxx_cv_func__expl_use=yes
24592 else
24593 glibcxx_cv_func__expl_use=no
24594 fi
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 ac_ext=c
24597 ac_cpp='$CPP $CPPFLAGS'
24598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24601
24602
24603 fi
24604
24605 fi
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24607 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24608
24609 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24610 for ac_func in _expl
24611 do :
24612 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24613 if test "x$ac_cv_func__expl" = x""yes; then :
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE__EXPL 1
24616 _ACEOF
24617
24618 fi
24619 done
24620
24621 fi
24622 fi
24623
24624
24625
24626
24627
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24629 $as_echo_n "checking for fabsl declaration... " >&6; }
24630 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24631 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24632 $as_echo_n "(cached) " >&6
24633 else
24634
24635
24636 ac_ext=cpp
24637 ac_cpp='$CXXCPP $CPPFLAGS'
24638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24641
24642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24643 /* end confdefs.h. */
24644 #include <math.h>
24645 #ifdef HAVE_IEEEFP_H
24646 #include <ieeefp.h>
24647 #endif
24648
24649 int
24650 main ()
24651 {
24652 fabsl(0);
24653 ;
24654 return 0;
24655 }
24656 _ACEOF
24657 if ac_fn_cxx_try_compile "$LINENO"; then :
24658 glibcxx_cv_func_fabsl_use=yes
24659 else
24660 glibcxx_cv_func_fabsl_use=no
24661 fi
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663 ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668
24669
24670 fi
24671
24672 fi
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24674 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24675
24676 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24677 for ac_func in fabsl
24678 do :
24679 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24680 if test "x$ac_cv_func_fabsl" = x""yes; then :
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE_FABSL 1
24683 _ACEOF
24684
24685 fi
24686 done
24687
24688 else
24689
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24691 $as_echo_n "checking for _fabsl declaration... " >&6; }
24692 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24693 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24696
24697
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24703
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24707 #ifdef HAVE_IEEEFP_H
24708 #include <ieeefp.h>
24709 #endif
24710
24711 int
24712 main ()
24713 {
24714 _fabsl(0);
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 if ac_fn_cxx_try_compile "$LINENO"; then :
24720 glibcxx_cv_func__fabsl_use=yes
24721 else
24722 glibcxx_cv_func__fabsl_use=no
24723 fi
24724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725 ac_ext=c
24726 ac_cpp='$CPP $CPPFLAGS'
24727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24730
24731
24732 fi
24733
24734 fi
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24736 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24737
24738 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24739 for ac_func in _fabsl
24740 do :
24741 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24742 if test "x$ac_cv_func__fabsl" = x""yes; then :
24743 cat >>confdefs.h <<_ACEOF
24744 #define HAVE__FABSL 1
24745 _ACEOF
24746
24747 fi
24748 done
24749
24750 fi
24751 fi
24752
24753
24754
24755
24756
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24758 $as_echo_n "checking for fmodl declaration... " >&6; }
24759 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24760 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24761 $as_echo_n "(cached) " >&6
24762 else
24763
24764
24765 ac_ext=cpp
24766 ac_cpp='$CXXCPP $CPPFLAGS'
24767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24770
24771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24772 /* end confdefs.h. */
24773 #include <math.h>
24774 int
24775 main ()
24776 {
24777 fmodl(0, 0);
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 if ac_fn_cxx_try_compile "$LINENO"; then :
24783 glibcxx_cv_func_fmodl_use=yes
24784 else
24785 glibcxx_cv_func_fmodl_use=no
24786 fi
24787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24788 ac_ext=c
24789 ac_cpp='$CPP $CPPFLAGS'
24790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24793
24794
24795 fi
24796
24797 fi
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24799 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24800
24801 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24802 for ac_func in fmodl
24803 do :
24804 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24805 if test "x$ac_cv_func_fmodl" = x""yes; then :
24806 cat >>confdefs.h <<_ACEOF
24807 #define HAVE_FMODL 1
24808 _ACEOF
24809
24810 fi
24811 done
24812
24813 else
24814
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24816 $as_echo_n "checking for _fmodl declaration... " >&6; }
24817 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24818 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24820 else
24821
24822
24823 ac_ext=cpp
24824 ac_cpp='$CXXCPP $CPPFLAGS'
24825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24828
24829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24831 #include <math.h>
24832 int
24833 main ()
24834 {
24835 _fmodl(0, 0);
24836 ;
24837 return 0;
24838 }
24839 _ACEOF
24840 if ac_fn_cxx_try_compile "$LINENO"; then :
24841 glibcxx_cv_func__fmodl_use=yes
24842 else
24843 glibcxx_cv_func__fmodl_use=no
24844 fi
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846 ac_ext=c
24847 ac_cpp='$CPP $CPPFLAGS'
24848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24851
24852
24853 fi
24854
24855 fi
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24857 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24858
24859 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24860 for ac_func in _fmodl
24861 do :
24862 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24863 if test "x$ac_cv_func__fmodl" = x""yes; then :
24864 cat >>confdefs.h <<_ACEOF
24865 #define HAVE__FMODL 1
24866 _ACEOF
24867
24868 fi
24869 done
24870
24871 fi
24872 fi
24873
24874
24875
24876
24877
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24879 $as_echo_n "checking for frexpl declaration... " >&6; }
24880 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24881 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24882 $as_echo_n "(cached) " >&6
24883 else
24884
24885
24886 ac_ext=cpp
24887 ac_cpp='$CXXCPP $CPPFLAGS'
24888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24891
24892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24893 /* end confdefs.h. */
24894 #include <math.h>
24895 int
24896 main ()
24897 {
24898 frexpl(0, 0);
24899 ;
24900 return 0;
24901 }
24902 _ACEOF
24903 if ac_fn_cxx_try_compile "$LINENO"; then :
24904 glibcxx_cv_func_frexpl_use=yes
24905 else
24906 glibcxx_cv_func_frexpl_use=no
24907 fi
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909 ac_ext=c
24910 ac_cpp='$CPP $CPPFLAGS'
24911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914
24915
24916 fi
24917
24918 fi
24919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24920 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24921
24922 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24923 for ac_func in frexpl
24924 do :
24925 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24926 if test "x$ac_cv_func_frexpl" = x""yes; then :
24927 cat >>confdefs.h <<_ACEOF
24928 #define HAVE_FREXPL 1
24929 _ACEOF
24930
24931 fi
24932 done
24933
24934 else
24935
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24937 $as_echo_n "checking for _frexpl declaration... " >&6; }
24938 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24939 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h. */
24952 #include <math.h>
24953 int
24954 main ()
24955 {
24956 _frexpl(0, 0);
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func__frexpl_use=yes
24963 else
24964 glibcxx_cv_func__frexpl_use=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972
24973
24974 fi
24975
24976 fi
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24978 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24979
24980 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24981 for ac_func in _frexpl
24982 do :
24983 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24984 if test "x$ac_cv_func__frexpl" = x""yes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE__FREXPL 1
24987 _ACEOF
24988
24989 fi
24990 done
24991
24992 fi
24993 fi
24994
24995
24996
24997
24998
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25000 $as_echo_n "checking for hypotl declaration... " >&6; }
25001 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25002 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25003 $as_echo_n "(cached) " >&6
25004 else
25005
25006
25007 ac_ext=cpp
25008 ac_cpp='$CXXCPP $CPPFLAGS'
25009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25012
25013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h. */
25015 #include <math.h>
25016 int
25017 main ()
25018 {
25019 hypotl(0, 0);
25020 ;
25021 return 0;
25022 }
25023 _ACEOF
25024 if ac_fn_cxx_try_compile "$LINENO"; then :
25025 glibcxx_cv_func_hypotl_use=yes
25026 else
25027 glibcxx_cv_func_hypotl_use=no
25028 fi
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030 ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25035
25036
25037 fi
25038
25039 fi
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25041 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25042
25043 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25044 for ac_func in hypotl
25045 do :
25046 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25047 if test "x$ac_cv_func_hypotl" = x""yes; then :
25048 cat >>confdefs.h <<_ACEOF
25049 #define HAVE_HYPOTL 1
25050 _ACEOF
25051
25052 fi
25053 done
25054
25055 else
25056
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25058 $as_echo_n "checking for _hypotl declaration... " >&6; }
25059 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25060 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25063
25064
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25074 int
25075 main ()
25076 {
25077 _hypotl(0, 0);
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 if ac_fn_cxx_try_compile "$LINENO"; then :
25083 glibcxx_cv_func__hypotl_use=yes
25084 else
25085 glibcxx_cv_func__hypotl_use=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 ac_ext=c
25089 ac_cpp='$CPP $CPPFLAGS'
25090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25093
25094
25095 fi
25096
25097 fi
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25099 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25100
25101 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25102 for ac_func in _hypotl
25103 do :
25104 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25105 if test "x$ac_cv_func__hypotl" = x""yes; then :
25106 cat >>confdefs.h <<_ACEOF
25107 #define HAVE__HYPOTL 1
25108 _ACEOF
25109
25110 fi
25111 done
25112
25113 fi
25114 fi
25115
25116
25117
25118
25119
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25121 $as_echo_n "checking for ldexpl declaration... " >&6; }
25122 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25123 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25125 else
25126
25127
25128 ac_ext=cpp
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133
25134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h. */
25136 #include <math.h>
25137 int
25138 main ()
25139 {
25140 ldexpl(0, 0);
25141 ;
25142 return 0;
25143 }
25144 _ACEOF
25145 if ac_fn_cxx_try_compile "$LINENO"; then :
25146 glibcxx_cv_func_ldexpl_use=yes
25147 else
25148 glibcxx_cv_func_ldexpl_use=no
25149 fi
25150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25151 ac_ext=c
25152 ac_cpp='$CPP $CPPFLAGS'
25153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25156
25157
25158 fi
25159
25160 fi
25161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25162 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25163
25164 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25165 for ac_func in ldexpl
25166 do :
25167 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25168 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25169 cat >>confdefs.h <<_ACEOF
25170 #define HAVE_LDEXPL 1
25171 _ACEOF
25172
25173 fi
25174 done
25175
25176 else
25177
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25179 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25180 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25181 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25182 $as_echo_n "(cached) " >&6
25183 else
25184
25185
25186 ac_ext=cpp
25187 ac_cpp='$CXXCPP $CPPFLAGS'
25188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191
25192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h. */
25194 #include <math.h>
25195 int
25196 main ()
25197 {
25198 _ldexpl(0, 0);
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func__ldexpl_use=yes
25205 else
25206 glibcxx_cv_func__ldexpl_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25220 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25221
25222 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25223 for ac_func in _ldexpl
25224 do :
25225 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25226 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE__LDEXPL 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 fi
25235 fi
25236
25237
25238
25239
25240
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25242 $as_echo_n "checking for logl declaration... " >&6; }
25243 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25244 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25245 $as_echo_n "(cached) " >&6
25246 else
25247
25248
25249 ac_ext=cpp
25250 ac_cpp='$CXXCPP $CPPFLAGS'
25251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25254
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h. */
25257 #include <math.h>
25258 #ifdef HAVE_IEEEFP_H
25259 #include <ieeefp.h>
25260 #endif
25261
25262 int
25263 main ()
25264 {
25265 logl(0);
25266 ;
25267 return 0;
25268 }
25269 _ACEOF
25270 if ac_fn_cxx_try_compile "$LINENO"; then :
25271 glibcxx_cv_func_logl_use=yes
25272 else
25273 glibcxx_cv_func_logl_use=no
25274 fi
25275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25276 ac_ext=c
25277 ac_cpp='$CPP $CPPFLAGS'
25278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281
25282
25283 fi
25284
25285 fi
25286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25288
25289 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25290 for ac_func in logl
25291 do :
25292 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25293 if test "x$ac_cv_func_logl" = x""yes; then :
25294 cat >>confdefs.h <<_ACEOF
25295 #define HAVE_LOGL 1
25296 _ACEOF
25297
25298 fi
25299 done
25300
25301 else
25302
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25304 $as_echo_n "checking for _logl declaration... " >&6; }
25305 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25306 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309
25310
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25320 #ifdef HAVE_IEEEFP_H
25321 #include <ieeefp.h>
25322 #endif
25323
25324 int
25325 main ()
25326 {
25327 _logl(0);
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333 glibcxx_cv_func__logl_use=yes
25334 else
25335 glibcxx_cv_func__logl_use=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343
25344
25345 fi
25346
25347 fi
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25349 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25350
25351 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25352 for ac_func in _logl
25353 do :
25354 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25355 if test "x$ac_cv_func__logl" = x""yes; then :
25356 cat >>confdefs.h <<_ACEOF
25357 #define HAVE__LOGL 1
25358 _ACEOF
25359
25360 fi
25361 done
25362
25363 fi
25364 fi
25365
25366
25367
25368
25369
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25371 $as_echo_n "checking for log10l declaration... " >&6; }
25372 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25373 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25374 $as_echo_n "(cached) " >&6
25375 else
25376
25377
25378 ac_ext=cpp
25379 ac_cpp='$CXXCPP $CPPFLAGS'
25380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383
25384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25385 /* end confdefs.h. */
25386 #include <math.h>
25387 #ifdef HAVE_IEEEFP_H
25388 #include <ieeefp.h>
25389 #endif
25390
25391 int
25392 main ()
25393 {
25394 log10l(0);
25395 ;
25396 return 0;
25397 }
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func_log10l_use=yes
25401 else
25402 glibcxx_cv_func_log10l_use=no
25403 fi
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410
25411
25412 fi
25413
25414 fi
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25416 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25417
25418 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25419 for ac_func in log10l
25420 do :
25421 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25422 if test "x$ac_cv_func_log10l" = x""yes; then :
25423 cat >>confdefs.h <<_ACEOF
25424 #define HAVE_LOG10L 1
25425 _ACEOF
25426
25427 fi
25428 done
25429
25430 else
25431
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25433 $as_echo_n "checking for _log10l declaration... " >&6; }
25434 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25435 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25437 else
25438
25439
25440 ac_ext=cpp
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25445
25446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h. */
25448 #include <math.h>
25449 #ifdef HAVE_IEEEFP_H
25450 #include <ieeefp.h>
25451 #endif
25452
25453 int
25454 main ()
25455 {
25456 _log10l(0);
25457 ;
25458 return 0;
25459 }
25460 _ACEOF
25461 if ac_fn_cxx_try_compile "$LINENO"; then :
25462 glibcxx_cv_func__log10l_use=yes
25463 else
25464 glibcxx_cv_func__log10l_use=no
25465 fi
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25467 ac_ext=c
25468 ac_cpp='$CPP $CPPFLAGS'
25469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25472
25473
25474 fi
25475
25476 fi
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25478 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25479
25480 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25481 for ac_func in _log10l
25482 do :
25483 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25484 if test "x$ac_cv_func__log10l" = x""yes; then :
25485 cat >>confdefs.h <<_ACEOF
25486 #define HAVE__LOG10L 1
25487 _ACEOF
25488
25489 fi
25490 done
25491
25492 fi
25493 fi
25494
25495
25496
25497
25498
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25500 $as_echo_n "checking for modfl declaration... " >&6; }
25501 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25502 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25503 $as_echo_n "(cached) " >&6
25504 else
25505
25506
25507 ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25512
25513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h. */
25515 #include <math.h>
25516 int
25517 main ()
25518 {
25519 modfl(0, 0);
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func_modfl_use=yes
25526 else
25527 glibcxx_cv_func_modfl_use=no
25528 fi
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535
25536
25537 fi
25538
25539 fi
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25541 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25542
25543 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25544 for ac_func in modfl
25545 do :
25546 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25547 if test "x$ac_cv_func_modfl" = x""yes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define HAVE_MODFL 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555 else
25556
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25558 $as_echo_n "checking for _modfl declaration... " >&6; }
25559 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25560 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25561 $as_echo_n "(cached) " >&6
25562 else
25563
25564
25565 ac_ext=cpp
25566 ac_cpp='$CXXCPP $CPPFLAGS'
25567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25570
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h. */
25573 #include <math.h>
25574 int
25575 main ()
25576 {
25577 _modfl(0, 0);
25578 ;
25579 return 0;
25580 }
25581 _ACEOF
25582 if ac_fn_cxx_try_compile "$LINENO"; then :
25583 glibcxx_cv_func__modfl_use=yes
25584 else
25585 glibcxx_cv_func__modfl_use=no
25586 fi
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 ac_ext=c
25589 ac_cpp='$CPP $CPPFLAGS'
25590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593
25594
25595 fi
25596
25597 fi
25598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25599 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25600
25601 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25602 for ac_func in _modfl
25603 do :
25604 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25605 if test "x$ac_cv_func__modfl" = x""yes; then :
25606 cat >>confdefs.h <<_ACEOF
25607 #define HAVE__MODFL 1
25608 _ACEOF
25609
25610 fi
25611 done
25612
25613 fi
25614 fi
25615
25616
25617
25618
25619
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25621 $as_echo_n "checking for powl declaration... " >&6; }
25622 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25623 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25624 $as_echo_n "(cached) " >&6
25625 else
25626
25627
25628 ac_ext=cpp
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633
25634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h. */
25636 #include <math.h>
25637 int
25638 main ()
25639 {
25640 powl(0, 0);
25641 ;
25642 return 0;
25643 }
25644 _ACEOF
25645 if ac_fn_cxx_try_compile "$LINENO"; then :
25646 glibcxx_cv_func_powl_use=yes
25647 else
25648 glibcxx_cv_func_powl_use=no
25649 fi
25650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25651 ac_ext=c
25652 ac_cpp='$CPP $CPPFLAGS'
25653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25656
25657
25658 fi
25659
25660 fi
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25662 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25663
25664 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25665 for ac_func in powl
25666 do :
25667 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25668 if test "x$ac_cv_func_powl" = x""yes; then :
25669 cat >>confdefs.h <<_ACEOF
25670 #define HAVE_POWL 1
25671 _ACEOF
25672
25673 fi
25674 done
25675
25676 else
25677
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25679 $as_echo_n "checking for _powl declaration... " >&6; }
25680 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25681 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25683 else
25684
25685
25686 ac_ext=cpp
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25691
25692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h. */
25694 #include <math.h>
25695 int
25696 main ()
25697 {
25698 _powl(0, 0);
25699 ;
25700 return 0;
25701 }
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704 glibcxx_cv_func__powl_use=yes
25705 else
25706 glibcxx_cv_func__powl_use=no
25707 fi
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25714
25715
25716 fi
25717
25718 fi
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25720 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25721
25722 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25723 for ac_func in _powl
25724 do :
25725 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25726 if test "x$ac_cv_func__powl" = x""yes; then :
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE__POWL 1
25729 _ACEOF
25730
25731 fi
25732 done
25733
25734 fi
25735 fi
25736
25737
25738
25739
25740
25741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25742 $as_echo_n "checking for sqrtl declaration... " >&6; }
25743 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25744 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25745 $as_echo_n "(cached) " >&6
25746 else
25747
25748
25749 ac_ext=cpp
25750 ac_cpp='$CXXCPP $CPPFLAGS'
25751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754
25755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25756 /* end confdefs.h. */
25757 #include <math.h>
25758 #ifdef HAVE_IEEEFP_H
25759 #include <ieeefp.h>
25760 #endif
25761
25762 int
25763 main ()
25764 {
25765 sqrtl(0);
25766 ;
25767 return 0;
25768 }
25769 _ACEOF
25770 if ac_fn_cxx_try_compile "$LINENO"; then :
25771 glibcxx_cv_func_sqrtl_use=yes
25772 else
25773 glibcxx_cv_func_sqrtl_use=no
25774 fi
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25776 ac_ext=c
25777 ac_cpp='$CPP $CPPFLAGS'
25778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781
25782
25783 fi
25784
25785 fi
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25787 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25788
25789 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25790 for ac_func in sqrtl
25791 do :
25792 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25793 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define HAVE_SQRTL 1
25796 _ACEOF
25797
25798 fi
25799 done
25800
25801 else
25802
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25804 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25805 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25806 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25807 $as_echo_n "(cached) " >&6
25808 else
25809
25810
25811 ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25816
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25819 #include <math.h>
25820 #ifdef HAVE_IEEEFP_H
25821 #include <ieeefp.h>
25822 #endif
25823
25824 int
25825 main ()
25826 {
25827 _sqrtl(0);
25828 ;
25829 return 0;
25830 }
25831 _ACEOF
25832 if ac_fn_cxx_try_compile "$LINENO"; then :
25833 glibcxx_cv_func__sqrtl_use=yes
25834 else
25835 glibcxx_cv_func__sqrtl_use=no
25836 fi
25837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25838 ac_ext=c
25839 ac_cpp='$CPP $CPPFLAGS'
25840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25843
25844
25845 fi
25846
25847 fi
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25849 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25850
25851 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25852 for ac_func in _sqrtl
25853 do :
25854 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25855 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25856 cat >>confdefs.h <<_ACEOF
25857 #define HAVE__SQRTL 1
25858 _ACEOF
25859
25860 fi
25861 done
25862
25863 fi
25864 fi
25865
25866
25867
25868
25869
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25871 $as_echo_n "checking for sincosl declaration... " >&6; }
25872 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25873 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25874 $as_echo_n "(cached) " >&6
25875 else
25876
25877
25878 ac_ext=cpp
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883
25884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885 /* end confdefs.h. */
25886 #include <math.h>
25887 int
25888 main ()
25889 {
25890 sincosl(0, 0, 0);
25891 ;
25892 return 0;
25893 }
25894 _ACEOF
25895 if ac_fn_cxx_try_compile "$LINENO"; then :
25896 glibcxx_cv_func_sincosl_use=yes
25897 else
25898 glibcxx_cv_func_sincosl_use=no
25899 fi
25900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906
25907
25908 fi
25909
25910 fi
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25912 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25913
25914 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25915 for ac_func in sincosl
25916 do :
25917 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25918 if test "x$ac_cv_func_sincosl" = x""yes; then :
25919 cat >>confdefs.h <<_ACEOF
25920 #define HAVE_SINCOSL 1
25921 _ACEOF
25922
25923 fi
25924 done
25925
25926 else
25927
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25929 $as_echo_n "checking for _sincosl declaration... " >&6; }
25930 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25931 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25932 $as_echo_n "(cached) " >&6
25933 else
25934
25935
25936 ac_ext=cpp
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25941
25942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25943 /* end confdefs.h. */
25944 #include <math.h>
25945 int
25946 main ()
25947 {
25948 _sincosl(0, 0, 0);
25949 ;
25950 return 0;
25951 }
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 glibcxx_cv_func__sincosl_use=yes
25955 else
25956 glibcxx_cv_func__sincosl_use=no
25957 fi
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964
25965
25966 fi
25967
25968 fi
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25970 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25971
25972 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25973 for ac_func in _sincosl
25974 do :
25975 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25976 if test "x$ac_cv_func__sincosl" = x""yes; then :
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE__SINCOSL 1
25979 _ACEOF
25980
25981 fi
25982 done
25983
25984 fi
25985 fi
25986
25987
25988
25989
25990
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25992 $as_echo_n "checking for finitel declaration... " >&6; }
25993 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25994 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25995 $as_echo_n "(cached) " >&6
25996 else
25997
25998
25999 ac_ext=cpp
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004
26005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26006 /* end confdefs.h. */
26007 #include <math.h>
26008 #ifdef HAVE_IEEEFP_H
26009 #include <ieeefp.h>
26010 #endif
26011
26012 int
26013 main ()
26014 {
26015 finitel(0);
26016 ;
26017 return 0;
26018 }
26019 _ACEOF
26020 if ac_fn_cxx_try_compile "$LINENO"; then :
26021 glibcxx_cv_func_finitel_use=yes
26022 else
26023 glibcxx_cv_func_finitel_use=no
26024 fi
26025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026 ac_ext=c
26027 ac_cpp='$CPP $CPPFLAGS'
26028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031
26032
26033 fi
26034
26035 fi
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26037 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26038
26039 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26040 for ac_func in finitel
26041 do :
26042 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26043 if test "x$ac_cv_func_finitel" = x""yes; then :
26044 cat >>confdefs.h <<_ACEOF
26045 #define HAVE_FINITEL 1
26046 _ACEOF
26047
26048 fi
26049 done
26050
26051 else
26052
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26054 $as_echo_n "checking for _finitel declaration... " >&6; }
26055 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26056 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26057 $as_echo_n "(cached) " >&6
26058 else
26059
26060
26061 ac_ext=cpp
26062 ac_cpp='$CXXCPP $CPPFLAGS'
26063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26066
26067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h. */
26069 #include <math.h>
26070 #ifdef HAVE_IEEEFP_H
26071 #include <ieeefp.h>
26072 #endif
26073
26074 int
26075 main ()
26076 {
26077 _finitel(0);
26078 ;
26079 return 0;
26080 }
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083 glibcxx_cv_func__finitel_use=yes
26084 else
26085 glibcxx_cv_func__finitel_use=no
26086 fi
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26093
26094
26095 fi
26096
26097 fi
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26099 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26100
26101 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26102 for ac_func in _finitel
26103 do :
26104 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26105 if test "x$ac_cv_func__finitel" = x""yes; then :
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE__FINITEL 1
26108 _ACEOF
26109
26110 fi
26111 done
26112
26113 fi
26114 fi
26115
26116
26117
26118
26119 LIBS="$ac_save_LIBS"
26120 CXXFLAGS="$ac_save_CXXFLAGS"
26121
26122
26123 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26124 ac_save_CXXFLAGS="$CXXFLAGS"
26125 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26126
26127
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26129 $as_echo_n "checking for strtold declaration... " >&6; }
26130 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26131 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26132 $as_echo_n "(cached) " >&6
26133 else
26134
26135
26136 ac_ext=cpp
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26141
26142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h. */
26144 #include <stdlib.h>
26145 int
26146 main ()
26147 {
26148 strtold(0, 0);
26149 ;
26150 return 0;
26151 }
26152 _ACEOF
26153 if ac_fn_cxx_try_compile "$LINENO"; then :
26154 glibcxx_cv_func_strtold_use=yes
26155 else
26156 glibcxx_cv_func_strtold_use=no
26157 fi
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159 ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164
26165
26166 fi
26167
26168 fi
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26170 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26171 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26172 for ac_func in strtold
26173 do :
26174 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26175 if test "x$ac_cv_func_strtold" = x""yes; then :
26176 cat >>confdefs.h <<_ACEOF
26177 #define HAVE_STRTOLD 1
26178 _ACEOF
26179
26180 fi
26181 done
26182
26183 fi
26184
26185
26186
26187
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26189 $as_echo_n "checking for strtof declaration... " >&6; }
26190 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26191 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26194
26195
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <stdlib.h>
26205 int
26206 main ()
26207 {
26208 strtof(0, 0);
26209 ;
26210 return 0;
26211 }
26212 _ACEOF
26213 if ac_fn_cxx_try_compile "$LINENO"; then :
26214 glibcxx_cv_func_strtof_use=yes
26215 else
26216 glibcxx_cv_func_strtof_use=no
26217 fi
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219 ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224
26225
26226 fi
26227
26228 fi
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26230 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26231 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26232 for ac_func in strtof
26233 do :
26234 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26235 if test "x$ac_cv_func_strtof" = x""yes; then :
26236 cat >>confdefs.h <<_ACEOF
26237 #define HAVE_STRTOF 1
26238 _ACEOF
26239
26240 fi
26241 done
26242
26243 fi
26244
26245
26246
26247
26248 CXXFLAGS="$ac_save_CXXFLAGS"
26249
26250
26251 # For /dev/random and /dev/urandom for TR1.
26252
26253
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26255 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26256 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26258 else
26259
26260 if test -r /dev/random && test -r /dev/urandom; then
26261 glibcxx_cv_random_tr1=yes;
26262 else
26263 glibcxx_cv_random_tr1=no;
26264 fi
26265
26266 fi
26267
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26269 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26270
26271 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26272
26273 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26274
26275 fi
26276
26277
26278
26279 # For TLS support.
26280
26281
26282 # Check whether --enable-tls was given.
26283 if test "${enable_tls+set}" = set; then :
26284 enableval=$enable_tls;
26285 case "$enableval" in
26286 yes|no) ;;
26287 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26288 esac
26289
26290 else
26291 enable_tls=yes
26292 fi
26293
26294
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26296 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26297 if test "${gcc_cv_have_tls+set}" = set; then :
26298 $as_echo_n "(cached) " >&6
26299 else
26300
26301 if test "$cross_compiling" = yes; then :
26302 if test x$gcc_no_link = xyes; then
26303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26304 fi
26305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26306 /* end confdefs.h. */
26307 __thread int a; int b; int main() { return a = b; }
26308 _ACEOF
26309 if ac_fn_c_try_link "$LINENO"; then :
26310 chktls_save_LDFLAGS="$LDFLAGS"
26311 case $host in
26312 *-*-linux*)
26313 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26314 ;;
26315 esac
26316 chktls_save_CFLAGS="$CFLAGS"
26317 CFLAGS="-fPIC $CFLAGS"
26318 if test x$gcc_no_link = xyes; then
26319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26320 fi
26321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26322 /* end confdefs.h. */
26323 int f() { return 0; }
26324 _ACEOF
26325 if ac_fn_c_try_link "$LINENO"; then :
26326 if test x$gcc_no_link = xyes; then
26327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26328 fi
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h. */
26331 __thread int a; int b; int f() { return a = b; }
26332 _ACEOF
26333 if ac_fn_c_try_link "$LINENO"; then :
26334 gcc_cv_have_tls=yes
26335 else
26336 gcc_cv_have_tls=no
26337 fi
26338 rm -f core conftest.err conftest.$ac_objext \
26339 conftest$ac_exeext conftest.$ac_ext
26340 else
26341 gcc_cv_have_tls=yes
26342 fi
26343 rm -f core conftest.err conftest.$ac_objext \
26344 conftest$ac_exeext conftest.$ac_ext
26345 CFLAGS="$chktls_save_CFLAGS"
26346 LDFLAGS="$chktls_save_LDFLAGS"
26347 else
26348 gcc_cv_have_tls=no
26349 fi
26350 rm -f core conftest.err conftest.$ac_objext \
26351 conftest$ac_exeext conftest.$ac_ext
26352
26353
26354 else
26355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h. */
26357 __thread int a; int b; int main() { return a = b; }
26358 _ACEOF
26359 if ac_fn_c_try_run "$LINENO"; then :
26360 chktls_save_LDFLAGS="$LDFLAGS"
26361 LDFLAGS="-static $LDFLAGS"
26362 if test x$gcc_no_link = xyes; then
26363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26364 fi
26365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26366 /* end confdefs.h. */
26367 int main() { return 0; }
26368 _ACEOF
26369 if ac_fn_c_try_link "$LINENO"; then :
26370 if test "$cross_compiling" = yes; then :
26371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26373 as_fn_error "cannot run test program while cross compiling
26374 See \`config.log' for more details." "$LINENO" 5; }
26375 else
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378 __thread int a; int b; int main() { return a = b; }
26379 _ACEOF
26380 if ac_fn_c_try_run "$LINENO"; then :
26381 gcc_cv_have_tls=yes
26382 else
26383 gcc_cv_have_tls=no
26384 fi
26385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26386 conftest.$ac_objext conftest.beam conftest.$ac_ext
26387 fi
26388
26389 else
26390 gcc_cv_have_tls=yes
26391 fi
26392 rm -f core conftest.err conftest.$ac_objext \
26393 conftest$ac_exeext conftest.$ac_ext
26394 LDFLAGS="$chktls_save_LDFLAGS"
26395 if test $gcc_cv_have_tls = yes; then
26396 chktls_save_CFLAGS="$CFLAGS"
26397 thread_CFLAGS=failed
26398 for flag in '' '-pthread' '-lpthread'; do
26399 CFLAGS="$flag $chktls_save_CFLAGS"
26400 if test x$gcc_no_link = xyes; then
26401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 fi
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h. */
26405 #include <pthread.h>
26406 void *g(void *d) { return NULL; }
26407 int
26408 main ()
26409 {
26410 pthread_t t; pthread_create(&t,NULL,g,NULL);
26411 ;
26412 return 0;
26413 }
26414 _ACEOF
26415 if ac_fn_c_try_link "$LINENO"; then :
26416 thread_CFLAGS="$flag"
26417 fi
26418 rm -f core conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26420 if test "X$thread_CFLAGS" != Xfailed; then
26421 break
26422 fi
26423 done
26424 CFLAGS="$chktls_save_CFLAGS"
26425 if test "X$thread_CFLAGS" != Xfailed; then
26426 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26427 if test "$cross_compiling" = yes; then :
26428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26430 as_fn_error "cannot run test program while cross compiling
26431 See \`config.log' for more details." "$LINENO" 5; }
26432 else
26433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h. */
26435 #include <pthread.h>
26436 __thread int a;
26437 static int *volatile a_in_other_thread;
26438 static void *
26439 thread_func (void *arg)
26440 {
26441 a_in_other_thread = &a;
26442 return (void *)0;
26443 }
26444 int
26445 main ()
26446 {
26447 pthread_t thread;
26448 void *thread_retval;
26449 int *volatile a_in_main_thread;
26450 a_in_main_thread = &a;
26451 if (pthread_create (&thread, (pthread_attr_t *)0,
26452 thread_func, (void *)0))
26453 return 0;
26454 if (pthread_join (thread, &thread_retval))
26455 return 0;
26456 return (a_in_other_thread == a_in_main_thread);
26457 ;
26458 return 0;
26459 }
26460 _ACEOF
26461 if ac_fn_c_try_run "$LINENO"; then :
26462 gcc_cv_have_tls=yes
26463 else
26464 gcc_cv_have_tls=no
26465 fi
26466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26467 conftest.$ac_objext conftest.beam conftest.$ac_ext
26468 fi
26469
26470 CFLAGS="$chktls_save_CFLAGS"
26471 fi
26472 fi
26473 else
26474 gcc_cv_have_tls=no
26475 fi
26476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26477 conftest.$ac_objext conftest.beam conftest.$ac_ext
26478 fi
26479
26480 fi
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26482 $as_echo "$gcc_cv_have_tls" >&6; }
26483 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26484
26485 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26486
26487 fi
26488
26489 # For iconv support.
26490
26491 if test "X$prefix" = "XNONE"; then
26492 acl_final_prefix="$ac_default_prefix"
26493 else
26494 acl_final_prefix="$prefix"
26495 fi
26496 if test "X$exec_prefix" = "XNONE"; then
26497 acl_final_exec_prefix='${prefix}'
26498 else
26499 acl_final_exec_prefix="$exec_prefix"
26500 fi
26501 acl_save_prefix="$prefix"
26502 prefix="$acl_final_prefix"
26503 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26504 prefix="$acl_save_prefix"
26505
26506
26507 # Check whether --with-gnu-ld was given.
26508 if test "${with_gnu_ld+set}" = set; then :
26509 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26510 else
26511 with_gnu_ld=no
26512 fi
26513
26514 # Prepare PATH_SEPARATOR.
26515 # The user is always right.
26516 if test "${PATH_SEPARATOR+set}" != set; then
26517 echo "#! /bin/sh" >conf$$.sh
26518 echo "exit 0" >>conf$$.sh
26519 chmod +x conf$$.sh
26520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26521 PATH_SEPARATOR=';'
26522 else
26523 PATH_SEPARATOR=:
26524 fi
26525 rm -f conf$$.sh
26526 fi
26527 ac_prog=ld
26528 if test "$GCC" = yes; then
26529 # Check if gcc -print-prog-name=ld gives a path.
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26531 $as_echo_n "checking for ld used by GCC... " >&6; }
26532 case $host in
26533 *-*-mingw*)
26534 # gcc leaves a trailing carriage return which upsets mingw
26535 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26536 *)
26537 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26538 esac
26539 case $ac_prog in
26540 # Accept absolute paths.
26541 [\\/]* | [A-Za-z]:[\\/]*)
26542 re_direlt='/[^/][^/]*/\.\./'
26543 # Canonicalize the path of ld
26544 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26545 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26546 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26547 done
26548 test -z "$LD" && LD="$ac_prog"
26549 ;;
26550 "")
26551 # If it fails, then pretend we aren't using GCC.
26552 ac_prog=ld
26553 ;;
26554 *)
26555 # If it is relative, then search for the first ld in PATH.
26556 with_gnu_ld=unknown
26557 ;;
26558 esac
26559 elif test "$with_gnu_ld" = yes; then
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26561 $as_echo_n "checking for GNU ld... " >&6; }
26562 else
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26564 $as_echo_n "checking for non-GNU ld... " >&6; }
26565 fi
26566 if test "${acl_cv_path_LD+set}" = set; then :
26567 $as_echo_n "(cached) " >&6
26568 else
26569 if test -z "$LD"; then
26570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26571 for ac_dir in $PATH; do
26572 test -z "$ac_dir" && ac_dir=.
26573 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26574 acl_cv_path_LD="$ac_dir/$ac_prog"
26575 # Check to see if the program is GNU ld. I'd rather use --version,
26576 # but apparently some GNU ld's only accept -v.
26577 # Break only if it was the GNU/non-GNU ld that we prefer.
26578 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26579 test "$with_gnu_ld" != no && break
26580 else
26581 test "$with_gnu_ld" != yes && break
26582 fi
26583 fi
26584 done
26585 IFS="$ac_save_ifs"
26586 else
26587 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26588 fi
26589 fi
26590
26591 LD="$acl_cv_path_LD"
26592 if test -n "$LD"; then
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26594 $as_echo "$LD" >&6; }
26595 else
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26597 $as_echo "no" >&6; }
26598 fi
26599 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26601 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26602 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26603 $as_echo_n "(cached) " >&6
26604 else
26605 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26606 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26607 acl_cv_prog_gnu_ld=yes
26608 else
26609 acl_cv_prog_gnu_ld=no
26610 fi
26611 fi
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26613 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26614 with_gnu_ld=$acl_cv_prog_gnu_ld
26615
26616
26617
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26619 $as_echo_n "checking for shared library run path origin... " >&6; }
26620 if test "${acl_cv_rpath+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26623
26624 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26625 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26626 . ./conftest.sh
26627 rm -f ./conftest.sh
26628 acl_cv_rpath=done
26629
26630 fi
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26632 $as_echo "$acl_cv_rpath" >&6; }
26633 wl="$acl_cv_wl"
26634 libext="$acl_cv_libext"
26635 shlibext="$acl_cv_shlibext"
26636 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26637 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26638 hardcode_direct="$acl_cv_hardcode_direct"
26639 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26640 # Check whether --enable-rpath was given.
26641 if test "${enable_rpath+set}" = set; then :
26642 enableval=$enable_rpath; :
26643 else
26644 enable_rpath=yes
26645 fi
26646
26647
26648
26649
26650
26651
26652
26653
26654 use_additional=yes
26655
26656 acl_save_prefix="$prefix"
26657 prefix="$acl_final_prefix"
26658 acl_save_exec_prefix="$exec_prefix"
26659 exec_prefix="$acl_final_exec_prefix"
26660
26661 eval additional_includedir=\"$includedir\"
26662 eval additional_libdir=\"$libdir\"
26663
26664 exec_prefix="$acl_save_exec_prefix"
26665 prefix="$acl_save_prefix"
26666
26667
26668 # Check whether --with-libiconv-prefix was given.
26669 if test "${with_libiconv_prefix+set}" = set; then :
26670 withval=$with_libiconv_prefix;
26671 if test "X$withval" = "Xno"; then
26672 use_additional=no
26673 else
26674 if test "X$withval" = "X"; then
26675
26676 acl_save_prefix="$prefix"
26677 prefix="$acl_final_prefix"
26678 acl_save_exec_prefix="$exec_prefix"
26679 exec_prefix="$acl_final_exec_prefix"
26680
26681 eval additional_includedir=\"$includedir\"
26682 eval additional_libdir=\"$libdir\"
26683
26684 exec_prefix="$acl_save_exec_prefix"
26685 prefix="$acl_save_prefix"
26686
26687 else
26688 additional_includedir="$withval/include"
26689 additional_libdir="$withval/lib"
26690 fi
26691 fi
26692
26693 fi
26694
26695 LIBICONV=
26696 LTLIBICONV=
26697 INCICONV=
26698 rpathdirs=
26699 ltrpathdirs=
26700 names_already_handled=
26701 names_next_round='iconv '
26702 while test -n "$names_next_round"; do
26703 names_this_round="$names_next_round"
26704 names_next_round=
26705 for name in $names_this_round; do
26706 already_handled=
26707 for n in $names_already_handled; do
26708 if test "$n" = "$name"; then
26709 already_handled=yes
26710 break
26711 fi
26712 done
26713 if test -z "$already_handled"; then
26714 names_already_handled="$names_already_handled $name"
26715 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26716 eval value=\"\$HAVE_LIB$uppername\"
26717 if test -n "$value"; then
26718 if test "$value" = yes; then
26719 eval value=\"\$LIB$uppername\"
26720 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26721 eval value=\"\$LTLIB$uppername\"
26722 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26723 else
26724 :
26725 fi
26726 else
26727 found_dir=
26728 found_la=
26729 found_so=
26730 found_a=
26731 if test $use_additional = yes; then
26732 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26733 found_dir="$additional_libdir"
26734 found_so="$additional_libdir/lib$name.$shlibext"
26735 if test -f "$additional_libdir/lib$name.la"; then
26736 found_la="$additional_libdir/lib$name.la"
26737 fi
26738 else
26739 if test -f "$additional_libdir/lib$name.$libext"; then
26740 found_dir="$additional_libdir"
26741 found_a="$additional_libdir/lib$name.$libext"
26742 if test -f "$additional_libdir/lib$name.la"; then
26743 found_la="$additional_libdir/lib$name.la"
26744 fi
26745 fi
26746 fi
26747 fi
26748 if test "X$found_dir" = "X"; then
26749 for x in $LDFLAGS $LTLIBICONV; do
26750
26751 acl_save_prefix="$prefix"
26752 prefix="$acl_final_prefix"
26753 acl_save_exec_prefix="$exec_prefix"
26754 exec_prefix="$acl_final_exec_prefix"
26755 eval x=\"$x\"
26756 exec_prefix="$acl_save_exec_prefix"
26757 prefix="$acl_save_prefix"
26758
26759 case "$x" in
26760 -L*)
26761 dir=`echo "X$x" | sed -e 's/^X-L//'`
26762 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26763 found_dir="$dir"
26764 found_so="$dir/lib$name.$shlibext"
26765 if test -f "$dir/lib$name.la"; then
26766 found_la="$dir/lib$name.la"
26767 fi
26768 else
26769 if test -f "$dir/lib$name.$libext"; then
26770 found_dir="$dir"
26771 found_a="$dir/lib$name.$libext"
26772 if test -f "$dir/lib$name.la"; then
26773 found_la="$dir/lib$name.la"
26774 fi
26775 fi
26776 fi
26777 ;;
26778 esac
26779 if test "X$found_dir" != "X"; then
26780 break
26781 fi
26782 done
26783 fi
26784 if test "X$found_dir" != "X"; then
26785 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26786 if test "X$found_so" != "X"; then
26787 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26788 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26789 else
26790 haveit=
26791 for x in $ltrpathdirs; do
26792 if test "X$x" = "X$found_dir"; then
26793 haveit=yes
26794 break
26795 fi
26796 done
26797 if test -z "$haveit"; then
26798 ltrpathdirs="$ltrpathdirs $found_dir"
26799 fi
26800 if test "$hardcode_direct" = yes; then
26801 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26802 else
26803 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26804 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26805 haveit=
26806 for x in $rpathdirs; do
26807 if test "X$x" = "X$found_dir"; then
26808 haveit=yes
26809 break
26810 fi
26811 done
26812 if test -z "$haveit"; then
26813 rpathdirs="$rpathdirs $found_dir"
26814 fi
26815 else
26816 haveit=
26817 for x in $LDFLAGS $LIBICONV; do
26818
26819 acl_save_prefix="$prefix"
26820 prefix="$acl_final_prefix"
26821 acl_save_exec_prefix="$exec_prefix"
26822 exec_prefix="$acl_final_exec_prefix"
26823 eval x=\"$x\"
26824 exec_prefix="$acl_save_exec_prefix"
26825 prefix="$acl_save_prefix"
26826
26827 if test "X$x" = "X-L$found_dir"; then
26828 haveit=yes
26829 break
26830 fi
26831 done
26832 if test -z "$haveit"; then
26833 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26834 fi
26835 if test "$hardcode_minus_L" != no; then
26836 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26837 else
26838 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26839 fi
26840 fi
26841 fi
26842 fi
26843 else
26844 if test "X$found_a" != "X"; then
26845 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26846 else
26847 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26848 fi
26849 fi
26850 additional_includedir=
26851 case "$found_dir" in
26852 */lib | */lib/)
26853 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26854 additional_includedir="$basedir/include"
26855 ;;
26856 esac
26857 if test "X$additional_includedir" != "X"; then
26858 if test "X$additional_includedir" != "X/usr/include"; then
26859 haveit=
26860 if test "X$additional_includedir" = "X/usr/local/include"; then
26861 if test -n "$GCC"; then
26862 case $host_os in
26863 linux*) haveit=yes;;
26864 esac
26865 fi
26866 fi
26867 if test -z "$haveit"; then
26868 for x in $CPPFLAGS $INCICONV; do
26869
26870 acl_save_prefix="$prefix"
26871 prefix="$acl_final_prefix"
26872 acl_save_exec_prefix="$exec_prefix"
26873 exec_prefix="$acl_final_exec_prefix"
26874 eval x=\"$x\"
26875 exec_prefix="$acl_save_exec_prefix"
26876 prefix="$acl_save_prefix"
26877
26878 if test "X$x" = "X-I$additional_includedir"; then
26879 haveit=yes
26880 break
26881 fi
26882 done
26883 if test -z "$haveit"; then
26884 if test -d "$additional_includedir"; then
26885 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26886 fi
26887 fi
26888 fi
26889 fi
26890 fi
26891 if test -n "$found_la"; then
26892 save_libdir="$libdir"
26893 case "$found_la" in
26894 */* | *\\*) . "$found_la" ;;
26895 *) . "./$found_la" ;;
26896 esac
26897 libdir="$save_libdir"
26898 for dep in $dependency_libs; do
26899 case "$dep" in
26900 -L*)
26901 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26902 if test "X$additional_libdir" != "X/usr/lib"; then
26903 haveit=
26904 if test "X$additional_libdir" = "X/usr/local/lib"; then
26905 if test -n "$GCC"; then
26906 case $host_os in
26907 linux*) haveit=yes;;
26908 esac
26909 fi
26910 fi
26911 if test -z "$haveit"; then
26912 haveit=
26913 for x in $LDFLAGS $LIBICONV; do
26914
26915 acl_save_prefix="$prefix"
26916 prefix="$acl_final_prefix"
26917 acl_save_exec_prefix="$exec_prefix"
26918 exec_prefix="$acl_final_exec_prefix"
26919 eval x=\"$x\"
26920 exec_prefix="$acl_save_exec_prefix"
26921 prefix="$acl_save_prefix"
26922
26923 if test "X$x" = "X-L$additional_libdir"; then
26924 haveit=yes
26925 break
26926 fi
26927 done
26928 if test -z "$haveit"; then
26929 if test -d "$additional_libdir"; then
26930 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26931 fi
26932 fi
26933 haveit=
26934 for x in $LDFLAGS $LTLIBICONV; do
26935
26936 acl_save_prefix="$prefix"
26937 prefix="$acl_final_prefix"
26938 acl_save_exec_prefix="$exec_prefix"
26939 exec_prefix="$acl_final_exec_prefix"
26940 eval x=\"$x\"
26941 exec_prefix="$acl_save_exec_prefix"
26942 prefix="$acl_save_prefix"
26943
26944 if test "X$x" = "X-L$additional_libdir"; then
26945 haveit=yes
26946 break
26947 fi
26948 done
26949 if test -z "$haveit"; then
26950 if test -d "$additional_libdir"; then
26951 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26952 fi
26953 fi
26954 fi
26955 fi
26956 ;;
26957 -R*)
26958 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26959 if test "$enable_rpath" != no; then
26960 haveit=
26961 for x in $rpathdirs; do
26962 if test "X$x" = "X$dir"; then
26963 haveit=yes
26964 break
26965 fi
26966 done
26967 if test -z "$haveit"; then
26968 rpathdirs="$rpathdirs $dir"
26969 fi
26970 haveit=
26971 for x in $ltrpathdirs; do
26972 if test "X$x" = "X$dir"; then
26973 haveit=yes
26974 break
26975 fi
26976 done
26977 if test -z "$haveit"; then
26978 ltrpathdirs="$ltrpathdirs $dir"
26979 fi
26980 fi
26981 ;;
26982 -l*)
26983 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26984 ;;
26985 *.la)
26986 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26987 ;;
26988 *)
26989 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26990 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26991 ;;
26992 esac
26993 done
26994 fi
26995 else
26996 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26997 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26998 fi
26999 fi
27000 fi
27001 done
27002 done
27003 if test "X$rpathdirs" != "X"; then
27004 if test -n "$hardcode_libdir_separator"; then
27005 alldirs=
27006 for found_dir in $rpathdirs; do
27007 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27008 done
27009 acl_save_libdir="$libdir"
27010 libdir="$alldirs"
27011 eval flag=\"$hardcode_libdir_flag_spec\"
27012 libdir="$acl_save_libdir"
27013 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27014 else
27015 for found_dir in $rpathdirs; do
27016 acl_save_libdir="$libdir"
27017 libdir="$found_dir"
27018 eval flag=\"$hardcode_libdir_flag_spec\"
27019 libdir="$acl_save_libdir"
27020 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27021 done
27022 fi
27023 fi
27024 if test "X$ltrpathdirs" != "X"; then
27025 for found_dir in $ltrpathdirs; do
27026 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27027 done
27028 fi
27029
27030
27031
27032
27033
27034
27035
27036 am_save_CPPFLAGS="$CPPFLAGS"
27037
27038 for element in $INCICONV; do
27039 haveit=
27040 for x in $CPPFLAGS; do
27041
27042 acl_save_prefix="$prefix"
27043 prefix="$acl_final_prefix"
27044 acl_save_exec_prefix="$exec_prefix"
27045 exec_prefix="$acl_final_exec_prefix"
27046 eval x=\"$x\"
27047 exec_prefix="$acl_save_exec_prefix"
27048 prefix="$acl_save_prefix"
27049
27050 if test "X$x" = "X$element"; then
27051 haveit=yes
27052 break
27053 fi
27054 done
27055 if test -z "$haveit"; then
27056 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27057 fi
27058 done
27059
27060
27061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27062 $as_echo_n "checking for iconv... " >&6; }
27063 if test "${am_cv_func_iconv+set}" = set; then :
27064 $as_echo_n "(cached) " >&6
27065 else
27066
27067 am_cv_func_iconv="no, consider installing GNU libiconv"
27068 am_cv_lib_iconv=no
27069 if test x$gcc_no_link = xyes; then
27070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27071 fi
27072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27073 /* end confdefs.h. */
27074 #include <stdlib.h>
27075 #include <iconv.h>
27076 int
27077 main ()
27078 {
27079 iconv_t cd = iconv_open("","");
27080 iconv(cd,NULL,NULL,NULL,NULL);
27081 iconv_close(cd);
27082 ;
27083 return 0;
27084 }
27085 _ACEOF
27086 if ac_fn_c_try_link "$LINENO"; then :
27087 am_cv_func_iconv=yes
27088 fi
27089 rm -f core conftest.err conftest.$ac_objext \
27090 conftest$ac_exeext conftest.$ac_ext
27091 if test "$am_cv_func_iconv" != yes; then
27092 am_save_LIBS="$LIBS"
27093 LIBS="$LIBS $LIBICONV"
27094 if test x$gcc_no_link = xyes; then
27095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27096 fi
27097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27098 /* end confdefs.h. */
27099 #include <stdlib.h>
27100 #include <iconv.h>
27101 int
27102 main ()
27103 {
27104 iconv_t cd = iconv_open("","");
27105 iconv(cd,NULL,NULL,NULL,NULL);
27106 iconv_close(cd);
27107 ;
27108 return 0;
27109 }
27110 _ACEOF
27111 if ac_fn_c_try_link "$LINENO"; then :
27112 am_cv_lib_iconv=yes
27113 am_cv_func_iconv=yes
27114 fi
27115 rm -f core conftest.err conftest.$ac_objext \
27116 conftest$ac_exeext conftest.$ac_ext
27117 LIBS="$am_save_LIBS"
27118 fi
27119
27120 fi
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27122 $as_echo "$am_cv_func_iconv" >&6; }
27123 if test "$am_cv_func_iconv" = yes; then
27124
27125 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27126
27127 fi
27128 if test "$am_cv_lib_iconv" = yes; then
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27130 $as_echo_n "checking how to link with libiconv... " >&6; }
27131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27132 $as_echo "$LIBICONV" >&6; }
27133 else
27134 CPPFLAGS="$am_save_CPPFLAGS"
27135 LIBICONV=
27136 LTLIBICONV=
27137 fi
27138
27139
27140
27141 if test "$am_cv_func_iconv" = yes; then
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27143 $as_echo_n "checking for iconv declaration... " >&6; }
27144 if test "${am_cv_proto_iconv+set}" = set; then :
27145 $as_echo_n "(cached) " >&6
27146 else
27147
27148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h. */
27150
27151 #include <stdlib.h>
27152 #include <iconv.h>
27153 extern
27154 #ifdef __cplusplus
27155 "C"
27156 #endif
27157 #if defined(__STDC__) || defined(__cplusplus)
27158 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27159 #else
27160 size_t iconv();
27161 #endif
27162
27163 int
27164 main ()
27165 {
27166
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 if ac_fn_c_try_compile "$LINENO"; then :
27172 am_cv_proto_iconv_arg1=""
27173 else
27174 am_cv_proto_iconv_arg1="const"
27175 fi
27176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27177 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);"
27178 fi
27179
27180 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27182 }$am_cv_proto_iconv" >&5
27183 $as_echo "${ac_t:-
27184 }$am_cv_proto_iconv" >&6; }
27185
27186 cat >>confdefs.h <<_ACEOF
27187 #define ICONV_CONST $am_cv_proto_iconv_arg1
27188 _ACEOF
27189
27190 fi
27191
27192
27193 else
27194
27195 # This lets us hard-code the functionality we know we'll have in the cross
27196 # target environment. "Let" is a sugar-coated word placed on an especially
27197 # dull and tedious hack, actually.
27198 #
27199 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27200 # that involve linking, can't be used:
27201 # "cannot open sim-crt0.o"
27202 # "cannot open crt0.o"
27203 # etc. All this is because there currently exists no unified, consistent
27204 # way for top level CC information to be passed down to target directories:
27205 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27206 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27207 # crosses can be removed.
27208
27209 # If Canadian cross, then don't pick up tools from the build directory.
27210 # Used only in GLIBCXX_EXPORT_INCLUDES.
27211 if test -n "$with_cross_host" &&
27212 test x"$build_alias" != x"$with_cross_host" &&
27213 test x"$build" != x"$target";
27214 then
27215 CANADIAN=yes
27216 else
27217 CANADIAN=no
27218 fi
27219
27220 # Construct crosses by hand, eliminating bits that need ld...
27221 # GLIBCXX_CHECK_MATH_SUPPORT
27222
27223 # First, test for "known" system libraries. We may be using newlib even
27224 # on a hosted environment.
27225 if test "x${with_newlib}" = "xyes"; then
27226 os_include_dir="os/newlib"
27227 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27228
27229
27230 # GLIBCXX_CHECK_STDLIB_SUPPORT
27231 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27232
27233
27234 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27235
27236 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27237
27238 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27239
27240 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27241
27242 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27243
27244 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27245
27246 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27247
27248 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27249
27250 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27251
27252 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27253
27254 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27255
27256 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27257
27258 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27259
27260 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27261
27262 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27263
27264 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27265
27266 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27267
27268 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27269
27270 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27271
27272 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27273
27274 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27275
27276 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27277
27278
27279 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27280
27281 else
27282
27283 # Base decisions on target environment.
27284 case "${host}" in
27285 arm*-*-symbianelf*)
27286 # This is a freestanding configuration; there is nothing to do here.
27287 ;;
27288
27289 mips*-sde-elf*)
27290 # These definitions are for the SDE C library rather than newlib.
27291 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27292
27293
27294 # All these tests are for C++; save the language and the compiler flags.
27295 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27296 # found in GLIBCXX_CONFIGURE.
27297
27298 ac_ext=cpp
27299 ac_cpp='$CXXCPP $CPPFLAGS'
27300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27303
27304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27305 ac_save_CXXFLAGS="$CXXFLAGS"
27306
27307 # Check for maintainer-mode bits.
27308 if test x"$USE_MAINTAINER_MODE" = xno; then
27309 WERROR=''
27310 else
27311 WERROR='-Werror'
27312 fi
27313
27314 # Check for -ffunction-sections -fdata-sections
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27316 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27317 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27319 /* end confdefs.h. */
27320 int foo; void bar() { };
27321 int
27322 main ()
27323 {
27324
27325 ;
27326 return 0;
27327 }
27328 _ACEOF
27329 if ac_fn_cxx_try_compile "$LINENO"; then :
27330 ac_fdsections=yes
27331 else
27332 ac_fdsections=no
27333 fi
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 if test "$ac_test_CXXFLAGS" = set; then
27336 CXXFLAGS="$ac_save_CXXFLAGS"
27337 else
27338 # this is the suspicious part
27339 CXXFLAGS=''
27340 fi
27341 if test x"$ac_fdsections" = x"yes"; then
27342 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27343 fi
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27345 $as_echo "$ac_fdsections" >&6; }
27346
27347 ac_ext=c
27348 ac_cpp='$CPP $CPPFLAGS'
27349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352
27353
27354
27355
27356
27357 # If we're not using GNU ld, then there's no point in even trying these
27358 # tests. Check for that first. We should have already tested for gld
27359 # by now (in libtool), but require it now just to be safe...
27360 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27361 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27362
27363
27364
27365 # The name set by libtool depends on the version of libtool. Shame on us
27366 # for depending on an impl detail, but c'est la vie. Older versions used
27367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27370 # set (hence we're using an older libtool), then set it.
27371 if test x${with_gnu_ld+set} != xset; then
27372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27374 with_gnu_ld=no
27375 else
27376 with_gnu_ld=$ac_cv_prog_gnu_ld
27377 fi
27378 fi
27379
27380 # Start by getting the version number. I think the libtool test already
27381 # does some of this, but throws away the result.
27382 glibcxx_ld_is_gold=no
27383 if test x"$with_gnu_ld" = x"yes"; then
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27385 $as_echo_n "checking for ld version... " >&6; }
27386
27387 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27388 glibcxx_ld_is_gold=yes
27389 fi
27390 ldver=`$LD --version 2>/dev/null |
27391 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'`
27392
27393 glibcxx_gnu_ld_version=`echo $ldver | \
27394 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27396 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27397 fi
27398
27399 # Set --gc-sections.
27400 glibcxx_have_gc_sections=no
27401 if test "$glibcxx_ld_is_gold" = "yes"; then
27402 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27403 glibcxx_have_gc_sections=yes
27404 fi
27405 else
27406 glibcxx_gcsections_min_ld=21602
27407 if test x"$with_gnu_ld" = x"yes" &&
27408 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27409 glibcxx_have_gc_sections=yes
27410 fi
27411 fi
27412 if test "$glibcxx_have_gc_sections" = "yes"; then
27413 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27414 # NB: This flag only works reliably after 2.16.1. Configure tests
27415 # for this are difficult, so hard wire a value that should work.
27416
27417 ac_test_CFLAGS="${CFLAGS+set}"
27418 ac_save_CFLAGS="$CFLAGS"
27419 CFLAGS='-Wl,--gc-sections'
27420
27421 # Check for -Wl,--gc-sections
27422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27423 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27424 if test x$gcc_no_link = xyes; then
27425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27426 fi
27427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27428 /* end confdefs.h. */
27429 int one(void) { return 1; }
27430 int two(void) { return 2; }
27431
27432 int
27433 main ()
27434 {
27435 two();
27436 ;
27437 return 0;
27438 }
27439 _ACEOF
27440 if ac_fn_c_try_link "$LINENO"; then :
27441 ac_gcsections=yes
27442 else
27443 ac_gcsections=no
27444 fi
27445 rm -f core conftest.err conftest.$ac_objext \
27446 conftest$ac_exeext conftest.$ac_ext
27447 if test "$ac_gcsections" = "yes"; then
27448 rm -f conftest.c
27449 touch conftest.c
27450 if $CC -c conftest.c; then
27451 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27452 grep "Warning: gc-sections option ignored" > /dev/null; then
27453 ac_gcsections=no
27454 fi
27455 fi
27456 rm -f conftest.c conftest.o conftest
27457 fi
27458 if test "$ac_gcsections" = "yes"; then
27459 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27460 fi
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27462 $as_echo "$ac_gcsections" >&6; }
27463
27464 if test "$ac_test_CFLAGS" = set; then
27465 CFLAGS="$ac_save_CFLAGS"
27466 else
27467 # this is the suspicious part
27468 CFLAGS=''
27469 fi
27470 fi
27471
27472 # Set -z,relro.
27473 # Note this is only for shared objects.
27474 ac_ld_relro=no
27475 if test x"$with_gnu_ld" = x"yes"; then
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27477 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27478 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27479 if test -n "$cxx_z_relo"; then
27480 OPT_LDFLAGS="-Wl,-z,relro"
27481 ac_ld_relro=yes
27482 fi
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27484 $as_echo "$ac_ld_relro" >&6; }
27485 fi
27486
27487 # Set linker optimization flags.
27488 if test x"$with_gnu_ld" = x"yes"; then
27489 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27490 fi
27491
27492
27493
27494
27495
27496 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27497 ac_save_CXXFLAGS="$CXXFLAGS"
27498 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27499
27500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27501 $as_echo_n "checking for sin in -lm... " >&6; }
27502 if test "${ac_cv_lib_m_sin+set}" = set; then :
27503 $as_echo_n "(cached) " >&6
27504 else
27505 ac_check_lib_save_LIBS=$LIBS
27506 LIBS="-lm $LIBS"
27507 if test x$gcc_no_link = xyes; then
27508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27509 fi
27510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27511 /* end confdefs.h. */
27512
27513 /* Override any GCC internal prototype to avoid an error.
27514 Use char because int might match the return type of a GCC
27515 builtin and then its argument prototype would still apply. */
27516 #ifdef __cplusplus
27517 extern "C"
27518 #endif
27519 char sin ();
27520 int
27521 main ()
27522 {
27523 return sin ();
27524 ;
27525 return 0;
27526 }
27527 _ACEOF
27528 if ac_fn_c_try_link "$LINENO"; then :
27529 ac_cv_lib_m_sin=yes
27530 else
27531 ac_cv_lib_m_sin=no
27532 fi
27533 rm -f core conftest.err conftest.$ac_objext \
27534 conftest$ac_exeext conftest.$ac_ext
27535 LIBS=$ac_check_lib_save_LIBS
27536 fi
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27538 $as_echo "$ac_cv_lib_m_sin" >&6; }
27539 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27540 libm="-lm"
27541 fi
27542
27543 ac_save_LIBS="$LIBS"
27544 LIBS="$LIBS $libm"
27545
27546
27547
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27549 $as_echo_n "checking for isinf declaration... " >&6; }
27550 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27551 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27552 $as_echo_n "(cached) " >&6
27553 else
27554
27555
27556 ac_ext=cpp
27557 ac_cpp='$CXXCPP $CPPFLAGS'
27558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27561
27562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h. */
27564 #include <math.h>
27565 #ifdef HAVE_IEEEFP_H
27566 #include <ieeefp.h>
27567 #endif
27568
27569 int
27570 main ()
27571 {
27572 isinf(0);
27573 ;
27574 return 0;
27575 }
27576 _ACEOF
27577 if ac_fn_cxx_try_compile "$LINENO"; then :
27578 glibcxx_cv_func_isinf_use=yes
27579 else
27580 glibcxx_cv_func_isinf_use=no
27581 fi
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27583 ac_ext=c
27584 ac_cpp='$CPP $CPPFLAGS'
27585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27588
27589
27590 fi
27591
27592 fi
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27594 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27595
27596 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27597 for ac_func in isinf
27598 do :
27599 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27600 if test "x$ac_cv_func_isinf" = x""yes; then :
27601 cat >>confdefs.h <<_ACEOF
27602 #define HAVE_ISINF 1
27603 _ACEOF
27604
27605 fi
27606 done
27607
27608 else
27609
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27611 $as_echo_n "checking for _isinf declaration... " >&6; }
27612 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27613 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27614 $as_echo_n "(cached) " >&6
27615 else
27616
27617
27618 ac_ext=cpp
27619 ac_cpp='$CXXCPP $CPPFLAGS'
27620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27623
27624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27625 /* end confdefs.h. */
27626 #include <math.h>
27627 #ifdef HAVE_IEEEFP_H
27628 #include <ieeefp.h>
27629 #endif
27630
27631 int
27632 main ()
27633 {
27634 _isinf(0);
27635 ;
27636 return 0;
27637 }
27638 _ACEOF
27639 if ac_fn_cxx_try_compile "$LINENO"; then :
27640 glibcxx_cv_func__isinf_use=yes
27641 else
27642 glibcxx_cv_func__isinf_use=no
27643 fi
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27645 ac_ext=c
27646 ac_cpp='$CPP $CPPFLAGS'
27647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650
27651
27652 fi
27653
27654 fi
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27656 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27657
27658 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27659 for ac_func in _isinf
27660 do :
27661 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27662 if test "x$ac_cv_func__isinf" = x""yes; then :
27663 cat >>confdefs.h <<_ACEOF
27664 #define HAVE__ISINF 1
27665 _ACEOF
27666
27667 fi
27668 done
27669
27670 fi
27671 fi
27672
27673
27674
27675
27676
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27678 $as_echo_n "checking for isnan declaration... " >&6; }
27679 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27680 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27681 $as_echo_n "(cached) " >&6
27682 else
27683
27684
27685 ac_ext=cpp
27686 ac_cpp='$CXXCPP $CPPFLAGS'
27687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27690
27691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27692 /* end confdefs.h. */
27693 #include <math.h>
27694 #ifdef HAVE_IEEEFP_H
27695 #include <ieeefp.h>
27696 #endif
27697
27698 int
27699 main ()
27700 {
27701 isnan(0);
27702 ;
27703 return 0;
27704 }
27705 _ACEOF
27706 if ac_fn_cxx_try_compile "$LINENO"; then :
27707 glibcxx_cv_func_isnan_use=yes
27708 else
27709 glibcxx_cv_func_isnan_use=no
27710 fi
27711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27712 ac_ext=c
27713 ac_cpp='$CPP $CPPFLAGS'
27714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27717
27718
27719 fi
27720
27721 fi
27722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27723 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27724
27725 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27726 for ac_func in isnan
27727 do :
27728 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27729 if test "x$ac_cv_func_isnan" = x""yes; then :
27730 cat >>confdefs.h <<_ACEOF
27731 #define HAVE_ISNAN 1
27732 _ACEOF
27733
27734 fi
27735 done
27736
27737 else
27738
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27740 $as_echo_n "checking for _isnan declaration... " >&6; }
27741 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27742 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27743 $as_echo_n "(cached) " >&6
27744 else
27745
27746
27747 ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27755 #include <math.h>
27756 #ifdef HAVE_IEEEFP_H
27757 #include <ieeefp.h>
27758 #endif
27759
27760 int
27761 main ()
27762 {
27763 _isnan(0);
27764 ;
27765 return 0;
27766 }
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769 glibcxx_cv_func__isnan_use=yes
27770 else
27771 glibcxx_cv_func__isnan_use=no
27772 fi
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774 ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27779
27780
27781 fi
27782
27783 fi
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27785 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27786
27787 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27788 for ac_func in _isnan
27789 do :
27790 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27791 if test "x$ac_cv_func__isnan" = x""yes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define HAVE__ISNAN 1
27794 _ACEOF
27795
27796 fi
27797 done
27798
27799 fi
27800 fi
27801
27802
27803
27804
27805
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27807 $as_echo_n "checking for finite declaration... " >&6; }
27808 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27809 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27810 $as_echo_n "(cached) " >&6
27811 else
27812
27813
27814 ac_ext=cpp
27815 ac_cpp='$CXXCPP $CPPFLAGS'
27816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27819
27820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27821 /* end confdefs.h. */
27822 #include <math.h>
27823 #ifdef HAVE_IEEEFP_H
27824 #include <ieeefp.h>
27825 #endif
27826
27827 int
27828 main ()
27829 {
27830 finite(0);
27831 ;
27832 return 0;
27833 }
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836 glibcxx_cv_func_finite_use=yes
27837 else
27838 glibcxx_cv_func_finite_use=no
27839 fi
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848 fi
27849
27850 fi
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27852 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27853
27854 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27855 for ac_func in finite
27856 do :
27857 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27858 if test "x$ac_cv_func_finite" = x""yes; then :
27859 cat >>confdefs.h <<_ACEOF
27860 #define HAVE_FINITE 1
27861 _ACEOF
27862
27863 fi
27864 done
27865
27866 else
27867
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27869 $as_echo_n "checking for _finite declaration... " >&6; }
27870 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27871 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27872 $as_echo_n "(cached) " >&6
27873 else
27874
27875
27876 ac_ext=cpp
27877 ac_cpp='$CXXCPP $CPPFLAGS'
27878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27881
27882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h. */
27884 #include <math.h>
27885 #ifdef HAVE_IEEEFP_H
27886 #include <ieeefp.h>
27887 #endif
27888
27889 int
27890 main ()
27891 {
27892 _finite(0);
27893 ;
27894 return 0;
27895 }
27896 _ACEOF
27897 if ac_fn_cxx_try_compile "$LINENO"; then :
27898 glibcxx_cv_func__finite_use=yes
27899 else
27900 glibcxx_cv_func__finite_use=no
27901 fi
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903 ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908
27909
27910 fi
27911
27912 fi
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27914 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27915
27916 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27917 for ac_func in _finite
27918 do :
27919 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27920 if test "x$ac_cv_func__finite" = x""yes; then :
27921 cat >>confdefs.h <<_ACEOF
27922 #define HAVE__FINITE 1
27923 _ACEOF
27924
27925 fi
27926 done
27927
27928 fi
27929 fi
27930
27931
27932
27933
27934
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27936 $as_echo_n "checking for sincos declaration... " >&6; }
27937 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27938 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27939 $as_echo_n "(cached) " >&6
27940 else
27941
27942
27943 ac_ext=cpp
27944 ac_cpp='$CXXCPP $CPPFLAGS'
27945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27948
27949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27950 /* end confdefs.h. */
27951 #include <math.h>
27952 int
27953 main ()
27954 {
27955 sincos(0, 0, 0);
27956 ;
27957 return 0;
27958 }
27959 _ACEOF
27960 if ac_fn_cxx_try_compile "$LINENO"; then :
27961 glibcxx_cv_func_sincos_use=yes
27962 else
27963 glibcxx_cv_func_sincos_use=no
27964 fi
27965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27966 ac_ext=c
27967 ac_cpp='$CPP $CPPFLAGS'
27968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27971
27972
27973 fi
27974
27975 fi
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27977 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27978
27979 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27980 for ac_func in sincos
27981 do :
27982 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27983 if test "x$ac_cv_func_sincos" = x""yes; then :
27984 cat >>confdefs.h <<_ACEOF
27985 #define HAVE_SINCOS 1
27986 _ACEOF
27987
27988 fi
27989 done
27990
27991 else
27992
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27994 $as_echo_n "checking for _sincos declaration... " >&6; }
27995 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27996 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27997 $as_echo_n "(cached) " >&6
27998 else
27999
28000
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28006
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <math.h>
28010 int
28011 main ()
28012 {
28013 _sincos(0, 0, 0);
28014 ;
28015 return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func__sincos_use=yes
28020 else
28021 glibcxx_cv_func__sincos_use=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28029
28030
28031 fi
28032
28033 fi
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28035 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28036
28037 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28038 for ac_func in _sincos
28039 do :
28040 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28041 if test "x$ac_cv_func__sincos" = x""yes; then :
28042 cat >>confdefs.h <<_ACEOF
28043 #define HAVE__SINCOS 1
28044 _ACEOF
28045
28046 fi
28047 done
28048
28049 fi
28050 fi
28051
28052
28053
28054
28055
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28057 $as_echo_n "checking for fpclass declaration... " >&6; }
28058 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28059 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28060 $as_echo_n "(cached) " >&6
28061 else
28062
28063
28064 ac_ext=cpp
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28069
28070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28071 /* end confdefs.h. */
28072 #include <math.h>
28073 #ifdef HAVE_IEEEFP_H
28074 #include <ieeefp.h>
28075 #endif
28076
28077 int
28078 main ()
28079 {
28080 fpclass(0);
28081 ;
28082 return 0;
28083 }
28084 _ACEOF
28085 if ac_fn_cxx_try_compile "$LINENO"; then :
28086 glibcxx_cv_func_fpclass_use=yes
28087 else
28088 glibcxx_cv_func_fpclass_use=no
28089 fi
28090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28091 ac_ext=c
28092 ac_cpp='$CPP $CPPFLAGS'
28093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28096
28097
28098 fi
28099
28100 fi
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28102 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28103
28104 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28105 for ac_func in fpclass
28106 do :
28107 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28108 if test "x$ac_cv_func_fpclass" = x""yes; then :
28109 cat >>confdefs.h <<_ACEOF
28110 #define HAVE_FPCLASS 1
28111 _ACEOF
28112
28113 fi
28114 done
28115
28116 else
28117
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28119 $as_echo_n "checking for _fpclass declaration... " >&6; }
28120 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28121 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28124
28125
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 _fpclass(0);
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func__fpclass_use=yes
28149 else
28150 glibcxx_cv_func__fpclass_use=no
28151 fi
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160 fi
28161
28162 fi
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28164 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28165
28166 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28167 for ac_func in _fpclass
28168 do :
28169 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28170 if test "x$ac_cv_func__fpclass" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE__FPCLASS 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178 fi
28179 fi
28180
28181
28182
28183
28184
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28186 $as_echo_n "checking for qfpclass declaration... " >&6; }
28187 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28188 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28189 $as_echo_n "(cached) " >&6
28190 else
28191
28192
28193 ac_ext=cpp
28194 ac_cpp='$CXXCPP $CPPFLAGS'
28195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28198
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28201 #include <math.h>
28202 #ifdef HAVE_IEEEFP_H
28203 #include <ieeefp.h>
28204 #endif
28205
28206 int
28207 main ()
28208 {
28209 qfpclass(0);
28210 ;
28211 return 0;
28212 }
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215 glibcxx_cv_func_qfpclass_use=yes
28216 else
28217 glibcxx_cv_func_qfpclass_use=no
28218 fi
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225
28226
28227 fi
28228
28229 fi
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28231 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28232
28233 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28234 for ac_func in qfpclass
28235 do :
28236 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28237 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28238 cat >>confdefs.h <<_ACEOF
28239 #define HAVE_QFPCLASS 1
28240 _ACEOF
28241
28242 fi
28243 done
28244
28245 else
28246
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28248 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28249 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28250 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28253
28254
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 #ifdef HAVE_IEEEFP_H
28265 #include <ieeefp.h>
28266 #endif
28267
28268 int
28269 main ()
28270 {
28271 _qfpclass(0);
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func__qfpclass_use=yes
28278 else
28279 glibcxx_cv_func__qfpclass_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288
28289 fi
28290
28291 fi
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28293 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28294
28295 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28296 for ac_func in _qfpclass
28297 do :
28298 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28299 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28300 cat >>confdefs.h <<_ACEOF
28301 #define HAVE__QFPCLASS 1
28302 _ACEOF
28303
28304 fi
28305 done
28306
28307 fi
28308 fi
28309
28310
28311
28312
28313
28314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28315 $as_echo_n "checking for hypot declaration... " >&6; }
28316 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28317 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28318 $as_echo_n "(cached) " >&6
28319 else
28320
28321
28322 ac_ext=cpp
28323 ac_cpp='$CXXCPP $CPPFLAGS'
28324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28327
28328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28330 #include <math.h>
28331 int
28332 main ()
28333 {
28334 hypot(0, 0);
28335 ;
28336 return 0;
28337 }
28338 _ACEOF
28339 if ac_fn_cxx_try_compile "$LINENO"; then :
28340 glibcxx_cv_func_hypot_use=yes
28341 else
28342 glibcxx_cv_func_hypot_use=no
28343 fi
28344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28345 ac_ext=c
28346 ac_cpp='$CPP $CPPFLAGS'
28347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28350
28351
28352 fi
28353
28354 fi
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28356 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28357
28358 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28359 for ac_func in hypot
28360 do :
28361 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28362 if test "x$ac_cv_func_hypot" = x""yes; then :
28363 cat >>confdefs.h <<_ACEOF
28364 #define HAVE_HYPOT 1
28365 _ACEOF
28366
28367 fi
28368 done
28369
28370 else
28371
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28373 $as_echo_n "checking for _hypot declaration... " >&6; }
28374 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28375 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28376 $as_echo_n "(cached) " >&6
28377 else
28378
28379
28380 ac_ext=cpp
28381 ac_cpp='$CXXCPP $CPPFLAGS'
28382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28385
28386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h. */
28388 #include <math.h>
28389 int
28390 main ()
28391 {
28392 _hypot(0, 0);
28393 ;
28394 return 0;
28395 }
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398 glibcxx_cv_func__hypot_use=yes
28399 else
28400 glibcxx_cv_func__hypot_use=no
28401 fi
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28408
28409
28410 fi
28411
28412 fi
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28414 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28415
28416 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28417 for ac_func in _hypot
28418 do :
28419 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28420 if test "x$ac_cv_func__hypot" = x""yes; then :
28421 cat >>confdefs.h <<_ACEOF
28422 #define HAVE__HYPOT 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428 fi
28429 fi
28430
28431
28432
28433
28434
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28436 $as_echo_n "checking for float trig functions... " >&6; }
28437 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28438 $as_echo_n "(cached) " >&6
28439 else
28440
28441
28442 ac_ext=cpp
28443 ac_cpp='$CXXCPP $CPPFLAGS'
28444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28447
28448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28449 /* end confdefs.h. */
28450 #include <math.h>
28451 int
28452 main ()
28453 {
28454 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28455 ;
28456 return 0;
28457 }
28458 _ACEOF
28459 if ac_fn_cxx_try_compile "$LINENO"; then :
28460 glibcxx_cv_func_float_trig_use=yes
28461 else
28462 glibcxx_cv_func_float_trig_use=no
28463 fi
28464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28465 ac_ext=c
28466 ac_cpp='$CPP $CPPFLAGS'
28467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28470
28471 fi
28472
28473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28474 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28475 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28476 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28477 do :
28478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28480 eval as_val=\$$as_ac_var
28481 if test "x$as_val" = x""yes; then :
28482 cat >>confdefs.h <<_ACEOF
28483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28484 _ACEOF
28485
28486 fi
28487 done
28488
28489 else
28490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28491 $as_echo_n "checking for _float trig functions... " >&6; }
28492 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28493 $as_echo_n "(cached) " >&6
28494 else
28495
28496
28497 ac_ext=cpp
28498 ac_cpp='$CXXCPP $CPPFLAGS'
28499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28502
28503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28504 /* end confdefs.h. */
28505 #include <math.h>
28506 int
28507 main ()
28508 {
28509 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28510 ;
28511 return 0;
28512 }
28513 _ACEOF
28514 if ac_fn_cxx_try_compile "$LINENO"; then :
28515 glibcxx_cv_func__float_trig_use=yes
28516 else
28517 glibcxx_cv_func__float_trig_use=no
28518 fi
28519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28520 ac_ext=c
28521 ac_cpp='$CPP $CPPFLAGS'
28522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28525
28526 fi
28527
28528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28529 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28530 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28531 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28532 do :
28533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28535 eval as_val=\$$as_ac_var
28536 if test "x$as_val" = x""yes; then :
28537 cat >>confdefs.h <<_ACEOF
28538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28539 _ACEOF
28540
28541 fi
28542 done
28543
28544 fi
28545 fi
28546
28547
28548
28549
28550
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28552 $as_echo_n "checking for float round functions... " >&6; }
28553 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28554 $as_echo_n "(cached) " >&6
28555 else
28556
28557
28558 ac_ext=cpp
28559 ac_cpp='$CXXCPP $CPPFLAGS'
28560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28563
28564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28565 /* end confdefs.h. */
28566 #include <math.h>
28567 int
28568 main ()
28569 {
28570 ceilf (0); floorf (0);
28571 ;
28572 return 0;
28573 }
28574 _ACEOF
28575 if ac_fn_cxx_try_compile "$LINENO"; then :
28576 glibcxx_cv_func_float_round_use=yes
28577 else
28578 glibcxx_cv_func_float_round_use=no
28579 fi
28580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28581 ac_ext=c
28582 ac_cpp='$CPP $CPPFLAGS'
28583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28586
28587 fi
28588
28589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28590 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28591 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28592 for ac_func in ceilf floorf
28593 do :
28594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28596 eval as_val=\$$as_ac_var
28597 if test "x$as_val" = x""yes; then :
28598 cat >>confdefs.h <<_ACEOF
28599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28600 _ACEOF
28601
28602 fi
28603 done
28604
28605 else
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28607 $as_echo_n "checking for _float round functions... " >&6; }
28608 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28609 $as_echo_n "(cached) " >&6
28610 else
28611
28612
28613 ac_ext=cpp
28614 ac_cpp='$CXXCPP $CPPFLAGS'
28615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28618
28619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28620 /* end confdefs.h. */
28621 #include <math.h>
28622 int
28623 main ()
28624 {
28625 _ceilf (0); _floorf (0);
28626 ;
28627 return 0;
28628 }
28629 _ACEOF
28630 if ac_fn_cxx_try_compile "$LINENO"; then :
28631 glibcxx_cv_func__float_round_use=yes
28632 else
28633 glibcxx_cv_func__float_round_use=no
28634 fi
28635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28636 ac_ext=c
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28641
28642 fi
28643
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28645 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28646 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28647 for ac_func in _ceilf _floorf
28648 do :
28649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28651 eval as_val=\$$as_ac_var
28652 if test "x$as_val" = x""yes; then :
28653 cat >>confdefs.h <<_ACEOF
28654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28655 _ACEOF
28656
28657 fi
28658 done
28659
28660 fi
28661 fi
28662
28663
28664
28665
28666
28667
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28669 $as_echo_n "checking for expf declaration... " >&6; }
28670 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28671 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28672 $as_echo_n "(cached) " >&6
28673 else
28674
28675
28676 ac_ext=cpp
28677 ac_cpp='$CXXCPP $CPPFLAGS'
28678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28681
28682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28683 /* end confdefs.h. */
28684 #include <math.h>
28685 #ifdef HAVE_IEEEFP_H
28686 #include <ieeefp.h>
28687 #endif
28688
28689 int
28690 main ()
28691 {
28692 expf(0);
28693 ;
28694 return 0;
28695 }
28696 _ACEOF
28697 if ac_fn_cxx_try_compile "$LINENO"; then :
28698 glibcxx_cv_func_expf_use=yes
28699 else
28700 glibcxx_cv_func_expf_use=no
28701 fi
28702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28703 ac_ext=c
28704 ac_cpp='$CPP $CPPFLAGS'
28705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28708
28709
28710 fi
28711
28712 fi
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28714 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28715
28716 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28717 for ac_func in expf
28718 do :
28719 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28720 if test "x$ac_cv_func_expf" = x""yes; then :
28721 cat >>confdefs.h <<_ACEOF
28722 #define HAVE_EXPF 1
28723 _ACEOF
28724
28725 fi
28726 done
28727
28728 else
28729
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28731 $as_echo_n "checking for _expf declaration... " >&6; }
28732 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28733 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28734 $as_echo_n "(cached) " >&6
28735 else
28736
28737
28738 ac_ext=cpp
28739 ac_cpp='$CXXCPP $CPPFLAGS'
28740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28743
28744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28746 #include <math.h>
28747 #ifdef HAVE_IEEEFP_H
28748 #include <ieeefp.h>
28749 #endif
28750
28751 int
28752 main ()
28753 {
28754 _expf(0);
28755 ;
28756 return 0;
28757 }
28758 _ACEOF
28759 if ac_fn_cxx_try_compile "$LINENO"; then :
28760 glibcxx_cv_func__expf_use=yes
28761 else
28762 glibcxx_cv_func__expf_use=no
28763 fi
28764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28765 ac_ext=c
28766 ac_cpp='$CPP $CPPFLAGS'
28767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28770
28771
28772 fi
28773
28774 fi
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28776 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28777
28778 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28779 for ac_func in _expf
28780 do :
28781 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28782 if test "x$ac_cv_func__expf" = x""yes; then :
28783 cat >>confdefs.h <<_ACEOF
28784 #define HAVE__EXPF 1
28785 _ACEOF
28786
28787 fi
28788 done
28789
28790 fi
28791 fi
28792
28793
28794
28795
28796
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28798 $as_echo_n "checking for isnanf declaration... " >&6; }
28799 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28800 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28801 $as_echo_n "(cached) " >&6
28802 else
28803
28804
28805 ac_ext=cpp
28806 ac_cpp='$CXXCPP $CPPFLAGS'
28807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28810
28811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28812 /* end confdefs.h. */
28813 #include <math.h>
28814 #ifdef HAVE_IEEEFP_H
28815 #include <ieeefp.h>
28816 #endif
28817
28818 int
28819 main ()
28820 {
28821 isnanf(0);
28822 ;
28823 return 0;
28824 }
28825 _ACEOF
28826 if ac_fn_cxx_try_compile "$LINENO"; then :
28827 glibcxx_cv_func_isnanf_use=yes
28828 else
28829 glibcxx_cv_func_isnanf_use=no
28830 fi
28831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28832 ac_ext=c
28833 ac_cpp='$CPP $CPPFLAGS'
28834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28837
28838
28839 fi
28840
28841 fi
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28843 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28844
28845 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28846 for ac_func in isnanf
28847 do :
28848 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28849 if test "x$ac_cv_func_isnanf" = x""yes; then :
28850 cat >>confdefs.h <<_ACEOF
28851 #define HAVE_ISNANF 1
28852 _ACEOF
28853
28854 fi
28855 done
28856
28857 else
28858
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28860 $as_echo_n "checking for _isnanf declaration... " >&6; }
28861 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28862 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28863 $as_echo_n "(cached) " >&6
28864 else
28865
28866
28867 ac_ext=cpp
28868 ac_cpp='$CXXCPP $CPPFLAGS'
28869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28872
28873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28874 /* end confdefs.h. */
28875 #include <math.h>
28876 #ifdef HAVE_IEEEFP_H
28877 #include <ieeefp.h>
28878 #endif
28879
28880 int
28881 main ()
28882 {
28883 _isnanf(0);
28884 ;
28885 return 0;
28886 }
28887 _ACEOF
28888 if ac_fn_cxx_try_compile "$LINENO"; then :
28889 glibcxx_cv_func__isnanf_use=yes
28890 else
28891 glibcxx_cv_func__isnanf_use=no
28892 fi
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28894 ac_ext=c
28895 ac_cpp='$CPP $CPPFLAGS'
28896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28899
28900
28901 fi
28902
28903 fi
28904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28905 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28906
28907 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28908 for ac_func in _isnanf
28909 do :
28910 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28911 if test "x$ac_cv_func__isnanf" = x""yes; then :
28912 cat >>confdefs.h <<_ACEOF
28913 #define HAVE__ISNANF 1
28914 _ACEOF
28915
28916 fi
28917 done
28918
28919 fi
28920 fi
28921
28922
28923
28924
28925
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28927 $as_echo_n "checking for isinff declaration... " >&6; }
28928 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28929 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28930 $as_echo_n "(cached) " >&6
28931 else
28932
28933
28934 ac_ext=cpp
28935 ac_cpp='$CXXCPP $CPPFLAGS'
28936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28939
28940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28941 /* end confdefs.h. */
28942 #include <math.h>
28943 #ifdef HAVE_IEEEFP_H
28944 #include <ieeefp.h>
28945 #endif
28946
28947 int
28948 main ()
28949 {
28950 isinff(0);
28951 ;
28952 return 0;
28953 }
28954 _ACEOF
28955 if ac_fn_cxx_try_compile "$LINENO"; then :
28956 glibcxx_cv_func_isinff_use=yes
28957 else
28958 glibcxx_cv_func_isinff_use=no
28959 fi
28960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28961 ac_ext=c
28962 ac_cpp='$CPP $CPPFLAGS'
28963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28966
28967
28968 fi
28969
28970 fi
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28972 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28973
28974 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28975 for ac_func in isinff
28976 do :
28977 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28978 if test "x$ac_cv_func_isinff" = x""yes; then :
28979 cat >>confdefs.h <<_ACEOF
28980 #define HAVE_ISINFF 1
28981 _ACEOF
28982
28983 fi
28984 done
28985
28986 else
28987
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28989 $as_echo_n "checking for _isinff declaration... " >&6; }
28990 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28991 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28992 $as_echo_n "(cached) " >&6
28993 else
28994
28995
28996 ac_ext=cpp
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29001
29002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29003 /* end confdefs.h. */
29004 #include <math.h>
29005 #ifdef HAVE_IEEEFP_H
29006 #include <ieeefp.h>
29007 #endif
29008
29009 int
29010 main ()
29011 {
29012 _isinff(0);
29013 ;
29014 return 0;
29015 }
29016 _ACEOF
29017 if ac_fn_cxx_try_compile "$LINENO"; then :
29018 glibcxx_cv_func__isinff_use=yes
29019 else
29020 glibcxx_cv_func__isinff_use=no
29021 fi
29022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29023 ac_ext=c
29024 ac_cpp='$CPP $CPPFLAGS'
29025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29028
29029
29030 fi
29031
29032 fi
29033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29034 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29035
29036 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29037 for ac_func in _isinff
29038 do :
29039 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29040 if test "x$ac_cv_func__isinff" = x""yes; then :
29041 cat >>confdefs.h <<_ACEOF
29042 #define HAVE__ISINFF 1
29043 _ACEOF
29044
29045 fi
29046 done
29047
29048 fi
29049 fi
29050
29051
29052
29053
29054
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29056 $as_echo_n "checking for atan2f declaration... " >&6; }
29057 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29058 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29059 $as_echo_n "(cached) " >&6
29060 else
29061
29062
29063 ac_ext=cpp
29064 ac_cpp='$CXXCPP $CPPFLAGS'
29065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29068
29069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29070 /* end confdefs.h. */
29071 #include <math.h>
29072 int
29073 main ()
29074 {
29075 atan2f(0, 0);
29076 ;
29077 return 0;
29078 }
29079 _ACEOF
29080 if ac_fn_cxx_try_compile "$LINENO"; then :
29081 glibcxx_cv_func_atan2f_use=yes
29082 else
29083 glibcxx_cv_func_atan2f_use=no
29084 fi
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086 ac_ext=c
29087 ac_cpp='$CPP $CPPFLAGS'
29088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29091
29092
29093 fi
29094
29095 fi
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29097 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29098
29099 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29100 for ac_func in atan2f
29101 do :
29102 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29103 if test "x$ac_cv_func_atan2f" = x""yes; then :
29104 cat >>confdefs.h <<_ACEOF
29105 #define HAVE_ATAN2F 1
29106 _ACEOF
29107
29108 fi
29109 done
29110
29111 else
29112
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29114 $as_echo_n "checking for _atan2f declaration... " >&6; }
29115 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29116 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29117 $as_echo_n "(cached) " >&6
29118 else
29119
29120
29121 ac_ext=cpp
29122 ac_cpp='$CXXCPP $CPPFLAGS'
29123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29126
29127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29128 /* end confdefs.h. */
29129 #include <math.h>
29130 int
29131 main ()
29132 {
29133 _atan2f(0, 0);
29134 ;
29135 return 0;
29136 }
29137 _ACEOF
29138 if ac_fn_cxx_try_compile "$LINENO"; then :
29139 glibcxx_cv_func__atan2f_use=yes
29140 else
29141 glibcxx_cv_func__atan2f_use=no
29142 fi
29143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29144 ac_ext=c
29145 ac_cpp='$CPP $CPPFLAGS'
29146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29149
29150
29151 fi
29152
29153 fi
29154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29155 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29156
29157 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29158 for ac_func in _atan2f
29159 do :
29160 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29161 if test "x$ac_cv_func__atan2f" = x""yes; then :
29162 cat >>confdefs.h <<_ACEOF
29163 #define HAVE__ATAN2F 1
29164 _ACEOF
29165
29166 fi
29167 done
29168
29169 fi
29170 fi
29171
29172
29173
29174
29175
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29177 $as_echo_n "checking for fabsf declaration... " >&6; }
29178 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29179 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29180 $as_echo_n "(cached) " >&6
29181 else
29182
29183
29184 ac_ext=cpp
29185 ac_cpp='$CXXCPP $CPPFLAGS'
29186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189
29190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29191 /* end confdefs.h. */
29192 #include <math.h>
29193 #ifdef HAVE_IEEEFP_H
29194 #include <ieeefp.h>
29195 #endif
29196
29197 int
29198 main ()
29199 {
29200 fabsf(0);
29201 ;
29202 return 0;
29203 }
29204 _ACEOF
29205 if ac_fn_cxx_try_compile "$LINENO"; then :
29206 glibcxx_cv_func_fabsf_use=yes
29207 else
29208 glibcxx_cv_func_fabsf_use=no
29209 fi
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29211 ac_ext=c
29212 ac_cpp='$CPP $CPPFLAGS'
29213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216
29217
29218 fi
29219
29220 fi
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29222 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29223
29224 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29225 for ac_func in fabsf
29226 do :
29227 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29228 if test "x$ac_cv_func_fabsf" = x""yes; then :
29229 cat >>confdefs.h <<_ACEOF
29230 #define HAVE_FABSF 1
29231 _ACEOF
29232
29233 fi
29234 done
29235
29236 else
29237
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29239 $as_echo_n "checking for _fabsf declaration... " >&6; }
29240 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29241 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 #ifdef HAVE_IEEEFP_H
29256 #include <ieeefp.h>
29257 #endif
29258
29259 int
29260 main ()
29261 {
29262 _fabsf(0);
29263 ;
29264 return 0;
29265 }
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268 glibcxx_cv_func__fabsf_use=yes
29269 else
29270 glibcxx_cv_func__fabsf_use=no
29271 fi
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29278
29279
29280 fi
29281
29282 fi
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29284 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29285
29286 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29287 for ac_func in _fabsf
29288 do :
29289 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29290 if test "x$ac_cv_func__fabsf" = x""yes; then :
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE__FABSF 1
29293 _ACEOF
29294
29295 fi
29296 done
29297
29298 fi
29299 fi
29300
29301
29302
29303
29304
29305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29306 $as_echo_n "checking for fmodf declaration... " >&6; }
29307 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29308 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29309 $as_echo_n "(cached) " >&6
29310 else
29311
29312
29313 ac_ext=cpp
29314 ac_cpp='$CXXCPP $CPPFLAGS'
29315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29318
29319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320 /* end confdefs.h. */
29321 #include <math.h>
29322 int
29323 main ()
29324 {
29325 fmodf(0, 0);
29326 ;
29327 return 0;
29328 }
29329 _ACEOF
29330 if ac_fn_cxx_try_compile "$LINENO"; then :
29331 glibcxx_cv_func_fmodf_use=yes
29332 else
29333 glibcxx_cv_func_fmodf_use=no
29334 fi
29335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336 ac_ext=c
29337 ac_cpp='$CPP $CPPFLAGS'
29338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29341
29342
29343 fi
29344
29345 fi
29346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29347 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29348
29349 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29350 for ac_func in fmodf
29351 do :
29352 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29353 if test "x$ac_cv_func_fmodf" = x""yes; then :
29354 cat >>confdefs.h <<_ACEOF
29355 #define HAVE_FMODF 1
29356 _ACEOF
29357
29358 fi
29359 done
29360
29361 else
29362
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29364 $as_echo_n "checking for _fmodf declaration... " >&6; }
29365 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29366 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29367 $as_echo_n "(cached) " >&6
29368 else
29369
29370
29371 ac_ext=cpp
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29376
29377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29378 /* end confdefs.h. */
29379 #include <math.h>
29380 int
29381 main ()
29382 {
29383 _fmodf(0, 0);
29384 ;
29385 return 0;
29386 }
29387 _ACEOF
29388 if ac_fn_cxx_try_compile "$LINENO"; then :
29389 glibcxx_cv_func__fmodf_use=yes
29390 else
29391 glibcxx_cv_func__fmodf_use=no
29392 fi
29393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399
29400
29401 fi
29402
29403 fi
29404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29405 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29406
29407 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29408 for ac_func in _fmodf
29409 do :
29410 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29411 if test "x$ac_cv_func__fmodf" = x""yes; then :
29412 cat >>confdefs.h <<_ACEOF
29413 #define HAVE__FMODF 1
29414 _ACEOF
29415
29416 fi
29417 done
29418
29419 fi
29420 fi
29421
29422
29423
29424
29425
29426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29427 $as_echo_n "checking for frexpf declaration... " >&6; }
29428 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29429 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29430 $as_echo_n "(cached) " >&6
29431 else
29432
29433
29434 ac_ext=cpp
29435 ac_cpp='$CXXCPP $CPPFLAGS'
29436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29439
29440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29441 /* end confdefs.h. */
29442 #include <math.h>
29443 int
29444 main ()
29445 {
29446 frexpf(0, 0);
29447 ;
29448 return 0;
29449 }
29450 _ACEOF
29451 if ac_fn_cxx_try_compile "$LINENO"; then :
29452 glibcxx_cv_func_frexpf_use=yes
29453 else
29454 glibcxx_cv_func_frexpf_use=no
29455 fi
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457 ac_ext=c
29458 ac_cpp='$CPP $CPPFLAGS'
29459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29462
29463
29464 fi
29465
29466 fi
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29468 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29469
29470 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29471 for ac_func in frexpf
29472 do :
29473 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29474 if test "x$ac_cv_func_frexpf" = x""yes; then :
29475 cat >>confdefs.h <<_ACEOF
29476 #define HAVE_FREXPF 1
29477 _ACEOF
29478
29479 fi
29480 done
29481
29482 else
29483
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29485 $as_echo_n "checking for _frexpf declaration... " >&6; }
29486 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29487 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29488 $as_echo_n "(cached) " >&6
29489 else
29490
29491
29492 ac_ext=cpp
29493 ac_cpp='$CXXCPP $CPPFLAGS'
29494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29497
29498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h. */
29500 #include <math.h>
29501 int
29502 main ()
29503 {
29504 _frexpf(0, 0);
29505 ;
29506 return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510 glibcxx_cv_func__frexpf_use=yes
29511 else
29512 glibcxx_cv_func__frexpf_use=no
29513 fi
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515 ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29520
29521
29522 fi
29523
29524 fi
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29526 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29527
29528 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29529 for ac_func in _frexpf
29530 do :
29531 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29532 if test "x$ac_cv_func__frexpf" = x""yes; then :
29533 cat >>confdefs.h <<_ACEOF
29534 #define HAVE__FREXPF 1
29535 _ACEOF
29536
29537 fi
29538 done
29539
29540 fi
29541 fi
29542
29543
29544
29545
29546
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29548 $as_echo_n "checking for hypotf declaration... " >&6; }
29549 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29550 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29553
29554
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29563 #include <math.h>
29564 int
29565 main ()
29566 {
29567 hypotf(0, 0);
29568 ;
29569 return 0;
29570 }
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573 glibcxx_cv_func_hypotf_use=yes
29574 else
29575 glibcxx_cv_func_hypotf_use=no
29576 fi
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578 ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29583
29584
29585 fi
29586
29587 fi
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29589 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29590
29591 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29592 for ac_func in hypotf
29593 do :
29594 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29595 if test "x$ac_cv_func_hypotf" = x""yes; then :
29596 cat >>confdefs.h <<_ACEOF
29597 #define HAVE_HYPOTF 1
29598 _ACEOF
29599
29600 fi
29601 done
29602
29603 else
29604
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29606 $as_echo_n "checking for _hypotf declaration... " >&6; }
29607 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29608 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29609 $as_echo_n "(cached) " >&6
29610 else
29611
29612
29613 ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29621 #include <math.h>
29622 int
29623 main ()
29624 {
29625 _hypotf(0, 0);
29626 ;
29627 return 0;
29628 }
29629 _ACEOF
29630 if ac_fn_cxx_try_compile "$LINENO"; then :
29631 glibcxx_cv_func__hypotf_use=yes
29632 else
29633 glibcxx_cv_func__hypotf_use=no
29634 fi
29635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29636 ac_ext=c
29637 ac_cpp='$CPP $CPPFLAGS'
29638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29641
29642
29643 fi
29644
29645 fi
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29647 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29648
29649 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29650 for ac_func in _hypotf
29651 do :
29652 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29653 if test "x$ac_cv_func__hypotf" = x""yes; then :
29654 cat >>confdefs.h <<_ACEOF
29655 #define HAVE__HYPOTF 1
29656 _ACEOF
29657
29658 fi
29659 done
29660
29661 fi
29662 fi
29663
29664
29665
29666
29667
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29669 $as_echo_n "checking for ldexpf declaration... " >&6; }
29670 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29671 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29672 $as_echo_n "(cached) " >&6
29673 else
29674
29675
29676 ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29681
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <math.h>
29685 int
29686 main ()
29687 {
29688 ldexpf(0, 0);
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 if ac_fn_cxx_try_compile "$LINENO"; then :
29694 glibcxx_cv_func_ldexpf_use=yes
29695 else
29696 glibcxx_cv_func_ldexpf_use=no
29697 fi
29698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29699 ac_ext=c
29700 ac_cpp='$CPP $CPPFLAGS'
29701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29704
29705
29706 fi
29707
29708 fi
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29710 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29711
29712 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29713 for ac_func in ldexpf
29714 do :
29715 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29716 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29717 cat >>confdefs.h <<_ACEOF
29718 #define HAVE_LDEXPF 1
29719 _ACEOF
29720
29721 fi
29722 done
29723
29724 else
29725
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29727 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29728 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29729 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29730 $as_echo_n "(cached) " >&6
29731 else
29732
29733
29734 ac_ext=cpp
29735 ac_cpp='$CXXCPP $CPPFLAGS'
29736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29739
29740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29741 /* end confdefs.h. */
29742 #include <math.h>
29743 int
29744 main ()
29745 {
29746 _ldexpf(0, 0);
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func__ldexpf_use=yes
29753 else
29754 glibcxx_cv_func__ldexpf_use=no
29755 fi
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29762
29763
29764 fi
29765
29766 fi
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29768 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29769
29770 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29771 for ac_func in _ldexpf
29772 do :
29773 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29774 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE__LDEXPF 1
29777 _ACEOF
29778
29779 fi
29780 done
29781
29782 fi
29783 fi
29784
29785
29786
29787
29788
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29790 $as_echo_n "checking for logf declaration... " >&6; }
29791 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29792 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29793 $as_echo_n "(cached) " >&6
29794 else
29795
29796
29797 ac_ext=cpp
29798 ac_cpp='$CXXCPP $CPPFLAGS'
29799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29802
29803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29804 /* end confdefs.h. */
29805 #include <math.h>
29806 #ifdef HAVE_IEEEFP_H
29807 #include <ieeefp.h>
29808 #endif
29809
29810 int
29811 main ()
29812 {
29813 logf(0);
29814 ;
29815 return 0;
29816 }
29817 _ACEOF
29818 if ac_fn_cxx_try_compile "$LINENO"; then :
29819 glibcxx_cv_func_logf_use=yes
29820 else
29821 glibcxx_cv_func_logf_use=no
29822 fi
29823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824 ac_ext=c
29825 ac_cpp='$CPP $CPPFLAGS'
29826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29829
29830
29831 fi
29832
29833 fi
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29835 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29836
29837 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29838 for ac_func in logf
29839 do :
29840 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29841 if test "x$ac_cv_func_logf" = x""yes; then :
29842 cat >>confdefs.h <<_ACEOF
29843 #define HAVE_LOGF 1
29844 _ACEOF
29845
29846 fi
29847 done
29848
29849 else
29850
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29852 $as_echo_n "checking for _logf declaration... " >&6; }
29853 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29854 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29857
29858
29859 ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29864
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867 #include <math.h>
29868 #ifdef HAVE_IEEEFP_H
29869 #include <ieeefp.h>
29870 #endif
29871
29872 int
29873 main ()
29874 {
29875 _logf(0);
29876 ;
29877 return 0;
29878 }
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881 glibcxx_cv_func__logf_use=yes
29882 else
29883 glibcxx_cv_func__logf_use=no
29884 fi
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886 ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891
29892
29893 fi
29894
29895 fi
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29897 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29898
29899 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29900 for ac_func in _logf
29901 do :
29902 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29903 if test "x$ac_cv_func__logf" = x""yes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE__LOGF 1
29906 _ACEOF
29907
29908 fi
29909 done
29910
29911 fi
29912 fi
29913
29914
29915
29916
29917
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29919 $as_echo_n "checking for log10f declaration... " >&6; }
29920 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29921 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29922 $as_echo_n "(cached) " >&6
29923 else
29924
29925
29926 ac_ext=cpp
29927 ac_cpp='$CXXCPP $CPPFLAGS'
29928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29931
29932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29934 #include <math.h>
29935 #ifdef HAVE_IEEEFP_H
29936 #include <ieeefp.h>
29937 #endif
29938
29939 int
29940 main ()
29941 {
29942 log10f(0);
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948 glibcxx_cv_func_log10f_use=yes
29949 else
29950 glibcxx_cv_func_log10f_use=no
29951 fi
29952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958
29959
29960 fi
29961
29962 fi
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29964 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29965
29966 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29967 for ac_func in log10f
29968 do :
29969 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29970 if test "x$ac_cv_func_log10f" = x""yes; then :
29971 cat >>confdefs.h <<_ACEOF
29972 #define HAVE_LOG10F 1
29973 _ACEOF
29974
29975 fi
29976 done
29977
29978 else
29979
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29981 $as_echo_n "checking for _log10f declaration... " >&6; }
29982 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29983 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29984 $as_echo_n "(cached) " >&6
29985 else
29986
29987
29988 ac_ext=cpp
29989 ac_cpp='$CXXCPP $CPPFLAGS'
29990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29993
29994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29995 /* end confdefs.h. */
29996 #include <math.h>
29997 #ifdef HAVE_IEEEFP_H
29998 #include <ieeefp.h>
29999 #endif
30000
30001 int
30002 main ()
30003 {
30004 _log10f(0);
30005 ;
30006 return 0;
30007 }
30008 _ACEOF
30009 if ac_fn_cxx_try_compile "$LINENO"; then :
30010 glibcxx_cv_func__log10f_use=yes
30011 else
30012 glibcxx_cv_func__log10f_use=no
30013 fi
30014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015 ac_ext=c
30016 ac_cpp='$CPP $CPPFLAGS'
30017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30020
30021
30022 fi
30023
30024 fi
30025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30026 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30027
30028 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30029 for ac_func in _log10f
30030 do :
30031 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30032 if test "x$ac_cv_func__log10f" = x""yes; then :
30033 cat >>confdefs.h <<_ACEOF
30034 #define HAVE__LOG10F 1
30035 _ACEOF
30036
30037 fi
30038 done
30039
30040 fi
30041 fi
30042
30043
30044
30045
30046
30047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30048 $as_echo_n "checking for modff declaration... " >&6; }
30049 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30050 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30051 $as_echo_n "(cached) " >&6
30052 else
30053
30054
30055 ac_ext=cpp
30056 ac_cpp='$CXXCPP $CPPFLAGS'
30057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060
30061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30062 /* end confdefs.h. */
30063 #include <math.h>
30064 int
30065 main ()
30066 {
30067 modff(0, 0);
30068 ;
30069 return 0;
30070 }
30071 _ACEOF
30072 if ac_fn_cxx_try_compile "$LINENO"; then :
30073 glibcxx_cv_func_modff_use=yes
30074 else
30075 glibcxx_cv_func_modff_use=no
30076 fi
30077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30078 ac_ext=c
30079 ac_cpp='$CPP $CPPFLAGS'
30080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30083
30084
30085 fi
30086
30087 fi
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30089 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30090
30091 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30092 for ac_func in modff
30093 do :
30094 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30095 if test "x$ac_cv_func_modff" = x""yes; then :
30096 cat >>confdefs.h <<_ACEOF
30097 #define HAVE_MODFF 1
30098 _ACEOF
30099
30100 fi
30101 done
30102
30103 else
30104
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30106 $as_echo_n "checking for _modff declaration... " >&6; }
30107 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30108 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30111
30112
30113 ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30118
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30121 #include <math.h>
30122 int
30123 main ()
30124 {
30125 _modff(0, 0);
30126 ;
30127 return 0;
30128 }
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func__modff_use=yes
30132 else
30133 glibcxx_cv_func__modff_use=no
30134 fi
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30141
30142
30143 fi
30144
30145 fi
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30147 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30148
30149 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30150 for ac_func in _modff
30151 do :
30152 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30153 if test "x$ac_cv_func__modff" = x""yes; then :
30154 cat >>confdefs.h <<_ACEOF
30155 #define HAVE__MODFF 1
30156 _ACEOF
30157
30158 fi
30159 done
30160
30161 fi
30162 fi
30163
30164
30165
30166
30167
30168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30169 $as_echo_n "checking for modf declaration... " >&6; }
30170 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30171 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30172 $as_echo_n "(cached) " >&6
30173 else
30174
30175
30176 ac_ext=cpp
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181
30182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h. */
30184 #include <math.h>
30185 int
30186 main ()
30187 {
30188 modf(0, 0);
30189 ;
30190 return 0;
30191 }
30192 _ACEOF
30193 if ac_fn_cxx_try_compile "$LINENO"; then :
30194 glibcxx_cv_func_modf_use=yes
30195 else
30196 glibcxx_cv_func_modf_use=no
30197 fi
30198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199 ac_ext=c
30200 ac_cpp='$CPP $CPPFLAGS'
30201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204
30205
30206 fi
30207
30208 fi
30209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30210 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30211
30212 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30213 for ac_func in modf
30214 do :
30215 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30216 if test "x$ac_cv_func_modf" = x""yes; then :
30217 cat >>confdefs.h <<_ACEOF
30218 #define HAVE_MODF 1
30219 _ACEOF
30220
30221 fi
30222 done
30223
30224 else
30225
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30227 $as_echo_n "checking for _modf declaration... " >&6; }
30228 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30229 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30230 $as_echo_n "(cached) " >&6
30231 else
30232
30233
30234 ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30239
30240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h. */
30242 #include <math.h>
30243 int
30244 main ()
30245 {
30246 _modf(0, 0);
30247 ;
30248 return 0;
30249 }
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252 glibcxx_cv_func__modf_use=yes
30253 else
30254 glibcxx_cv_func__modf_use=no
30255 fi
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257 ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262
30263
30264 fi
30265
30266 fi
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30268 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30269
30270 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30271 for ac_func in _modf
30272 do :
30273 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30274 if test "x$ac_cv_func__modf" = x""yes; then :
30275 cat >>confdefs.h <<_ACEOF
30276 #define HAVE__MODF 1
30277 _ACEOF
30278
30279 fi
30280 done
30281
30282 fi
30283 fi
30284
30285
30286
30287
30288
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30290 $as_echo_n "checking for powf declaration... " >&6; }
30291 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30292 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30295
30296
30297 ac_ext=cpp
30298 ac_cpp='$CXXCPP $CPPFLAGS'
30299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30302
30303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30304 /* end confdefs.h. */
30305 #include <math.h>
30306 int
30307 main ()
30308 {
30309 powf(0, 0);
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 if ac_fn_cxx_try_compile "$LINENO"; then :
30315 glibcxx_cv_func_powf_use=yes
30316 else
30317 glibcxx_cv_func_powf_use=no
30318 fi
30319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30320 ac_ext=c
30321 ac_cpp='$CPP $CPPFLAGS'
30322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30325
30326
30327 fi
30328
30329 fi
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30331 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30332
30333 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30334 for ac_func in powf
30335 do :
30336 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30337 if test "x$ac_cv_func_powf" = x""yes; then :
30338 cat >>confdefs.h <<_ACEOF
30339 #define HAVE_POWF 1
30340 _ACEOF
30341
30342 fi
30343 done
30344
30345 else
30346
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30348 $as_echo_n "checking for _powf declaration... " >&6; }
30349 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30350 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30351 $as_echo_n "(cached) " >&6
30352 else
30353
30354
30355 ac_ext=cpp
30356 ac_cpp='$CXXCPP $CPPFLAGS'
30357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360
30361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h. */
30363 #include <math.h>
30364 int
30365 main ()
30366 {
30367 _powf(0, 0);
30368 ;
30369 return 0;
30370 }
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373 glibcxx_cv_func__powf_use=yes
30374 else
30375 glibcxx_cv_func__powf_use=no
30376 fi
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385 fi
30386
30387 fi
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30389 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30390
30391 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30392 for ac_func in _powf
30393 do :
30394 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30395 if test "x$ac_cv_func__powf" = x""yes; then :
30396 cat >>confdefs.h <<_ACEOF
30397 #define HAVE__POWF 1
30398 _ACEOF
30399
30400 fi
30401 done
30402
30403 fi
30404 fi
30405
30406
30407
30408
30409
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30411 $as_echo_n "checking for sqrtf declaration... " >&6; }
30412 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30413 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30414 $as_echo_n "(cached) " >&6
30415 else
30416
30417
30418 ac_ext=cpp
30419 ac_cpp='$CXXCPP $CPPFLAGS'
30420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423
30424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30425 /* end confdefs.h. */
30426 #include <math.h>
30427 #ifdef HAVE_IEEEFP_H
30428 #include <ieeefp.h>
30429 #endif
30430
30431 int
30432 main ()
30433 {
30434 sqrtf(0);
30435 ;
30436 return 0;
30437 }
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440 glibcxx_cv_func_sqrtf_use=yes
30441 else
30442 glibcxx_cv_func_sqrtf_use=no
30443 fi
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445 ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450
30451
30452 fi
30453
30454 fi
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30456 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30457
30458 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30459 for ac_func in sqrtf
30460 do :
30461 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30462 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30463 cat >>confdefs.h <<_ACEOF
30464 #define HAVE_SQRTF 1
30465 _ACEOF
30466
30467 fi
30468 done
30469
30470 else
30471
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30473 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30474 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30475 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30476 $as_echo_n "(cached) " >&6
30477 else
30478
30479
30480 ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485
30486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30488 #include <math.h>
30489 #ifdef HAVE_IEEEFP_H
30490 #include <ieeefp.h>
30491 #endif
30492
30493 int
30494 main ()
30495 {
30496 _sqrtf(0);
30497 ;
30498 return 0;
30499 }
30500 _ACEOF
30501 if ac_fn_cxx_try_compile "$LINENO"; then :
30502 glibcxx_cv_func__sqrtf_use=yes
30503 else
30504 glibcxx_cv_func__sqrtf_use=no
30505 fi
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507 ac_ext=c
30508 ac_cpp='$CPP $CPPFLAGS'
30509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512
30513
30514 fi
30515
30516 fi
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30518 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30519
30520 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30521 for ac_func in _sqrtf
30522 do :
30523 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30524 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30525 cat >>confdefs.h <<_ACEOF
30526 #define HAVE__SQRTF 1
30527 _ACEOF
30528
30529 fi
30530 done
30531
30532 fi
30533 fi
30534
30535
30536
30537
30538
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30540 $as_echo_n "checking for sincosf declaration... " >&6; }
30541 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30542 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30543 $as_echo_n "(cached) " >&6
30544 else
30545
30546
30547 ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555 #include <math.h>
30556 int
30557 main ()
30558 {
30559 sincosf(0, 0, 0);
30560 ;
30561 return 0;
30562 }
30563 _ACEOF
30564 if ac_fn_cxx_try_compile "$LINENO"; then :
30565 glibcxx_cv_func_sincosf_use=yes
30566 else
30567 glibcxx_cv_func_sincosf_use=no
30568 fi
30569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30570 ac_ext=c
30571 ac_cpp='$CPP $CPPFLAGS'
30572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30575
30576
30577 fi
30578
30579 fi
30580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30581 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30582
30583 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30584 for ac_func in sincosf
30585 do :
30586 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30587 if test "x$ac_cv_func_sincosf" = x""yes; then :
30588 cat >>confdefs.h <<_ACEOF
30589 #define HAVE_SINCOSF 1
30590 _ACEOF
30591
30592 fi
30593 done
30594
30595 else
30596
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30598 $as_echo_n "checking for _sincosf declaration... " >&6; }
30599 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30600 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30601 $as_echo_n "(cached) " >&6
30602 else
30603
30604
30605 ac_ext=cpp
30606 ac_cpp='$CXXCPP $CPPFLAGS'
30607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30610
30611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30612 /* end confdefs.h. */
30613 #include <math.h>
30614 int
30615 main ()
30616 {
30617 _sincosf(0, 0, 0);
30618 ;
30619 return 0;
30620 }
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func__sincosf_use=yes
30624 else
30625 glibcxx_cv_func__sincosf_use=no
30626 fi
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633
30634
30635 fi
30636
30637 fi
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30639 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30640
30641 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30642 for ac_func in _sincosf
30643 do :
30644 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30645 if test "x$ac_cv_func__sincosf" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE__SINCOSF 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653 fi
30654 fi
30655
30656
30657
30658
30659
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30661 $as_echo_n "checking for finitef declaration... " >&6; }
30662 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30663 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30666
30667
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30677 #ifdef HAVE_IEEEFP_H
30678 #include <ieeefp.h>
30679 #endif
30680
30681 int
30682 main ()
30683 {
30684 finitef(0);
30685 ;
30686 return 0;
30687 }
30688 _ACEOF
30689 if ac_fn_cxx_try_compile "$LINENO"; then :
30690 glibcxx_cv_func_finitef_use=yes
30691 else
30692 glibcxx_cv_func_finitef_use=no
30693 fi
30694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695 ac_ext=c
30696 ac_cpp='$CPP $CPPFLAGS'
30697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30700
30701
30702 fi
30703
30704 fi
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30706 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30707
30708 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30709 for ac_func in finitef
30710 do :
30711 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30712 if test "x$ac_cv_func_finitef" = x""yes; then :
30713 cat >>confdefs.h <<_ACEOF
30714 #define HAVE_FINITEF 1
30715 _ACEOF
30716
30717 fi
30718 done
30719
30720 else
30721
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30723 $as_echo_n "checking for _finitef declaration... " >&6; }
30724 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30725 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30726 $as_echo_n "(cached) " >&6
30727 else
30728
30729
30730 ac_ext=cpp
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735
30736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30737 /* end confdefs.h. */
30738 #include <math.h>
30739 #ifdef HAVE_IEEEFP_H
30740 #include <ieeefp.h>
30741 #endif
30742
30743 int
30744 main ()
30745 {
30746 _finitef(0);
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func__finitef_use=yes
30753 else
30754 glibcxx_cv_func__finitef_use=no
30755 fi
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30762
30763
30764 fi
30765
30766 fi
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30768 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30769
30770 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30771 for ac_func in _finitef
30772 do :
30773 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30774 if test "x$ac_cv_func__finitef" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE__FINITEF 1
30777 _ACEOF
30778
30779 fi
30780 done
30781
30782 fi
30783 fi
30784
30785
30786
30787
30788
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30790 $as_echo_n "checking for long double trig functions... " >&6; }
30791 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30792 $as_echo_n "(cached) " >&6
30793 else
30794
30795
30796 ac_ext=cpp
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30801
30802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30803 /* end confdefs.h. */
30804 #include <math.h>
30805 int
30806 main ()
30807 {
30808 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30809 ;
30810 return 0;
30811 }
30812 _ACEOF
30813 if ac_fn_cxx_try_compile "$LINENO"; then :
30814 glibcxx_cv_func_long_double_trig_use=yes
30815 else
30816 glibcxx_cv_func_long_double_trig_use=no
30817 fi
30818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30819 ac_ext=c
30820 ac_cpp='$CPP $CPPFLAGS'
30821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30824
30825 fi
30826
30827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30828 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30829 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30830 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30831 do :
30832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30834 eval as_val=\$$as_ac_var
30835 if test "x$as_val" = x""yes; then :
30836 cat >>confdefs.h <<_ACEOF
30837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30838 _ACEOF
30839
30840 fi
30841 done
30842
30843 else
30844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30845 $as_echo_n "checking for _long double trig functions... " >&6; }
30846 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30847 $as_echo_n "(cached) " >&6
30848 else
30849
30850
30851 ac_ext=cpp
30852 ac_cpp='$CXXCPP $CPPFLAGS'
30853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30856
30857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30858 /* end confdefs.h. */
30859 #include <math.h>
30860 int
30861 main ()
30862 {
30863 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30864 ;
30865 return 0;
30866 }
30867 _ACEOF
30868 if ac_fn_cxx_try_compile "$LINENO"; then :
30869 glibcxx_cv_func__long_double_trig_use=yes
30870 else
30871 glibcxx_cv_func__long_double_trig_use=no
30872 fi
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30874 ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30879
30880 fi
30881
30882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30883 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30884 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30885 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30886 do :
30887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30889 eval as_val=\$$as_ac_var
30890 if test "x$as_val" = x""yes; then :
30891 cat >>confdefs.h <<_ACEOF
30892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30893 _ACEOF
30894
30895 fi
30896 done
30897
30898 fi
30899 fi
30900
30901
30902
30903
30904
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30906 $as_echo_n "checking for long double round functions... " >&6; }
30907 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30908 $as_echo_n "(cached) " >&6
30909 else
30910
30911
30912 ac_ext=cpp
30913 ac_cpp='$CXXCPP $CPPFLAGS'
30914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917
30918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30919 /* end confdefs.h. */
30920 #include <math.h>
30921 int
30922 main ()
30923 {
30924 ceill (0); floorl (0);
30925 ;
30926 return 0;
30927 }
30928 _ACEOF
30929 if ac_fn_cxx_try_compile "$LINENO"; then :
30930 glibcxx_cv_func_long_double_round_use=yes
30931 else
30932 glibcxx_cv_func_long_double_round_use=no
30933 fi
30934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30935 ac_ext=c
30936 ac_cpp='$CPP $CPPFLAGS'
30937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30940
30941 fi
30942
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30944 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30945 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30946 for ac_func in ceill floorl
30947 do :
30948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30950 eval as_val=\$$as_ac_var
30951 if test "x$as_val" = x""yes; then :
30952 cat >>confdefs.h <<_ACEOF
30953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30954 _ACEOF
30955
30956 fi
30957 done
30958
30959 else
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30961 $as_echo_n "checking for _long double round functions... " >&6; }
30962 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30963 $as_echo_n "(cached) " >&6
30964 else
30965
30966
30967 ac_ext=cpp
30968 ac_cpp='$CXXCPP $CPPFLAGS'
30969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30972
30973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30974 /* end confdefs.h. */
30975 #include <math.h>
30976 int
30977 main ()
30978 {
30979 _ceill (0); _floorl (0);
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func__long_double_round_use=yes
30986 else
30987 glibcxx_cv_func__long_double_round_use=no
30988 fi
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30995
30996 fi
30997
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30999 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31000 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31001 for ac_func in _ceill _floorl
31002 do :
31003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31005 eval as_val=\$$as_ac_var
31006 if test "x$as_val" = x""yes; then :
31007 cat >>confdefs.h <<_ACEOF
31008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31009 _ACEOF
31010
31011 fi
31012 done
31013
31014 fi
31015 fi
31016
31017
31018
31019
31020
31021
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31023 $as_echo_n "checking for isnanl declaration... " >&6; }
31024 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31025 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31026 $as_echo_n "(cached) " >&6
31027 else
31028
31029
31030 ac_ext=cpp
31031 ac_cpp='$CXXCPP $CPPFLAGS'
31032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31035
31036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31037 /* end confdefs.h. */
31038 #include <math.h>
31039 #ifdef HAVE_IEEEFP_H
31040 #include <ieeefp.h>
31041 #endif
31042
31043 int
31044 main ()
31045 {
31046 isnanl(0);
31047 ;
31048 return 0;
31049 }
31050 _ACEOF
31051 if ac_fn_cxx_try_compile "$LINENO"; then :
31052 glibcxx_cv_func_isnanl_use=yes
31053 else
31054 glibcxx_cv_func_isnanl_use=no
31055 fi
31056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31057 ac_ext=c
31058 ac_cpp='$CPP $CPPFLAGS'
31059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062
31063
31064 fi
31065
31066 fi
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31068 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31069
31070 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31071 for ac_func in isnanl
31072 do :
31073 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31074 if test "x$ac_cv_func_isnanl" = x""yes; then :
31075 cat >>confdefs.h <<_ACEOF
31076 #define HAVE_ISNANL 1
31077 _ACEOF
31078
31079 fi
31080 done
31081
31082 else
31083
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31085 $as_echo_n "checking for _isnanl declaration... " >&6; }
31086 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31087 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31088 $as_echo_n "(cached) " >&6
31089 else
31090
31091
31092 ac_ext=cpp
31093 ac_cpp='$CXXCPP $CPPFLAGS'
31094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31097
31098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h. */
31100 #include <math.h>
31101 #ifdef HAVE_IEEEFP_H
31102 #include <ieeefp.h>
31103 #endif
31104
31105 int
31106 main ()
31107 {
31108 _isnanl(0);
31109 ;
31110 return 0;
31111 }
31112 _ACEOF
31113 if ac_fn_cxx_try_compile "$LINENO"; then :
31114 glibcxx_cv_func__isnanl_use=yes
31115 else
31116 glibcxx_cv_func__isnanl_use=no
31117 fi
31118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31119 ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31124
31125
31126 fi
31127
31128 fi
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31130 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31131
31132 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31133 for ac_func in _isnanl
31134 do :
31135 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31136 if test "x$ac_cv_func__isnanl" = x""yes; then :
31137 cat >>confdefs.h <<_ACEOF
31138 #define HAVE__ISNANL 1
31139 _ACEOF
31140
31141 fi
31142 done
31143
31144 fi
31145 fi
31146
31147
31148
31149
31150
31151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31152 $as_echo_n "checking for isinfl declaration... " >&6; }
31153 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31154 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31155 $as_echo_n "(cached) " >&6
31156 else
31157
31158
31159 ac_ext=cpp
31160 ac_cpp='$CXXCPP $CPPFLAGS'
31161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31164
31165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31166 /* end confdefs.h. */
31167 #include <math.h>
31168 #ifdef HAVE_IEEEFP_H
31169 #include <ieeefp.h>
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 isinfl(0);
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181 glibcxx_cv_func_isinfl_use=yes
31182 else
31183 glibcxx_cv_func_isinfl_use=no
31184 fi
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186 ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31191
31192
31193 fi
31194
31195 fi
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31197 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31198
31199 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31200 for ac_func in isinfl
31201 do :
31202 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31203 if test "x$ac_cv_func_isinfl" = x""yes; then :
31204 cat >>confdefs.h <<_ACEOF
31205 #define HAVE_ISINFL 1
31206 _ACEOF
31207
31208 fi
31209 done
31210
31211 else
31212
31213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31214 $as_echo_n "checking for _isinfl declaration... " >&6; }
31215 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31216 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31217 $as_echo_n "(cached) " >&6
31218 else
31219
31220
31221 ac_ext=cpp
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31228 /* end confdefs.h. */
31229 #include <math.h>
31230 #ifdef HAVE_IEEEFP_H
31231 #include <ieeefp.h>
31232 #endif
31233
31234 int
31235 main ()
31236 {
31237 _isinfl(0);
31238 ;
31239 return 0;
31240 }
31241 _ACEOF
31242 if ac_fn_cxx_try_compile "$LINENO"; then :
31243 glibcxx_cv_func__isinfl_use=yes
31244 else
31245 glibcxx_cv_func__isinfl_use=no
31246 fi
31247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31248 ac_ext=c
31249 ac_cpp='$CPP $CPPFLAGS'
31250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31253
31254
31255 fi
31256
31257 fi
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31259 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31260
31261 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31262 for ac_func in _isinfl
31263 do :
31264 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31265 if test "x$ac_cv_func__isinfl" = x""yes; then :
31266 cat >>confdefs.h <<_ACEOF
31267 #define HAVE__ISINFL 1
31268 _ACEOF
31269
31270 fi
31271 done
31272
31273 fi
31274 fi
31275
31276
31277
31278
31279
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31281 $as_echo_n "checking for atan2l declaration... " >&6; }
31282 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31283 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31286
31287
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31297 int
31298 main ()
31299 {
31300 atan2l(0, 0);
31301 ;
31302 return 0;
31303 }
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306 glibcxx_cv_func_atan2l_use=yes
31307 else
31308 glibcxx_cv_func_atan2l_use=no
31309 fi
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31316
31317
31318 fi
31319
31320 fi
31321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31322 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31323
31324 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31325 for ac_func in atan2l
31326 do :
31327 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31328 if test "x$ac_cv_func_atan2l" = x""yes; then :
31329 cat >>confdefs.h <<_ACEOF
31330 #define HAVE_ATAN2L 1
31331 _ACEOF
31332
31333 fi
31334 done
31335
31336 else
31337
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31339 $as_echo_n "checking for _atan2l declaration... " >&6; }
31340 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31341 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31342 $as_echo_n "(cached) " >&6
31343 else
31344
31345
31346 ac_ext=cpp
31347 ac_cpp='$CXXCPP $CPPFLAGS'
31348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31351
31352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31353 /* end confdefs.h. */
31354 #include <math.h>
31355 int
31356 main ()
31357 {
31358 _atan2l(0, 0);
31359 ;
31360 return 0;
31361 }
31362 _ACEOF
31363 if ac_fn_cxx_try_compile "$LINENO"; then :
31364 glibcxx_cv_func__atan2l_use=yes
31365 else
31366 glibcxx_cv_func__atan2l_use=no
31367 fi
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369 ac_ext=c
31370 ac_cpp='$CPP $CPPFLAGS'
31371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31374
31375
31376 fi
31377
31378 fi
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31380 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31381
31382 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31383 for ac_func in _atan2l
31384 do :
31385 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31386 if test "x$ac_cv_func__atan2l" = x""yes; then :
31387 cat >>confdefs.h <<_ACEOF
31388 #define HAVE__ATAN2L 1
31389 _ACEOF
31390
31391 fi
31392 done
31393
31394 fi
31395 fi
31396
31397
31398
31399
31400
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31402 $as_echo_n "checking for expl declaration... " >&6; }
31403 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31404 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31405 $as_echo_n "(cached) " >&6
31406 else
31407
31408
31409 ac_ext=cpp
31410 ac_cpp='$CXXCPP $CPPFLAGS'
31411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31414
31415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31416 /* end confdefs.h. */
31417 #include <math.h>
31418 #ifdef HAVE_IEEEFP_H
31419 #include <ieeefp.h>
31420 #endif
31421
31422 int
31423 main ()
31424 {
31425 expl(0);
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func_expl_use=yes
31432 else
31433 glibcxx_cv_func_expl_use=no
31434 fi
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441
31442
31443 fi
31444
31445 fi
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31447 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31448
31449 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31450 for ac_func in expl
31451 do :
31452 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31453 if test "x$ac_cv_func_expl" = x""yes; then :
31454 cat >>confdefs.h <<_ACEOF
31455 #define HAVE_EXPL 1
31456 _ACEOF
31457
31458 fi
31459 done
31460
31461 else
31462
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31464 $as_echo_n "checking for _expl declaration... " >&6; }
31465 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31466 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31467 $as_echo_n "(cached) " >&6
31468 else
31469
31470
31471 ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479 #include <math.h>
31480 #ifdef HAVE_IEEEFP_H
31481 #include <ieeefp.h>
31482 #endif
31483
31484 int
31485 main ()
31486 {
31487 _expl(0);
31488 ;
31489 return 0;
31490 }
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func__expl_use=yes
31494 else
31495 glibcxx_cv_func__expl_use=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503
31504
31505 fi
31506
31507 fi
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31509 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31510
31511 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31512 for ac_func in _expl
31513 do :
31514 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31515 if test "x$ac_cv_func__expl" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE__EXPL 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523 fi
31524 fi
31525
31526
31527
31528
31529
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31531 $as_echo_n "checking for fabsl declaration... " >&6; }
31532 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31533 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31534 $as_echo_n "(cached) " >&6
31535 else
31536
31537
31538 ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543
31544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h. */
31546 #include <math.h>
31547 #ifdef HAVE_IEEEFP_H
31548 #include <ieeefp.h>
31549 #endif
31550
31551 int
31552 main ()
31553 {
31554 fabsl(0);
31555 ;
31556 return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func_fabsl_use=yes
31561 else
31562 glibcxx_cv_func_fabsl_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574 fi
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31576 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31577
31578 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31579 for ac_func in fabsl
31580 do :
31581 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31582 if test "x$ac_cv_func_fabsl" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_FABSL 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590 else
31591
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31593 $as_echo_n "checking for _fabsl declaration... " >&6; }
31594 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31595 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31612
31613 int
31614 main ()
31615 {
31616 _fabsl(0);
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func__fabsl_use=yes
31623 else
31624 glibcxx_cv_func__fabsl_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636 fi
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31638 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31639
31640 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31641 for ac_func in _fabsl
31642 do :
31643 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31644 if test "x$ac_cv_func__fabsl" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE__FABSL 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652 fi
31653 fi
31654
31655
31656
31657
31658
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31660 $as_echo_n "checking for fmodl declaration... " >&6; }
31661 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31662 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31663 $as_echo_n "(cached) " >&6
31664 else
31665
31666
31667 ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675 #include <math.h>
31676 int
31677 main ()
31678 {
31679 fmodl(0, 0);
31680 ;
31681 return 0;
31682 }
31683 _ACEOF
31684 if ac_fn_cxx_try_compile "$LINENO"; then :
31685 glibcxx_cv_func_fmodl_use=yes
31686 else
31687 glibcxx_cv_func_fmodl_use=no
31688 fi
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690 ac_ext=c
31691 ac_cpp='$CPP $CPPFLAGS'
31692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31695
31696
31697 fi
31698
31699 fi
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31701 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31702
31703 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31704 for ac_func in fmodl
31705 do :
31706 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31707 if test "x$ac_cv_func_fmodl" = x""yes; then :
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE_FMODL 1
31710 _ACEOF
31711
31712 fi
31713 done
31714
31715 else
31716
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31718 $as_echo_n "checking for _fmodl declaration... " >&6; }
31719 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31720 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31723
31724
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31734 int
31735 main ()
31736 {
31737 _fmodl(0, 0);
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func__fmodl_use=yes
31744 else
31745 glibcxx_cv_func__fmodl_use=no
31746 fi
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753
31754
31755 fi
31756
31757 fi
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31759 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31760
31761 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31762 for ac_func in _fmodl
31763 do :
31764 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31765 if test "x$ac_cv_func__fmodl" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE__FMODL 1
31768 _ACEOF
31769
31770 fi
31771 done
31772
31773 fi
31774 fi
31775
31776
31777
31778
31779
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31781 $as_echo_n "checking for frexpl declaration... " >&6; }
31782 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31783 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31784 $as_echo_n "(cached) " >&6
31785 else
31786
31787
31788 ac_ext=cpp
31789 ac_cpp='$CXXCPP $CPPFLAGS'
31790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31793
31794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31795 /* end confdefs.h. */
31796 #include <math.h>
31797 int
31798 main ()
31799 {
31800 frexpl(0, 0);
31801 ;
31802 return 0;
31803 }
31804 _ACEOF
31805 if ac_fn_cxx_try_compile "$LINENO"; then :
31806 glibcxx_cv_func_frexpl_use=yes
31807 else
31808 glibcxx_cv_func_frexpl_use=no
31809 fi
31810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31811 ac_ext=c
31812 ac_cpp='$CPP $CPPFLAGS'
31813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31816
31817
31818 fi
31819
31820 fi
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31822 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31823
31824 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31825 for ac_func in frexpl
31826 do :
31827 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31828 if test "x$ac_cv_func_frexpl" = x""yes; then :
31829 cat >>confdefs.h <<_ACEOF
31830 #define HAVE_FREXPL 1
31831 _ACEOF
31832
31833 fi
31834 done
31835
31836 else
31837
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31839 $as_echo_n "checking for _frexpl declaration... " >&6; }
31840 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31841 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31842 $as_echo_n "(cached) " >&6
31843 else
31844
31845
31846 ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851
31852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h. */
31854 #include <math.h>
31855 int
31856 main ()
31857 {
31858 _frexpl(0, 0);
31859 ;
31860 return 0;
31861 }
31862 _ACEOF
31863 if ac_fn_cxx_try_compile "$LINENO"; then :
31864 glibcxx_cv_func__frexpl_use=yes
31865 else
31866 glibcxx_cv_func__frexpl_use=no
31867 fi
31868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31869 ac_ext=c
31870 ac_cpp='$CPP $CPPFLAGS'
31871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31874
31875
31876 fi
31877
31878 fi
31879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31880 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31881
31882 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31883 for ac_func in _frexpl
31884 do :
31885 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31886 if test "x$ac_cv_func__frexpl" = x""yes; then :
31887 cat >>confdefs.h <<_ACEOF
31888 #define HAVE__FREXPL 1
31889 _ACEOF
31890
31891 fi
31892 done
31893
31894 fi
31895 fi
31896
31897
31898
31899
31900
31901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31902 $as_echo_n "checking for hypotl declaration... " >&6; }
31903 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31904 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31905 $as_echo_n "(cached) " >&6
31906 else
31907
31908
31909 ac_ext=cpp
31910 ac_cpp='$CXXCPP $CPPFLAGS'
31911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31914
31915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31916 /* end confdefs.h. */
31917 #include <math.h>
31918 int
31919 main ()
31920 {
31921 hypotl(0, 0);
31922 ;
31923 return 0;
31924 }
31925 _ACEOF
31926 if ac_fn_cxx_try_compile "$LINENO"; then :
31927 glibcxx_cv_func_hypotl_use=yes
31928 else
31929 glibcxx_cv_func_hypotl_use=no
31930 fi
31931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932 ac_ext=c
31933 ac_cpp='$CPP $CPPFLAGS'
31934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937
31938
31939 fi
31940
31941 fi
31942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31943 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31944
31945 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31946 for ac_func in hypotl
31947 do :
31948 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31949 if test "x$ac_cv_func_hypotl" = x""yes; then :
31950 cat >>confdefs.h <<_ACEOF
31951 #define HAVE_HYPOTL 1
31952 _ACEOF
31953
31954 fi
31955 done
31956
31957 else
31958
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31960 $as_echo_n "checking for _hypotl declaration... " >&6; }
31961 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31962 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31963 $as_echo_n "(cached) " >&6
31964 else
31965
31966
31967 ac_ext=cpp
31968 ac_cpp='$CXXCPP $CPPFLAGS'
31969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972
31973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31974 /* end confdefs.h. */
31975 #include <math.h>
31976 int
31977 main ()
31978 {
31979 _hypotl(0, 0);
31980 ;
31981 return 0;
31982 }
31983 _ACEOF
31984 if ac_fn_cxx_try_compile "$LINENO"; then :
31985 glibcxx_cv_func__hypotl_use=yes
31986 else
31987 glibcxx_cv_func__hypotl_use=no
31988 fi
31989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31990 ac_ext=c
31991 ac_cpp='$CPP $CPPFLAGS'
31992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31995
31996
31997 fi
31998
31999 fi
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32001 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32002
32003 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32004 for ac_func in _hypotl
32005 do :
32006 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32007 if test "x$ac_cv_func__hypotl" = x""yes; then :
32008 cat >>confdefs.h <<_ACEOF
32009 #define HAVE__HYPOTL 1
32010 _ACEOF
32011
32012 fi
32013 done
32014
32015 fi
32016 fi
32017
32018
32019
32020
32021
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32023 $as_echo_n "checking for ldexpl declaration... " >&6; }
32024 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32025 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32026 $as_echo_n "(cached) " >&6
32027 else
32028
32029
32030 ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32035
32036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h. */
32038 #include <math.h>
32039 int
32040 main ()
32041 {
32042 ldexpl(0, 0);
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 if ac_fn_cxx_try_compile "$LINENO"; then :
32048 glibcxx_cv_func_ldexpl_use=yes
32049 else
32050 glibcxx_cv_func_ldexpl_use=no
32051 fi
32052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053 ac_ext=c
32054 ac_cpp='$CPP $CPPFLAGS'
32055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32058
32059
32060 fi
32061
32062 fi
32063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32064 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32065
32066 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32067 for ac_func in ldexpl
32068 do :
32069 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32070 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32071 cat >>confdefs.h <<_ACEOF
32072 #define HAVE_LDEXPL 1
32073 _ACEOF
32074
32075 fi
32076 done
32077
32078 else
32079
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32081 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32082 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32083 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32084 $as_echo_n "(cached) " >&6
32085 else
32086
32087
32088 ac_ext=cpp
32089 ac_cpp='$CXXCPP $CPPFLAGS'
32090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32093
32094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32095 /* end confdefs.h. */
32096 #include <math.h>
32097 int
32098 main ()
32099 {
32100 _ldexpl(0, 0);
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func__ldexpl_use=yes
32107 else
32108 glibcxx_cv_func__ldexpl_use=no
32109 fi
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118 fi
32119
32120 fi
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32122 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32123
32124 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32125 for ac_func in _ldexpl
32126 do :
32127 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32128 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE__LDEXPL 1
32131 _ACEOF
32132
32133 fi
32134 done
32135
32136 fi
32137 fi
32138
32139
32140
32141
32142
32143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32144 $as_echo_n "checking for logl declaration... " >&6; }
32145 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32146 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32147 $as_echo_n "(cached) " >&6
32148 else
32149
32150
32151 ac_ext=cpp
32152 ac_cpp='$CXXCPP $CPPFLAGS'
32153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32156
32157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h. */
32159 #include <math.h>
32160 #ifdef HAVE_IEEEFP_H
32161 #include <ieeefp.h>
32162 #endif
32163
32164 int
32165 main ()
32166 {
32167 logl(0);
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173 glibcxx_cv_func_logl_use=yes
32174 else
32175 glibcxx_cv_func_logl_use=no
32176 fi
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178 ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32183
32184
32185 fi
32186
32187 fi
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32189 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32190
32191 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32192 for ac_func in logl
32193 do :
32194 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32195 if test "x$ac_cv_func_logl" = x""yes; then :
32196 cat >>confdefs.h <<_ACEOF
32197 #define HAVE_LOGL 1
32198 _ACEOF
32199
32200 fi
32201 done
32202
32203 else
32204
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32206 $as_echo_n "checking for _logl declaration... " >&6; }
32207 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32208 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32209 $as_echo_n "(cached) " >&6
32210 else
32211
32212
32213 ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <math.h>
32222 #ifdef HAVE_IEEEFP_H
32223 #include <ieeefp.h>
32224 #endif
32225
32226 int
32227 main ()
32228 {
32229 _logl(0);
32230 ;
32231 return 0;
32232 }
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func__logl_use=yes
32236 else
32237 glibcxx_cv_func__logl_use=no
32238 fi
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247 fi
32248
32249 fi
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32251 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32252
32253 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32254 for ac_func in _logl
32255 do :
32256 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32257 if test "x$ac_cv_func__logl" = x""yes; then :
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE__LOGL 1
32260 _ACEOF
32261
32262 fi
32263 done
32264
32265 fi
32266 fi
32267
32268
32269
32270
32271
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32273 $as_echo_n "checking for log10l declaration... " >&6; }
32274 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32275 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32276 $as_echo_n "(cached) " >&6
32277 else
32278
32279
32280 ac_ext=cpp
32281 ac_cpp='$CXXCPP $CPPFLAGS'
32282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32285
32286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32287 /* end confdefs.h. */
32288 #include <math.h>
32289 #ifdef HAVE_IEEEFP_H
32290 #include <ieeefp.h>
32291 #endif
32292
32293 int
32294 main ()
32295 {
32296 log10l(0);
32297 ;
32298 return 0;
32299 }
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302 glibcxx_cv_func_log10l_use=yes
32303 else
32304 glibcxx_cv_func_log10l_use=no
32305 fi
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32312
32313
32314 fi
32315
32316 fi
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32318 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32319
32320 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32321 for ac_func in log10l
32322 do :
32323 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32324 if test "x$ac_cv_func_log10l" = x""yes; then :
32325 cat >>confdefs.h <<_ACEOF
32326 #define HAVE_LOG10L 1
32327 _ACEOF
32328
32329 fi
32330 done
32331
32332 else
32333
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32335 $as_echo_n "checking for _log10l declaration... " >&6; }
32336 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32337 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32339 else
32340
32341
32342 ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32347
32348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h. */
32350 #include <math.h>
32351 #ifdef HAVE_IEEEFP_H
32352 #include <ieeefp.h>
32353 #endif
32354
32355 int
32356 main ()
32357 {
32358 _log10l(0);
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func__log10l_use=yes
32365 else
32366 glibcxx_cv_func__log10l_use=no
32367 fi
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374
32375
32376 fi
32377
32378 fi
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32380 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32381
32382 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32383 for ac_func in _log10l
32384 do :
32385 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32386 if test "x$ac_cv_func__log10l" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE__LOG10L 1
32389 _ACEOF
32390
32391 fi
32392 done
32393
32394 fi
32395 fi
32396
32397
32398
32399
32400
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32402 $as_echo_n "checking for modfl declaration... " >&6; }
32403 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32404 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32405 $as_echo_n "(cached) " >&6
32406 else
32407
32408
32409 ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414
32415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h. */
32417 #include <math.h>
32418 int
32419 main ()
32420 {
32421 modfl(0, 0);
32422 ;
32423 return 0;
32424 }
32425 _ACEOF
32426 if ac_fn_cxx_try_compile "$LINENO"; then :
32427 glibcxx_cv_func_modfl_use=yes
32428 else
32429 glibcxx_cv_func_modfl_use=no
32430 fi
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32432 ac_ext=c
32433 ac_cpp='$CPP $CPPFLAGS'
32434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32437
32438
32439 fi
32440
32441 fi
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32443 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32444
32445 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32446 for ac_func in modfl
32447 do :
32448 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32449 if test "x$ac_cv_func_modfl" = x""yes; then :
32450 cat >>confdefs.h <<_ACEOF
32451 #define HAVE_MODFL 1
32452 _ACEOF
32453
32454 fi
32455 done
32456
32457 else
32458
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32460 $as_echo_n "checking for _modfl declaration... " >&6; }
32461 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32462 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32465
32466
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32476 int
32477 main ()
32478 {
32479 _modfl(0, 0);
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 if ac_fn_cxx_try_compile "$LINENO"; then :
32485 glibcxx_cv_func__modfl_use=yes
32486 else
32487 glibcxx_cv_func__modfl_use=no
32488 fi
32489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32495
32496
32497 fi
32498
32499 fi
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32501 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32502
32503 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32504 for ac_func in _modfl
32505 do :
32506 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32507 if test "x$ac_cv_func__modfl" = x""yes; then :
32508 cat >>confdefs.h <<_ACEOF
32509 #define HAVE__MODFL 1
32510 _ACEOF
32511
32512 fi
32513 done
32514
32515 fi
32516 fi
32517
32518
32519
32520
32521
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32523 $as_echo_n "checking for powl declaration... " >&6; }
32524 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32525 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32528
32529
32530 ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h. */
32538 #include <math.h>
32539 int
32540 main ()
32541 {
32542 powl(0, 0);
32543 ;
32544 return 0;
32545 }
32546 _ACEOF
32547 if ac_fn_cxx_try_compile "$LINENO"; then :
32548 glibcxx_cv_func_powl_use=yes
32549 else
32550 glibcxx_cv_func_powl_use=no
32551 fi
32552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32553 ac_ext=c
32554 ac_cpp='$CPP $CPPFLAGS'
32555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32558
32559
32560 fi
32561
32562 fi
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32564 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32565
32566 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32567 for ac_func in powl
32568 do :
32569 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32570 if test "x$ac_cv_func_powl" = x""yes; then :
32571 cat >>confdefs.h <<_ACEOF
32572 #define HAVE_POWL 1
32573 _ACEOF
32574
32575 fi
32576 done
32577
32578 else
32579
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32581 $as_echo_n "checking for _powl declaration... " >&6; }
32582 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32583 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32584 $as_echo_n "(cached) " >&6
32585 else
32586
32587
32588 ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593
32594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h. */
32596 #include <math.h>
32597 int
32598 main ()
32599 {
32600 _powl(0, 0);
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func__powl_use=yes
32607 else
32608 glibcxx_cv_func__powl_use=no
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617
32618 fi
32619
32620 fi
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32622 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32623
32624 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32625 for ac_func in _powl
32626 do :
32627 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32628 if test "x$ac_cv_func__powl" = x""yes; then :
32629 cat >>confdefs.h <<_ACEOF
32630 #define HAVE__POWL 1
32631 _ACEOF
32632
32633 fi
32634 done
32635
32636 fi
32637 fi
32638
32639
32640
32641
32642
32643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32644 $as_echo_n "checking for sqrtl declaration... " >&6; }
32645 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32646 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32647 $as_echo_n "(cached) " >&6
32648 else
32649
32650
32651 ac_ext=cpp
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656
32657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32658 /* end confdefs.h. */
32659 #include <math.h>
32660 #ifdef HAVE_IEEEFP_H
32661 #include <ieeefp.h>
32662 #endif
32663
32664 int
32665 main ()
32666 {
32667 sqrtl(0);
32668 ;
32669 return 0;
32670 }
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func_sqrtl_use=yes
32674 else
32675 glibcxx_cv_func_sqrtl_use=no
32676 fi
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683
32684
32685 fi
32686
32687 fi
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32689 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32690
32691 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32692 for ac_func in sqrtl
32693 do :
32694 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32695 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE_SQRTL 1
32698 _ACEOF
32699
32700 fi
32701 done
32702
32703 else
32704
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32706 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32707 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32708 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32711
32712
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 #ifdef HAVE_IEEEFP_H
32723 #include <ieeefp.h>
32724 #endif
32725
32726 int
32727 main ()
32728 {
32729 _sqrtl(0);
32730 ;
32731 return 0;
32732 }
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735 glibcxx_cv_func__sqrtl_use=yes
32736 else
32737 glibcxx_cv_func__sqrtl_use=no
32738 fi
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745
32746
32747 fi
32748
32749 fi
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32751 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32752
32753 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32754 for ac_func in _sqrtl
32755 do :
32756 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32757 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define HAVE__SQRTL 1
32760 _ACEOF
32761
32762 fi
32763 done
32764
32765 fi
32766 fi
32767
32768
32769
32770
32771
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32773 $as_echo_n "checking for sincosl declaration... " >&6; }
32774 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32775 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32778
32779
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32789 int
32790 main ()
32791 {
32792 sincosl(0, 0, 0);
32793 ;
32794 return 0;
32795 }
32796 _ACEOF
32797 if ac_fn_cxx_try_compile "$LINENO"; then :
32798 glibcxx_cv_func_sincosl_use=yes
32799 else
32800 glibcxx_cv_func_sincosl_use=no
32801 fi
32802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32803 ac_ext=c
32804 ac_cpp='$CPP $CPPFLAGS'
32805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32808
32809
32810 fi
32811
32812 fi
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32814 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32815
32816 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32817 for ac_func in sincosl
32818 do :
32819 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32820 if test "x$ac_cv_func_sincosl" = x""yes; then :
32821 cat >>confdefs.h <<_ACEOF
32822 #define HAVE_SINCOSL 1
32823 _ACEOF
32824
32825 fi
32826 done
32827
32828 else
32829
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32831 $as_echo_n "checking for _sincosl declaration... " >&6; }
32832 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32833 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32834 $as_echo_n "(cached) " >&6
32835 else
32836
32837
32838 ac_ext=cpp
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843
32844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32845 /* end confdefs.h. */
32846 #include <math.h>
32847 int
32848 main ()
32849 {
32850 _sincosl(0, 0, 0);
32851 ;
32852 return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856 glibcxx_cv_func__sincosl_use=yes
32857 else
32858 glibcxx_cv_func__sincosl_use=no
32859 fi
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866
32867
32868 fi
32869
32870 fi
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32872 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32873
32874 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32875 for ac_func in _sincosl
32876 do :
32877 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32878 if test "x$ac_cv_func__sincosl" = x""yes; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define HAVE__SINCOSL 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886 fi
32887 fi
32888
32889
32890
32891
32892
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32894 $as_echo_n "checking for finitel declaration... " >&6; }
32895 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32896 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32897 $as_echo_n "(cached) " >&6
32898 else
32899
32900
32901 ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906
32907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h. */
32909 #include <math.h>
32910 #ifdef HAVE_IEEEFP_H
32911 #include <ieeefp.h>
32912 #endif
32913
32914 int
32915 main ()
32916 {
32917 finitel(0);
32918 ;
32919 return 0;
32920 }
32921 _ACEOF
32922 if ac_fn_cxx_try_compile "$LINENO"; then :
32923 glibcxx_cv_func_finitel_use=yes
32924 else
32925 glibcxx_cv_func_finitel_use=no
32926 fi
32927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32928 ac_ext=c
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933
32934
32935 fi
32936
32937 fi
32938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32939 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32940
32941 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32942 for ac_func in finitel
32943 do :
32944 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32945 if test "x$ac_cv_func_finitel" = x""yes; then :
32946 cat >>confdefs.h <<_ACEOF
32947 #define HAVE_FINITEL 1
32948 _ACEOF
32949
32950 fi
32951 done
32952
32953 else
32954
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32956 $as_echo_n "checking for _finitel declaration... " >&6; }
32957 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32958 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32959 $as_echo_n "(cached) " >&6
32960 else
32961
32962
32963 ac_ext=cpp
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968
32969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32970 /* end confdefs.h. */
32971 #include <math.h>
32972 #ifdef HAVE_IEEEFP_H
32973 #include <ieeefp.h>
32974 #endif
32975
32976 int
32977 main ()
32978 {
32979 _finitel(0);
32980 ;
32981 return 0;
32982 }
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985 glibcxx_cv_func__finitel_use=yes
32986 else
32987 glibcxx_cv_func__finitel_use=no
32988 fi
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995
32996
32997 fi
32998
32999 fi
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33001 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33002
33003 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33004 for ac_func in _finitel
33005 do :
33006 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33007 if test "x$ac_cv_func__finitel" = x""yes; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define HAVE__FINITEL 1
33010 _ACEOF
33011
33012 fi
33013 done
33014
33015 fi
33016 fi
33017
33018
33019
33020
33021 LIBS="$ac_save_LIBS"
33022 CXXFLAGS="$ac_save_CXXFLAGS"
33023
33024
33025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33026 ac_save_CXXFLAGS="$CXXFLAGS"
33027 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33028
33029
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33031 $as_echo_n "checking for strtold declaration... " >&6; }
33032 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33033 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33034 $as_echo_n "(cached) " >&6
33035 else
33036
33037
33038 ac_ext=cpp
33039 ac_cpp='$CXXCPP $CPPFLAGS'
33040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043
33044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33045 /* end confdefs.h. */
33046 #include <stdlib.h>
33047 int
33048 main ()
33049 {
33050 strtold(0, 0);
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056 glibcxx_cv_func_strtold_use=yes
33057 else
33058 glibcxx_cv_func_strtold_use=no
33059 fi
33060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33061 ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066
33067
33068 fi
33069
33070 fi
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33072 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33073 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33074 for ac_func in strtold
33075 do :
33076 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33077 if test "x$ac_cv_func_strtold" = x""yes; then :
33078 cat >>confdefs.h <<_ACEOF
33079 #define HAVE_STRTOLD 1
33080 _ACEOF
33081
33082 fi
33083 done
33084
33085 fi
33086
33087
33088
33089
33090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33091 $as_echo_n "checking for strtof declaration... " >&6; }
33092 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33093 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33094 $as_echo_n "(cached) " >&6
33095 else
33096
33097
33098 ac_ext=cpp
33099 ac_cpp='$CXXCPP $CPPFLAGS'
33100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33103
33104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33105 /* end confdefs.h. */
33106 #include <stdlib.h>
33107 int
33108 main ()
33109 {
33110 strtof(0, 0);
33111 ;
33112 return 0;
33113 }
33114 _ACEOF
33115 if ac_fn_cxx_try_compile "$LINENO"; then :
33116 glibcxx_cv_func_strtof_use=yes
33117 else
33118 glibcxx_cv_func_strtof_use=no
33119 fi
33120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33121 ac_ext=c
33122 ac_cpp='$CPP $CPPFLAGS'
33123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33126
33127
33128 fi
33129
33130 fi
33131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33132 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33133 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33134 for ac_func in strtof
33135 do :
33136 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33137 if test "x$ac_cv_func_strtof" = x""yes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE_STRTOF 1
33140 _ACEOF
33141
33142 fi
33143 done
33144
33145 fi
33146
33147
33148
33149
33150 CXXFLAGS="$ac_save_CXXFLAGS"
33151
33152
33153 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33154
33155 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33156
33157 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33158
33159 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33160
33161
33162 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33163
33164 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33165
33166 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33167
33168 ;;
33169
33170 *-aix*)
33171
33172 # If we're not using GNU ld, then there's no point in even trying these
33173 # tests. Check for that first. We should have already tested for gld
33174 # by now (in libtool), but require it now just to be safe...
33175 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33176 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33177
33178
33179
33180 # The name set by libtool depends on the version of libtool. Shame on us
33181 # for depending on an impl detail, but c'est la vie. Older versions used
33182 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33183 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33184 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33185 # set (hence we're using an older libtool), then set it.
33186 if test x${with_gnu_ld+set} != xset; then
33187 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33188 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33189 with_gnu_ld=no
33190 else
33191 with_gnu_ld=$ac_cv_prog_gnu_ld
33192 fi
33193 fi
33194
33195 # Start by getting the version number. I think the libtool test already
33196 # does some of this, but throws away the result.
33197 glibcxx_ld_is_gold=no
33198 if test x"$with_gnu_ld" = x"yes"; then
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33200 $as_echo_n "checking for ld version... " >&6; }
33201
33202 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33203 glibcxx_ld_is_gold=yes
33204 fi
33205 ldver=`$LD --version 2>/dev/null |
33206 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'`
33207
33208 glibcxx_gnu_ld_version=`echo $ldver | \
33209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33211 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33212 fi
33213
33214 # Set --gc-sections.
33215 glibcxx_have_gc_sections=no
33216 if test "$glibcxx_ld_is_gold" = "yes"; then
33217 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33218 glibcxx_have_gc_sections=yes
33219 fi
33220 else
33221 glibcxx_gcsections_min_ld=21602
33222 if test x"$with_gnu_ld" = x"yes" &&
33223 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33224 glibcxx_have_gc_sections=yes
33225 fi
33226 fi
33227 if test "$glibcxx_have_gc_sections" = "yes"; then
33228 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33229 # NB: This flag only works reliably after 2.16.1. Configure tests
33230 # for this are difficult, so hard wire a value that should work.
33231
33232 ac_test_CFLAGS="${CFLAGS+set}"
33233 ac_save_CFLAGS="$CFLAGS"
33234 CFLAGS='-Wl,--gc-sections'
33235
33236 # Check for -Wl,--gc-sections
33237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33238 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33239 if test x$gcc_no_link = xyes; then
33240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33241 fi
33242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33243 /* end confdefs.h. */
33244 int one(void) { return 1; }
33245 int two(void) { return 2; }
33246
33247 int
33248 main ()
33249 {
33250 two();
33251 ;
33252 return 0;
33253 }
33254 _ACEOF
33255 if ac_fn_c_try_link "$LINENO"; then :
33256 ac_gcsections=yes
33257 else
33258 ac_gcsections=no
33259 fi
33260 rm -f core conftest.err conftest.$ac_objext \
33261 conftest$ac_exeext conftest.$ac_ext
33262 if test "$ac_gcsections" = "yes"; then
33263 rm -f conftest.c
33264 touch conftest.c
33265 if $CC -c conftest.c; then
33266 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33267 grep "Warning: gc-sections option ignored" > /dev/null; then
33268 ac_gcsections=no
33269 fi
33270 fi
33271 rm -f conftest.c conftest.o conftest
33272 fi
33273 if test "$ac_gcsections" = "yes"; then
33274 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33275 fi
33276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33277 $as_echo "$ac_gcsections" >&6; }
33278
33279 if test "$ac_test_CFLAGS" = set; then
33280 CFLAGS="$ac_save_CFLAGS"
33281 else
33282 # this is the suspicious part
33283 CFLAGS=''
33284 fi
33285 fi
33286
33287 # Set -z,relro.
33288 # Note this is only for shared objects.
33289 ac_ld_relro=no
33290 if test x"$with_gnu_ld" = x"yes"; then
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33292 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33293 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33294 if test -n "$cxx_z_relo"; then
33295 OPT_LDFLAGS="-Wl,-z,relro"
33296 ac_ld_relro=yes
33297 fi
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33299 $as_echo "$ac_ld_relro" >&6; }
33300 fi
33301
33302 # Set linker optimization flags.
33303 if test x"$with_gnu_ld" = x"yes"; then
33304 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33305 fi
33306
33307
33308
33309
33310
33311 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33312 ac_save_CXXFLAGS="$CXXFLAGS"
33313 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33314
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33316 $as_echo_n "checking for sin in -lm... " >&6; }
33317 if test "${ac_cv_lib_m_sin+set}" = set; then :
33318 $as_echo_n "(cached) " >&6
33319 else
33320 ac_check_lib_save_LIBS=$LIBS
33321 LIBS="-lm $LIBS"
33322 if test x$gcc_no_link = xyes; then
33323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33324 fi
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h. */
33327
33328 /* Override any GCC internal prototype to avoid an error.
33329 Use char because int might match the return type of a GCC
33330 builtin and then its argument prototype would still apply. */
33331 #ifdef __cplusplus
33332 extern "C"
33333 #endif
33334 char sin ();
33335 int
33336 main ()
33337 {
33338 return sin ();
33339 ;
33340 return 0;
33341 }
33342 _ACEOF
33343 if ac_fn_c_try_link "$LINENO"; then :
33344 ac_cv_lib_m_sin=yes
33345 else
33346 ac_cv_lib_m_sin=no
33347 fi
33348 rm -f core conftest.err conftest.$ac_objext \
33349 conftest$ac_exeext conftest.$ac_ext
33350 LIBS=$ac_check_lib_save_LIBS
33351 fi
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33353 $as_echo "$ac_cv_lib_m_sin" >&6; }
33354 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33355 libm="-lm"
33356 fi
33357
33358 ac_save_LIBS="$LIBS"
33359 LIBS="$LIBS $libm"
33360
33361
33362
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33364 $as_echo_n "checking for isinf declaration... " >&6; }
33365 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33366 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33367 $as_echo_n "(cached) " >&6
33368 else
33369
33370
33371 ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33379 #include <math.h>
33380 #ifdef HAVE_IEEEFP_H
33381 #include <ieeefp.h>
33382 #endif
33383
33384 int
33385 main ()
33386 {
33387 isinf(0);
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 if ac_fn_cxx_try_compile "$LINENO"; then :
33393 glibcxx_cv_func_isinf_use=yes
33394 else
33395 glibcxx_cv_func_isinf_use=no
33396 fi
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33398 ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403
33404
33405 fi
33406
33407 fi
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33409 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33410
33411 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33412 for ac_func in isinf
33413 do :
33414 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33415 if test "x$ac_cv_func_isinf" = x""yes; then :
33416 cat >>confdefs.h <<_ACEOF
33417 #define HAVE_ISINF 1
33418 _ACEOF
33419
33420 fi
33421 done
33422
33423 else
33424
33425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33426 $as_echo_n "checking for _isinf declaration... " >&6; }
33427 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33428 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33429 $as_echo_n "(cached) " >&6
33430 else
33431
33432
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438
33439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h. */
33441 #include <math.h>
33442 #ifdef HAVE_IEEEFP_H
33443 #include <ieeefp.h>
33444 #endif
33445
33446 int
33447 main ()
33448 {
33449 _isinf(0);
33450 ;
33451 return 0;
33452 }
33453 _ACEOF
33454 if ac_fn_cxx_try_compile "$LINENO"; then :
33455 glibcxx_cv_func__isinf_use=yes
33456 else
33457 glibcxx_cv_func__isinf_use=no
33458 fi
33459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33460 ac_ext=c
33461 ac_cpp='$CPP $CPPFLAGS'
33462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33465
33466
33467 fi
33468
33469 fi
33470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33471 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33472
33473 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33474 for ac_func in _isinf
33475 do :
33476 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33477 if test "x$ac_cv_func__isinf" = x""yes; then :
33478 cat >>confdefs.h <<_ACEOF
33479 #define HAVE__ISINF 1
33480 _ACEOF
33481
33482 fi
33483 done
33484
33485 fi
33486 fi
33487
33488
33489
33490
33491
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33493 $as_echo_n "checking for isnan declaration... " >&6; }
33494 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33495 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33496 $as_echo_n "(cached) " >&6
33497 else
33498
33499
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h. */
33508 #include <math.h>
33509 #ifdef HAVE_IEEEFP_H
33510 #include <ieeefp.h>
33511 #endif
33512
33513 int
33514 main ()
33515 {
33516 isnan(0);
33517 ;
33518 return 0;
33519 }
33520 _ACEOF
33521 if ac_fn_cxx_try_compile "$LINENO"; then :
33522 glibcxx_cv_func_isnan_use=yes
33523 else
33524 glibcxx_cv_func_isnan_use=no
33525 fi
33526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33527 ac_ext=c
33528 ac_cpp='$CPP $CPPFLAGS'
33529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532
33533
33534 fi
33535
33536 fi
33537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33538 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33539
33540 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33541 for ac_func in isnan
33542 do :
33543 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33544 if test "x$ac_cv_func_isnan" = x""yes; then :
33545 cat >>confdefs.h <<_ACEOF
33546 #define HAVE_ISNAN 1
33547 _ACEOF
33548
33549 fi
33550 done
33551
33552 else
33553
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33555 $as_echo_n "checking for _isnan declaration... " >&6; }
33556 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33557 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33558 $as_echo_n "(cached) " >&6
33559 else
33560
33561
33562 ac_ext=cpp
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567
33568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33569 /* end confdefs.h. */
33570 #include <math.h>
33571 #ifdef HAVE_IEEEFP_H
33572 #include <ieeefp.h>
33573 #endif
33574
33575 int
33576 main ()
33577 {
33578 _isnan(0);
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584 glibcxx_cv_func__isnan_use=yes
33585 else
33586 glibcxx_cv_func__isnan_use=no
33587 fi
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589 ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595
33596 fi
33597
33598 fi
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33600 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33601
33602 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33603 for ac_func in _isnan
33604 do :
33605 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33606 if test "x$ac_cv_func__isnan" = x""yes; then :
33607 cat >>confdefs.h <<_ACEOF
33608 #define HAVE__ISNAN 1
33609 _ACEOF
33610
33611 fi
33612 done
33613
33614 fi
33615 fi
33616
33617
33618
33619
33620
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33622 $as_echo_n "checking for finite declaration... " >&6; }
33623 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33624 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33625 $as_echo_n "(cached) " >&6
33626 else
33627
33628
33629 ac_ext=cpp
33630 ac_cpp='$CXXCPP $CPPFLAGS'
33631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33634
33635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33636 /* end confdefs.h. */
33637 #include <math.h>
33638 #ifdef HAVE_IEEEFP_H
33639 #include <ieeefp.h>
33640 #endif
33641
33642 int
33643 main ()
33644 {
33645 finite(0);
33646 ;
33647 return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651 glibcxx_cv_func_finite_use=yes
33652 else
33653 glibcxx_cv_func_finite_use=no
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662
33663 fi
33664
33665 fi
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33667 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33668
33669 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33670 for ac_func in finite
33671 do :
33672 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33673 if test "x$ac_cv_func_finite" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define HAVE_FINITE 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681 else
33682
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33684 $as_echo_n "checking for _finite declaration... " >&6; }
33685 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33686 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33687 $as_echo_n "(cached) " >&6
33688 else
33689
33690
33691 ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696
33697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h. */
33699 #include <math.h>
33700 #ifdef HAVE_IEEEFP_H
33701 #include <ieeefp.h>
33702 #endif
33703
33704 int
33705 main ()
33706 {
33707 _finite(0);
33708 ;
33709 return 0;
33710 }
33711 _ACEOF
33712 if ac_fn_cxx_try_compile "$LINENO"; then :
33713 glibcxx_cv_func__finite_use=yes
33714 else
33715 glibcxx_cv_func__finite_use=no
33716 fi
33717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718 ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723
33724
33725 fi
33726
33727 fi
33728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33729 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33730
33731 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33732 for ac_func in _finite
33733 do :
33734 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33735 if test "x$ac_cv_func__finite" = x""yes; then :
33736 cat >>confdefs.h <<_ACEOF
33737 #define HAVE__FINITE 1
33738 _ACEOF
33739
33740 fi
33741 done
33742
33743 fi
33744 fi
33745
33746
33747
33748
33749
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33751 $as_echo_n "checking for sincos declaration... " >&6; }
33752 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33753 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33754 $as_echo_n "(cached) " >&6
33755 else
33756
33757
33758 ac_ext=cpp
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763
33764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33765 /* end confdefs.h. */
33766 #include <math.h>
33767 int
33768 main ()
33769 {
33770 sincos(0, 0, 0);
33771 ;
33772 return 0;
33773 }
33774 _ACEOF
33775 if ac_fn_cxx_try_compile "$LINENO"; then :
33776 glibcxx_cv_func_sincos_use=yes
33777 else
33778 glibcxx_cv_func_sincos_use=no
33779 fi
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33781 ac_ext=c
33782 ac_cpp='$CPP $CPPFLAGS'
33783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33786
33787
33788 fi
33789
33790 fi
33791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33792 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33793
33794 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33795 for ac_func in sincos
33796 do :
33797 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33798 if test "x$ac_cv_func_sincos" = x""yes; then :
33799 cat >>confdefs.h <<_ACEOF
33800 #define HAVE_SINCOS 1
33801 _ACEOF
33802
33803 fi
33804 done
33805
33806 else
33807
33808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33809 $as_echo_n "checking for _sincos declaration... " >&6; }
33810 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33811 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33812 $as_echo_n "(cached) " >&6
33813 else
33814
33815
33816 ac_ext=cpp
33817 ac_cpp='$CXXCPP $CPPFLAGS'
33818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33821
33822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33823 /* end confdefs.h. */
33824 #include <math.h>
33825 int
33826 main ()
33827 {
33828 _sincos(0, 0, 0);
33829 ;
33830 return 0;
33831 }
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834 glibcxx_cv_func__sincos_use=yes
33835 else
33836 glibcxx_cv_func__sincos_use=no
33837 fi
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839 ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33844
33845
33846 fi
33847
33848 fi
33849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33850 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33851
33852 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33853 for ac_func in _sincos
33854 do :
33855 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33856 if test "x$ac_cv_func__sincos" = x""yes; then :
33857 cat >>confdefs.h <<_ACEOF
33858 #define HAVE__SINCOS 1
33859 _ACEOF
33860
33861 fi
33862 done
33863
33864 fi
33865 fi
33866
33867
33868
33869
33870
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33872 $as_echo_n "checking for fpclass declaration... " >&6; }
33873 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33874 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33875 $as_echo_n "(cached) " >&6
33876 else
33877
33878
33879 ac_ext=cpp
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33884
33885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33886 /* end confdefs.h. */
33887 #include <math.h>
33888 #ifdef HAVE_IEEEFP_H
33889 #include <ieeefp.h>
33890 #endif
33891
33892 int
33893 main ()
33894 {
33895 fpclass(0);
33896 ;
33897 return 0;
33898 }
33899 _ACEOF
33900 if ac_fn_cxx_try_compile "$LINENO"; then :
33901 glibcxx_cv_func_fpclass_use=yes
33902 else
33903 glibcxx_cv_func_fpclass_use=no
33904 fi
33905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906 ac_ext=c
33907 ac_cpp='$CPP $CPPFLAGS'
33908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33911
33912
33913 fi
33914
33915 fi
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33917 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33918
33919 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33920 for ac_func in fpclass
33921 do :
33922 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33923 if test "x$ac_cv_func_fpclass" = x""yes; then :
33924 cat >>confdefs.h <<_ACEOF
33925 #define HAVE_FPCLASS 1
33926 _ACEOF
33927
33928 fi
33929 done
33930
33931 else
33932
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33934 $as_echo_n "checking for _fpclass declaration... " >&6; }
33935 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33936 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33937 $as_echo_n "(cached) " >&6
33938 else
33939
33940
33941 ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h. */
33949 #include <math.h>
33950 #ifdef HAVE_IEEEFP_H
33951 #include <ieeefp.h>
33952 #endif
33953
33954 int
33955 main ()
33956 {
33957 _fpclass(0);
33958 ;
33959 return 0;
33960 }
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963 glibcxx_cv_func__fpclass_use=yes
33964 else
33965 glibcxx_cv_func__fpclass_use=no
33966 fi
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968 ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973
33974
33975 fi
33976
33977 fi
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33979 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33980
33981 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33982 for ac_func in _fpclass
33983 do :
33984 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33985 if test "x$ac_cv_func__fpclass" = x""yes; then :
33986 cat >>confdefs.h <<_ACEOF
33987 #define HAVE__FPCLASS 1
33988 _ACEOF
33989
33990 fi
33991 done
33992
33993 fi
33994 fi
33995
33996
33997
33998
33999
34000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34001 $as_echo_n "checking for qfpclass declaration... " >&6; }
34002 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34003 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34004 $as_echo_n "(cached) " >&6
34005 else
34006
34007
34008 ac_ext=cpp
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013
34014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34015 /* end confdefs.h. */
34016 #include <math.h>
34017 #ifdef HAVE_IEEEFP_H
34018 #include <ieeefp.h>
34019 #endif
34020
34021 int
34022 main ()
34023 {
34024 qfpclass(0);
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030 glibcxx_cv_func_qfpclass_use=yes
34031 else
34032 glibcxx_cv_func_qfpclass_use=no
34033 fi
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040
34041
34042 fi
34043
34044 fi
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34046 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34047
34048 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34049 for ac_func in qfpclass
34050 do :
34051 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34052 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34053 cat >>confdefs.h <<_ACEOF
34054 #define HAVE_QFPCLASS 1
34055 _ACEOF
34056
34057 fi
34058 done
34059
34060 else
34061
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34063 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34064 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34065 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34068
34069
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34079 #ifdef HAVE_IEEEFP_H
34080 #include <ieeefp.h>
34081 #endif
34082
34083 int
34084 main ()
34085 {
34086 _qfpclass(0);
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092 glibcxx_cv_func__qfpclass_use=yes
34093 else
34094 glibcxx_cv_func__qfpclass_use=no
34095 fi
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097 ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103
34104 fi
34105
34106 fi
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34108 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34109
34110 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34111 for ac_func in _qfpclass
34112 do :
34113 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34114 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34115 cat >>confdefs.h <<_ACEOF
34116 #define HAVE__QFPCLASS 1
34117 _ACEOF
34118
34119 fi
34120 done
34121
34122 fi
34123 fi
34124
34125
34126
34127
34128
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34130 $as_echo_n "checking for hypot declaration... " >&6; }
34131 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34132 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34133 $as_echo_n "(cached) " >&6
34134 else
34135
34136
34137 ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142
34143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h. */
34145 #include <math.h>
34146 int
34147 main ()
34148 {
34149 hypot(0, 0);
34150 ;
34151 return 0;
34152 }
34153 _ACEOF
34154 if ac_fn_cxx_try_compile "$LINENO"; then :
34155 glibcxx_cv_func_hypot_use=yes
34156 else
34157 glibcxx_cv_func_hypot_use=no
34158 fi
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 ac_ext=c
34161 ac_cpp='$CPP $CPPFLAGS'
34162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34165
34166
34167 fi
34168
34169 fi
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34171 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34172
34173 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34174 for ac_func in hypot
34175 do :
34176 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34177 if test "x$ac_cv_func_hypot" = x""yes; then :
34178 cat >>confdefs.h <<_ACEOF
34179 #define HAVE_HYPOT 1
34180 _ACEOF
34181
34182 fi
34183 done
34184
34185 else
34186
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34188 $as_echo_n "checking for _hypot declaration... " >&6; }
34189 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34190 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34191 $as_echo_n "(cached) " >&6
34192 else
34193
34194
34195 ac_ext=cpp
34196 ac_cpp='$CXXCPP $CPPFLAGS'
34197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34200
34201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34202 /* end confdefs.h. */
34203 #include <math.h>
34204 int
34205 main ()
34206 {
34207 _hypot(0, 0);
34208 ;
34209 return 0;
34210 }
34211 _ACEOF
34212 if ac_fn_cxx_try_compile "$LINENO"; then :
34213 glibcxx_cv_func__hypot_use=yes
34214 else
34215 glibcxx_cv_func__hypot_use=no
34216 fi
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218 ac_ext=c
34219 ac_cpp='$CPP $CPPFLAGS'
34220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34223
34224
34225 fi
34226
34227 fi
34228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34229 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34230
34231 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34232 for ac_func in _hypot
34233 do :
34234 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34235 if test "x$ac_cv_func__hypot" = x""yes; then :
34236 cat >>confdefs.h <<_ACEOF
34237 #define HAVE__HYPOT 1
34238 _ACEOF
34239
34240 fi
34241 done
34242
34243 fi
34244 fi
34245
34246
34247
34248
34249
34250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34251 $as_echo_n "checking for float trig functions... " >&6; }
34252 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34253 $as_echo_n "(cached) " >&6
34254 else
34255
34256
34257 ac_ext=cpp
34258 ac_cpp='$CXXCPP $CPPFLAGS'
34259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34262
34263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34264 /* end confdefs.h. */
34265 #include <math.h>
34266 int
34267 main ()
34268 {
34269 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34270 ;
34271 return 0;
34272 }
34273 _ACEOF
34274 if ac_fn_cxx_try_compile "$LINENO"; then :
34275 glibcxx_cv_func_float_trig_use=yes
34276 else
34277 glibcxx_cv_func_float_trig_use=no
34278 fi
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280 ac_ext=c
34281 ac_cpp='$CPP $CPPFLAGS'
34282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34285
34286 fi
34287
34288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34289 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34290 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34291 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34292 do :
34293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34295 eval as_val=\$$as_ac_var
34296 if test "x$as_val" = x""yes; then :
34297 cat >>confdefs.h <<_ACEOF
34298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34299 _ACEOF
34300
34301 fi
34302 done
34303
34304 else
34305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34306 $as_echo_n "checking for _float trig functions... " >&6; }
34307 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34308 $as_echo_n "(cached) " >&6
34309 else
34310
34311
34312 ac_ext=cpp
34313 ac_cpp='$CXXCPP $CPPFLAGS'
34314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34317
34318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34319 /* end confdefs.h. */
34320 #include <math.h>
34321 int
34322 main ()
34323 {
34324 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34325 ;
34326 return 0;
34327 }
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330 glibcxx_cv_func__float_trig_use=yes
34331 else
34332 glibcxx_cv_func__float_trig_use=no
34333 fi
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335 ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340
34341 fi
34342
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34344 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34345 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34346 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34347 do :
34348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34350 eval as_val=\$$as_ac_var
34351 if test "x$as_val" = x""yes; then :
34352 cat >>confdefs.h <<_ACEOF
34353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359 fi
34360 fi
34361
34362
34363
34364
34365
34366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34367 $as_echo_n "checking for float round functions... " >&6; }
34368 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34369 $as_echo_n "(cached) " >&6
34370 else
34371
34372
34373 ac_ext=cpp
34374 ac_cpp='$CXXCPP $CPPFLAGS'
34375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34378
34379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34380 /* end confdefs.h. */
34381 #include <math.h>
34382 int
34383 main ()
34384 {
34385 ceilf (0); floorf (0);
34386 ;
34387 return 0;
34388 }
34389 _ACEOF
34390 if ac_fn_cxx_try_compile "$LINENO"; then :
34391 glibcxx_cv_func_float_round_use=yes
34392 else
34393 glibcxx_cv_func_float_round_use=no
34394 fi
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396 ac_ext=c
34397 ac_cpp='$CPP $CPPFLAGS'
34398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34401
34402 fi
34403
34404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34405 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34406 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34407 for ac_func in ceilf floorf
34408 do :
34409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34411 eval as_val=\$$as_ac_var
34412 if test "x$as_val" = x""yes; then :
34413 cat >>confdefs.h <<_ACEOF
34414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34415 _ACEOF
34416
34417 fi
34418 done
34419
34420 else
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34422 $as_echo_n "checking for _float round functions... " >&6; }
34423 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34424 $as_echo_n "(cached) " >&6
34425 else
34426
34427
34428 ac_ext=cpp
34429 ac_cpp='$CXXCPP $CPPFLAGS'
34430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34433
34434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34435 /* end confdefs.h. */
34436 #include <math.h>
34437 int
34438 main ()
34439 {
34440 _ceilf (0); _floorf (0);
34441 ;
34442 return 0;
34443 }
34444 _ACEOF
34445 if ac_fn_cxx_try_compile "$LINENO"; then :
34446 glibcxx_cv_func__float_round_use=yes
34447 else
34448 glibcxx_cv_func__float_round_use=no
34449 fi
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451 ac_ext=c
34452 ac_cpp='$CPP $CPPFLAGS'
34453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34456
34457 fi
34458
34459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34460 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34461 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34462 for ac_func in _ceilf _floorf
34463 do :
34464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34466 eval as_val=\$$as_ac_var
34467 if test "x$as_val" = x""yes; then :
34468 cat >>confdefs.h <<_ACEOF
34469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34470 _ACEOF
34471
34472 fi
34473 done
34474
34475 fi
34476 fi
34477
34478
34479
34480
34481
34482
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34484 $as_echo_n "checking for expf declaration... " >&6; }
34485 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34486 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34487 $as_echo_n "(cached) " >&6
34488 else
34489
34490
34491 ac_ext=cpp
34492 ac_cpp='$CXXCPP $CPPFLAGS'
34493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34496
34497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34498 /* end confdefs.h. */
34499 #include <math.h>
34500 #ifdef HAVE_IEEEFP_H
34501 #include <ieeefp.h>
34502 #endif
34503
34504 int
34505 main ()
34506 {
34507 expf(0);
34508 ;
34509 return 0;
34510 }
34511 _ACEOF
34512 if ac_fn_cxx_try_compile "$LINENO"; then :
34513 glibcxx_cv_func_expf_use=yes
34514 else
34515 glibcxx_cv_func_expf_use=no
34516 fi
34517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34518 ac_ext=c
34519 ac_cpp='$CPP $CPPFLAGS'
34520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34523
34524
34525 fi
34526
34527 fi
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34529 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34530
34531 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34532 for ac_func in expf
34533 do :
34534 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34535 if test "x$ac_cv_func_expf" = x""yes; then :
34536 cat >>confdefs.h <<_ACEOF
34537 #define HAVE_EXPF 1
34538 _ACEOF
34539
34540 fi
34541 done
34542
34543 else
34544
34545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34546 $as_echo_n "checking for _expf declaration... " >&6; }
34547 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34548 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34549 $as_echo_n "(cached) " >&6
34550 else
34551
34552
34553 ac_ext=cpp
34554 ac_cpp='$CXXCPP $CPPFLAGS'
34555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34558
34559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34560 /* end confdefs.h. */
34561 #include <math.h>
34562 #ifdef HAVE_IEEEFP_H
34563 #include <ieeefp.h>
34564 #endif
34565
34566 int
34567 main ()
34568 {
34569 _expf(0);
34570 ;
34571 return 0;
34572 }
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func__expf_use=yes
34576 else
34577 glibcxx_cv_func__expf_use=no
34578 fi
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34585
34586
34587 fi
34588
34589 fi
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34591 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34592
34593 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34594 for ac_func in _expf
34595 do :
34596 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34597 if test "x$ac_cv_func__expf" = x""yes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE__EXPF 1
34600 _ACEOF
34601
34602 fi
34603 done
34604
34605 fi
34606 fi
34607
34608
34609
34610
34611
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34613 $as_echo_n "checking for isnanf declaration... " >&6; }
34614 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34615 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34616 $as_echo_n "(cached) " >&6
34617 else
34618
34619
34620 ac_ext=cpp
34621 ac_cpp='$CXXCPP $CPPFLAGS'
34622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34625
34626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34627 /* end confdefs.h. */
34628 #include <math.h>
34629 #ifdef HAVE_IEEEFP_H
34630 #include <ieeefp.h>
34631 #endif
34632
34633 int
34634 main ()
34635 {
34636 isnanf(0);
34637 ;
34638 return 0;
34639 }
34640 _ACEOF
34641 if ac_fn_cxx_try_compile "$LINENO"; then :
34642 glibcxx_cv_func_isnanf_use=yes
34643 else
34644 glibcxx_cv_func_isnanf_use=no
34645 fi
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647 ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652
34653
34654 fi
34655
34656 fi
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34658 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34659
34660 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34661 for ac_func in isnanf
34662 do :
34663 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34664 if test "x$ac_cv_func_isnanf" = x""yes; then :
34665 cat >>confdefs.h <<_ACEOF
34666 #define HAVE_ISNANF 1
34667 _ACEOF
34668
34669 fi
34670 done
34671
34672 else
34673
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34675 $as_echo_n "checking for _isnanf declaration... " >&6; }
34676 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34677 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34678 $as_echo_n "(cached) " >&6
34679 else
34680
34681
34682 ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687
34688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h. */
34690 #include <math.h>
34691 #ifdef HAVE_IEEEFP_H
34692 #include <ieeefp.h>
34693 #endif
34694
34695 int
34696 main ()
34697 {
34698 _isnanf(0);
34699 ;
34700 return 0;
34701 }
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func__isnanf_use=yes
34705 else
34706 glibcxx_cv_func__isnanf_use=no
34707 fi
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34714
34715
34716 fi
34717
34718 fi
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34720 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34721
34722 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34723 for ac_func in _isnanf
34724 do :
34725 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34726 if test "x$ac_cv_func__isnanf" = x""yes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE__ISNANF 1
34729 _ACEOF
34730
34731 fi
34732 done
34733
34734 fi
34735 fi
34736
34737
34738
34739
34740
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34742 $as_echo_n "checking for isinff declaration... " >&6; }
34743 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34744 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34745 $as_echo_n "(cached) " >&6
34746 else
34747
34748
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754
34755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756 /* end confdefs.h. */
34757 #include <math.h>
34758 #ifdef HAVE_IEEEFP_H
34759 #include <ieeefp.h>
34760 #endif
34761
34762 int
34763 main ()
34764 {
34765 isinff(0);
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func_isinff_use=yes
34772 else
34773 glibcxx_cv_func_isinff_use=no
34774 fi
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781
34782
34783 fi
34784
34785 fi
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34787 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34788
34789 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34790 for ac_func in isinff
34791 do :
34792 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34793 if test "x$ac_cv_func_isinff" = x""yes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE_ISINFF 1
34796 _ACEOF
34797
34798 fi
34799 done
34800
34801 else
34802
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34804 $as_echo_n "checking for _isinff declaration... " >&6; }
34805 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34806 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34809
34810
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34820 #ifdef HAVE_IEEEFP_H
34821 #include <ieeefp.h>
34822 #endif
34823
34824 int
34825 main ()
34826 {
34827 _isinff(0);
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 if ac_fn_cxx_try_compile "$LINENO"; then :
34833 glibcxx_cv_func__isinff_use=yes
34834 else
34835 glibcxx_cv_func__isinff_use=no
34836 fi
34837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34838 ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34843
34844
34845 fi
34846
34847 fi
34848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34849 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34850
34851 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34852 for ac_func in _isinff
34853 do :
34854 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34855 if test "x$ac_cv_func__isinff" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define HAVE__ISINFF 1
34858 _ACEOF
34859
34860 fi
34861 done
34862
34863 fi
34864 fi
34865
34866
34867
34868
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34871 $as_echo_n "checking for atan2f declaration... " >&6; }
34872 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34873 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34876
34877
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 int
34888 main ()
34889 {
34890 atan2f(0, 0);
34891 ;
34892 return 0;
34893 }
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896 glibcxx_cv_func_atan2f_use=yes
34897 else
34898 glibcxx_cv_func_atan2f_use=no
34899 fi
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907
34908 fi
34909
34910 fi
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34912 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34913
34914 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34915 for ac_func in atan2f
34916 do :
34917 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34918 if test "x$ac_cv_func_atan2f" = x""yes; then :
34919 cat >>confdefs.h <<_ACEOF
34920 #define HAVE_ATAN2F 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926 else
34927
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34929 $as_echo_n "checking for _atan2f declaration... " >&6; }
34930 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34931 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34932 $as_echo_n "(cached) " >&6
34933 else
34934
34935
34936 ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34941
34942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h. */
34944 #include <math.h>
34945 int
34946 main ()
34947 {
34948 _atan2f(0, 0);
34949 ;
34950 return 0;
34951 }
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func__atan2f_use=yes
34955 else
34956 glibcxx_cv_func__atan2f_use=no
34957 fi
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 fi
34967
34968 fi
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34970 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34971
34972 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34973 for ac_func in _atan2f
34974 do :
34975 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34976 if test "x$ac_cv_func__atan2f" = x""yes; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define HAVE__ATAN2F 1
34979 _ACEOF
34980
34981 fi
34982 done
34983
34984 fi
34985 fi
34986
34987
34988
34989
34990
34991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34992 $as_echo_n "checking for fabsf declaration... " >&6; }
34993 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34994 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34995 $as_echo_n "(cached) " >&6
34996 else
34997
34998
34999 ac_ext=cpp
35000 ac_cpp='$CXXCPP $CPPFLAGS'
35001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35004
35005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35006 /* end confdefs.h. */
35007 #include <math.h>
35008 #ifdef HAVE_IEEEFP_H
35009 #include <ieeefp.h>
35010 #endif
35011
35012 int
35013 main ()
35014 {
35015 fabsf(0);
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021 glibcxx_cv_func_fabsf_use=yes
35022 else
35023 glibcxx_cv_func_fabsf_use=no
35024 fi
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031
35032
35033 fi
35034
35035 fi
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35037 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35038
35039 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35040 for ac_func in fabsf
35041 do :
35042 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35043 if test "x$ac_cv_func_fabsf" = x""yes; then :
35044 cat >>confdefs.h <<_ACEOF
35045 #define HAVE_FABSF 1
35046 _ACEOF
35047
35048 fi
35049 done
35050
35051 else
35052
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35054 $as_echo_n "checking for _fabsf declaration... " >&6; }
35055 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35056 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 #ifdef HAVE_IEEEFP_H
35071 #include <ieeefp.h>
35072 #endif
35073
35074 int
35075 main ()
35076 {
35077 _fabsf(0);
35078 ;
35079 return 0;
35080 }
35081 _ACEOF
35082 if ac_fn_cxx_try_compile "$LINENO"; then :
35083 glibcxx_cv_func__fabsf_use=yes
35084 else
35085 glibcxx_cv_func__fabsf_use=no
35086 fi
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088 ac_ext=c
35089 ac_cpp='$CPP $CPPFLAGS'
35090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35093
35094
35095 fi
35096
35097 fi
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35099 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35100
35101 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35102 for ac_func in _fabsf
35103 do :
35104 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35105 if test "x$ac_cv_func__fabsf" = x""yes; then :
35106 cat >>confdefs.h <<_ACEOF
35107 #define HAVE__FABSF 1
35108 _ACEOF
35109
35110 fi
35111 done
35112
35113 fi
35114 fi
35115
35116
35117
35118
35119
35120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35121 $as_echo_n "checking for fmodf declaration... " >&6; }
35122 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35123 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35124 $as_echo_n "(cached) " >&6
35125 else
35126
35127
35128 ac_ext=cpp
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136 #include <math.h>
35137 int
35138 main ()
35139 {
35140 fmodf(0, 0);
35141 ;
35142 return 0;
35143 }
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_fmodf_use=yes
35147 else
35148 glibcxx_cv_func_fmodf_use=no
35149 fi
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157
35158 fi
35159
35160 fi
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35162 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35163
35164 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35165 for ac_func in fmodf
35166 do :
35167 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35168 if test "x$ac_cv_func_fmodf" = x""yes; then :
35169 cat >>confdefs.h <<_ACEOF
35170 #define HAVE_FMODF 1
35171 _ACEOF
35172
35173 fi
35174 done
35175
35176 else
35177
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35179 $as_echo_n "checking for _fmodf declaration... " >&6; }
35180 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35181 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35184
35185
35186 ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191
35192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h. */
35194 #include <math.h>
35195 int
35196 main ()
35197 {
35198 _fmodf(0, 0);
35199 ;
35200 return 0;
35201 }
35202 _ACEOF
35203 if ac_fn_cxx_try_compile "$LINENO"; then :
35204 glibcxx_cv_func__fmodf_use=yes
35205 else
35206 glibcxx_cv_func__fmodf_use=no
35207 fi
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214
35215
35216 fi
35217
35218 fi
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35220 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35221
35222 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35223 for ac_func in _fmodf
35224 do :
35225 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35226 if test "x$ac_cv_func__fmodf" = x""yes; then :
35227 cat >>confdefs.h <<_ACEOF
35228 #define HAVE__FMODF 1
35229 _ACEOF
35230
35231 fi
35232 done
35233
35234 fi
35235 fi
35236
35237
35238
35239
35240
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35242 $as_echo_n "checking for frexpf declaration... " >&6; }
35243 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35244 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35245 $as_echo_n "(cached) " >&6
35246 else
35247
35248
35249 ac_ext=cpp
35250 ac_cpp='$CXXCPP $CPPFLAGS'
35251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35254
35255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35256 /* end confdefs.h. */
35257 #include <math.h>
35258 int
35259 main ()
35260 {
35261 frexpf(0, 0);
35262 ;
35263 return 0;
35264 }
35265 _ACEOF
35266 if ac_fn_cxx_try_compile "$LINENO"; then :
35267 glibcxx_cv_func_frexpf_use=yes
35268 else
35269 glibcxx_cv_func_frexpf_use=no
35270 fi
35271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35272 ac_ext=c
35273 ac_cpp='$CPP $CPPFLAGS'
35274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277
35278
35279 fi
35280
35281 fi
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35283 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35284
35285 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35286 for ac_func in frexpf
35287 do :
35288 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35289 if test "x$ac_cv_func_frexpf" = x""yes; then :
35290 cat >>confdefs.h <<_ACEOF
35291 #define HAVE_FREXPF 1
35292 _ACEOF
35293
35294 fi
35295 done
35296
35297 else
35298
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35300 $as_echo_n "checking for _frexpf declaration... " >&6; }
35301 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35302 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35303 $as_echo_n "(cached) " >&6
35304 else
35305
35306
35307 ac_ext=cpp
35308 ac_cpp='$CXXCPP $CPPFLAGS'
35309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35312
35313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35314 /* end confdefs.h. */
35315 #include <math.h>
35316 int
35317 main ()
35318 {
35319 _frexpf(0, 0);
35320 ;
35321 return 0;
35322 }
35323 _ACEOF
35324 if ac_fn_cxx_try_compile "$LINENO"; then :
35325 glibcxx_cv_func__frexpf_use=yes
35326 else
35327 glibcxx_cv_func__frexpf_use=no
35328 fi
35329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35330 ac_ext=c
35331 ac_cpp='$CPP $CPPFLAGS'
35332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35335
35336
35337 fi
35338
35339 fi
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35341 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35342
35343 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35344 for ac_func in _frexpf
35345 do :
35346 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35347 if test "x$ac_cv_func__frexpf" = x""yes; then :
35348 cat >>confdefs.h <<_ACEOF
35349 #define HAVE__FREXPF 1
35350 _ACEOF
35351
35352 fi
35353 done
35354
35355 fi
35356 fi
35357
35358
35359
35360
35361
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35363 $as_echo_n "checking for hypotf declaration... " >&6; }
35364 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35365 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35366 $as_echo_n "(cached) " >&6
35367 else
35368
35369
35370 ac_ext=cpp
35371 ac_cpp='$CXXCPP $CPPFLAGS'
35372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35375
35376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35377 /* end confdefs.h. */
35378 #include <math.h>
35379 int
35380 main ()
35381 {
35382 hypotf(0, 0);
35383 ;
35384 return 0;
35385 }
35386 _ACEOF
35387 if ac_fn_cxx_try_compile "$LINENO"; then :
35388 glibcxx_cv_func_hypotf_use=yes
35389 else
35390 glibcxx_cv_func_hypotf_use=no
35391 fi
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35398
35399
35400 fi
35401
35402 fi
35403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35404 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35405
35406 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35407 for ac_func in hypotf
35408 do :
35409 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35410 if test "x$ac_cv_func_hypotf" = x""yes; then :
35411 cat >>confdefs.h <<_ACEOF
35412 #define HAVE_HYPOTF 1
35413 _ACEOF
35414
35415 fi
35416 done
35417
35418 else
35419
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35421 $as_echo_n "checking for _hypotf declaration... " >&6; }
35422 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35423 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35424 $as_echo_n "(cached) " >&6
35425 else
35426
35427
35428 ac_ext=cpp
35429 ac_cpp='$CXXCPP $CPPFLAGS'
35430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35433
35434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35435 /* end confdefs.h. */
35436 #include <math.h>
35437 int
35438 main ()
35439 {
35440 _hypotf(0, 0);
35441 ;
35442 return 0;
35443 }
35444 _ACEOF
35445 if ac_fn_cxx_try_compile "$LINENO"; then :
35446 glibcxx_cv_func__hypotf_use=yes
35447 else
35448 glibcxx_cv_func__hypotf_use=no
35449 fi
35450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35451 ac_ext=c
35452 ac_cpp='$CPP $CPPFLAGS'
35453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35456
35457
35458 fi
35459
35460 fi
35461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35462 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35463
35464 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35465 for ac_func in _hypotf
35466 do :
35467 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35468 if test "x$ac_cv_func__hypotf" = x""yes; then :
35469 cat >>confdefs.h <<_ACEOF
35470 #define HAVE__HYPOTF 1
35471 _ACEOF
35472
35473 fi
35474 done
35475
35476 fi
35477 fi
35478
35479
35480
35481
35482
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35484 $as_echo_n "checking for ldexpf declaration... " >&6; }
35485 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35486 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35489
35490
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35496
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35500 int
35501 main ()
35502 {
35503 ldexpf(0, 0);
35504 ;
35505 return 0;
35506 }
35507 _ACEOF
35508 if ac_fn_cxx_try_compile "$LINENO"; then :
35509 glibcxx_cv_func_ldexpf_use=yes
35510 else
35511 glibcxx_cv_func_ldexpf_use=no
35512 fi
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35514 ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35519
35520
35521 fi
35522
35523 fi
35524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35525 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35526
35527 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35528 for ac_func in ldexpf
35529 do :
35530 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35531 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35532 cat >>confdefs.h <<_ACEOF
35533 #define HAVE_LDEXPF 1
35534 _ACEOF
35535
35536 fi
35537 done
35538
35539 else
35540
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35542 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35543 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35544 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35545 $as_echo_n "(cached) " >&6
35546 else
35547
35548
35549 ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554
35555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h. */
35557 #include <math.h>
35558 int
35559 main ()
35560 {
35561 _ldexpf(0, 0);
35562 ;
35563 return 0;
35564 }
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567 glibcxx_cv_func__ldexpf_use=yes
35568 else
35569 glibcxx_cv_func__ldexpf_use=no
35570 fi
35571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 ac_ext=c
35573 ac_cpp='$CPP $CPPFLAGS'
35574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35577
35578
35579 fi
35580
35581 fi
35582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35583 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35584
35585 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35586 for ac_func in _ldexpf
35587 do :
35588 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35589 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE__LDEXPF 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597 fi
35598 fi
35599
35600
35601
35602
35603
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35605 $as_echo_n "checking for logf declaration... " >&6; }
35606 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35607 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35608 $as_echo_n "(cached) " >&6
35609 else
35610
35611
35612 ac_ext=cpp
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617
35618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35619 /* end confdefs.h. */
35620 #include <math.h>
35621 #ifdef HAVE_IEEEFP_H
35622 #include <ieeefp.h>
35623 #endif
35624
35625 int
35626 main ()
35627 {
35628 logf(0);
35629 ;
35630 return 0;
35631 }
35632 _ACEOF
35633 if ac_fn_cxx_try_compile "$LINENO"; then :
35634 glibcxx_cv_func_logf_use=yes
35635 else
35636 glibcxx_cv_func_logf_use=no
35637 fi
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35639 ac_ext=c
35640 ac_cpp='$CPP $CPPFLAGS'
35641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644
35645
35646 fi
35647
35648 fi
35649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35650 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35651
35652 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35653 for ac_func in logf
35654 do :
35655 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35656 if test "x$ac_cv_func_logf" = x""yes; then :
35657 cat >>confdefs.h <<_ACEOF
35658 #define HAVE_LOGF 1
35659 _ACEOF
35660
35661 fi
35662 done
35663
35664 else
35665
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35667 $as_echo_n "checking for _logf declaration... " >&6; }
35668 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35669 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35670 $as_echo_n "(cached) " >&6
35671 else
35672
35673
35674 ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35679
35680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h. */
35682 #include <math.h>
35683 #ifdef HAVE_IEEEFP_H
35684 #include <ieeefp.h>
35685 #endif
35686
35687 int
35688 main ()
35689 {
35690 _logf(0);
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func__logf_use=yes
35697 else
35698 glibcxx_cv_func__logf_use=no
35699 fi
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 fi
35709
35710 fi
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35712 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35713
35714 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35715 for ac_func in _logf
35716 do :
35717 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35718 if test "x$ac_cv_func__logf" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE__LOGF 1
35721 _ACEOF
35722
35723 fi
35724 done
35725
35726 fi
35727 fi
35728
35729
35730
35731
35732
35733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35734 $as_echo_n "checking for log10f declaration... " >&6; }
35735 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35736 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35737 $as_echo_n "(cached) " >&6
35738 else
35739
35740
35741 ac_ext=cpp
35742 ac_cpp='$CXXCPP $CPPFLAGS'
35743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35746
35747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35748 /* end confdefs.h. */
35749 #include <math.h>
35750 #ifdef HAVE_IEEEFP_H
35751 #include <ieeefp.h>
35752 #endif
35753
35754 int
35755 main ()
35756 {
35757 log10f(0);
35758 ;
35759 return 0;
35760 }
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763 glibcxx_cv_func_log10f_use=yes
35764 else
35765 glibcxx_cv_func_log10f_use=no
35766 fi
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35773
35774
35775 fi
35776
35777 fi
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35779 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35780
35781 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35782 for ac_func in log10f
35783 do :
35784 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35785 if test "x$ac_cv_func_log10f" = x""yes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE_LOG10F 1
35788 _ACEOF
35789
35790 fi
35791 done
35792
35793 else
35794
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35796 $as_echo_n "checking for _log10f declaration... " >&6; }
35797 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35798 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35799 $as_echo_n "(cached) " >&6
35800 else
35801
35802
35803 ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808
35809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <math.h>
35812 #ifdef HAVE_IEEEFP_H
35813 #include <ieeefp.h>
35814 #endif
35815
35816 int
35817 main ()
35818 {
35819 _log10f(0);
35820 ;
35821 return 0;
35822 }
35823 _ACEOF
35824 if ac_fn_cxx_try_compile "$LINENO"; then :
35825 glibcxx_cv_func__log10f_use=yes
35826 else
35827 glibcxx_cv_func__log10f_use=no
35828 fi
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 ac_ext=c
35831 ac_cpp='$CPP $CPPFLAGS'
35832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835
35836
35837 fi
35838
35839 fi
35840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35841 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35842
35843 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35844 for ac_func in _log10f
35845 do :
35846 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35847 if test "x$ac_cv_func__log10f" = x""yes; then :
35848 cat >>confdefs.h <<_ACEOF
35849 #define HAVE__LOG10F 1
35850 _ACEOF
35851
35852 fi
35853 done
35854
35855 fi
35856 fi
35857
35858
35859
35860
35861
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35863 $as_echo_n "checking for modff declaration... " >&6; }
35864 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35865 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35866 $as_echo_n "(cached) " >&6
35867 else
35868
35869
35870 ac_ext=cpp
35871 ac_cpp='$CXXCPP $CPPFLAGS'
35872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875
35876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35877 /* end confdefs.h. */
35878 #include <math.h>
35879 int
35880 main ()
35881 {
35882 modff(0, 0);
35883 ;
35884 return 0;
35885 }
35886 _ACEOF
35887 if ac_fn_cxx_try_compile "$LINENO"; then :
35888 glibcxx_cv_func_modff_use=yes
35889 else
35890 glibcxx_cv_func_modff_use=no
35891 fi
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893 ac_ext=c
35894 ac_cpp='$CPP $CPPFLAGS'
35895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898
35899
35900 fi
35901
35902 fi
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35904 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35905
35906 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35907 for ac_func in modff
35908 do :
35909 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35910 if test "x$ac_cv_func_modff" = x""yes; then :
35911 cat >>confdefs.h <<_ACEOF
35912 #define HAVE_MODFF 1
35913 _ACEOF
35914
35915 fi
35916 done
35917
35918 else
35919
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35921 $as_echo_n "checking for _modff declaration... " >&6; }
35922 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35923 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35926
35927
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35937 int
35938 main ()
35939 {
35940 _modff(0, 0);
35941 ;
35942 return 0;
35943 }
35944 _ACEOF
35945 if ac_fn_cxx_try_compile "$LINENO"; then :
35946 glibcxx_cv_func__modff_use=yes
35947 else
35948 glibcxx_cv_func__modff_use=no
35949 fi
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956
35957
35958 fi
35959
35960 fi
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35962 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35963
35964 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35965 for ac_func in _modff
35966 do :
35967 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35968 if test "x$ac_cv_func__modff" = x""yes; then :
35969 cat >>confdefs.h <<_ACEOF
35970 #define HAVE__MODFF 1
35971 _ACEOF
35972
35973 fi
35974 done
35975
35976 fi
35977 fi
35978
35979
35980
35981
35982
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35984 $as_echo_n "checking for modf declaration... " >&6; }
35985 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35986 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35987 $as_echo_n "(cached) " >&6
35988 else
35989
35990
35991 ac_ext=cpp
35992 ac_cpp='$CXXCPP $CPPFLAGS'
35993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996
35997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 /* end confdefs.h. */
35999 #include <math.h>
36000 int
36001 main ()
36002 {
36003 modf(0, 0);
36004 ;
36005 return 0;
36006 }
36007 _ACEOF
36008 if ac_fn_cxx_try_compile "$LINENO"; then :
36009 glibcxx_cv_func_modf_use=yes
36010 else
36011 glibcxx_cv_func_modf_use=no
36012 fi
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36014 ac_ext=c
36015 ac_cpp='$CPP $CPPFLAGS'
36016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36019
36020
36021 fi
36022
36023 fi
36024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36025 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36026
36027 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36028 for ac_func in modf
36029 do :
36030 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36031 if test "x$ac_cv_func_modf" = x""yes; then :
36032 cat >>confdefs.h <<_ACEOF
36033 #define HAVE_MODF 1
36034 _ACEOF
36035
36036 fi
36037 done
36038
36039 else
36040
36041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36042 $as_echo_n "checking for _modf declaration... " >&6; }
36043 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36044 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36045 $as_echo_n "(cached) " >&6
36046 else
36047
36048
36049 ac_ext=cpp
36050 ac_cpp='$CXXCPP $CPPFLAGS'
36051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36054
36055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36056 /* end confdefs.h. */
36057 #include <math.h>
36058 int
36059 main ()
36060 {
36061 _modf(0, 0);
36062 ;
36063 return 0;
36064 }
36065 _ACEOF
36066 if ac_fn_cxx_try_compile "$LINENO"; then :
36067 glibcxx_cv_func__modf_use=yes
36068 else
36069 glibcxx_cv_func__modf_use=no
36070 fi
36071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36072 ac_ext=c
36073 ac_cpp='$CPP $CPPFLAGS'
36074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077
36078
36079 fi
36080
36081 fi
36082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36083 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36084
36085 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36086 for ac_func in _modf
36087 do :
36088 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36089 if test "x$ac_cv_func__modf" = x""yes; then :
36090 cat >>confdefs.h <<_ACEOF
36091 #define HAVE__MODF 1
36092 _ACEOF
36093
36094 fi
36095 done
36096
36097 fi
36098 fi
36099
36100
36101
36102
36103
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36105 $as_echo_n "checking for powf declaration... " >&6; }
36106 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36107 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36108 $as_echo_n "(cached) " >&6
36109 else
36110
36111
36112 ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117
36118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36119 /* end confdefs.h. */
36120 #include <math.h>
36121 int
36122 main ()
36123 {
36124 powf(0, 0);
36125 ;
36126 return 0;
36127 }
36128 _ACEOF
36129 if ac_fn_cxx_try_compile "$LINENO"; then :
36130 glibcxx_cv_func_powf_use=yes
36131 else
36132 glibcxx_cv_func_powf_use=no
36133 fi
36134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36135 ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140
36141
36142 fi
36143
36144 fi
36145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36146 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36147
36148 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36149 for ac_func in powf
36150 do :
36151 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36152 if test "x$ac_cv_func_powf" = x""yes; then :
36153 cat >>confdefs.h <<_ACEOF
36154 #define HAVE_POWF 1
36155 _ACEOF
36156
36157 fi
36158 done
36159
36160 else
36161
36162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36163 $as_echo_n "checking for _powf declaration... " >&6; }
36164 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36165 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36166 $as_echo_n "(cached) " >&6
36167 else
36168
36169
36170 ac_ext=cpp
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175
36176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177 /* end confdefs.h. */
36178 #include <math.h>
36179 int
36180 main ()
36181 {
36182 _powf(0, 0);
36183 ;
36184 return 0;
36185 }
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188 glibcxx_cv_func__powf_use=yes
36189 else
36190 glibcxx_cv_func__powf_use=no
36191 fi
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193 ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198
36199
36200 fi
36201
36202 fi
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36204 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36205
36206 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36207 for ac_func in _powf
36208 do :
36209 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36210 if test "x$ac_cv_func__powf" = x""yes; then :
36211 cat >>confdefs.h <<_ACEOF
36212 #define HAVE__POWF 1
36213 _ACEOF
36214
36215 fi
36216 done
36217
36218 fi
36219 fi
36220
36221
36222
36223
36224
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36226 $as_echo_n "checking for sqrtf declaration... " >&6; }
36227 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36228 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36229 $as_echo_n "(cached) " >&6
36230 else
36231
36232
36233 ac_ext=cpp
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238
36239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36240 /* end confdefs.h. */
36241 #include <math.h>
36242 #ifdef HAVE_IEEEFP_H
36243 #include <ieeefp.h>
36244 #endif
36245
36246 int
36247 main ()
36248 {
36249 sqrtf(0);
36250 ;
36251 return 0;
36252 }
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func_sqrtf_use=yes
36256 else
36257 glibcxx_cv_func_sqrtf_use=no
36258 fi
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269 fi
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36271 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36272
36273 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36274 for ac_func in sqrtf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36277 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE_SQRTF 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285 else
36286
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36288 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36289 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36290 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36293
36294
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36304 #ifdef HAVE_IEEEFP_H
36305 #include <ieeefp.h>
36306 #endif
36307
36308 int
36309 main ()
36310 {
36311 _sqrtf(0);
36312 ;
36313 return 0;
36314 }
36315 _ACEOF
36316 if ac_fn_cxx_try_compile "$LINENO"; then :
36317 glibcxx_cv_func__sqrtf_use=yes
36318 else
36319 glibcxx_cv_func__sqrtf_use=no
36320 fi
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322 ac_ext=c
36323 ac_cpp='$CPP $CPPFLAGS'
36324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36327
36328
36329 fi
36330
36331 fi
36332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36333 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36334
36335 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36336 for ac_func in _sqrtf
36337 do :
36338 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36339 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36340 cat >>confdefs.h <<_ACEOF
36341 #define HAVE__SQRTF 1
36342 _ACEOF
36343
36344 fi
36345 done
36346
36347 fi
36348 fi
36349
36350
36351
36352
36353
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36355 $as_echo_n "checking for sincosf declaration... " >&6; }
36356 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36357 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36358 $as_echo_n "(cached) " >&6
36359 else
36360
36361
36362 ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367
36368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h. */
36370 #include <math.h>
36371 int
36372 main ()
36373 {
36374 sincosf(0, 0, 0);
36375 ;
36376 return 0;
36377 }
36378 _ACEOF
36379 if ac_fn_cxx_try_compile "$LINENO"; then :
36380 glibcxx_cv_func_sincosf_use=yes
36381 else
36382 glibcxx_cv_func_sincosf_use=no
36383 fi
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385 ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390
36391
36392 fi
36393
36394 fi
36395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36396 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36397
36398 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36399 for ac_func in sincosf
36400 do :
36401 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36402 if test "x$ac_cv_func_sincosf" = x""yes; then :
36403 cat >>confdefs.h <<_ACEOF
36404 #define HAVE_SINCOSF 1
36405 _ACEOF
36406
36407 fi
36408 done
36409
36410 else
36411
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36413 $as_echo_n "checking for _sincosf declaration... " >&6; }
36414 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36415 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36416 $as_echo_n "(cached) " >&6
36417 else
36418
36419
36420 ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36425
36426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36427 /* end confdefs.h. */
36428 #include <math.h>
36429 int
36430 main ()
36431 {
36432 _sincosf(0, 0, 0);
36433 ;
36434 return 0;
36435 }
36436 _ACEOF
36437 if ac_fn_cxx_try_compile "$LINENO"; then :
36438 glibcxx_cv_func__sincosf_use=yes
36439 else
36440 glibcxx_cv_func__sincosf_use=no
36441 fi
36442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443 ac_ext=c
36444 ac_cpp='$CPP $CPPFLAGS'
36445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36448
36449
36450 fi
36451
36452 fi
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36454 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36455
36456 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36457 for ac_func in _sincosf
36458 do :
36459 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36460 if test "x$ac_cv_func__sincosf" = x""yes; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define HAVE__SINCOSF 1
36463 _ACEOF
36464
36465 fi
36466 done
36467
36468 fi
36469 fi
36470
36471
36472
36473
36474
36475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36476 $as_echo_n "checking for finitef declaration... " >&6; }
36477 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36478 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36479 $as_echo_n "(cached) " >&6
36480 else
36481
36482
36483 ac_ext=cpp
36484 ac_cpp='$CXXCPP $CPPFLAGS'
36485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488
36489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36490 /* end confdefs.h. */
36491 #include <math.h>
36492 #ifdef HAVE_IEEEFP_H
36493 #include <ieeefp.h>
36494 #endif
36495
36496 int
36497 main ()
36498 {
36499 finitef(0);
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 if ac_fn_cxx_try_compile "$LINENO"; then :
36505 glibcxx_cv_func_finitef_use=yes
36506 else
36507 glibcxx_cv_func_finitef_use=no
36508 fi
36509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36510 ac_ext=c
36511 ac_cpp='$CPP $CPPFLAGS'
36512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36515
36516
36517 fi
36518
36519 fi
36520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36521 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36522
36523 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36524 for ac_func in finitef
36525 do :
36526 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36527 if test "x$ac_cv_func_finitef" = x""yes; then :
36528 cat >>confdefs.h <<_ACEOF
36529 #define HAVE_FINITEF 1
36530 _ACEOF
36531
36532 fi
36533 done
36534
36535 else
36536
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36538 $as_echo_n "checking for _finitef declaration... " >&6; }
36539 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36540 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36541 $as_echo_n "(cached) " >&6
36542 else
36543
36544
36545 ac_ext=cpp
36546 ac_cpp='$CXXCPP $CPPFLAGS'
36547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550
36551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36552 /* end confdefs.h. */
36553 #include <math.h>
36554 #ifdef HAVE_IEEEFP_H
36555 #include <ieeefp.h>
36556 #endif
36557
36558 int
36559 main ()
36560 {
36561 _finitef(0);
36562 ;
36563 return 0;
36564 }
36565 _ACEOF
36566 if ac_fn_cxx_try_compile "$LINENO"; then :
36567 glibcxx_cv_func__finitef_use=yes
36568 else
36569 glibcxx_cv_func__finitef_use=no
36570 fi
36571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36572 ac_ext=c
36573 ac_cpp='$CPP $CPPFLAGS'
36574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577
36578
36579 fi
36580
36581 fi
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36583 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36584
36585 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36586 for ac_func in _finitef
36587 do :
36588 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36589 if test "x$ac_cv_func__finitef" = x""yes; then :
36590 cat >>confdefs.h <<_ACEOF
36591 #define HAVE__FINITEF 1
36592 _ACEOF
36593
36594 fi
36595 done
36596
36597 fi
36598 fi
36599
36600
36601
36602
36603
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36605 $as_echo_n "checking for long double trig functions... " >&6; }
36606 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36607 $as_echo_n "(cached) " >&6
36608 else
36609
36610
36611 ac_ext=cpp
36612 ac_cpp='$CXXCPP $CPPFLAGS'
36613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36616
36617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36618 /* end confdefs.h. */
36619 #include <math.h>
36620 int
36621 main ()
36622 {
36623 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36624 ;
36625 return 0;
36626 }
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_long_double_trig_use=yes
36630 else
36631 glibcxx_cv_func_long_double_trig_use=no
36632 fi
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639
36640 fi
36641
36642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36643 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36644 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36645 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36646 do :
36647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36649 eval as_val=\$$as_ac_var
36650 if test "x$as_val" = x""yes; then :
36651 cat >>confdefs.h <<_ACEOF
36652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36653 _ACEOF
36654
36655 fi
36656 done
36657
36658 else
36659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36660 $as_echo_n "checking for _long double trig functions... " >&6; }
36661 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36662 $as_echo_n "(cached) " >&6
36663 else
36664
36665
36666 ac_ext=cpp
36667 ac_cpp='$CXXCPP $CPPFLAGS'
36668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671
36672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36673 /* end confdefs.h. */
36674 #include <math.h>
36675 int
36676 main ()
36677 {
36678 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36679 ;
36680 return 0;
36681 }
36682 _ACEOF
36683 if ac_fn_cxx_try_compile "$LINENO"; then :
36684 glibcxx_cv_func__long_double_trig_use=yes
36685 else
36686 glibcxx_cv_func__long_double_trig_use=no
36687 fi
36688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36689 ac_ext=c
36690 ac_cpp='$CPP $CPPFLAGS'
36691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36694
36695 fi
36696
36697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36698 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36699 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36700 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36701 do :
36702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36704 eval as_val=\$$as_ac_var
36705 if test "x$as_val" = x""yes; then :
36706 cat >>confdefs.h <<_ACEOF
36707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36708 _ACEOF
36709
36710 fi
36711 done
36712
36713 fi
36714 fi
36715
36716
36717
36718
36719
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36721 $as_echo_n "checking for long double round functions... " >&6; }
36722 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36723 $as_echo_n "(cached) " >&6
36724 else
36725
36726
36727 ac_ext=cpp
36728 ac_cpp='$CXXCPP $CPPFLAGS'
36729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732
36733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36734 /* end confdefs.h. */
36735 #include <math.h>
36736 int
36737 main ()
36738 {
36739 ceill (0); floorl (0);
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 if ac_fn_cxx_try_compile "$LINENO"; then :
36745 glibcxx_cv_func_long_double_round_use=yes
36746 else
36747 glibcxx_cv_func_long_double_round_use=no
36748 fi
36749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36750 ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36755
36756 fi
36757
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36759 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36760 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36761 for ac_func in ceill floorl
36762 do :
36763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36765 eval as_val=\$$as_ac_var
36766 if test "x$as_val" = x""yes; then :
36767 cat >>confdefs.h <<_ACEOF
36768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36769 _ACEOF
36770
36771 fi
36772 done
36773
36774 else
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36776 $as_echo_n "checking for _long double round functions... " >&6; }
36777 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36778 $as_echo_n "(cached) " >&6
36779 else
36780
36781
36782 ac_ext=cpp
36783 ac_cpp='$CXXCPP $CPPFLAGS'
36784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36787
36788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36789 /* end confdefs.h. */
36790 #include <math.h>
36791 int
36792 main ()
36793 {
36794 _ceill (0); _floorl (0);
36795 ;
36796 return 0;
36797 }
36798 _ACEOF
36799 if ac_fn_cxx_try_compile "$LINENO"; then :
36800 glibcxx_cv_func__long_double_round_use=yes
36801 else
36802 glibcxx_cv_func__long_double_round_use=no
36803 fi
36804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805 ac_ext=c
36806 ac_cpp='$CPP $CPPFLAGS'
36807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810
36811 fi
36812
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36814 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36815 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36816 for ac_func in _ceill _floorl
36817 do :
36818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36820 eval as_val=\$$as_ac_var
36821 if test "x$as_val" = x""yes; then :
36822 cat >>confdefs.h <<_ACEOF
36823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 _ACEOF
36825
36826 fi
36827 done
36828
36829 fi
36830 fi
36831
36832
36833
36834
36835
36836
36837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36838 $as_echo_n "checking for isnanl declaration... " >&6; }
36839 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36840 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36841 $as_echo_n "(cached) " >&6
36842 else
36843
36844
36845 ac_ext=cpp
36846 ac_cpp='$CXXCPP $CPPFLAGS'
36847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36850
36851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36852 /* end confdefs.h. */
36853 #include <math.h>
36854 #ifdef HAVE_IEEEFP_H
36855 #include <ieeefp.h>
36856 #endif
36857
36858 int
36859 main ()
36860 {
36861 isnanl(0);
36862 ;
36863 return 0;
36864 }
36865 _ACEOF
36866 if ac_fn_cxx_try_compile "$LINENO"; then :
36867 glibcxx_cv_func_isnanl_use=yes
36868 else
36869 glibcxx_cv_func_isnanl_use=no
36870 fi
36871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36872 ac_ext=c
36873 ac_cpp='$CPP $CPPFLAGS'
36874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877
36878
36879 fi
36880
36881 fi
36882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36883 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36884
36885 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36886 for ac_func in isnanl
36887 do :
36888 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36889 if test "x$ac_cv_func_isnanl" = x""yes; then :
36890 cat >>confdefs.h <<_ACEOF
36891 #define HAVE_ISNANL 1
36892 _ACEOF
36893
36894 fi
36895 done
36896
36897 else
36898
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36900 $as_echo_n "checking for _isnanl declaration... " >&6; }
36901 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36902 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36903 $as_echo_n "(cached) " >&6
36904 else
36905
36906
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h. */
36915 #include <math.h>
36916 #ifdef HAVE_IEEEFP_H
36917 #include <ieeefp.h>
36918 #endif
36919
36920 int
36921 main ()
36922 {
36923 _isnanl(0);
36924 ;
36925 return 0;
36926 }
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func__isnanl_use=yes
36930 else
36931 glibcxx_cv_func__isnanl_use=no
36932 fi
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941 fi
36942
36943 fi
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36945 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36946
36947 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36948 for ac_func in _isnanl
36949 do :
36950 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36951 if test "x$ac_cv_func__isnanl" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE__ISNANL 1
36954 _ACEOF
36955
36956 fi
36957 done
36958
36959 fi
36960 fi
36961
36962
36963
36964
36965
36966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36967 $as_echo_n "checking for isinfl declaration... " >&6; }
36968 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36969 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36970 $as_echo_n "(cached) " >&6
36971 else
36972
36973
36974 ac_ext=cpp
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979
36980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36981 /* end confdefs.h. */
36982 #include <math.h>
36983 #ifdef HAVE_IEEEFP_H
36984 #include <ieeefp.h>
36985 #endif
36986
36987 int
36988 main ()
36989 {
36990 isinfl(0);
36991 ;
36992 return 0;
36993 }
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996 glibcxx_cv_func_isinfl_use=yes
36997 else
36998 glibcxx_cv_func_isinfl_use=no
36999 fi
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001 ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010 fi
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37012 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37013
37014 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37015 for ac_func in isinfl
37016 do :
37017 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37018 if test "x$ac_cv_func_isinfl" = x""yes; then :
37019 cat >>confdefs.h <<_ACEOF
37020 #define HAVE_ISINFL 1
37021 _ACEOF
37022
37023 fi
37024 done
37025
37026 else
37027
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37029 $as_echo_n "checking for _isinfl declaration... " >&6; }
37030 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37031 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 #ifdef HAVE_IEEEFP_H
37046 #include <ieeefp.h>
37047 #endif
37048
37049 int
37050 main ()
37051 {
37052 _isinfl(0);
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func__isinfl_use=yes
37059 else
37060 glibcxx_cv_func__isinfl_use=no
37061 fi
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37068
37069
37070 fi
37071
37072 fi
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37074 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37075
37076 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37077 for ac_func in _isinfl
37078 do :
37079 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37080 if test "x$ac_cv_func__isinfl" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE__ISINFL 1
37083 _ACEOF
37084
37085 fi
37086 done
37087
37088 fi
37089 fi
37090
37091
37092
37093
37094
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37096 $as_echo_n "checking for atan2l declaration... " >&6; }
37097 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37098 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37101
37102
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37108
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37112 int
37113 main ()
37114 {
37115 atan2l(0, 0);
37116 ;
37117 return 0;
37118 }
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121 glibcxx_cv_func_atan2l_use=yes
37122 else
37123 glibcxx_cv_func_atan2l_use=no
37124 fi
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37131
37132
37133 fi
37134
37135 fi
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37137 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37138
37139 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37140 for ac_func in atan2l
37141 do :
37142 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37143 if test "x$ac_cv_func_atan2l" = x""yes; then :
37144 cat >>confdefs.h <<_ACEOF
37145 #define HAVE_ATAN2L 1
37146 _ACEOF
37147
37148 fi
37149 done
37150
37151 else
37152
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37154 $as_echo_n "checking for _atan2l declaration... " >&6; }
37155 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37156 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37157 $as_echo_n "(cached) " >&6
37158 else
37159
37160
37161 ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166
37167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h. */
37169 #include <math.h>
37170 int
37171 main ()
37172 {
37173 _atan2l(0, 0);
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func__atan2l_use=yes
37180 else
37181 glibcxx_cv_func__atan2l_use=no
37182 fi
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189
37190
37191 fi
37192
37193 fi
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37195 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37196
37197 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37198 for ac_func in _atan2l
37199 do :
37200 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37201 if test "x$ac_cv_func__atan2l" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE__ATAN2L 1
37204 _ACEOF
37205
37206 fi
37207 done
37208
37209 fi
37210 fi
37211
37212
37213
37214
37215
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37217 $as_echo_n "checking for expl declaration... " >&6; }
37218 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37219 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37220 $as_echo_n "(cached) " >&6
37221 else
37222
37223
37224 ac_ext=cpp
37225 ac_cpp='$CXXCPP $CPPFLAGS'
37226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229
37230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 /* end confdefs.h. */
37232 #include <math.h>
37233 #ifdef HAVE_IEEEFP_H
37234 #include <ieeefp.h>
37235 #endif
37236
37237 int
37238 main ()
37239 {
37240 expl(0);
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 if ac_fn_cxx_try_compile "$LINENO"; then :
37246 glibcxx_cv_func_expl_use=yes
37247 else
37248 glibcxx_cv_func_expl_use=no
37249 fi
37250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37251 ac_ext=c
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256
37257
37258 fi
37259
37260 fi
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37262 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37263
37264 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37265 for ac_func in expl
37266 do :
37267 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37268 if test "x$ac_cv_func_expl" = x""yes; then :
37269 cat >>confdefs.h <<_ACEOF
37270 #define HAVE_EXPL 1
37271 _ACEOF
37272
37273 fi
37274 done
37275
37276 else
37277
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37279 $as_echo_n "checking for _expl declaration... " >&6; }
37280 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37281 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37284
37285
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 #ifdef HAVE_IEEEFP_H
37296 #include <ieeefp.h>
37297 #endif
37298
37299 int
37300 main ()
37301 {
37302 _expl(0);
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func__expl_use=yes
37309 else
37310 glibcxx_cv_func__expl_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322 fi
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37324 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37325
37326 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37327 for ac_func in _expl
37328 do :
37329 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37330 if test "x$ac_cv_func__expl" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE__EXPL 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338 fi
37339 fi
37340
37341
37342
37343
37344
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37346 $as_echo_n "checking for fabsl declaration... " >&6; }
37347 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37348 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37349 $as_echo_n "(cached) " >&6
37350 else
37351
37352
37353 ac_ext=cpp
37354 ac_cpp='$CXXCPP $CPPFLAGS'
37355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37358
37359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37360 /* end confdefs.h. */
37361 #include <math.h>
37362 #ifdef HAVE_IEEEFP_H
37363 #include <ieeefp.h>
37364 #endif
37365
37366 int
37367 main ()
37368 {
37369 fabsl(0);
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375 glibcxx_cv_func_fabsl_use=yes
37376 else
37377 glibcxx_cv_func_fabsl_use=no
37378 fi
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385
37386
37387 fi
37388
37389 fi
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37391 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37392
37393 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37394 for ac_func in fabsl
37395 do :
37396 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37397 if test "x$ac_cv_func_fabsl" = x""yes; then :
37398 cat >>confdefs.h <<_ACEOF
37399 #define HAVE_FABSL 1
37400 _ACEOF
37401
37402 fi
37403 done
37404
37405 else
37406
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37408 $as_echo_n "checking for _fabsl declaration... " >&6; }
37409 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37410 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37424 #ifdef HAVE_IEEEFP_H
37425 #include <ieeefp.h>
37426 #endif
37427
37428 int
37429 main ()
37430 {
37431 _fabsl(0);
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 if ac_fn_cxx_try_compile "$LINENO"; then :
37437 glibcxx_cv_func__fabsl_use=yes
37438 else
37439 glibcxx_cv_func__fabsl_use=no
37440 fi
37441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37442 ac_ext=c
37443 ac_cpp='$CPP $CPPFLAGS'
37444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37447
37448
37449 fi
37450
37451 fi
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37453 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37454
37455 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37456 for ac_func in _fabsl
37457 do :
37458 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37459 if test "x$ac_cv_func__fabsl" = x""yes; then :
37460 cat >>confdefs.h <<_ACEOF
37461 #define HAVE__FABSL 1
37462 _ACEOF
37463
37464 fi
37465 done
37466
37467 fi
37468 fi
37469
37470
37471
37472
37473
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37475 $as_echo_n "checking for fmodl declaration... " >&6; }
37476 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37477 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37478 $as_echo_n "(cached) " >&6
37479 else
37480
37481
37482 ac_ext=cpp
37483 ac_cpp='$CXXCPP $CPPFLAGS'
37484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37487
37488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37489 /* end confdefs.h. */
37490 #include <math.h>
37491 int
37492 main ()
37493 {
37494 fmodl(0, 0);
37495 ;
37496 return 0;
37497 }
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500 glibcxx_cv_func_fmodl_use=yes
37501 else
37502 glibcxx_cv_func_fmodl_use=no
37503 fi
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37510
37511
37512 fi
37513
37514 fi
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37516 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37517
37518 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37519 for ac_func in fmodl
37520 do :
37521 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37522 if test "x$ac_cv_func_fmodl" = x""yes; then :
37523 cat >>confdefs.h <<_ACEOF
37524 #define HAVE_FMODL 1
37525 _ACEOF
37526
37527 fi
37528 done
37529
37530 else
37531
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37533 $as_echo_n "checking for _fmodl declaration... " >&6; }
37534 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37535 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37536 $as_echo_n "(cached) " >&6
37537 else
37538
37539
37540 ac_ext=cpp
37541 ac_cpp='$CXXCPP $CPPFLAGS'
37542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37545
37546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37547 /* end confdefs.h. */
37548 #include <math.h>
37549 int
37550 main ()
37551 {
37552 _fmodl(0, 0);
37553 ;
37554 return 0;
37555 }
37556 _ACEOF
37557 if ac_fn_cxx_try_compile "$LINENO"; then :
37558 glibcxx_cv_func__fmodl_use=yes
37559 else
37560 glibcxx_cv_func__fmodl_use=no
37561 fi
37562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563 ac_ext=c
37564 ac_cpp='$CPP $CPPFLAGS'
37565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37568
37569
37570 fi
37571
37572 fi
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37574 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37575
37576 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37577 for ac_func in _fmodl
37578 do :
37579 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37580 if test "x$ac_cv_func__fmodl" = x""yes; then :
37581 cat >>confdefs.h <<_ACEOF
37582 #define HAVE__FMODL 1
37583 _ACEOF
37584
37585 fi
37586 done
37587
37588 fi
37589 fi
37590
37591
37592
37593
37594
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37596 $as_echo_n "checking for frexpl declaration... " >&6; }
37597 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37598 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37599 $as_echo_n "(cached) " >&6
37600 else
37601
37602
37603 ac_ext=cpp
37604 ac_cpp='$CXXCPP $CPPFLAGS'
37605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37608
37609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37610 /* end confdefs.h. */
37611 #include <math.h>
37612 int
37613 main ()
37614 {
37615 frexpl(0, 0);
37616 ;
37617 return 0;
37618 }
37619 _ACEOF
37620 if ac_fn_cxx_try_compile "$LINENO"; then :
37621 glibcxx_cv_func_frexpl_use=yes
37622 else
37623 glibcxx_cv_func_frexpl_use=no
37624 fi
37625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37626 ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631
37632
37633 fi
37634
37635 fi
37636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37637 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37638
37639 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37640 for ac_func in frexpl
37641 do :
37642 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37643 if test "x$ac_cv_func_frexpl" = x""yes; then :
37644 cat >>confdefs.h <<_ACEOF
37645 #define HAVE_FREXPL 1
37646 _ACEOF
37647
37648 fi
37649 done
37650
37651 else
37652
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37654 $as_echo_n "checking for _frexpl declaration... " >&6; }
37655 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37656 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37659
37660
37661 ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h. */
37669 #include <math.h>
37670 int
37671 main ()
37672 {
37673 _frexpl(0, 0);
37674 ;
37675 return 0;
37676 }
37677 _ACEOF
37678 if ac_fn_cxx_try_compile "$LINENO"; then :
37679 glibcxx_cv_func__frexpl_use=yes
37680 else
37681 glibcxx_cv_func__frexpl_use=no
37682 fi
37683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37684 ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37689
37690
37691 fi
37692
37693 fi
37694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37695 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37696
37697 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37698 for ac_func in _frexpl
37699 do :
37700 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37701 if test "x$ac_cv_func__frexpl" = x""yes; then :
37702 cat >>confdefs.h <<_ACEOF
37703 #define HAVE__FREXPL 1
37704 _ACEOF
37705
37706 fi
37707 done
37708
37709 fi
37710 fi
37711
37712
37713
37714
37715
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37717 $as_echo_n "checking for hypotl declaration... " >&6; }
37718 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37719 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37720 $as_echo_n "(cached) " >&6
37721 else
37722
37723
37724 ac_ext=cpp
37725 ac_cpp='$CXXCPP $CPPFLAGS'
37726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729
37730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37731 /* end confdefs.h. */
37732 #include <math.h>
37733 int
37734 main ()
37735 {
37736 hypotl(0, 0);
37737 ;
37738 return 0;
37739 }
37740 _ACEOF
37741 if ac_fn_cxx_try_compile "$LINENO"; then :
37742 glibcxx_cv_func_hypotl_use=yes
37743 else
37744 glibcxx_cv_func_hypotl_use=no
37745 fi
37746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37747 ac_ext=c
37748 ac_cpp='$CPP $CPPFLAGS'
37749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37752
37753
37754 fi
37755
37756 fi
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37758 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37759
37760 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37761 for ac_func in hypotl
37762 do :
37763 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37764 if test "x$ac_cv_func_hypotl" = x""yes; then :
37765 cat >>confdefs.h <<_ACEOF
37766 #define HAVE_HYPOTL 1
37767 _ACEOF
37768
37769 fi
37770 done
37771
37772 else
37773
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37775 $as_echo_n "checking for _hypotl declaration... " >&6; }
37776 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37777 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37778 $as_echo_n "(cached) " >&6
37779 else
37780
37781
37782 ac_ext=cpp
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37787
37788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37789 /* end confdefs.h. */
37790 #include <math.h>
37791 int
37792 main ()
37793 {
37794 _hypotl(0, 0);
37795 ;
37796 return 0;
37797 }
37798 _ACEOF
37799 if ac_fn_cxx_try_compile "$LINENO"; then :
37800 glibcxx_cv_func__hypotl_use=yes
37801 else
37802 glibcxx_cv_func__hypotl_use=no
37803 fi
37804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37805 ac_ext=c
37806 ac_cpp='$CPP $CPPFLAGS'
37807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810
37811
37812 fi
37813
37814 fi
37815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37816 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37817
37818 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37819 for ac_func in _hypotl
37820 do :
37821 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37822 if test "x$ac_cv_func__hypotl" = x""yes; then :
37823 cat >>confdefs.h <<_ACEOF
37824 #define HAVE__HYPOTL 1
37825 _ACEOF
37826
37827 fi
37828 done
37829
37830 fi
37831 fi
37832
37833
37834
37835
37836
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37838 $as_echo_n "checking for ldexpl declaration... " >&6; }
37839 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37840 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37843
37844
37845 ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850
37851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h. */
37853 #include <math.h>
37854 int
37855 main ()
37856 {
37857 ldexpl(0, 0);
37858 ;
37859 return 0;
37860 }
37861 _ACEOF
37862 if ac_fn_cxx_try_compile "$LINENO"; then :
37863 glibcxx_cv_func_ldexpl_use=yes
37864 else
37865 glibcxx_cv_func_ldexpl_use=no
37866 fi
37867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37868 ac_ext=c
37869 ac_cpp='$CPP $CPPFLAGS'
37870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37873
37874
37875 fi
37876
37877 fi
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37879 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37880
37881 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37882 for ac_func in ldexpl
37883 do :
37884 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37885 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37886 cat >>confdefs.h <<_ACEOF
37887 #define HAVE_LDEXPL 1
37888 _ACEOF
37889
37890 fi
37891 done
37892
37893 else
37894
37895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37896 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37897 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37898 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37899 $as_echo_n "(cached) " >&6
37900 else
37901
37902
37903 ac_ext=cpp
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37908
37909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37910 /* end confdefs.h. */
37911 #include <math.h>
37912 int
37913 main ()
37914 {
37915 _ldexpl(0, 0);
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 if ac_fn_cxx_try_compile "$LINENO"; then :
37921 glibcxx_cv_func__ldexpl_use=yes
37922 else
37923 glibcxx_cv_func__ldexpl_use=no
37924 fi
37925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926 ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931
37932
37933 fi
37934
37935 fi
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37937 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37938
37939 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37940 for ac_func in _ldexpl
37941 do :
37942 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37943 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37944 cat >>confdefs.h <<_ACEOF
37945 #define HAVE__LDEXPL 1
37946 _ACEOF
37947
37948 fi
37949 done
37950
37951 fi
37952 fi
37953
37954
37955
37956
37957
37958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37959 $as_echo_n "checking for logl declaration... " >&6; }
37960 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37961 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37962 $as_echo_n "(cached) " >&6
37963 else
37964
37965
37966 ac_ext=cpp
37967 ac_cpp='$CXXCPP $CPPFLAGS'
37968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37971
37972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37973 /* end confdefs.h. */
37974 #include <math.h>
37975 #ifdef HAVE_IEEEFP_H
37976 #include <ieeefp.h>
37977 #endif
37978
37979 int
37980 main ()
37981 {
37982 logl(0);
37983 ;
37984 return 0;
37985 }
37986 _ACEOF
37987 if ac_fn_cxx_try_compile "$LINENO"; then :
37988 glibcxx_cv_func_logl_use=yes
37989 else
37990 glibcxx_cv_func_logl_use=no
37991 fi
37992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37993 ac_ext=c
37994 ac_cpp='$CPP $CPPFLAGS'
37995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37998
37999
38000 fi
38001
38002 fi
38003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38004 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38005
38006 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38007 for ac_func in logl
38008 do :
38009 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38010 if test "x$ac_cv_func_logl" = x""yes; then :
38011 cat >>confdefs.h <<_ACEOF
38012 #define HAVE_LOGL 1
38013 _ACEOF
38014
38015 fi
38016 done
38017
38018 else
38019
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38021 $as_echo_n "checking for _logl declaration... " >&6; }
38022 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38023 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38026
38027
38028 ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <math.h>
38037 #ifdef HAVE_IEEEFP_H
38038 #include <ieeefp.h>
38039 #endif
38040
38041 int
38042 main ()
38043 {
38044 _logl(0);
38045 ;
38046 return 0;
38047 }
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func__logl_use=yes
38051 else
38052 glibcxx_cv_func__logl_use=no
38053 fi
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063
38064 fi
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38066 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38067
38068 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38069 for ac_func in _logl
38070 do :
38071 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38072 if test "x$ac_cv_func__logl" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE__LOGL 1
38075 _ACEOF
38076
38077 fi
38078 done
38079
38080 fi
38081 fi
38082
38083
38084
38085
38086
38087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38088 $as_echo_n "checking for log10l declaration... " >&6; }
38089 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38090 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38091 $as_echo_n "(cached) " >&6
38092 else
38093
38094
38095 ac_ext=cpp
38096 ac_cpp='$CXXCPP $CPPFLAGS'
38097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38100
38101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38102 /* end confdefs.h. */
38103 #include <math.h>
38104 #ifdef HAVE_IEEEFP_H
38105 #include <ieeefp.h>
38106 #endif
38107
38108 int
38109 main ()
38110 {
38111 log10l(0);
38112 ;
38113 return 0;
38114 }
38115 _ACEOF
38116 if ac_fn_cxx_try_compile "$LINENO"; then :
38117 glibcxx_cv_func_log10l_use=yes
38118 else
38119 glibcxx_cv_func_log10l_use=no
38120 fi
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 ac_ext=c
38123 ac_cpp='$CPP $CPPFLAGS'
38124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38127
38128
38129 fi
38130
38131 fi
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38133 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38134
38135 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38136 for ac_func in log10l
38137 do :
38138 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38139 if test "x$ac_cv_func_log10l" = x""yes; then :
38140 cat >>confdefs.h <<_ACEOF
38141 #define HAVE_LOG10L 1
38142 _ACEOF
38143
38144 fi
38145 done
38146
38147 else
38148
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38150 $as_echo_n "checking for _log10l declaration... " >&6; }
38151 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38152 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38153 $as_echo_n "(cached) " >&6
38154 else
38155
38156
38157 ac_ext=cpp
38158 ac_cpp='$CXXCPP $CPPFLAGS'
38159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38164 /* end confdefs.h. */
38165 #include <math.h>
38166 #ifdef HAVE_IEEEFP_H
38167 #include <ieeefp.h>
38168 #endif
38169
38170 int
38171 main ()
38172 {
38173 _log10l(0);
38174 ;
38175 return 0;
38176 }
38177 _ACEOF
38178 if ac_fn_cxx_try_compile "$LINENO"; then :
38179 glibcxx_cv_func__log10l_use=yes
38180 else
38181 glibcxx_cv_func__log10l_use=no
38182 fi
38183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38184 ac_ext=c
38185 ac_cpp='$CPP $CPPFLAGS'
38186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189
38190
38191 fi
38192
38193 fi
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38195 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38196
38197 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38198 for ac_func in _log10l
38199 do :
38200 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38201 if test "x$ac_cv_func__log10l" = x""yes; then :
38202 cat >>confdefs.h <<_ACEOF
38203 #define HAVE__LOG10L 1
38204 _ACEOF
38205
38206 fi
38207 done
38208
38209 fi
38210 fi
38211
38212
38213
38214
38215
38216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38217 $as_echo_n "checking for modfl declaration... " >&6; }
38218 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38219 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38220 $as_echo_n "(cached) " >&6
38221 else
38222
38223
38224 ac_ext=cpp
38225 ac_cpp='$CXXCPP $CPPFLAGS'
38226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38229
38230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38231 /* end confdefs.h. */
38232 #include <math.h>
38233 int
38234 main ()
38235 {
38236 modfl(0, 0);
38237 ;
38238 return 0;
38239 }
38240 _ACEOF
38241 if ac_fn_cxx_try_compile "$LINENO"; then :
38242 glibcxx_cv_func_modfl_use=yes
38243 else
38244 glibcxx_cv_func_modfl_use=no
38245 fi
38246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38247 ac_ext=c
38248 ac_cpp='$CPP $CPPFLAGS'
38249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38252
38253
38254 fi
38255
38256 fi
38257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38258 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38259
38260 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38261 for ac_func in modfl
38262 do :
38263 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38264 if test "x$ac_cv_func_modfl" = x""yes; then :
38265 cat >>confdefs.h <<_ACEOF
38266 #define HAVE_MODFL 1
38267 _ACEOF
38268
38269 fi
38270 done
38271
38272 else
38273
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38275 $as_echo_n "checking for _modfl declaration... " >&6; }
38276 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38277 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38278 $as_echo_n "(cached) " >&6
38279 else
38280
38281
38282 ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287
38288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h. */
38290 #include <math.h>
38291 int
38292 main ()
38293 {
38294 _modfl(0, 0);
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func__modfl_use=yes
38301 else
38302 glibcxx_cv_func__modfl_use=no
38303 fi
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38310
38311
38312 fi
38313
38314 fi
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38316 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38317
38318 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38319 for ac_func in _modfl
38320 do :
38321 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38322 if test "x$ac_cv_func__modfl" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE__MODFL 1
38325 _ACEOF
38326
38327 fi
38328 done
38329
38330 fi
38331 fi
38332
38333
38334
38335
38336
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38338 $as_echo_n "checking for powl declaration... " >&6; }
38339 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38340 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38341 $as_echo_n "(cached) " >&6
38342 else
38343
38344
38345 ac_ext=cpp
38346 ac_cpp='$CXXCPP $CPPFLAGS'
38347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38350
38351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38352 /* end confdefs.h. */
38353 #include <math.h>
38354 int
38355 main ()
38356 {
38357 powl(0, 0);
38358 ;
38359 return 0;
38360 }
38361 _ACEOF
38362 if ac_fn_cxx_try_compile "$LINENO"; then :
38363 glibcxx_cv_func_powl_use=yes
38364 else
38365 glibcxx_cv_func_powl_use=no
38366 fi
38367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38368 ac_ext=c
38369 ac_cpp='$CPP $CPPFLAGS'
38370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38373
38374
38375 fi
38376
38377 fi
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38379 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38380
38381 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38382 for ac_func in powl
38383 do :
38384 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38385 if test "x$ac_cv_func_powl" = x""yes; then :
38386 cat >>confdefs.h <<_ACEOF
38387 #define HAVE_POWL 1
38388 _ACEOF
38389
38390 fi
38391 done
38392
38393 else
38394
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38396 $as_echo_n "checking for _powl declaration... " >&6; }
38397 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38398 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38399 $as_echo_n "(cached) " >&6
38400 else
38401
38402
38403 ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408
38409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h. */
38411 #include <math.h>
38412 int
38413 main ()
38414 {
38415 _powl(0, 0);
38416 ;
38417 return 0;
38418 }
38419 _ACEOF
38420 if ac_fn_cxx_try_compile "$LINENO"; then :
38421 glibcxx_cv_func__powl_use=yes
38422 else
38423 glibcxx_cv_func__powl_use=no
38424 fi
38425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38426 ac_ext=c
38427 ac_cpp='$CPP $CPPFLAGS'
38428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431
38432
38433 fi
38434
38435 fi
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38437 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38438
38439 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38440 for ac_func in _powl
38441 do :
38442 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38443 if test "x$ac_cv_func__powl" = x""yes; then :
38444 cat >>confdefs.h <<_ACEOF
38445 #define HAVE__POWL 1
38446 _ACEOF
38447
38448 fi
38449 done
38450
38451 fi
38452 fi
38453
38454
38455
38456
38457
38458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38459 $as_echo_n "checking for sqrtl declaration... " >&6; }
38460 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38461 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38462 $as_echo_n "(cached) " >&6
38463 else
38464
38465
38466 ac_ext=cpp
38467 ac_cpp='$CXXCPP $CPPFLAGS'
38468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471
38472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38473 /* end confdefs.h. */
38474 #include <math.h>
38475 #ifdef HAVE_IEEEFP_H
38476 #include <ieeefp.h>
38477 #endif
38478
38479 int
38480 main ()
38481 {
38482 sqrtl(0);
38483 ;
38484 return 0;
38485 }
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488 glibcxx_cv_func_sqrtl_use=yes
38489 else
38490 glibcxx_cv_func_sqrtl_use=no
38491 fi
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498
38499
38500 fi
38501
38502 fi
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38504 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38505
38506 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38507 for ac_func in sqrtl
38508 do :
38509 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38510 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38511 cat >>confdefs.h <<_ACEOF
38512 #define HAVE_SQRTL 1
38513 _ACEOF
38514
38515 fi
38516 done
38517
38518 else
38519
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38521 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38522 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38523 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38524 $as_echo_n "(cached) " >&6
38525 else
38526
38527
38528 ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533
38534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h. */
38536 #include <math.h>
38537 #ifdef HAVE_IEEEFP_H
38538 #include <ieeefp.h>
38539 #endif
38540
38541 int
38542 main ()
38543 {
38544 _sqrtl(0);
38545 ;
38546 return 0;
38547 }
38548 _ACEOF
38549 if ac_fn_cxx_try_compile "$LINENO"; then :
38550 glibcxx_cv_func__sqrtl_use=yes
38551 else
38552 glibcxx_cv_func__sqrtl_use=no
38553 fi
38554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38555 ac_ext=c
38556 ac_cpp='$CPP $CPPFLAGS'
38557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560
38561
38562 fi
38563
38564 fi
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38566 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38567
38568 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38569 for ac_func in _sqrtl
38570 do :
38571 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38572 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38573 cat >>confdefs.h <<_ACEOF
38574 #define HAVE__SQRTL 1
38575 _ACEOF
38576
38577 fi
38578 done
38579
38580 fi
38581 fi
38582
38583
38584
38585
38586
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38588 $as_echo_n "checking for sincosl declaration... " >&6; }
38589 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38590 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38591 $as_echo_n "(cached) " >&6
38592 else
38593
38594
38595 ac_ext=cpp
38596 ac_cpp='$CXXCPP $CPPFLAGS'
38597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600
38601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38602 /* end confdefs.h. */
38603 #include <math.h>
38604 int
38605 main ()
38606 {
38607 sincosl(0, 0, 0);
38608 ;
38609 return 0;
38610 }
38611 _ACEOF
38612 if ac_fn_cxx_try_compile "$LINENO"; then :
38613 glibcxx_cv_func_sincosl_use=yes
38614 else
38615 glibcxx_cv_func_sincosl_use=no
38616 fi
38617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38618 ac_ext=c
38619 ac_cpp='$CPP $CPPFLAGS'
38620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38623
38624
38625 fi
38626
38627 fi
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38629 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38630
38631 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38632 for ac_func in sincosl
38633 do :
38634 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38635 if test "x$ac_cv_func_sincosl" = x""yes; then :
38636 cat >>confdefs.h <<_ACEOF
38637 #define HAVE_SINCOSL 1
38638 _ACEOF
38639
38640 fi
38641 done
38642
38643 else
38644
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38646 $as_echo_n "checking for _sincosl declaration... " >&6; }
38647 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38648 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38649 $as_echo_n "(cached) " >&6
38650 else
38651
38652
38653 ac_ext=cpp
38654 ac_cpp='$CXXCPP $CPPFLAGS'
38655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38658
38659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38660 /* end confdefs.h. */
38661 #include <math.h>
38662 int
38663 main ()
38664 {
38665 _sincosl(0, 0, 0);
38666 ;
38667 return 0;
38668 }
38669 _ACEOF
38670 if ac_fn_cxx_try_compile "$LINENO"; then :
38671 glibcxx_cv_func__sincosl_use=yes
38672 else
38673 glibcxx_cv_func__sincosl_use=no
38674 fi
38675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38676 ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681
38682
38683 fi
38684
38685 fi
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38687 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38688
38689 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38690 for ac_func in _sincosl
38691 do :
38692 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38693 if test "x$ac_cv_func__sincosl" = x""yes; then :
38694 cat >>confdefs.h <<_ACEOF
38695 #define HAVE__SINCOSL 1
38696 _ACEOF
38697
38698 fi
38699 done
38700
38701 fi
38702 fi
38703
38704
38705
38706
38707
38708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38709 $as_echo_n "checking for finitel declaration... " >&6; }
38710 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38711 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38712 $as_echo_n "(cached) " >&6
38713 else
38714
38715
38716 ac_ext=cpp
38717 ac_cpp='$CXXCPP $CPPFLAGS'
38718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38721
38722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38723 /* end confdefs.h. */
38724 #include <math.h>
38725 #ifdef HAVE_IEEEFP_H
38726 #include <ieeefp.h>
38727 #endif
38728
38729 int
38730 main ()
38731 {
38732 finitel(0);
38733 ;
38734 return 0;
38735 }
38736 _ACEOF
38737 if ac_fn_cxx_try_compile "$LINENO"; then :
38738 glibcxx_cv_func_finitel_use=yes
38739 else
38740 glibcxx_cv_func_finitel_use=no
38741 fi
38742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38743 ac_ext=c
38744 ac_cpp='$CPP $CPPFLAGS'
38745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38748
38749
38750 fi
38751
38752 fi
38753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38754 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38755
38756 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38757 for ac_func in finitel
38758 do :
38759 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38760 if test "x$ac_cv_func_finitel" = x""yes; then :
38761 cat >>confdefs.h <<_ACEOF
38762 #define HAVE_FINITEL 1
38763 _ACEOF
38764
38765 fi
38766 done
38767
38768 else
38769
38770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38771 $as_echo_n "checking for _finitel declaration... " >&6; }
38772 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38773 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38774 $as_echo_n "(cached) " >&6
38775 else
38776
38777
38778 ac_ext=cpp
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783
38784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38785 /* end confdefs.h. */
38786 #include <math.h>
38787 #ifdef HAVE_IEEEFP_H
38788 #include <ieeefp.h>
38789 #endif
38790
38791 int
38792 main ()
38793 {
38794 _finitel(0);
38795 ;
38796 return 0;
38797 }
38798 _ACEOF
38799 if ac_fn_cxx_try_compile "$LINENO"; then :
38800 glibcxx_cv_func__finitel_use=yes
38801 else
38802 glibcxx_cv_func__finitel_use=no
38803 fi
38804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38805 ac_ext=c
38806 ac_cpp='$CPP $CPPFLAGS'
38807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810
38811
38812 fi
38813
38814 fi
38815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38816 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38817
38818 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38819 for ac_func in _finitel
38820 do :
38821 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38822 if test "x$ac_cv_func__finitel" = x""yes; then :
38823 cat >>confdefs.h <<_ACEOF
38824 #define HAVE__FINITEL 1
38825 _ACEOF
38826
38827 fi
38828 done
38829
38830 fi
38831 fi
38832
38833
38834
38835
38836 LIBS="$ac_save_LIBS"
38837 CXXFLAGS="$ac_save_CXXFLAGS"
38838
38839
38840 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38841 ac_save_CXXFLAGS="$CXXFLAGS"
38842 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38843
38844
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38846 $as_echo_n "checking for strtold declaration... " >&6; }
38847 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38848 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38849 $as_echo_n "(cached) " >&6
38850 else
38851
38852
38853 ac_ext=cpp
38854 ac_cpp='$CXXCPP $CPPFLAGS'
38855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858
38859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38860 /* end confdefs.h. */
38861 #include <stdlib.h>
38862 int
38863 main ()
38864 {
38865 strtold(0, 0);
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 if ac_fn_cxx_try_compile "$LINENO"; then :
38871 glibcxx_cv_func_strtold_use=yes
38872 else
38873 glibcxx_cv_func_strtold_use=no
38874 fi
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881
38882
38883 fi
38884
38885 fi
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38887 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38888 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38889 for ac_func in strtold
38890 do :
38891 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38892 if test "x$ac_cv_func_strtold" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE_STRTOLD 1
38895 _ACEOF
38896
38897 fi
38898 done
38899
38900 fi
38901
38902
38903
38904
38905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38906 $as_echo_n "checking for strtof declaration... " >&6; }
38907 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38908 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38909 $as_echo_n "(cached) " >&6
38910 else
38911
38912
38913 ac_ext=cpp
38914 ac_cpp='$CXXCPP $CPPFLAGS'
38915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38918
38919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38920 /* end confdefs.h. */
38921 #include <stdlib.h>
38922 int
38923 main ()
38924 {
38925 strtof(0, 0);
38926 ;
38927 return 0;
38928 }
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931 glibcxx_cv_func_strtof_use=yes
38932 else
38933 glibcxx_cv_func_strtof_use=no
38934 fi
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936 ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941
38942
38943 fi
38944
38945 fi
38946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38947 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38948 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38949 for ac_func in strtof
38950 do :
38951 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38952 if test "x$ac_cv_func_strtof" = x""yes; then :
38953 cat >>confdefs.h <<_ACEOF
38954 #define HAVE_STRTOF 1
38955 _ACEOF
38956
38957 fi
38958 done
38959
38960 fi
38961
38962
38963
38964
38965 CXXFLAGS="$ac_save_CXXFLAGS"
38966
38967 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38968
38969 # We don't yet support AIX's TLS ABI.
38970 #GCC_CHECK_TLS
38971
38972
38973
38974
38975
38976 am_save_CPPFLAGS="$CPPFLAGS"
38977
38978 for element in $INCICONV; do
38979 haveit=
38980 for x in $CPPFLAGS; do
38981
38982 acl_save_prefix="$prefix"
38983 prefix="$acl_final_prefix"
38984 acl_save_exec_prefix="$exec_prefix"
38985 exec_prefix="$acl_final_exec_prefix"
38986 eval x=\"$x\"
38987 exec_prefix="$acl_save_exec_prefix"
38988 prefix="$acl_save_prefix"
38989
38990 if test "X$x" = "X$element"; then
38991 haveit=yes
38992 break
38993 fi
38994 done
38995 if test -z "$haveit"; then
38996 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38997 fi
38998 done
38999
39000
39001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39002 $as_echo_n "checking for iconv... " >&6; }
39003 if test "${am_cv_func_iconv+set}" = set; then :
39004 $as_echo_n "(cached) " >&6
39005 else
39006
39007 am_cv_func_iconv="no, consider installing GNU libiconv"
39008 am_cv_lib_iconv=no
39009 if test x$gcc_no_link = xyes; then
39010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39011 fi
39012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39013 /* end confdefs.h. */
39014 #include <stdlib.h>
39015 #include <iconv.h>
39016 int
39017 main ()
39018 {
39019 iconv_t cd = iconv_open("","");
39020 iconv(cd,NULL,NULL,NULL,NULL);
39021 iconv_close(cd);
39022 ;
39023 return 0;
39024 }
39025 _ACEOF
39026 if ac_fn_c_try_link "$LINENO"; then :
39027 am_cv_func_iconv=yes
39028 fi
39029 rm -f core conftest.err conftest.$ac_objext \
39030 conftest$ac_exeext conftest.$ac_ext
39031 if test "$am_cv_func_iconv" != yes; then
39032 am_save_LIBS="$LIBS"
39033 LIBS="$LIBS $LIBICONV"
39034 if test x$gcc_no_link = xyes; then
39035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39036 fi
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h. */
39039 #include <stdlib.h>
39040 #include <iconv.h>
39041 int
39042 main ()
39043 {
39044 iconv_t cd = iconv_open("","");
39045 iconv(cd,NULL,NULL,NULL,NULL);
39046 iconv_close(cd);
39047 ;
39048 return 0;
39049 }
39050 _ACEOF
39051 if ac_fn_c_try_link "$LINENO"; then :
39052 am_cv_lib_iconv=yes
39053 am_cv_func_iconv=yes
39054 fi
39055 rm -f core conftest.err conftest.$ac_objext \
39056 conftest$ac_exeext conftest.$ac_ext
39057 LIBS="$am_save_LIBS"
39058 fi
39059
39060 fi
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39062 $as_echo "$am_cv_func_iconv" >&6; }
39063 if test "$am_cv_func_iconv" = yes; then
39064
39065 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39066
39067 fi
39068 if test "$am_cv_lib_iconv" = yes; then
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39070 $as_echo_n "checking how to link with libiconv... " >&6; }
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39072 $as_echo "$LIBICONV" >&6; }
39073 else
39074 CPPFLAGS="$am_save_CPPFLAGS"
39075 LIBICONV=
39076 LTLIBICONV=
39077 fi
39078
39079
39080
39081 if test "$am_cv_func_iconv" = yes; then
39082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39083 $as_echo_n "checking for iconv declaration... " >&6; }
39084 if test "${am_cv_proto_iconv+set}" = set; then :
39085 $as_echo_n "(cached) " >&6
39086 else
39087
39088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39089 /* end confdefs.h. */
39090
39091 #include <stdlib.h>
39092 #include <iconv.h>
39093 extern
39094 #ifdef __cplusplus
39095 "C"
39096 #endif
39097 #if defined(__STDC__) || defined(__cplusplus)
39098 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39099 #else
39100 size_t iconv();
39101 #endif
39102
39103 int
39104 main ()
39105 {
39106
39107 ;
39108 return 0;
39109 }
39110 _ACEOF
39111 if ac_fn_c_try_compile "$LINENO"; then :
39112 am_cv_proto_iconv_arg1=""
39113 else
39114 am_cv_proto_iconv_arg1="const"
39115 fi
39116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39117 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);"
39118 fi
39119
39120 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39122 }$am_cv_proto_iconv" >&5
39123 $as_echo "${ac_t:-
39124 }$am_cv_proto_iconv" >&6; }
39125
39126 cat >>confdefs.h <<_ACEOF
39127 #define ICONV_CONST $am_cv_proto_iconv_arg1
39128 _ACEOF
39129
39130 fi
39131
39132 ;;
39133
39134 *-darwin*)
39135 # Darwin versions vary, but the linker should work in a cross environment,
39136 # so we just check for all the features here.
39137 # Check for available headers.
39138
39139 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39140
39141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39142 ac_save_CXXFLAGS="$CXXFLAGS"
39143 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39144
39145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39146 $as_echo_n "checking for sin in -lm... " >&6; }
39147 if test "${ac_cv_lib_m_sin+set}" = set; then :
39148 $as_echo_n "(cached) " >&6
39149 else
39150 ac_check_lib_save_LIBS=$LIBS
39151 LIBS="-lm $LIBS"
39152 if test x$gcc_no_link = xyes; then
39153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39154 fi
39155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39156 /* end confdefs.h. */
39157
39158 /* Override any GCC internal prototype to avoid an error.
39159 Use char because int might match the return type of a GCC
39160 builtin and then its argument prototype would still apply. */
39161 #ifdef __cplusplus
39162 extern "C"
39163 #endif
39164 char sin ();
39165 int
39166 main ()
39167 {
39168 return sin ();
39169 ;
39170 return 0;
39171 }
39172 _ACEOF
39173 if ac_fn_c_try_link "$LINENO"; then :
39174 ac_cv_lib_m_sin=yes
39175 else
39176 ac_cv_lib_m_sin=no
39177 fi
39178 rm -f core conftest.err conftest.$ac_objext \
39179 conftest$ac_exeext conftest.$ac_ext
39180 LIBS=$ac_check_lib_save_LIBS
39181 fi
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39183 $as_echo "$ac_cv_lib_m_sin" >&6; }
39184 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39185 libm="-lm"
39186 fi
39187
39188 ac_save_LIBS="$LIBS"
39189 LIBS="$LIBS $libm"
39190
39191
39192
39193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39194 $as_echo_n "checking for isinf declaration... " >&6; }
39195 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39196 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39197 $as_echo_n "(cached) " >&6
39198 else
39199
39200
39201 ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39206
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39209 #include <math.h>
39210 #ifdef HAVE_IEEEFP_H
39211 #include <ieeefp.h>
39212 #endif
39213
39214 int
39215 main ()
39216 {
39217 isinf(0);
39218 ;
39219 return 0;
39220 }
39221 _ACEOF
39222 if ac_fn_cxx_try_compile "$LINENO"; then :
39223 glibcxx_cv_func_isinf_use=yes
39224 else
39225 glibcxx_cv_func_isinf_use=no
39226 fi
39227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39228 ac_ext=c
39229 ac_cpp='$CPP $CPPFLAGS'
39230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39233
39234
39235 fi
39236
39237 fi
39238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39239 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39240
39241 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39242 for ac_func in isinf
39243 do :
39244 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39245 if test "x$ac_cv_func_isinf" = x""yes; then :
39246 cat >>confdefs.h <<_ACEOF
39247 #define HAVE_ISINF 1
39248 _ACEOF
39249
39250 fi
39251 done
39252
39253 else
39254
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39256 $as_echo_n "checking for _isinf declaration... " >&6; }
39257 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39258 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39259 $as_echo_n "(cached) " >&6
39260 else
39261
39262
39263 ac_ext=cpp
39264 ac_cpp='$CXXCPP $CPPFLAGS'
39265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39268
39269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39270 /* end confdefs.h. */
39271 #include <math.h>
39272 #ifdef HAVE_IEEEFP_H
39273 #include <ieeefp.h>
39274 #endif
39275
39276 int
39277 main ()
39278 {
39279 _isinf(0);
39280 ;
39281 return 0;
39282 }
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285 glibcxx_cv_func__isinf_use=yes
39286 else
39287 glibcxx_cv_func__isinf_use=no
39288 fi
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295
39296
39297 fi
39298
39299 fi
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39301 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39302
39303 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39304 for ac_func in _isinf
39305 do :
39306 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39307 if test "x$ac_cv_func__isinf" = x""yes; then :
39308 cat >>confdefs.h <<_ACEOF
39309 #define HAVE__ISINF 1
39310 _ACEOF
39311
39312 fi
39313 done
39314
39315 fi
39316 fi
39317
39318
39319
39320
39321
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39323 $as_echo_n "checking for isnan declaration... " >&6; }
39324 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39325 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39326 $as_echo_n "(cached) " >&6
39327 else
39328
39329
39330 ac_ext=cpp
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39335
39336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39337 /* end confdefs.h. */
39338 #include <math.h>
39339 #ifdef HAVE_IEEEFP_H
39340 #include <ieeefp.h>
39341 #endif
39342
39343 int
39344 main ()
39345 {
39346 isnan(0);
39347 ;
39348 return 0;
39349 }
39350 _ACEOF
39351 if ac_fn_cxx_try_compile "$LINENO"; then :
39352 glibcxx_cv_func_isnan_use=yes
39353 else
39354 glibcxx_cv_func_isnan_use=no
39355 fi
39356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39357 ac_ext=c
39358 ac_cpp='$CPP $CPPFLAGS'
39359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362
39363
39364 fi
39365
39366 fi
39367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39368 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39369
39370 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39371 for ac_func in isnan
39372 do :
39373 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39374 if test "x$ac_cv_func_isnan" = x""yes; then :
39375 cat >>confdefs.h <<_ACEOF
39376 #define HAVE_ISNAN 1
39377 _ACEOF
39378
39379 fi
39380 done
39381
39382 else
39383
39384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39385 $as_echo_n "checking for _isnan declaration... " >&6; }
39386 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39387 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39388 $as_echo_n "(cached) " >&6
39389 else
39390
39391
39392 ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39397
39398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h. */
39400 #include <math.h>
39401 #ifdef HAVE_IEEEFP_H
39402 #include <ieeefp.h>
39403 #endif
39404
39405 int
39406 main ()
39407 {
39408 _isnan(0);
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414 glibcxx_cv_func__isnan_use=yes
39415 else
39416 glibcxx_cv_func__isnan_use=no
39417 fi
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424
39425
39426 fi
39427
39428 fi
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39430 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39431
39432 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39433 for ac_func in _isnan
39434 do :
39435 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39436 if test "x$ac_cv_func__isnan" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define HAVE__ISNAN 1
39439 _ACEOF
39440
39441 fi
39442 done
39443
39444 fi
39445 fi
39446
39447
39448
39449
39450
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39452 $as_echo_n "checking for finite declaration... " >&6; }
39453 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39454 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39455 $as_echo_n "(cached) " >&6
39456 else
39457
39458
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464
39465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h. */
39467 #include <math.h>
39468 #ifdef HAVE_IEEEFP_H
39469 #include <ieeefp.h>
39470 #endif
39471
39472 int
39473 main ()
39474 {
39475 finite(0);
39476 ;
39477 return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481 glibcxx_cv_func_finite_use=yes
39482 else
39483 glibcxx_cv_func_finite_use=no
39484 fi
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486 ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491
39492
39493 fi
39494
39495 fi
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39497 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39498
39499 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39500 for ac_func in finite
39501 do :
39502 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39503 if test "x$ac_cv_func_finite" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE_FINITE 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511 else
39512
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39514 $as_echo_n "checking for _finite declaration... " >&6; }
39515 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39516 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39519
39520
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39530 #ifdef HAVE_IEEEFP_H
39531 #include <ieeefp.h>
39532 #endif
39533
39534 int
39535 main ()
39536 {
39537 _finite(0);
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 if ac_fn_cxx_try_compile "$LINENO"; then :
39543 glibcxx_cv_func__finite_use=yes
39544 else
39545 glibcxx_cv_func__finite_use=no
39546 fi
39547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39548 ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553
39554
39555 fi
39556
39557 fi
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39559 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39560
39561 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39562 for ac_func in _finite
39563 do :
39564 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39565 if test "x$ac_cv_func__finite" = x""yes; then :
39566 cat >>confdefs.h <<_ACEOF
39567 #define HAVE__FINITE 1
39568 _ACEOF
39569
39570 fi
39571 done
39572
39573 fi
39574 fi
39575
39576
39577
39578
39579
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39581 $as_echo_n "checking for sincos declaration... " >&6; }
39582 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39583 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39584 $as_echo_n "(cached) " >&6
39585 else
39586
39587
39588 ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39593
39594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h. */
39596 #include <math.h>
39597 int
39598 main ()
39599 {
39600 sincos(0, 0, 0);
39601 ;
39602 return 0;
39603 }
39604 _ACEOF
39605 if ac_fn_cxx_try_compile "$LINENO"; then :
39606 glibcxx_cv_func_sincos_use=yes
39607 else
39608 glibcxx_cv_func_sincos_use=no
39609 fi
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39611 ac_ext=c
39612 ac_cpp='$CPP $CPPFLAGS'
39613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39616
39617
39618 fi
39619
39620 fi
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39622 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39623
39624 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39625 for ac_func in sincos
39626 do :
39627 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39628 if test "x$ac_cv_func_sincos" = x""yes; then :
39629 cat >>confdefs.h <<_ACEOF
39630 #define HAVE_SINCOS 1
39631 _ACEOF
39632
39633 fi
39634 done
39635
39636 else
39637
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39639 $as_echo_n "checking for _sincos declaration... " >&6; }
39640 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39641 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39642 $as_echo_n "(cached) " >&6
39643 else
39644
39645
39646 ac_ext=cpp
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651
39652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39653 /* end confdefs.h. */
39654 #include <math.h>
39655 int
39656 main ()
39657 {
39658 _sincos(0, 0, 0);
39659 ;
39660 return 0;
39661 }
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664 glibcxx_cv_func__sincos_use=yes
39665 else
39666 glibcxx_cv_func__sincos_use=no
39667 fi
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39674
39675
39676 fi
39677
39678 fi
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39680 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39681
39682 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39683 for ac_func in _sincos
39684 do :
39685 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39686 if test "x$ac_cv_func__sincos" = x""yes; then :
39687 cat >>confdefs.h <<_ACEOF
39688 #define HAVE__SINCOS 1
39689 _ACEOF
39690
39691 fi
39692 done
39693
39694 fi
39695 fi
39696
39697
39698
39699
39700
39701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39702 $as_echo_n "checking for fpclass declaration... " >&6; }
39703 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39704 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39705 $as_echo_n "(cached) " >&6
39706 else
39707
39708
39709 ac_ext=cpp
39710 ac_cpp='$CXXCPP $CPPFLAGS'
39711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39714
39715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39716 /* end confdefs.h. */
39717 #include <math.h>
39718 #ifdef HAVE_IEEEFP_H
39719 #include <ieeefp.h>
39720 #endif
39721
39722 int
39723 main ()
39724 {
39725 fpclass(0);
39726 ;
39727 return 0;
39728 }
39729 _ACEOF
39730 if ac_fn_cxx_try_compile "$LINENO"; then :
39731 glibcxx_cv_func_fpclass_use=yes
39732 else
39733 glibcxx_cv_func_fpclass_use=no
39734 fi
39735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39736 ac_ext=c
39737 ac_cpp='$CPP $CPPFLAGS'
39738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39741
39742
39743 fi
39744
39745 fi
39746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39747 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39748
39749 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39750 for ac_func in fpclass
39751 do :
39752 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39753 if test "x$ac_cv_func_fpclass" = x""yes; then :
39754 cat >>confdefs.h <<_ACEOF
39755 #define HAVE_FPCLASS 1
39756 _ACEOF
39757
39758 fi
39759 done
39760
39761 else
39762
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39764 $as_echo_n "checking for _fpclass declaration... " >&6; }
39765 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39766 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39767 $as_echo_n "(cached) " >&6
39768 else
39769
39770
39771 ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776
39777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h. */
39779 #include <math.h>
39780 #ifdef HAVE_IEEEFP_H
39781 #include <ieeefp.h>
39782 #endif
39783
39784 int
39785 main ()
39786 {
39787 _fpclass(0);
39788 ;
39789 return 0;
39790 }
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func__fpclass_use=yes
39794 else
39795 glibcxx_cv_func__fpclass_use=no
39796 fi
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807 fi
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39809 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39810
39811 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39812 for ac_func in _fpclass
39813 do :
39814 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39815 if test "x$ac_cv_func__fpclass" = x""yes; then :
39816 cat >>confdefs.h <<_ACEOF
39817 #define HAVE__FPCLASS 1
39818 _ACEOF
39819
39820 fi
39821 done
39822
39823 fi
39824 fi
39825
39826
39827
39828
39829
39830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39831 $as_echo_n "checking for qfpclass declaration... " >&6; }
39832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39834 $as_echo_n "(cached) " >&6
39835 else
39836
39837
39838 ac_ext=cpp
39839 ac_cpp='$CXXCPP $CPPFLAGS'
39840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39843
39844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39845 /* end confdefs.h. */
39846 #include <math.h>
39847 #ifdef HAVE_IEEEFP_H
39848 #include <ieeefp.h>
39849 #endif
39850
39851 int
39852 main ()
39853 {
39854 qfpclass(0);
39855 ;
39856 return 0;
39857 }
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func_qfpclass_use=yes
39861 else
39862 glibcxx_cv_func_qfpclass_use=no
39863 fi
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874 fi
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39876 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39877
39878 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39879 for ac_func in qfpclass
39880 do :
39881 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39882 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39883 cat >>confdefs.h <<_ACEOF
39884 #define HAVE_QFPCLASS 1
39885 _ACEOF
39886
39887 fi
39888 done
39889
39890 else
39891
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39893 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39894 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39895 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39896 $as_echo_n "(cached) " >&6
39897 else
39898
39899
39900 ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39905
39906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h. */
39908 #include <math.h>
39909 #ifdef HAVE_IEEEFP_H
39910 #include <ieeefp.h>
39911 #endif
39912
39913 int
39914 main ()
39915 {
39916 _qfpclass(0);
39917 ;
39918 return 0;
39919 }
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922 glibcxx_cv_func__qfpclass_use=yes
39923 else
39924 glibcxx_cv_func__qfpclass_use=no
39925 fi
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927 ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932
39933
39934 fi
39935
39936 fi
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39938 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39939
39940 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39941 for ac_func in _qfpclass
39942 do :
39943 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39944 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39945 cat >>confdefs.h <<_ACEOF
39946 #define HAVE__QFPCLASS 1
39947 _ACEOF
39948
39949 fi
39950 done
39951
39952 fi
39953 fi
39954
39955
39956
39957
39958
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39960 $as_echo_n "checking for hypot declaration... " >&6; }
39961 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39962 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39963 $as_echo_n "(cached) " >&6
39964 else
39965
39966
39967 ac_ext=cpp
39968 ac_cpp='$CXXCPP $CPPFLAGS'
39969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39972
39973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39974 /* end confdefs.h. */
39975 #include <math.h>
39976 int
39977 main ()
39978 {
39979 hypot(0, 0);
39980 ;
39981 return 0;
39982 }
39983 _ACEOF
39984 if ac_fn_cxx_try_compile "$LINENO"; then :
39985 glibcxx_cv_func_hypot_use=yes
39986 else
39987 glibcxx_cv_func_hypot_use=no
39988 fi
39989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39990 ac_ext=c
39991 ac_cpp='$CPP $CPPFLAGS'
39992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39995
39996
39997 fi
39998
39999 fi
40000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40001 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40002
40003 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40004 for ac_func in hypot
40005 do :
40006 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40007 if test "x$ac_cv_func_hypot" = x""yes; then :
40008 cat >>confdefs.h <<_ACEOF
40009 #define HAVE_HYPOT 1
40010 _ACEOF
40011
40012 fi
40013 done
40014
40015 else
40016
40017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40018 $as_echo_n "checking for _hypot declaration... " >&6; }
40019 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40020 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40021 $as_echo_n "(cached) " >&6
40022 else
40023
40024
40025 ac_ext=cpp
40026 ac_cpp='$CXXCPP $CPPFLAGS'
40027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40030
40031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40032 /* end confdefs.h. */
40033 #include <math.h>
40034 int
40035 main ()
40036 {
40037 _hypot(0, 0);
40038 ;
40039 return 0;
40040 }
40041 _ACEOF
40042 if ac_fn_cxx_try_compile "$LINENO"; then :
40043 glibcxx_cv_func__hypot_use=yes
40044 else
40045 glibcxx_cv_func__hypot_use=no
40046 fi
40047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40048 ac_ext=c
40049 ac_cpp='$CPP $CPPFLAGS'
40050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40053
40054
40055 fi
40056
40057 fi
40058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40059 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40060
40061 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40062 for ac_func in _hypot
40063 do :
40064 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40065 if test "x$ac_cv_func__hypot" = x""yes; then :
40066 cat >>confdefs.h <<_ACEOF
40067 #define HAVE__HYPOT 1
40068 _ACEOF
40069
40070 fi
40071 done
40072
40073 fi
40074 fi
40075
40076
40077
40078
40079
40080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40081 $as_echo_n "checking for float trig functions... " >&6; }
40082 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40083 $as_echo_n "(cached) " >&6
40084 else
40085
40086
40087 ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40092
40093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h. */
40095 #include <math.h>
40096 int
40097 main ()
40098 {
40099 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40100 ;
40101 return 0;
40102 }
40103 _ACEOF
40104 if ac_fn_cxx_try_compile "$LINENO"; then :
40105 glibcxx_cv_func_float_trig_use=yes
40106 else
40107 glibcxx_cv_func_float_trig_use=no
40108 fi
40109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40110 ac_ext=c
40111 ac_cpp='$CPP $CPPFLAGS'
40112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40115
40116 fi
40117
40118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40119 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40120 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40121 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40122 do :
40123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40125 eval as_val=\$$as_ac_var
40126 if test "x$as_val" = x""yes; then :
40127 cat >>confdefs.h <<_ACEOF
40128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40129 _ACEOF
40130
40131 fi
40132 done
40133
40134 else
40135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40136 $as_echo_n "checking for _float trig functions... " >&6; }
40137 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40138 $as_echo_n "(cached) " >&6
40139 else
40140
40141
40142 ac_ext=cpp
40143 ac_cpp='$CXXCPP $CPPFLAGS'
40144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40147
40148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40149 /* end confdefs.h. */
40150 #include <math.h>
40151 int
40152 main ()
40153 {
40154 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 if ac_fn_cxx_try_compile "$LINENO"; then :
40160 glibcxx_cv_func__float_trig_use=yes
40161 else
40162 glibcxx_cv_func__float_trig_use=no
40163 fi
40164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165 ac_ext=c
40166 ac_cpp='$CPP $CPPFLAGS'
40167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40170
40171 fi
40172
40173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40174 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40175 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40176 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40177 do :
40178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40180 eval as_val=\$$as_ac_var
40181 if test "x$as_val" = x""yes; then :
40182 cat >>confdefs.h <<_ACEOF
40183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40184 _ACEOF
40185
40186 fi
40187 done
40188
40189 fi
40190 fi
40191
40192
40193
40194
40195
40196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40197 $as_echo_n "checking for float round functions... " >&6; }
40198 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40199 $as_echo_n "(cached) " >&6
40200 else
40201
40202
40203 ac_ext=cpp
40204 ac_cpp='$CXXCPP $CPPFLAGS'
40205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208
40209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40210 /* end confdefs.h. */
40211 #include <math.h>
40212 int
40213 main ()
40214 {
40215 ceilf (0); floorf (0);
40216 ;
40217 return 0;
40218 }
40219 _ACEOF
40220 if ac_fn_cxx_try_compile "$LINENO"; then :
40221 glibcxx_cv_func_float_round_use=yes
40222 else
40223 glibcxx_cv_func_float_round_use=no
40224 fi
40225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40226 ac_ext=c
40227 ac_cpp='$CPP $CPPFLAGS'
40228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40231
40232 fi
40233
40234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40235 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40236 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40237 for ac_func in ceilf floorf
40238 do :
40239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40241 eval as_val=\$$as_ac_var
40242 if test "x$as_val" = x""yes; then :
40243 cat >>confdefs.h <<_ACEOF
40244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40245 _ACEOF
40246
40247 fi
40248 done
40249
40250 else
40251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40252 $as_echo_n "checking for _float round functions... " >&6; }
40253 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40254 $as_echo_n "(cached) " >&6
40255 else
40256
40257
40258 ac_ext=cpp
40259 ac_cpp='$CXXCPP $CPPFLAGS'
40260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40263
40264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40265 /* end confdefs.h. */
40266 #include <math.h>
40267 int
40268 main ()
40269 {
40270 _ceilf (0); _floorf (0);
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 if ac_fn_cxx_try_compile "$LINENO"; then :
40276 glibcxx_cv_func__float_round_use=yes
40277 else
40278 glibcxx_cv_func__float_round_use=no
40279 fi
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40281 ac_ext=c
40282 ac_cpp='$CPP $CPPFLAGS'
40283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40286
40287 fi
40288
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40292 for ac_func in _ceilf _floorf
40293 do :
40294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40296 eval as_val=\$$as_ac_var
40297 if test "x$as_val" = x""yes; then :
40298 cat >>confdefs.h <<_ACEOF
40299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40300 _ACEOF
40301
40302 fi
40303 done
40304
40305 fi
40306 fi
40307
40308
40309
40310
40311
40312
40313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40314 $as_echo_n "checking for expf declaration... " >&6; }
40315 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40316 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40317 $as_echo_n "(cached) " >&6
40318 else
40319
40320
40321 ac_ext=cpp
40322 ac_cpp='$CXXCPP $CPPFLAGS'
40323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40326
40327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40328 /* end confdefs.h. */
40329 #include <math.h>
40330 #ifdef HAVE_IEEEFP_H
40331 #include <ieeefp.h>
40332 #endif
40333
40334 int
40335 main ()
40336 {
40337 expf(0);
40338 ;
40339 return 0;
40340 }
40341 _ACEOF
40342 if ac_fn_cxx_try_compile "$LINENO"; then :
40343 glibcxx_cv_func_expf_use=yes
40344 else
40345 glibcxx_cv_func_expf_use=no
40346 fi
40347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40348 ac_ext=c
40349 ac_cpp='$CPP $CPPFLAGS'
40350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40353
40354
40355 fi
40356
40357 fi
40358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40359 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40360
40361 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40362 for ac_func in expf
40363 do :
40364 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40365 if test "x$ac_cv_func_expf" = x""yes; then :
40366 cat >>confdefs.h <<_ACEOF
40367 #define HAVE_EXPF 1
40368 _ACEOF
40369
40370 fi
40371 done
40372
40373 else
40374
40375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40376 $as_echo_n "checking for _expf declaration... " >&6; }
40377 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40378 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40379 $as_echo_n "(cached) " >&6
40380 else
40381
40382
40383 ac_ext=cpp
40384 ac_cpp='$CXXCPP $CPPFLAGS'
40385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40388
40389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40390 /* end confdefs.h. */
40391 #include <math.h>
40392 #ifdef HAVE_IEEEFP_H
40393 #include <ieeefp.h>
40394 #endif
40395
40396 int
40397 main ()
40398 {
40399 _expf(0);
40400 ;
40401 return 0;
40402 }
40403 _ACEOF
40404 if ac_fn_cxx_try_compile "$LINENO"; then :
40405 glibcxx_cv_func__expf_use=yes
40406 else
40407 glibcxx_cv_func__expf_use=no
40408 fi
40409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40410 ac_ext=c
40411 ac_cpp='$CPP $CPPFLAGS'
40412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40415
40416
40417 fi
40418
40419 fi
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40421 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40422
40423 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40424 for ac_func in _expf
40425 do :
40426 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40427 if test "x$ac_cv_func__expf" = x""yes; then :
40428 cat >>confdefs.h <<_ACEOF
40429 #define HAVE__EXPF 1
40430 _ACEOF
40431
40432 fi
40433 done
40434
40435 fi
40436 fi
40437
40438
40439
40440
40441
40442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40443 $as_echo_n "checking for isnanf declaration... " >&6; }
40444 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40445 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40446 $as_echo_n "(cached) " >&6
40447 else
40448
40449
40450 ac_ext=cpp
40451 ac_cpp='$CXXCPP $CPPFLAGS'
40452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40455
40456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40457 /* end confdefs.h. */
40458 #include <math.h>
40459 #ifdef HAVE_IEEEFP_H
40460 #include <ieeefp.h>
40461 #endif
40462
40463 int
40464 main ()
40465 {
40466 isnanf(0);
40467 ;
40468 return 0;
40469 }
40470 _ACEOF
40471 if ac_fn_cxx_try_compile "$LINENO"; then :
40472 glibcxx_cv_func_isnanf_use=yes
40473 else
40474 glibcxx_cv_func_isnanf_use=no
40475 fi
40476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40477 ac_ext=c
40478 ac_cpp='$CPP $CPPFLAGS'
40479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40482
40483
40484 fi
40485
40486 fi
40487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40488 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40489
40490 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40491 for ac_func in isnanf
40492 do :
40493 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40494 if test "x$ac_cv_func_isnanf" = x""yes; then :
40495 cat >>confdefs.h <<_ACEOF
40496 #define HAVE_ISNANF 1
40497 _ACEOF
40498
40499 fi
40500 done
40501
40502 else
40503
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40505 $as_echo_n "checking for _isnanf declaration... " >&6; }
40506 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40507 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40508 $as_echo_n "(cached) " >&6
40509 else
40510
40511
40512 ac_ext=cpp
40513 ac_cpp='$CXXCPP $CPPFLAGS'
40514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517
40518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40519 /* end confdefs.h. */
40520 #include <math.h>
40521 #ifdef HAVE_IEEEFP_H
40522 #include <ieeefp.h>
40523 #endif
40524
40525 int
40526 main ()
40527 {
40528 _isnanf(0);
40529 ;
40530 return 0;
40531 }
40532 _ACEOF
40533 if ac_fn_cxx_try_compile "$LINENO"; then :
40534 glibcxx_cv_func__isnanf_use=yes
40535 else
40536 glibcxx_cv_func__isnanf_use=no
40537 fi
40538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40539 ac_ext=c
40540 ac_cpp='$CPP $CPPFLAGS'
40541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40544
40545
40546 fi
40547
40548 fi
40549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40550 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40551
40552 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40553 for ac_func in _isnanf
40554 do :
40555 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40556 if test "x$ac_cv_func__isnanf" = x""yes; then :
40557 cat >>confdefs.h <<_ACEOF
40558 #define HAVE__ISNANF 1
40559 _ACEOF
40560
40561 fi
40562 done
40563
40564 fi
40565 fi
40566
40567
40568
40569
40570
40571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40572 $as_echo_n "checking for isinff declaration... " >&6; }
40573 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40574 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40575 $as_echo_n "(cached) " >&6
40576 else
40577
40578
40579 ac_ext=cpp
40580 ac_cpp='$CXXCPP $CPPFLAGS'
40581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40584
40585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40586 /* end confdefs.h. */
40587 #include <math.h>
40588 #ifdef HAVE_IEEEFP_H
40589 #include <ieeefp.h>
40590 #endif
40591
40592 int
40593 main ()
40594 {
40595 isinff(0);
40596 ;
40597 return 0;
40598 }
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func_isinff_use=yes
40602 else
40603 glibcxx_cv_func_isinff_use=no
40604 fi
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40611
40612
40613 fi
40614
40615 fi
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40617 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40618
40619 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40620 for ac_func in isinff
40621 do :
40622 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40623 if test "x$ac_cv_func_isinff" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE_ISINFF 1
40626 _ACEOF
40627
40628 fi
40629 done
40630
40631 else
40632
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40634 $as_echo_n "checking for _isinff declaration... " >&6; }
40635 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40636 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40637 $as_echo_n "(cached) " >&6
40638 else
40639
40640
40641 ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646
40647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h. */
40649 #include <math.h>
40650 #ifdef HAVE_IEEEFP_H
40651 #include <ieeefp.h>
40652 #endif
40653
40654 int
40655 main ()
40656 {
40657 _isinff(0);
40658 ;
40659 return 0;
40660 }
40661 _ACEOF
40662 if ac_fn_cxx_try_compile "$LINENO"; then :
40663 glibcxx_cv_func__isinff_use=yes
40664 else
40665 glibcxx_cv_func__isinff_use=no
40666 fi
40667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674
40675 fi
40676
40677 fi
40678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40679 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40680
40681 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40682 for ac_func in _isinff
40683 do :
40684 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40685 if test "x$ac_cv_func__isinff" = x""yes; then :
40686 cat >>confdefs.h <<_ACEOF
40687 #define HAVE__ISINFF 1
40688 _ACEOF
40689
40690 fi
40691 done
40692
40693 fi
40694 fi
40695
40696
40697
40698
40699
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40701 $as_echo_n "checking for atan2f declaration... " >&6; }
40702 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40703 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40704 $as_echo_n "(cached) " >&6
40705 else
40706
40707
40708 ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h. */
40716 #include <math.h>
40717 int
40718 main ()
40719 {
40720 atan2f(0, 0);
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 if ac_fn_cxx_try_compile "$LINENO"; then :
40726 glibcxx_cv_func_atan2f_use=yes
40727 else
40728 glibcxx_cv_func_atan2f_use=no
40729 fi
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731 ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40736
40737
40738 fi
40739
40740 fi
40741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40742 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40743
40744 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40745 for ac_func in atan2f
40746 do :
40747 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40748 if test "x$ac_cv_func_atan2f" = x""yes; then :
40749 cat >>confdefs.h <<_ACEOF
40750 #define HAVE_ATAN2F 1
40751 _ACEOF
40752
40753 fi
40754 done
40755
40756 else
40757
40758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40759 $as_echo_n "checking for _atan2f declaration... " >&6; }
40760 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40761 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40762 $as_echo_n "(cached) " >&6
40763 else
40764
40765
40766 ac_ext=cpp
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40771
40772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40773 /* end confdefs.h. */
40774 #include <math.h>
40775 int
40776 main ()
40777 {
40778 _atan2f(0, 0);
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 if ac_fn_cxx_try_compile "$LINENO"; then :
40784 glibcxx_cv_func__atan2f_use=yes
40785 else
40786 glibcxx_cv_func__atan2f_use=no
40787 fi
40788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40789 ac_ext=c
40790 ac_cpp='$CPP $CPPFLAGS'
40791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40794
40795
40796 fi
40797
40798 fi
40799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40800 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40801
40802 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40803 for ac_func in _atan2f
40804 do :
40805 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40806 if test "x$ac_cv_func__atan2f" = x""yes; then :
40807 cat >>confdefs.h <<_ACEOF
40808 #define HAVE__ATAN2F 1
40809 _ACEOF
40810
40811 fi
40812 done
40813
40814 fi
40815 fi
40816
40817
40818
40819
40820
40821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40822 $as_echo_n "checking for fabsf declaration... " >&6; }
40823 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40824 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40825 $as_echo_n "(cached) " >&6
40826 else
40827
40828
40829 ac_ext=cpp
40830 ac_cpp='$CXXCPP $CPPFLAGS'
40831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40834
40835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40836 /* end confdefs.h. */
40837 #include <math.h>
40838 #ifdef HAVE_IEEEFP_H
40839 #include <ieeefp.h>
40840 #endif
40841
40842 int
40843 main ()
40844 {
40845 fabsf(0);
40846 ;
40847 return 0;
40848 }
40849 _ACEOF
40850 if ac_fn_cxx_try_compile "$LINENO"; then :
40851 glibcxx_cv_func_fabsf_use=yes
40852 else
40853 glibcxx_cv_func_fabsf_use=no
40854 fi
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856 ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861
40862
40863 fi
40864
40865 fi
40866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40867 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40868
40869 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40870 for ac_func in fabsf
40871 do :
40872 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40873 if test "x$ac_cv_func_fabsf" = x""yes; then :
40874 cat >>confdefs.h <<_ACEOF
40875 #define HAVE_FABSF 1
40876 _ACEOF
40877
40878 fi
40879 done
40880
40881 else
40882
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40884 $as_echo_n "checking for _fabsf declaration... " >&6; }
40885 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40886 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40887 $as_echo_n "(cached) " >&6
40888 else
40889
40890
40891 ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <math.h>
40900 #ifdef HAVE_IEEEFP_H
40901 #include <ieeefp.h>
40902 #endif
40903
40904 int
40905 main ()
40906 {
40907 _fabsf(0);
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 if ac_fn_cxx_try_compile "$LINENO"; then :
40913 glibcxx_cv_func__fabsf_use=yes
40914 else
40915 glibcxx_cv_func__fabsf_use=no
40916 fi
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918 ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923
40924
40925 fi
40926
40927 fi
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40929 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40930
40931 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40932 for ac_func in _fabsf
40933 do :
40934 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40935 if test "x$ac_cv_func__fabsf" = x""yes; then :
40936 cat >>confdefs.h <<_ACEOF
40937 #define HAVE__FABSF 1
40938 _ACEOF
40939
40940 fi
40941 done
40942
40943 fi
40944 fi
40945
40946
40947
40948
40949
40950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40951 $as_echo_n "checking for fmodf declaration... " >&6; }
40952 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40953 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40954 $as_echo_n "(cached) " >&6
40955 else
40956
40957
40958 ac_ext=cpp
40959 ac_cpp='$CXXCPP $CPPFLAGS'
40960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40963
40964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40965 /* end confdefs.h. */
40966 #include <math.h>
40967 int
40968 main ()
40969 {
40970 fmodf(0, 0);
40971 ;
40972 return 0;
40973 }
40974 _ACEOF
40975 if ac_fn_cxx_try_compile "$LINENO"; then :
40976 glibcxx_cv_func_fmodf_use=yes
40977 else
40978 glibcxx_cv_func_fmodf_use=no
40979 fi
40980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40981 ac_ext=c
40982 ac_cpp='$CPP $CPPFLAGS'
40983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40986
40987
40988 fi
40989
40990 fi
40991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40992 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40993
40994 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40995 for ac_func in fmodf
40996 do :
40997 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40998 if test "x$ac_cv_func_fmodf" = x""yes; then :
40999 cat >>confdefs.h <<_ACEOF
41000 #define HAVE_FMODF 1
41001 _ACEOF
41002
41003 fi
41004 done
41005
41006 else
41007
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41009 $as_echo_n "checking for _fmodf declaration... " >&6; }
41010 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41011 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41012 $as_echo_n "(cached) " >&6
41013 else
41014
41015
41016 ac_ext=cpp
41017 ac_cpp='$CXXCPP $CPPFLAGS'
41018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41021
41022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41023 /* end confdefs.h. */
41024 #include <math.h>
41025 int
41026 main ()
41027 {
41028 _fmodf(0, 0);
41029 ;
41030 return 0;
41031 }
41032 _ACEOF
41033 if ac_fn_cxx_try_compile "$LINENO"; then :
41034 glibcxx_cv_func__fmodf_use=yes
41035 else
41036 glibcxx_cv_func__fmodf_use=no
41037 fi
41038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41039 ac_ext=c
41040 ac_cpp='$CPP $CPPFLAGS'
41041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41044
41045
41046 fi
41047
41048 fi
41049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41050 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41051
41052 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41053 for ac_func in _fmodf
41054 do :
41055 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41056 if test "x$ac_cv_func__fmodf" = x""yes; then :
41057 cat >>confdefs.h <<_ACEOF
41058 #define HAVE__FMODF 1
41059 _ACEOF
41060
41061 fi
41062 done
41063
41064 fi
41065 fi
41066
41067
41068
41069
41070
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41072 $as_echo_n "checking for frexpf declaration... " >&6; }
41073 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41074 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41075 $as_echo_n "(cached) " >&6
41076 else
41077
41078
41079 ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41084
41085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h. */
41087 #include <math.h>
41088 int
41089 main ()
41090 {
41091 frexpf(0, 0);
41092 ;
41093 return 0;
41094 }
41095 _ACEOF
41096 if ac_fn_cxx_try_compile "$LINENO"; then :
41097 glibcxx_cv_func_frexpf_use=yes
41098 else
41099 glibcxx_cv_func_frexpf_use=no
41100 fi
41101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41102 ac_ext=c
41103 ac_cpp='$CPP $CPPFLAGS'
41104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107
41108
41109 fi
41110
41111 fi
41112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41113 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41114
41115 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41116 for ac_func in frexpf
41117 do :
41118 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41119 if test "x$ac_cv_func_frexpf" = x""yes; then :
41120 cat >>confdefs.h <<_ACEOF
41121 #define HAVE_FREXPF 1
41122 _ACEOF
41123
41124 fi
41125 done
41126
41127 else
41128
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41130 $as_echo_n "checking for _frexpf declaration... " >&6; }
41131 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41132 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41133 $as_echo_n "(cached) " >&6
41134 else
41135
41136
41137 ac_ext=cpp
41138 ac_cpp='$CXXCPP $CPPFLAGS'
41139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41142
41143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41144 /* end confdefs.h. */
41145 #include <math.h>
41146 int
41147 main ()
41148 {
41149 _frexpf(0, 0);
41150 ;
41151 return 0;
41152 }
41153 _ACEOF
41154 if ac_fn_cxx_try_compile "$LINENO"; then :
41155 glibcxx_cv_func__frexpf_use=yes
41156 else
41157 glibcxx_cv_func__frexpf_use=no
41158 fi
41159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41160 ac_ext=c
41161 ac_cpp='$CPP $CPPFLAGS'
41162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41165
41166
41167 fi
41168
41169 fi
41170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41171 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41172
41173 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41174 for ac_func in _frexpf
41175 do :
41176 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41177 if test "x$ac_cv_func__frexpf" = x""yes; then :
41178 cat >>confdefs.h <<_ACEOF
41179 #define HAVE__FREXPF 1
41180 _ACEOF
41181
41182 fi
41183 done
41184
41185 fi
41186 fi
41187
41188
41189
41190
41191
41192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41193 $as_echo_n "checking for hypotf declaration... " >&6; }
41194 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41195 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41196 $as_echo_n "(cached) " >&6
41197 else
41198
41199
41200 ac_ext=cpp
41201 ac_cpp='$CXXCPP $CPPFLAGS'
41202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41205
41206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41207 /* end confdefs.h. */
41208 #include <math.h>
41209 int
41210 main ()
41211 {
41212 hypotf(0, 0);
41213 ;
41214 return 0;
41215 }
41216 _ACEOF
41217 if ac_fn_cxx_try_compile "$LINENO"; then :
41218 glibcxx_cv_func_hypotf_use=yes
41219 else
41220 glibcxx_cv_func_hypotf_use=no
41221 fi
41222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41223 ac_ext=c
41224 ac_cpp='$CPP $CPPFLAGS'
41225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41228
41229
41230 fi
41231
41232 fi
41233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41234 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41235
41236 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41237 for ac_func in hypotf
41238 do :
41239 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41240 if test "x$ac_cv_func_hypotf" = x""yes; then :
41241 cat >>confdefs.h <<_ACEOF
41242 #define HAVE_HYPOTF 1
41243 _ACEOF
41244
41245 fi
41246 done
41247
41248 else
41249
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41251 $as_echo_n "checking for _hypotf declaration... " >&6; }
41252 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41253 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41254 $as_echo_n "(cached) " >&6
41255 else
41256
41257
41258 ac_ext=cpp
41259 ac_cpp='$CXXCPP $CPPFLAGS'
41260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41263
41264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265 /* end confdefs.h. */
41266 #include <math.h>
41267 int
41268 main ()
41269 {
41270 _hypotf(0, 0);
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 if ac_fn_cxx_try_compile "$LINENO"; then :
41276 glibcxx_cv_func__hypotf_use=yes
41277 else
41278 glibcxx_cv_func__hypotf_use=no
41279 fi
41280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41281 ac_ext=c
41282 ac_cpp='$CPP $CPPFLAGS'
41283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41286
41287
41288 fi
41289
41290 fi
41291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41292 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41293
41294 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41295 for ac_func in _hypotf
41296 do :
41297 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41298 if test "x$ac_cv_func__hypotf" = x""yes; then :
41299 cat >>confdefs.h <<_ACEOF
41300 #define HAVE__HYPOTF 1
41301 _ACEOF
41302
41303 fi
41304 done
41305
41306 fi
41307 fi
41308
41309
41310
41311
41312
41313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41314 $as_echo_n "checking for ldexpf declaration... " >&6; }
41315 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41316 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41317 $as_echo_n "(cached) " >&6
41318 else
41319
41320
41321 ac_ext=cpp
41322 ac_cpp='$CXXCPP $CPPFLAGS'
41323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41326
41327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41328 /* end confdefs.h. */
41329 #include <math.h>
41330 int
41331 main ()
41332 {
41333 ldexpf(0, 0);
41334 ;
41335 return 0;
41336 }
41337 _ACEOF
41338 if ac_fn_cxx_try_compile "$LINENO"; then :
41339 glibcxx_cv_func_ldexpf_use=yes
41340 else
41341 glibcxx_cv_func_ldexpf_use=no
41342 fi
41343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41344 ac_ext=c
41345 ac_cpp='$CPP $CPPFLAGS'
41346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41349
41350
41351 fi
41352
41353 fi
41354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41355 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41356
41357 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41358 for ac_func in ldexpf
41359 do :
41360 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41361 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41362 cat >>confdefs.h <<_ACEOF
41363 #define HAVE_LDEXPF 1
41364 _ACEOF
41365
41366 fi
41367 done
41368
41369 else
41370
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41372 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41373 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41374 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41375 $as_echo_n "(cached) " >&6
41376 else
41377
41378
41379 ac_ext=cpp
41380 ac_cpp='$CXXCPP $CPPFLAGS'
41381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41384
41385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41386 /* end confdefs.h. */
41387 #include <math.h>
41388 int
41389 main ()
41390 {
41391 _ldexpf(0, 0);
41392 ;
41393 return 0;
41394 }
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397 glibcxx_cv_func__ldexpf_use=yes
41398 else
41399 glibcxx_cv_func__ldexpf_use=no
41400 fi
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41407
41408
41409 fi
41410
41411 fi
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41413 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41414
41415 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41416 for ac_func in _ldexpf
41417 do :
41418 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41419 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define HAVE__LDEXPF 1
41422 _ACEOF
41423
41424 fi
41425 done
41426
41427 fi
41428 fi
41429
41430
41431
41432
41433
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41435 $as_echo_n "checking for logf declaration... " >&6; }
41436 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41437 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41438 $as_echo_n "(cached) " >&6
41439 else
41440
41441
41442 ac_ext=cpp
41443 ac_cpp='$CXXCPP $CPPFLAGS'
41444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41447
41448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41449 /* end confdefs.h. */
41450 #include <math.h>
41451 #ifdef HAVE_IEEEFP_H
41452 #include <ieeefp.h>
41453 #endif
41454
41455 int
41456 main ()
41457 {
41458 logf(0);
41459 ;
41460 return 0;
41461 }
41462 _ACEOF
41463 if ac_fn_cxx_try_compile "$LINENO"; then :
41464 glibcxx_cv_func_logf_use=yes
41465 else
41466 glibcxx_cv_func_logf_use=no
41467 fi
41468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41469 ac_ext=c
41470 ac_cpp='$CPP $CPPFLAGS'
41471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474
41475
41476 fi
41477
41478 fi
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41480 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41481
41482 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41483 for ac_func in logf
41484 do :
41485 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41486 if test "x$ac_cv_func_logf" = x""yes; then :
41487 cat >>confdefs.h <<_ACEOF
41488 #define HAVE_LOGF 1
41489 _ACEOF
41490
41491 fi
41492 done
41493
41494 else
41495
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41497 $as_echo_n "checking for _logf declaration... " >&6; }
41498 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41499 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41502
41503
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41509
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41516
41517 int
41518 main ()
41519 {
41520 _logf(0);
41521 ;
41522 return 0;
41523 }
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func__logf_use=yes
41527 else
41528 glibcxx_cv_func__logf_use=no
41529 fi
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536
41537
41538 fi
41539
41540 fi
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41542 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41543
41544 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41545 for ac_func in _logf
41546 do :
41547 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41548 if test "x$ac_cv_func__logf" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE__LOGF 1
41551 _ACEOF
41552
41553 fi
41554 done
41555
41556 fi
41557 fi
41558
41559
41560
41561
41562
41563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41564 $as_echo_n "checking for log10f declaration... " >&6; }
41565 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41566 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41567 $as_echo_n "(cached) " >&6
41568 else
41569
41570
41571 ac_ext=cpp
41572 ac_cpp='$CXXCPP $CPPFLAGS'
41573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41576
41577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41578 /* end confdefs.h. */
41579 #include <math.h>
41580 #ifdef HAVE_IEEEFP_H
41581 #include <ieeefp.h>
41582 #endif
41583
41584 int
41585 main ()
41586 {
41587 log10f(0);
41588 ;
41589 return 0;
41590 }
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593 glibcxx_cv_func_log10f_use=yes
41594 else
41595 glibcxx_cv_func_log10f_use=no
41596 fi
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598 ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603
41604
41605 fi
41606
41607 fi
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41609 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41610
41611 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41612 for ac_func in log10f
41613 do :
41614 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41615 if test "x$ac_cv_func_log10f" = x""yes; then :
41616 cat >>confdefs.h <<_ACEOF
41617 #define HAVE_LOG10F 1
41618 _ACEOF
41619
41620 fi
41621 done
41622
41623 else
41624
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41626 $as_echo_n "checking for _log10f declaration... " >&6; }
41627 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41628 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41631
41632
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41642 #ifdef HAVE_IEEEFP_H
41643 #include <ieeefp.h>
41644 #endif
41645
41646 int
41647 main ()
41648 {
41649 _log10f(0);
41650 ;
41651 return 0;
41652 }
41653 _ACEOF
41654 if ac_fn_cxx_try_compile "$LINENO"; then :
41655 glibcxx_cv_func__log10f_use=yes
41656 else
41657 glibcxx_cv_func__log10f_use=no
41658 fi
41659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41660 ac_ext=c
41661 ac_cpp='$CPP $CPPFLAGS'
41662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41665
41666
41667 fi
41668
41669 fi
41670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41671 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41672
41673 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41674 for ac_func in _log10f
41675 do :
41676 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41677 if test "x$ac_cv_func__log10f" = x""yes; then :
41678 cat >>confdefs.h <<_ACEOF
41679 #define HAVE__LOG10F 1
41680 _ACEOF
41681
41682 fi
41683 done
41684
41685 fi
41686 fi
41687
41688
41689
41690
41691
41692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41693 $as_echo_n "checking for modff declaration... " >&6; }
41694 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41695 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41696 $as_echo_n "(cached) " >&6
41697 else
41698
41699
41700 ac_ext=cpp
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705
41706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41707 /* end confdefs.h. */
41708 #include <math.h>
41709 int
41710 main ()
41711 {
41712 modff(0, 0);
41713 ;
41714 return 0;
41715 }
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718 glibcxx_cv_func_modff_use=yes
41719 else
41720 glibcxx_cv_func_modff_use=no
41721 fi
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723 ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728
41729
41730 fi
41731
41732 fi
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41734 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41735
41736 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41737 for ac_func in modff
41738 do :
41739 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41740 if test "x$ac_cv_func_modff" = x""yes; then :
41741 cat >>confdefs.h <<_ACEOF
41742 #define HAVE_MODFF 1
41743 _ACEOF
41744
41745 fi
41746 done
41747
41748 else
41749
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41751 $as_echo_n "checking for _modff declaration... " >&6; }
41752 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41753 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41754 $as_echo_n "(cached) " >&6
41755 else
41756
41757
41758 ac_ext=cpp
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41763
41764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h. */
41766 #include <math.h>
41767 int
41768 main ()
41769 {
41770 _modff(0, 0);
41771 ;
41772 return 0;
41773 }
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__modff_use=yes
41777 else
41778 glibcxx_cv_func__modff_use=no
41779 fi
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781 ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41786
41787
41788 fi
41789
41790 fi
41791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41792 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41793
41794 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41795 for ac_func in _modff
41796 do :
41797 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41798 if test "x$ac_cv_func__modff" = x""yes; then :
41799 cat >>confdefs.h <<_ACEOF
41800 #define HAVE__MODFF 1
41801 _ACEOF
41802
41803 fi
41804 done
41805
41806 fi
41807 fi
41808
41809
41810
41811
41812
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41814 $as_echo_n "checking for modf declaration... " >&6; }
41815 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41816 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41819
41820
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41826
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41830 int
41831 main ()
41832 {
41833 modf(0, 0);
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 if ac_fn_cxx_try_compile "$LINENO"; then :
41839 glibcxx_cv_func_modf_use=yes
41840 else
41841 glibcxx_cv_func_modf_use=no
41842 fi
41843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41844 ac_ext=c
41845 ac_cpp='$CPP $CPPFLAGS'
41846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849
41850
41851 fi
41852
41853 fi
41854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41855 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41856
41857 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41858 for ac_func in modf
41859 do :
41860 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41861 if test "x$ac_cv_func_modf" = x""yes; then :
41862 cat >>confdefs.h <<_ACEOF
41863 #define HAVE_MODF 1
41864 _ACEOF
41865
41866 fi
41867 done
41868
41869 else
41870
41871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41872 $as_echo_n "checking for _modf declaration... " >&6; }
41873 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41874 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41875 $as_echo_n "(cached) " >&6
41876 else
41877
41878
41879 ac_ext=cpp
41880 ac_cpp='$CXXCPP $CPPFLAGS'
41881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41884
41885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41886 /* end confdefs.h. */
41887 #include <math.h>
41888 int
41889 main ()
41890 {
41891 _modf(0, 0);
41892 ;
41893 return 0;
41894 }
41895 _ACEOF
41896 if ac_fn_cxx_try_compile "$LINENO"; then :
41897 glibcxx_cv_func__modf_use=yes
41898 else
41899 glibcxx_cv_func__modf_use=no
41900 fi
41901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41902 ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907
41908
41909 fi
41910
41911 fi
41912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41913 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41914
41915 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41916 for ac_func in _modf
41917 do :
41918 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41919 if test "x$ac_cv_func__modf" = x""yes; then :
41920 cat >>confdefs.h <<_ACEOF
41921 #define HAVE__MODF 1
41922 _ACEOF
41923
41924 fi
41925 done
41926
41927 fi
41928 fi
41929
41930
41931
41932
41933
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41935 $as_echo_n "checking for powf declaration... " >&6; }
41936 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41937 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41938 $as_echo_n "(cached) " >&6
41939 else
41940
41941
41942 ac_ext=cpp
41943 ac_cpp='$CXXCPP $CPPFLAGS'
41944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41947
41948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949 /* end confdefs.h. */
41950 #include <math.h>
41951 int
41952 main ()
41953 {
41954 powf(0, 0);
41955 ;
41956 return 0;
41957 }
41958 _ACEOF
41959 if ac_fn_cxx_try_compile "$LINENO"; then :
41960 glibcxx_cv_func_powf_use=yes
41961 else
41962 glibcxx_cv_func_powf_use=no
41963 fi
41964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41965 ac_ext=c
41966 ac_cpp='$CPP $CPPFLAGS'
41967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41970
41971
41972 fi
41973
41974 fi
41975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41976 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41977
41978 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41979 for ac_func in powf
41980 do :
41981 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41982 if test "x$ac_cv_func_powf" = x""yes; then :
41983 cat >>confdefs.h <<_ACEOF
41984 #define HAVE_POWF 1
41985 _ACEOF
41986
41987 fi
41988 done
41989
41990 else
41991
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41993 $as_echo_n "checking for _powf declaration... " >&6; }
41994 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41995 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41996 $as_echo_n "(cached) " >&6
41997 else
41998
41999
42000 ac_ext=cpp
42001 ac_cpp='$CXXCPP $CPPFLAGS'
42002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42005
42006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42007 /* end confdefs.h. */
42008 #include <math.h>
42009 int
42010 main ()
42011 {
42012 _powf(0, 0);
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018 glibcxx_cv_func__powf_use=yes
42019 else
42020 glibcxx_cv_func__powf_use=no
42021 fi
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028
42029
42030 fi
42031
42032 fi
42033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42034 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42035
42036 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42037 for ac_func in _powf
42038 do :
42039 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42040 if test "x$ac_cv_func__powf" = x""yes; then :
42041 cat >>confdefs.h <<_ACEOF
42042 #define HAVE__POWF 1
42043 _ACEOF
42044
42045 fi
42046 done
42047
42048 fi
42049 fi
42050
42051
42052
42053
42054
42055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42056 $as_echo_n "checking for sqrtf declaration... " >&6; }
42057 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42058 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42059 $as_echo_n "(cached) " >&6
42060 else
42061
42062
42063 ac_ext=cpp
42064 ac_cpp='$CXXCPP $CPPFLAGS'
42065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068
42069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070 /* end confdefs.h. */
42071 #include <math.h>
42072 #ifdef HAVE_IEEEFP_H
42073 #include <ieeefp.h>
42074 #endif
42075
42076 int
42077 main ()
42078 {
42079 sqrtf(0);
42080 ;
42081 return 0;
42082 }
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085 glibcxx_cv_func_sqrtf_use=yes
42086 else
42087 glibcxx_cv_func_sqrtf_use=no
42088 fi
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090 ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095
42096
42097 fi
42098
42099 fi
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42101 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42102
42103 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42104 for ac_func in sqrtf
42105 do :
42106 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42107 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42108 cat >>confdefs.h <<_ACEOF
42109 #define HAVE_SQRTF 1
42110 _ACEOF
42111
42112 fi
42113 done
42114
42115 else
42116
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42118 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42119 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42120 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42121 $as_echo_n "(cached) " >&6
42122 else
42123
42124
42125 ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130
42131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h. */
42133 #include <math.h>
42134 #ifdef HAVE_IEEEFP_H
42135 #include <ieeefp.h>
42136 #endif
42137
42138 int
42139 main ()
42140 {
42141 _sqrtf(0);
42142 ;
42143 return 0;
42144 }
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147 glibcxx_cv_func__sqrtf_use=yes
42148 else
42149 glibcxx_cv_func__sqrtf_use=no
42150 fi
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157
42158
42159 fi
42160
42161 fi
42162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42163 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42164
42165 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42166 for ac_func in _sqrtf
42167 do :
42168 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42169 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42170 cat >>confdefs.h <<_ACEOF
42171 #define HAVE__SQRTF 1
42172 _ACEOF
42173
42174 fi
42175 done
42176
42177 fi
42178 fi
42179
42180
42181
42182
42183
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42185 $as_echo_n "checking for sincosf declaration... " >&6; }
42186 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42187 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 int
42202 main ()
42203 {
42204 sincosf(0, 0, 0);
42205 ;
42206 return 0;
42207 }
42208 _ACEOF
42209 if ac_fn_cxx_try_compile "$LINENO"; then :
42210 glibcxx_cv_func_sincosf_use=yes
42211 else
42212 glibcxx_cv_func_sincosf_use=no
42213 fi
42214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215 ac_ext=c
42216 ac_cpp='$CPP $CPPFLAGS'
42217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42220
42221
42222 fi
42223
42224 fi
42225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42226 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42227
42228 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42229 for ac_func in sincosf
42230 do :
42231 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42232 if test "x$ac_cv_func_sincosf" = x""yes; then :
42233 cat >>confdefs.h <<_ACEOF
42234 #define HAVE_SINCOSF 1
42235 _ACEOF
42236
42237 fi
42238 done
42239
42240 else
42241
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42243 $as_echo_n "checking for _sincosf declaration... " >&6; }
42244 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42245 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42246 $as_echo_n "(cached) " >&6
42247 else
42248
42249
42250 ac_ext=cpp
42251 ac_cpp='$CXXCPP $CPPFLAGS'
42252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42255
42256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42257 /* end confdefs.h. */
42258 #include <math.h>
42259 int
42260 main ()
42261 {
42262 _sincosf(0, 0, 0);
42263 ;
42264 return 0;
42265 }
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func__sincosf_use=yes
42269 else
42270 glibcxx_cv_func__sincosf_use=no
42271 fi
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280 fi
42281
42282 fi
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42284 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42285
42286 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42287 for ac_func in _sincosf
42288 do :
42289 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42290 if test "x$ac_cv_func__sincosf" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE__SINCOSF 1
42293 _ACEOF
42294
42295 fi
42296 done
42297
42298 fi
42299 fi
42300
42301
42302
42303
42304
42305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42306 $as_echo_n "checking for finitef declaration... " >&6; }
42307 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42308 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42309 $as_echo_n "(cached) " >&6
42310 else
42311
42312
42313 ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318
42319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h. */
42321 #include <math.h>
42322 #ifdef HAVE_IEEEFP_H
42323 #include <ieeefp.h>
42324 #endif
42325
42326 int
42327 main ()
42328 {
42329 finitef(0);
42330 ;
42331 return 0;
42332 }
42333 _ACEOF
42334 if ac_fn_cxx_try_compile "$LINENO"; then :
42335 glibcxx_cv_func_finitef_use=yes
42336 else
42337 glibcxx_cv_func_finitef_use=no
42338 fi
42339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42340 ac_ext=c
42341 ac_cpp='$CPP $CPPFLAGS'
42342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345
42346
42347 fi
42348
42349 fi
42350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42351 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42352
42353 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42354 for ac_func in finitef
42355 do :
42356 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42357 if test "x$ac_cv_func_finitef" = x""yes; then :
42358 cat >>confdefs.h <<_ACEOF
42359 #define HAVE_FINITEF 1
42360 _ACEOF
42361
42362 fi
42363 done
42364
42365 else
42366
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42368 $as_echo_n "checking for _finitef declaration... " >&6; }
42369 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42370 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42371 $as_echo_n "(cached) " >&6
42372 else
42373
42374
42375 ac_ext=cpp
42376 ac_cpp='$CXXCPP $CPPFLAGS'
42377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42380
42381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42382 /* end confdefs.h. */
42383 #include <math.h>
42384 #ifdef HAVE_IEEEFP_H
42385 #include <ieeefp.h>
42386 #endif
42387
42388 int
42389 main ()
42390 {
42391 _finitef(0);
42392 ;
42393 return 0;
42394 }
42395 _ACEOF
42396 if ac_fn_cxx_try_compile "$LINENO"; then :
42397 glibcxx_cv_func__finitef_use=yes
42398 else
42399 glibcxx_cv_func__finitef_use=no
42400 fi
42401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402 ac_ext=c
42403 ac_cpp='$CPP $CPPFLAGS'
42404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407
42408
42409 fi
42410
42411 fi
42412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42413 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42414
42415 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42416 for ac_func in _finitef
42417 do :
42418 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42419 if test "x$ac_cv_func__finitef" = x""yes; then :
42420 cat >>confdefs.h <<_ACEOF
42421 #define HAVE__FINITEF 1
42422 _ACEOF
42423
42424 fi
42425 done
42426
42427 fi
42428 fi
42429
42430
42431
42432
42433
42434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42435 $as_echo_n "checking for long double trig functions... " >&6; }
42436 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42437 $as_echo_n "(cached) " >&6
42438 else
42439
42440
42441 ac_ext=cpp
42442 ac_cpp='$CXXCPP $CPPFLAGS'
42443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446
42447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42448 /* end confdefs.h. */
42449 #include <math.h>
42450 int
42451 main ()
42452 {
42453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42454 ;
42455 return 0;
42456 }
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_long_double_trig_use=yes
42460 else
42461 glibcxx_cv_func_long_double_trig_use=no
42462 fi
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42469
42470 fi
42471
42472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42473 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42474 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42475 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42476 do :
42477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42479 eval as_val=\$$as_ac_var
42480 if test "x$as_val" = x""yes; then :
42481 cat >>confdefs.h <<_ACEOF
42482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42483 _ACEOF
42484
42485 fi
42486 done
42487
42488 else
42489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42490 $as_echo_n "checking for _long double trig functions... " >&6; }
42491 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42492 $as_echo_n "(cached) " >&6
42493 else
42494
42495
42496 ac_ext=cpp
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42501
42502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42503 /* end confdefs.h. */
42504 #include <math.h>
42505 int
42506 main ()
42507 {
42508 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42509 ;
42510 return 0;
42511 }
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514 glibcxx_cv_func__long_double_trig_use=yes
42515 else
42516 glibcxx_cv_func__long_double_trig_use=no
42517 fi
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519 ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42524
42525 fi
42526
42527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42528 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42529 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42530 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42531 do :
42532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42534 eval as_val=\$$as_ac_var
42535 if test "x$as_val" = x""yes; then :
42536 cat >>confdefs.h <<_ACEOF
42537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42538 _ACEOF
42539
42540 fi
42541 done
42542
42543 fi
42544 fi
42545
42546
42547
42548
42549
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42551 $as_echo_n "checking for long double round functions... " >&6; }
42552 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42553 $as_echo_n "(cached) " >&6
42554 else
42555
42556
42557 ac_ext=cpp
42558 ac_cpp='$CXXCPP $CPPFLAGS'
42559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42562
42563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42564 /* end confdefs.h. */
42565 #include <math.h>
42566 int
42567 main ()
42568 {
42569 ceill (0); floorl (0);
42570 ;
42571 return 0;
42572 }
42573 _ACEOF
42574 if ac_fn_cxx_try_compile "$LINENO"; then :
42575 glibcxx_cv_func_long_double_round_use=yes
42576 else
42577 glibcxx_cv_func_long_double_round_use=no
42578 fi
42579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42580 ac_ext=c
42581 ac_cpp='$CPP $CPPFLAGS'
42582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42585
42586 fi
42587
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42589 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42590 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42591 for ac_func in ceill floorl
42592 do :
42593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42595 eval as_val=\$$as_ac_var
42596 if test "x$as_val" = x""yes; then :
42597 cat >>confdefs.h <<_ACEOF
42598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42599 _ACEOF
42600
42601 fi
42602 done
42603
42604 else
42605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42606 $as_echo_n "checking for _long double round functions... " >&6; }
42607 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42608 $as_echo_n "(cached) " >&6
42609 else
42610
42611
42612 ac_ext=cpp
42613 ac_cpp='$CXXCPP $CPPFLAGS'
42614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42617
42618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42619 /* end confdefs.h. */
42620 #include <math.h>
42621 int
42622 main ()
42623 {
42624 _ceill (0); _floorl (0);
42625 ;
42626 return 0;
42627 }
42628 _ACEOF
42629 if ac_fn_cxx_try_compile "$LINENO"; then :
42630 glibcxx_cv_func__long_double_round_use=yes
42631 else
42632 glibcxx_cv_func__long_double_round_use=no
42633 fi
42634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42635 ac_ext=c
42636 ac_cpp='$CPP $CPPFLAGS'
42637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640
42641 fi
42642
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42644 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42645 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42646 for ac_func in _ceill _floorl
42647 do :
42648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42650 eval as_val=\$$as_ac_var
42651 if test "x$as_val" = x""yes; then :
42652 cat >>confdefs.h <<_ACEOF
42653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42654 _ACEOF
42655
42656 fi
42657 done
42658
42659 fi
42660 fi
42661
42662
42663
42664
42665
42666
42667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42668 $as_echo_n "checking for isnanl declaration... " >&6; }
42669 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42670 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42671 $as_echo_n "(cached) " >&6
42672 else
42673
42674
42675 ac_ext=cpp
42676 ac_cpp='$CXXCPP $CPPFLAGS'
42677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42680
42681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42682 /* end confdefs.h. */
42683 #include <math.h>
42684 #ifdef HAVE_IEEEFP_H
42685 #include <ieeefp.h>
42686 #endif
42687
42688 int
42689 main ()
42690 {
42691 isnanl(0);
42692 ;
42693 return 0;
42694 }
42695 _ACEOF
42696 if ac_fn_cxx_try_compile "$LINENO"; then :
42697 glibcxx_cv_func_isnanl_use=yes
42698 else
42699 glibcxx_cv_func_isnanl_use=no
42700 fi
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702 ac_ext=c
42703 ac_cpp='$CPP $CPPFLAGS'
42704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707
42708
42709 fi
42710
42711 fi
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42713 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42714
42715 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42716 for ac_func in isnanl
42717 do :
42718 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42719 if test "x$ac_cv_func_isnanl" = x""yes; then :
42720 cat >>confdefs.h <<_ACEOF
42721 #define HAVE_ISNANL 1
42722 _ACEOF
42723
42724 fi
42725 done
42726
42727 else
42728
42729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42730 $as_echo_n "checking for _isnanl declaration... " >&6; }
42731 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42732 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42733 $as_echo_n "(cached) " >&6
42734 else
42735
42736
42737 ac_ext=cpp
42738 ac_cpp='$CXXCPP $CPPFLAGS'
42739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42742
42743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42744 /* end confdefs.h. */
42745 #include <math.h>
42746 #ifdef HAVE_IEEEFP_H
42747 #include <ieeefp.h>
42748 #endif
42749
42750 int
42751 main ()
42752 {
42753 _isnanl(0);
42754 ;
42755 return 0;
42756 }
42757 _ACEOF
42758 if ac_fn_cxx_try_compile "$LINENO"; then :
42759 glibcxx_cv_func__isnanl_use=yes
42760 else
42761 glibcxx_cv_func__isnanl_use=no
42762 fi
42763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42764 ac_ext=c
42765 ac_cpp='$CPP $CPPFLAGS'
42766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769
42770
42771 fi
42772
42773 fi
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42775 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42776
42777 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42778 for ac_func in _isnanl
42779 do :
42780 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42781 if test "x$ac_cv_func__isnanl" = x""yes; then :
42782 cat >>confdefs.h <<_ACEOF
42783 #define HAVE__ISNANL 1
42784 _ACEOF
42785
42786 fi
42787 done
42788
42789 fi
42790 fi
42791
42792
42793
42794
42795
42796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42797 $as_echo_n "checking for isinfl declaration... " >&6; }
42798 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42799 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42800 $as_echo_n "(cached) " >&6
42801 else
42802
42803
42804 ac_ext=cpp
42805 ac_cpp='$CXXCPP $CPPFLAGS'
42806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42809
42810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42811 /* end confdefs.h. */
42812 #include <math.h>
42813 #ifdef HAVE_IEEEFP_H
42814 #include <ieeefp.h>
42815 #endif
42816
42817 int
42818 main ()
42819 {
42820 isinfl(0);
42821 ;
42822 return 0;
42823 }
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func_isinfl_use=yes
42827 else
42828 glibcxx_cv_func_isinfl_use=no
42829 fi
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836
42837
42838 fi
42839
42840 fi
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42842 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42843
42844 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42845 for ac_func in isinfl
42846 do :
42847 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42848 if test "x$ac_cv_func_isinfl" = x""yes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE_ISINFL 1
42851 _ACEOF
42852
42853 fi
42854 done
42855
42856 else
42857
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42859 $as_echo_n "checking for _isinfl declaration... " >&6; }
42860 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42861 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42862 $as_echo_n "(cached) " >&6
42863 else
42864
42865
42866 ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42871
42872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h. */
42874 #include <math.h>
42875 #ifdef HAVE_IEEEFP_H
42876 #include <ieeefp.h>
42877 #endif
42878
42879 int
42880 main ()
42881 {
42882 _isinfl(0);
42883 ;
42884 return 0;
42885 }
42886 _ACEOF
42887 if ac_fn_cxx_try_compile "$LINENO"; then :
42888 glibcxx_cv_func__isinfl_use=yes
42889 else
42890 glibcxx_cv_func__isinfl_use=no
42891 fi
42892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42893 ac_ext=c
42894 ac_cpp='$CPP $CPPFLAGS'
42895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898
42899
42900 fi
42901
42902 fi
42903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42904 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42905
42906 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42907 for ac_func in _isinfl
42908 do :
42909 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42910 if test "x$ac_cv_func__isinfl" = x""yes; then :
42911 cat >>confdefs.h <<_ACEOF
42912 #define HAVE__ISINFL 1
42913 _ACEOF
42914
42915 fi
42916 done
42917
42918 fi
42919 fi
42920
42921
42922
42923
42924
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42926 $as_echo_n "checking for atan2l declaration... " >&6; }
42927 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42928 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42929 $as_echo_n "(cached) " >&6
42930 else
42931
42932
42933 ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42938
42939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h. */
42941 #include <math.h>
42942 int
42943 main ()
42944 {
42945 atan2l(0, 0);
42946 ;
42947 return 0;
42948 }
42949 _ACEOF
42950 if ac_fn_cxx_try_compile "$LINENO"; then :
42951 glibcxx_cv_func_atan2l_use=yes
42952 else
42953 glibcxx_cv_func_atan2l_use=no
42954 fi
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956 ac_ext=c
42957 ac_cpp='$CPP $CPPFLAGS'
42958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961
42962
42963 fi
42964
42965 fi
42966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42967 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42968
42969 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42970 for ac_func in atan2l
42971 do :
42972 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42973 if test "x$ac_cv_func_atan2l" = x""yes; then :
42974 cat >>confdefs.h <<_ACEOF
42975 #define HAVE_ATAN2L 1
42976 _ACEOF
42977
42978 fi
42979 done
42980
42981 else
42982
42983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42984 $as_echo_n "checking for _atan2l declaration... " >&6; }
42985 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42986 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42987 $as_echo_n "(cached) " >&6
42988 else
42989
42990
42991 ac_ext=cpp
42992 ac_cpp='$CXXCPP $CPPFLAGS'
42993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42996
42997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42998 /* end confdefs.h. */
42999 #include <math.h>
43000 int
43001 main ()
43002 {
43003 _atan2l(0, 0);
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 if ac_fn_cxx_try_compile "$LINENO"; then :
43009 glibcxx_cv_func__atan2l_use=yes
43010 else
43011 glibcxx_cv_func__atan2l_use=no
43012 fi
43013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43014 ac_ext=c
43015 ac_cpp='$CPP $CPPFLAGS'
43016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019
43020
43021 fi
43022
43023 fi
43024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43025 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43026
43027 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43028 for ac_func in _atan2l
43029 do :
43030 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43031 if test "x$ac_cv_func__atan2l" = x""yes; then :
43032 cat >>confdefs.h <<_ACEOF
43033 #define HAVE__ATAN2L 1
43034 _ACEOF
43035
43036 fi
43037 done
43038
43039 fi
43040 fi
43041
43042
43043
43044
43045
43046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43047 $as_echo_n "checking for expl declaration... " >&6; }
43048 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43049 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43050 $as_echo_n "(cached) " >&6
43051 else
43052
43053
43054 ac_ext=cpp
43055 ac_cpp='$CXXCPP $CPPFLAGS'
43056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43059
43060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43061 /* end confdefs.h. */
43062 #include <math.h>
43063 #ifdef HAVE_IEEEFP_H
43064 #include <ieeefp.h>
43065 #endif
43066
43067 int
43068 main ()
43069 {
43070 expl(0);
43071 ;
43072 return 0;
43073 }
43074 _ACEOF
43075 if ac_fn_cxx_try_compile "$LINENO"; then :
43076 glibcxx_cv_func_expl_use=yes
43077 else
43078 glibcxx_cv_func_expl_use=no
43079 fi
43080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43081 ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086
43087
43088 fi
43089
43090 fi
43091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43092 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43093
43094 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43095 for ac_func in expl
43096 do :
43097 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43098 if test "x$ac_cv_func_expl" = x""yes; then :
43099 cat >>confdefs.h <<_ACEOF
43100 #define HAVE_EXPL 1
43101 _ACEOF
43102
43103 fi
43104 done
43105
43106 else
43107
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43109 $as_echo_n "checking for _expl declaration... " >&6; }
43110 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43111 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43114
43115
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43125 #ifdef HAVE_IEEEFP_H
43126 #include <ieeefp.h>
43127 #endif
43128
43129 int
43130 main ()
43131 {
43132 _expl(0);
43133 ;
43134 return 0;
43135 }
43136 _ACEOF
43137 if ac_fn_cxx_try_compile "$LINENO"; then :
43138 glibcxx_cv_func__expl_use=yes
43139 else
43140 glibcxx_cv_func__expl_use=no
43141 fi
43142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143 ac_ext=c
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148
43149
43150 fi
43151
43152 fi
43153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43154 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43155
43156 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43157 for ac_func in _expl
43158 do :
43159 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43160 if test "x$ac_cv_func__expl" = x""yes; then :
43161 cat >>confdefs.h <<_ACEOF
43162 #define HAVE__EXPL 1
43163 _ACEOF
43164
43165 fi
43166 done
43167
43168 fi
43169 fi
43170
43171
43172
43173
43174
43175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43176 $as_echo_n "checking for fabsl declaration... " >&6; }
43177 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43178 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43179 $as_echo_n "(cached) " >&6
43180 else
43181
43182
43183 ac_ext=cpp
43184 ac_cpp='$CXXCPP $CPPFLAGS'
43185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188
43189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43190 /* end confdefs.h. */
43191 #include <math.h>
43192 #ifdef HAVE_IEEEFP_H
43193 #include <ieeefp.h>
43194 #endif
43195
43196 int
43197 main ()
43198 {
43199 fabsl(0);
43200 ;
43201 return 0;
43202 }
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func_fabsl_use=yes
43206 else
43207 glibcxx_cv_func_fabsl_use=no
43208 fi
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218
43219 fi
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43221 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43222
43223 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43224 for ac_func in fabsl
43225 do :
43226 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43227 if test "x$ac_cv_func_fabsl" = x""yes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE_FABSL 1
43230 _ACEOF
43231
43232 fi
43233 done
43234
43235 else
43236
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43238 $as_echo_n "checking for _fabsl declaration... " >&6; }
43239 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43240 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43254 #ifdef HAVE_IEEEFP_H
43255 #include <ieeefp.h>
43256 #endif
43257
43258 int
43259 main ()
43260 {
43261 _fabsl(0);
43262 ;
43263 return 0;
43264 }
43265 _ACEOF
43266 if ac_fn_cxx_try_compile "$LINENO"; then :
43267 glibcxx_cv_func__fabsl_use=yes
43268 else
43269 glibcxx_cv_func__fabsl_use=no
43270 fi
43271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43272 ac_ext=c
43273 ac_cpp='$CPP $CPPFLAGS'
43274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43277
43278
43279 fi
43280
43281 fi
43282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43283 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43284
43285 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43286 for ac_func in _fabsl
43287 do :
43288 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43289 if test "x$ac_cv_func__fabsl" = x""yes; then :
43290 cat >>confdefs.h <<_ACEOF
43291 #define HAVE__FABSL 1
43292 _ACEOF
43293
43294 fi
43295 done
43296
43297 fi
43298 fi
43299
43300
43301
43302
43303
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43305 $as_echo_n "checking for fmodl declaration... " >&6; }
43306 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43307 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43308 $as_echo_n "(cached) " >&6
43309 else
43310
43311
43312 ac_ext=cpp
43313 ac_cpp='$CXXCPP $CPPFLAGS'
43314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43317
43318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43319 /* end confdefs.h. */
43320 #include <math.h>
43321 int
43322 main ()
43323 {
43324 fmodl(0, 0);
43325 ;
43326 return 0;
43327 }
43328 _ACEOF
43329 if ac_fn_cxx_try_compile "$LINENO"; then :
43330 glibcxx_cv_func_fmodl_use=yes
43331 else
43332 glibcxx_cv_func_fmodl_use=no
43333 fi
43334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43335 ac_ext=c
43336 ac_cpp='$CPP $CPPFLAGS'
43337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43340
43341
43342 fi
43343
43344 fi
43345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43346 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43347
43348 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43349 for ac_func in fmodl
43350 do :
43351 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43352 if test "x$ac_cv_func_fmodl" = x""yes; then :
43353 cat >>confdefs.h <<_ACEOF
43354 #define HAVE_FMODL 1
43355 _ACEOF
43356
43357 fi
43358 done
43359
43360 else
43361
43362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43363 $as_echo_n "checking for _fmodl declaration... " >&6; }
43364 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43365 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43366 $as_echo_n "(cached) " >&6
43367 else
43368
43369
43370 ac_ext=cpp
43371 ac_cpp='$CXXCPP $CPPFLAGS'
43372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43375
43376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43377 /* end confdefs.h. */
43378 #include <math.h>
43379 int
43380 main ()
43381 {
43382 _fmodl(0, 0);
43383 ;
43384 return 0;
43385 }
43386 _ACEOF
43387 if ac_fn_cxx_try_compile "$LINENO"; then :
43388 glibcxx_cv_func__fmodl_use=yes
43389 else
43390 glibcxx_cv_func__fmodl_use=no
43391 fi
43392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43393 ac_ext=c
43394 ac_cpp='$CPP $CPPFLAGS'
43395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43398
43399
43400 fi
43401
43402 fi
43403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43404 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43405
43406 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43407 for ac_func in _fmodl
43408 do :
43409 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43410 if test "x$ac_cv_func__fmodl" = x""yes; then :
43411 cat >>confdefs.h <<_ACEOF
43412 #define HAVE__FMODL 1
43413 _ACEOF
43414
43415 fi
43416 done
43417
43418 fi
43419 fi
43420
43421
43422
43423
43424
43425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43426 $as_echo_n "checking for frexpl declaration... " >&6; }
43427 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43428 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43429 $as_echo_n "(cached) " >&6
43430 else
43431
43432
43433 ac_ext=cpp
43434 ac_cpp='$CXXCPP $CPPFLAGS'
43435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43438
43439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43440 /* end confdefs.h. */
43441 #include <math.h>
43442 int
43443 main ()
43444 {
43445 frexpl(0, 0);
43446 ;
43447 return 0;
43448 }
43449 _ACEOF
43450 if ac_fn_cxx_try_compile "$LINENO"; then :
43451 glibcxx_cv_func_frexpl_use=yes
43452 else
43453 glibcxx_cv_func_frexpl_use=no
43454 fi
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456 ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461
43462
43463 fi
43464
43465 fi
43466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43467 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43468
43469 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43470 for ac_func in frexpl
43471 do :
43472 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43473 if test "x$ac_cv_func_frexpl" = x""yes; then :
43474 cat >>confdefs.h <<_ACEOF
43475 #define HAVE_FREXPL 1
43476 _ACEOF
43477
43478 fi
43479 done
43480
43481 else
43482
43483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43484 $as_echo_n "checking for _frexpl declaration... " >&6; }
43485 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43486 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43487 $as_echo_n "(cached) " >&6
43488 else
43489
43490
43491 ac_ext=cpp
43492 ac_cpp='$CXXCPP $CPPFLAGS'
43493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43496
43497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498 /* end confdefs.h. */
43499 #include <math.h>
43500 int
43501 main ()
43502 {
43503 _frexpl(0, 0);
43504 ;
43505 return 0;
43506 }
43507 _ACEOF
43508 if ac_fn_cxx_try_compile "$LINENO"; then :
43509 glibcxx_cv_func__frexpl_use=yes
43510 else
43511 glibcxx_cv_func__frexpl_use=no
43512 fi
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514 ac_ext=c
43515 ac_cpp='$CPP $CPPFLAGS'
43516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43519
43520
43521 fi
43522
43523 fi
43524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43525 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43526
43527 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43528 for ac_func in _frexpl
43529 do :
43530 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43531 if test "x$ac_cv_func__frexpl" = x""yes; then :
43532 cat >>confdefs.h <<_ACEOF
43533 #define HAVE__FREXPL 1
43534 _ACEOF
43535
43536 fi
43537 done
43538
43539 fi
43540 fi
43541
43542
43543
43544
43545
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43547 $as_echo_n "checking for hypotl declaration... " >&6; }
43548 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43549 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43550 $as_echo_n "(cached) " >&6
43551 else
43552
43553
43554 ac_ext=cpp
43555 ac_cpp='$CXXCPP $CPPFLAGS'
43556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43559
43560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43561 /* end confdefs.h. */
43562 #include <math.h>
43563 int
43564 main ()
43565 {
43566 hypotl(0, 0);
43567 ;
43568 return 0;
43569 }
43570 _ACEOF
43571 if ac_fn_cxx_try_compile "$LINENO"; then :
43572 glibcxx_cv_func_hypotl_use=yes
43573 else
43574 glibcxx_cv_func_hypotl_use=no
43575 fi
43576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43577 ac_ext=c
43578 ac_cpp='$CPP $CPPFLAGS'
43579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43582
43583
43584 fi
43585
43586 fi
43587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43588 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43589
43590 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43591 for ac_func in hypotl
43592 do :
43593 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43594 if test "x$ac_cv_func_hypotl" = x""yes; then :
43595 cat >>confdefs.h <<_ACEOF
43596 #define HAVE_HYPOTL 1
43597 _ACEOF
43598
43599 fi
43600 done
43601
43602 else
43603
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43605 $as_echo_n "checking for _hypotl declaration... " >&6; }
43606 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43607 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43608 $as_echo_n "(cached) " >&6
43609 else
43610
43611
43612 ac_ext=cpp
43613 ac_cpp='$CXXCPP $CPPFLAGS'
43614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43617
43618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43619 /* end confdefs.h. */
43620 #include <math.h>
43621 int
43622 main ()
43623 {
43624 _hypotl(0, 0);
43625 ;
43626 return 0;
43627 }
43628 _ACEOF
43629 if ac_fn_cxx_try_compile "$LINENO"; then :
43630 glibcxx_cv_func__hypotl_use=yes
43631 else
43632 glibcxx_cv_func__hypotl_use=no
43633 fi
43634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43635 ac_ext=c
43636 ac_cpp='$CPP $CPPFLAGS'
43637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43640
43641
43642 fi
43643
43644 fi
43645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43646 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43647
43648 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43649 for ac_func in _hypotl
43650 do :
43651 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43652 if test "x$ac_cv_func__hypotl" = x""yes; then :
43653 cat >>confdefs.h <<_ACEOF
43654 #define HAVE__HYPOTL 1
43655 _ACEOF
43656
43657 fi
43658 done
43659
43660 fi
43661 fi
43662
43663
43664
43665
43666
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43668 $as_echo_n "checking for ldexpl declaration... " >&6; }
43669 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43670 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43671 $as_echo_n "(cached) " >&6
43672 else
43673
43674
43675 ac_ext=cpp
43676 ac_cpp='$CXXCPP $CPPFLAGS'
43677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680
43681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682 /* end confdefs.h. */
43683 #include <math.h>
43684 int
43685 main ()
43686 {
43687 ldexpl(0, 0);
43688 ;
43689 return 0;
43690 }
43691 _ACEOF
43692 if ac_fn_cxx_try_compile "$LINENO"; then :
43693 glibcxx_cv_func_ldexpl_use=yes
43694 else
43695 glibcxx_cv_func_ldexpl_use=no
43696 fi
43697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43698 ac_ext=c
43699 ac_cpp='$CPP $CPPFLAGS'
43700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43703
43704
43705 fi
43706
43707 fi
43708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43709 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43710
43711 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43712 for ac_func in ldexpl
43713 do :
43714 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43715 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43716 cat >>confdefs.h <<_ACEOF
43717 #define HAVE_LDEXPL 1
43718 _ACEOF
43719
43720 fi
43721 done
43722
43723 else
43724
43725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43726 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43727 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43728 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43729 $as_echo_n "(cached) " >&6
43730 else
43731
43732
43733 ac_ext=cpp
43734 ac_cpp='$CXXCPP $CPPFLAGS'
43735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43738
43739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43740 /* end confdefs.h. */
43741 #include <math.h>
43742 int
43743 main ()
43744 {
43745 _ldexpl(0, 0);
43746 ;
43747 return 0;
43748 }
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func__ldexpl_use=yes
43752 else
43753 glibcxx_cv_func__ldexpl_use=no
43754 fi
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761
43762
43763 fi
43764
43765 fi
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43767 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43768
43769 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43770 for ac_func in _ldexpl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43773 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE__LDEXPL 1
43776 _ACEOF
43777
43778 fi
43779 done
43780
43781 fi
43782 fi
43783
43784
43785
43786
43787
43788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43789 $as_echo_n "checking for logl declaration... " >&6; }
43790 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43791 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43792 $as_echo_n "(cached) " >&6
43793 else
43794
43795
43796 ac_ext=cpp
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43801
43802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43803 /* end confdefs.h. */
43804 #include <math.h>
43805 #ifdef HAVE_IEEEFP_H
43806 #include <ieeefp.h>
43807 #endif
43808
43809 int
43810 main ()
43811 {
43812 logl(0);
43813 ;
43814 return 0;
43815 }
43816 _ACEOF
43817 if ac_fn_cxx_try_compile "$LINENO"; then :
43818 glibcxx_cv_func_logl_use=yes
43819 else
43820 glibcxx_cv_func_logl_use=no
43821 fi
43822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43823 ac_ext=c
43824 ac_cpp='$CPP $CPPFLAGS'
43825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828
43829
43830 fi
43831
43832 fi
43833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43834 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43835
43836 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43837 for ac_func in logl
43838 do :
43839 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43840 if test "x$ac_cv_func_logl" = x""yes; then :
43841 cat >>confdefs.h <<_ACEOF
43842 #define HAVE_LOGL 1
43843 _ACEOF
43844
43845 fi
43846 done
43847
43848 else
43849
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43851 $as_echo_n "checking for _logl declaration... " >&6; }
43852 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43853 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43856
43857
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43870
43871 int
43872 main ()
43873 {
43874 _logl(0);
43875 ;
43876 return 0;
43877 }
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func__logl_use=yes
43881 else
43882 glibcxx_cv_func__logl_use=no
43883 fi
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890
43891
43892 fi
43893
43894 fi
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43896 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43897
43898 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43899 for ac_func in _logl
43900 do :
43901 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43902 if test "x$ac_cv_func__logl" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE__LOGL 1
43905 _ACEOF
43906
43907 fi
43908 done
43909
43910 fi
43911 fi
43912
43913
43914
43915
43916
43917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43918 $as_echo_n "checking for log10l declaration... " >&6; }
43919 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43920 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43921 $as_echo_n "(cached) " >&6
43922 else
43923
43924
43925 ac_ext=cpp
43926 ac_cpp='$CXXCPP $CPPFLAGS'
43927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43930
43931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43932 /* end confdefs.h. */
43933 #include <math.h>
43934 #ifdef HAVE_IEEEFP_H
43935 #include <ieeefp.h>
43936 #endif
43937
43938 int
43939 main ()
43940 {
43941 log10l(0);
43942 ;
43943 return 0;
43944 }
43945 _ACEOF
43946 if ac_fn_cxx_try_compile "$LINENO"; then :
43947 glibcxx_cv_func_log10l_use=yes
43948 else
43949 glibcxx_cv_func_log10l_use=no
43950 fi
43951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952 ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959 fi
43960
43961 fi
43962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43963 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43964
43965 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43966 for ac_func in log10l
43967 do :
43968 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43969 if test "x$ac_cv_func_log10l" = x""yes; then :
43970 cat >>confdefs.h <<_ACEOF
43971 #define HAVE_LOG10L 1
43972 _ACEOF
43973
43974 fi
43975 done
43976
43977 else
43978
43979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43980 $as_echo_n "checking for _log10l declaration... " >&6; }
43981 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43982 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43983 $as_echo_n "(cached) " >&6
43984 else
43985
43986
43987 ac_ext=cpp
43988 ac_cpp='$CXXCPP $CPPFLAGS'
43989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43992
43993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43994 /* end confdefs.h. */
43995 #include <math.h>
43996 #ifdef HAVE_IEEEFP_H
43997 #include <ieeefp.h>
43998 #endif
43999
44000 int
44001 main ()
44002 {
44003 _log10l(0);
44004 ;
44005 return 0;
44006 }
44007 _ACEOF
44008 if ac_fn_cxx_try_compile "$LINENO"; then :
44009 glibcxx_cv_func__log10l_use=yes
44010 else
44011 glibcxx_cv_func__log10l_use=no
44012 fi
44013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44014 ac_ext=c
44015 ac_cpp='$CPP $CPPFLAGS'
44016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44019
44020
44021 fi
44022
44023 fi
44024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44025 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44026
44027 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44028 for ac_func in _log10l
44029 do :
44030 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44031 if test "x$ac_cv_func__log10l" = x""yes; then :
44032 cat >>confdefs.h <<_ACEOF
44033 #define HAVE__LOG10L 1
44034 _ACEOF
44035
44036 fi
44037 done
44038
44039 fi
44040 fi
44041
44042
44043
44044
44045
44046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44047 $as_echo_n "checking for modfl declaration... " >&6; }
44048 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44049 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44050 $as_echo_n "(cached) " >&6
44051 else
44052
44053
44054 ac_ext=cpp
44055 ac_cpp='$CXXCPP $CPPFLAGS'
44056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44059
44060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44061 /* end confdefs.h. */
44062 #include <math.h>
44063 int
44064 main ()
44065 {
44066 modfl(0, 0);
44067 ;
44068 return 0;
44069 }
44070 _ACEOF
44071 if ac_fn_cxx_try_compile "$LINENO"; then :
44072 glibcxx_cv_func_modfl_use=yes
44073 else
44074 glibcxx_cv_func_modfl_use=no
44075 fi
44076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44077 ac_ext=c
44078 ac_cpp='$CPP $CPPFLAGS'
44079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44082
44083
44084 fi
44085
44086 fi
44087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44088 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44089
44090 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44091 for ac_func in modfl
44092 do :
44093 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44094 if test "x$ac_cv_func_modfl" = x""yes; then :
44095 cat >>confdefs.h <<_ACEOF
44096 #define HAVE_MODFL 1
44097 _ACEOF
44098
44099 fi
44100 done
44101
44102 else
44103
44104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44105 $as_echo_n "checking for _modfl declaration... " >&6; }
44106 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44107 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44108 $as_echo_n "(cached) " >&6
44109 else
44110
44111
44112 ac_ext=cpp
44113 ac_cpp='$CXXCPP $CPPFLAGS'
44114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44117
44118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44119 /* end confdefs.h. */
44120 #include <math.h>
44121 int
44122 main ()
44123 {
44124 _modfl(0, 0);
44125 ;
44126 return 0;
44127 }
44128 _ACEOF
44129 if ac_fn_cxx_try_compile "$LINENO"; then :
44130 glibcxx_cv_func__modfl_use=yes
44131 else
44132 glibcxx_cv_func__modfl_use=no
44133 fi
44134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44135 ac_ext=c
44136 ac_cpp='$CPP $CPPFLAGS'
44137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44140
44141
44142 fi
44143
44144 fi
44145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44146 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44147
44148 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44149 for ac_func in _modfl
44150 do :
44151 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44152 if test "x$ac_cv_func__modfl" = x""yes; then :
44153 cat >>confdefs.h <<_ACEOF
44154 #define HAVE__MODFL 1
44155 _ACEOF
44156
44157 fi
44158 done
44159
44160 fi
44161 fi
44162
44163
44164
44165
44166
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44168 $as_echo_n "checking for powl declaration... " >&6; }
44169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44170 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44171 $as_echo_n "(cached) " >&6
44172 else
44173
44174
44175 ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180
44181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h. */
44183 #include <math.h>
44184 int
44185 main ()
44186 {
44187 powl(0, 0);
44188 ;
44189 return 0;
44190 }
44191 _ACEOF
44192 if ac_fn_cxx_try_compile "$LINENO"; then :
44193 glibcxx_cv_func_powl_use=yes
44194 else
44195 glibcxx_cv_func_powl_use=no
44196 fi
44197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44198 ac_ext=c
44199 ac_cpp='$CPP $CPPFLAGS'
44200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44203
44204
44205 fi
44206
44207 fi
44208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44209 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44210
44211 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44212 for ac_func in powl
44213 do :
44214 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44215 if test "x$ac_cv_func_powl" = x""yes; then :
44216 cat >>confdefs.h <<_ACEOF
44217 #define HAVE_POWL 1
44218 _ACEOF
44219
44220 fi
44221 done
44222
44223 else
44224
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44226 $as_echo_n "checking for _powl declaration... " >&6; }
44227 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44228 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44229 $as_echo_n "(cached) " >&6
44230 else
44231
44232
44233 ac_ext=cpp
44234 ac_cpp='$CXXCPP $CPPFLAGS'
44235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238
44239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44240 /* end confdefs.h. */
44241 #include <math.h>
44242 int
44243 main ()
44244 {
44245 _powl(0, 0);
44246 ;
44247 return 0;
44248 }
44249 _ACEOF
44250 if ac_fn_cxx_try_compile "$LINENO"; then :
44251 glibcxx_cv_func__powl_use=yes
44252 else
44253 glibcxx_cv_func__powl_use=no
44254 fi
44255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44256 ac_ext=c
44257 ac_cpp='$CPP $CPPFLAGS'
44258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44261
44262
44263 fi
44264
44265 fi
44266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44267 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44268
44269 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44270 for ac_func in _powl
44271 do :
44272 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44273 if test "x$ac_cv_func__powl" = x""yes; then :
44274 cat >>confdefs.h <<_ACEOF
44275 #define HAVE__POWL 1
44276 _ACEOF
44277
44278 fi
44279 done
44280
44281 fi
44282 fi
44283
44284
44285
44286
44287
44288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44289 $as_echo_n "checking for sqrtl declaration... " >&6; }
44290 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44291 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44292 $as_echo_n "(cached) " >&6
44293 else
44294
44295
44296 ac_ext=cpp
44297 ac_cpp='$CXXCPP $CPPFLAGS'
44298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301
44302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44303 /* end confdefs.h. */
44304 #include <math.h>
44305 #ifdef HAVE_IEEEFP_H
44306 #include <ieeefp.h>
44307 #endif
44308
44309 int
44310 main ()
44311 {
44312 sqrtl(0);
44313 ;
44314 return 0;
44315 }
44316 _ACEOF
44317 if ac_fn_cxx_try_compile "$LINENO"; then :
44318 glibcxx_cv_func_sqrtl_use=yes
44319 else
44320 glibcxx_cv_func_sqrtl_use=no
44321 fi
44322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323 ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328
44329
44330 fi
44331
44332 fi
44333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44334 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44335
44336 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44337 for ac_func in sqrtl
44338 do :
44339 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44340 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44341 cat >>confdefs.h <<_ACEOF
44342 #define HAVE_SQRTL 1
44343 _ACEOF
44344
44345 fi
44346 done
44347
44348 else
44349
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44351 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44352 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44353 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44354 $as_echo_n "(cached) " >&6
44355 else
44356
44357
44358 ac_ext=cpp
44359 ac_cpp='$CXXCPP $CPPFLAGS'
44360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44363
44364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44365 /* end confdefs.h. */
44366 #include <math.h>
44367 #ifdef HAVE_IEEEFP_H
44368 #include <ieeefp.h>
44369 #endif
44370
44371 int
44372 main ()
44373 {
44374 _sqrtl(0);
44375 ;
44376 return 0;
44377 }
44378 _ACEOF
44379 if ac_fn_cxx_try_compile "$LINENO"; then :
44380 glibcxx_cv_func__sqrtl_use=yes
44381 else
44382 glibcxx_cv_func__sqrtl_use=no
44383 fi
44384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44385 ac_ext=c
44386 ac_cpp='$CPP $CPPFLAGS'
44387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44390
44391
44392 fi
44393
44394 fi
44395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44396 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44397
44398 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44399 for ac_func in _sqrtl
44400 do :
44401 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44402 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44403 cat >>confdefs.h <<_ACEOF
44404 #define HAVE__SQRTL 1
44405 _ACEOF
44406
44407 fi
44408 done
44409
44410 fi
44411 fi
44412
44413
44414
44415
44416
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44418 $as_echo_n "checking for sincosl declaration... " >&6; }
44419 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44420 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44421 $as_echo_n "(cached) " >&6
44422 else
44423
44424
44425 ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44430
44431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h. */
44433 #include <math.h>
44434 int
44435 main ()
44436 {
44437 sincosl(0, 0, 0);
44438 ;
44439 return 0;
44440 }
44441 _ACEOF
44442 if ac_fn_cxx_try_compile "$LINENO"; then :
44443 glibcxx_cv_func_sincosl_use=yes
44444 else
44445 glibcxx_cv_func_sincosl_use=no
44446 fi
44447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44448 ac_ext=c
44449 ac_cpp='$CPP $CPPFLAGS'
44450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44453
44454
44455 fi
44456
44457 fi
44458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44459 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44460
44461 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44462 for ac_func in sincosl
44463 do :
44464 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44465 if test "x$ac_cv_func_sincosl" = x""yes; then :
44466 cat >>confdefs.h <<_ACEOF
44467 #define HAVE_SINCOSL 1
44468 _ACEOF
44469
44470 fi
44471 done
44472
44473 else
44474
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44476 $as_echo_n "checking for _sincosl declaration... " >&6; }
44477 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44478 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44479 $as_echo_n "(cached) " >&6
44480 else
44481
44482
44483 ac_ext=cpp
44484 ac_cpp='$CXXCPP $CPPFLAGS'
44485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44488
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h. */
44491 #include <math.h>
44492 int
44493 main ()
44494 {
44495 _sincosl(0, 0, 0);
44496 ;
44497 return 0;
44498 }
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 glibcxx_cv_func__sincosl_use=yes
44502 else
44503 glibcxx_cv_func__sincosl_use=no
44504 fi
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515 fi
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44517 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44518
44519 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44520 for ac_func in _sincosl
44521 do :
44522 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44523 if test "x$ac_cv_func__sincosl" = x""yes; then :
44524 cat >>confdefs.h <<_ACEOF
44525 #define HAVE__SINCOSL 1
44526 _ACEOF
44527
44528 fi
44529 done
44530
44531 fi
44532 fi
44533
44534
44535
44536
44537
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44539 $as_echo_n "checking for finitel declaration... " >&6; }
44540 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44541 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44542 $as_echo_n "(cached) " >&6
44543 else
44544
44545
44546 ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h. */
44554 #include <math.h>
44555 #ifdef HAVE_IEEEFP_H
44556 #include <ieeefp.h>
44557 #endif
44558
44559 int
44560 main ()
44561 {
44562 finitel(0);
44563 ;
44564 return 0;
44565 }
44566 _ACEOF
44567 if ac_fn_cxx_try_compile "$LINENO"; then :
44568 glibcxx_cv_func_finitel_use=yes
44569 else
44570 glibcxx_cv_func_finitel_use=no
44571 fi
44572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573 ac_ext=c
44574 ac_cpp='$CPP $CPPFLAGS'
44575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44578
44579
44580 fi
44581
44582 fi
44583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44584 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44585
44586 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44587 for ac_func in finitel
44588 do :
44589 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44590 if test "x$ac_cv_func_finitel" = x""yes; then :
44591 cat >>confdefs.h <<_ACEOF
44592 #define HAVE_FINITEL 1
44593 _ACEOF
44594
44595 fi
44596 done
44597
44598 else
44599
44600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44601 $as_echo_n "checking for _finitel declaration... " >&6; }
44602 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44603 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44604 $as_echo_n "(cached) " >&6
44605 else
44606
44607
44608 ac_ext=cpp
44609 ac_cpp='$CXXCPP $CPPFLAGS'
44610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44613
44614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44615 /* end confdefs.h. */
44616 #include <math.h>
44617 #ifdef HAVE_IEEEFP_H
44618 #include <ieeefp.h>
44619 #endif
44620
44621 int
44622 main ()
44623 {
44624 _finitel(0);
44625 ;
44626 return 0;
44627 }
44628 _ACEOF
44629 if ac_fn_cxx_try_compile "$LINENO"; then :
44630 glibcxx_cv_func__finitel_use=yes
44631 else
44632 glibcxx_cv_func__finitel_use=no
44633 fi
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635 ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44640
44641
44642 fi
44643
44644 fi
44645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44646 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44647
44648 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44649 for ac_func in _finitel
44650 do :
44651 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44652 if test "x$ac_cv_func__finitel" = x""yes; then :
44653 cat >>confdefs.h <<_ACEOF
44654 #define HAVE__FINITEL 1
44655 _ACEOF
44656
44657 fi
44658 done
44659
44660 fi
44661 fi
44662
44663
44664
44665
44666 LIBS="$ac_save_LIBS"
44667 CXXFLAGS="$ac_save_CXXFLAGS"
44668
44669
44670 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44671 ac_save_CXXFLAGS="$CXXFLAGS"
44672 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44673
44674
44675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44676 $as_echo_n "checking for strtold declaration... " >&6; }
44677 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44678 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44679 $as_echo_n "(cached) " >&6
44680 else
44681
44682
44683 ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688
44689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44690 /* end confdefs.h. */
44691 #include <stdlib.h>
44692 int
44693 main ()
44694 {
44695 strtold(0, 0);
44696 ;
44697 return 0;
44698 }
44699 _ACEOF
44700 if ac_fn_cxx_try_compile "$LINENO"; then :
44701 glibcxx_cv_func_strtold_use=yes
44702 else
44703 glibcxx_cv_func_strtold_use=no
44704 fi
44705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44706 ac_ext=c
44707 ac_cpp='$CPP $CPPFLAGS'
44708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711
44712
44713 fi
44714
44715 fi
44716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44717 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44718 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44719 for ac_func in strtold
44720 do :
44721 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44722 if test "x$ac_cv_func_strtold" = x""yes; then :
44723 cat >>confdefs.h <<_ACEOF
44724 #define HAVE_STRTOLD 1
44725 _ACEOF
44726
44727 fi
44728 done
44729
44730 fi
44731
44732
44733
44734
44735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44736 $as_echo_n "checking for strtof declaration... " >&6; }
44737 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44738 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44739 $as_echo_n "(cached) " >&6
44740 else
44741
44742
44743 ac_ext=cpp
44744 ac_cpp='$CXXCPP $CPPFLAGS'
44745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44748
44749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44750 /* end confdefs.h. */
44751 #include <stdlib.h>
44752 int
44753 main ()
44754 {
44755 strtof(0, 0);
44756 ;
44757 return 0;
44758 }
44759 _ACEOF
44760 if ac_fn_cxx_try_compile "$LINENO"; then :
44761 glibcxx_cv_func_strtof_use=yes
44762 else
44763 glibcxx_cv_func_strtof_use=no
44764 fi
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44771
44772
44773 fi
44774
44775 fi
44776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44777 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44778 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44779 for ac_func in strtof
44780 do :
44781 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44782 if test "x$ac_cv_func_strtof" = x""yes; then :
44783 cat >>confdefs.h <<_ACEOF
44784 #define HAVE_STRTOF 1
44785 _ACEOF
44786
44787 fi
44788 done
44789
44790 fi
44791
44792
44793
44794
44795 CXXFLAGS="$ac_save_CXXFLAGS"
44796
44797 ;;
44798
44799 *djgpp)
44800 # GLIBCXX_CHECK_MATH_SUPPORT
44801 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44802
44803 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44804
44805 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44806
44807 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44808
44809 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44810
44811 ;;
44812
44813 *-freebsd*)
44814 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44815
44816
44817 # If we're not using GNU ld, then there's no point in even trying these
44818 # tests. Check for that first. We should have already tested for gld
44819 # by now (in libtool), but require it now just to be safe...
44820 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44821 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44822
44823
44824
44825 # The name set by libtool depends on the version of libtool. Shame on us
44826 # for depending on an impl detail, but c'est la vie. Older versions used
44827 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44828 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44829 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44830 # set (hence we're using an older libtool), then set it.
44831 if test x${with_gnu_ld+set} != xset; then
44832 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44833 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44834 with_gnu_ld=no
44835 else
44836 with_gnu_ld=$ac_cv_prog_gnu_ld
44837 fi
44838 fi
44839
44840 # Start by getting the version number. I think the libtool test already
44841 # does some of this, but throws away the result.
44842 glibcxx_ld_is_gold=no
44843 if test x"$with_gnu_ld" = x"yes"; then
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44845 $as_echo_n "checking for ld version... " >&6; }
44846
44847 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44848 glibcxx_ld_is_gold=yes
44849 fi
44850 ldver=`$LD --version 2>/dev/null |
44851 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'`
44852
44853 glibcxx_gnu_ld_version=`echo $ldver | \
44854 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44856 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44857 fi
44858
44859 # Set --gc-sections.
44860 glibcxx_have_gc_sections=no
44861 if test "$glibcxx_ld_is_gold" = "yes"; then
44862 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44863 glibcxx_have_gc_sections=yes
44864 fi
44865 else
44866 glibcxx_gcsections_min_ld=21602
44867 if test x"$with_gnu_ld" = x"yes" &&
44868 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44869 glibcxx_have_gc_sections=yes
44870 fi
44871 fi
44872 if test "$glibcxx_have_gc_sections" = "yes"; then
44873 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44874 # NB: This flag only works reliably after 2.16.1. Configure tests
44875 # for this are difficult, so hard wire a value that should work.
44876
44877 ac_test_CFLAGS="${CFLAGS+set}"
44878 ac_save_CFLAGS="$CFLAGS"
44879 CFLAGS='-Wl,--gc-sections'
44880
44881 # Check for -Wl,--gc-sections
44882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44883 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44884 if test x$gcc_no_link = xyes; then
44885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44886 fi
44887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44888 /* end confdefs.h. */
44889 int one(void) { return 1; }
44890 int two(void) { return 2; }
44891
44892 int
44893 main ()
44894 {
44895 two();
44896 ;
44897 return 0;
44898 }
44899 _ACEOF
44900 if ac_fn_c_try_link "$LINENO"; then :
44901 ac_gcsections=yes
44902 else
44903 ac_gcsections=no
44904 fi
44905 rm -f core conftest.err conftest.$ac_objext \
44906 conftest$ac_exeext conftest.$ac_ext
44907 if test "$ac_gcsections" = "yes"; then
44908 rm -f conftest.c
44909 touch conftest.c
44910 if $CC -c conftest.c; then
44911 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44912 grep "Warning: gc-sections option ignored" > /dev/null; then
44913 ac_gcsections=no
44914 fi
44915 fi
44916 rm -f conftest.c conftest.o conftest
44917 fi
44918 if test "$ac_gcsections" = "yes"; then
44919 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44920 fi
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44922 $as_echo "$ac_gcsections" >&6; }
44923
44924 if test "$ac_test_CFLAGS" = set; then
44925 CFLAGS="$ac_save_CFLAGS"
44926 else
44927 # this is the suspicious part
44928 CFLAGS=''
44929 fi
44930 fi
44931
44932 # Set -z,relro.
44933 # Note this is only for shared objects.
44934 ac_ld_relro=no
44935 if test x"$with_gnu_ld" = x"yes"; then
44936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44937 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44938 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44939 if test -n "$cxx_z_relo"; then
44940 OPT_LDFLAGS="-Wl,-z,relro"
44941 ac_ld_relro=yes
44942 fi
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44944 $as_echo "$ac_ld_relro" >&6; }
44945 fi
44946
44947 # Set linker optimization flags.
44948 if test x"$with_gnu_ld" = x"yes"; then
44949 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44950 fi
44951
44952
44953
44954
44955 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44956
44957 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44958
44959 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44960
44961 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44962
44963 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44964
44965 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44966
44967 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44968
44969 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44970
44971 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44972
44973
44974 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44975
44976 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44977
44978 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44979
44980 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44981
44982 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44983
44984 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44985
44986 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44987
44988 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44989
44990 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44991
44992 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44993
44994 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44995
44996 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44997
44998 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44999
45000 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45001
45002 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45003
45004 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45005
45006 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45007
45008 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45009
45010 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45011
45012 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45013
45014 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45015
45016 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45017
45018 if test x"long_double_math_on_this_cpu" = x"yes"; then
45019 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45020
45021 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45022
45023 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45024
45025 fi
45026 ;;
45027 *-hpux*)
45028 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45029
45030
45031 # If we're not using GNU ld, then there's no point in even trying these
45032 # tests. Check for that first. We should have already tested for gld
45033 # by now (in libtool), but require it now just to be safe...
45034 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45035 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45036
45037
45038
45039 # The name set by libtool depends on the version of libtool. Shame on us
45040 # for depending on an impl detail, but c'est la vie. Older versions used
45041 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45042 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45043 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45044 # set (hence we're using an older libtool), then set it.
45045 if test x${with_gnu_ld+set} != xset; then
45046 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45047 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45048 with_gnu_ld=no
45049 else
45050 with_gnu_ld=$ac_cv_prog_gnu_ld
45051 fi
45052 fi
45053
45054 # Start by getting the version number. I think the libtool test already
45055 # does some of this, but throws away the result.
45056 glibcxx_ld_is_gold=no
45057 if test x"$with_gnu_ld" = x"yes"; then
45058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45059 $as_echo_n "checking for ld version... " >&6; }
45060
45061 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45062 glibcxx_ld_is_gold=yes
45063 fi
45064 ldver=`$LD --version 2>/dev/null |
45065 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'`
45066
45067 glibcxx_gnu_ld_version=`echo $ldver | \
45068 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45070 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45071 fi
45072
45073 # Set --gc-sections.
45074 glibcxx_have_gc_sections=no
45075 if test "$glibcxx_ld_is_gold" = "yes"; then
45076 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45077 glibcxx_have_gc_sections=yes
45078 fi
45079 else
45080 glibcxx_gcsections_min_ld=21602
45081 if test x"$with_gnu_ld" = x"yes" &&
45082 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45083 glibcxx_have_gc_sections=yes
45084 fi
45085 fi
45086 if test "$glibcxx_have_gc_sections" = "yes"; then
45087 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45088 # NB: This flag only works reliably after 2.16.1. Configure tests
45089 # for this are difficult, so hard wire a value that should work.
45090
45091 ac_test_CFLAGS="${CFLAGS+set}"
45092 ac_save_CFLAGS="$CFLAGS"
45093 CFLAGS='-Wl,--gc-sections'
45094
45095 # Check for -Wl,--gc-sections
45096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45097 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45098 if test x$gcc_no_link = xyes; then
45099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45100 fi
45101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45102 /* end confdefs.h. */
45103 int one(void) { return 1; }
45104 int two(void) { return 2; }
45105
45106 int
45107 main ()
45108 {
45109 two();
45110 ;
45111 return 0;
45112 }
45113 _ACEOF
45114 if ac_fn_c_try_link "$LINENO"; then :
45115 ac_gcsections=yes
45116 else
45117 ac_gcsections=no
45118 fi
45119 rm -f core conftest.err conftest.$ac_objext \
45120 conftest$ac_exeext conftest.$ac_ext
45121 if test "$ac_gcsections" = "yes"; then
45122 rm -f conftest.c
45123 touch conftest.c
45124 if $CC -c conftest.c; then
45125 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45126 grep "Warning: gc-sections option ignored" > /dev/null; then
45127 ac_gcsections=no
45128 fi
45129 fi
45130 rm -f conftest.c conftest.o conftest
45131 fi
45132 if test "$ac_gcsections" = "yes"; then
45133 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45134 fi
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45136 $as_echo "$ac_gcsections" >&6; }
45137
45138 if test "$ac_test_CFLAGS" = set; then
45139 CFLAGS="$ac_save_CFLAGS"
45140 else
45141 # this is the suspicious part
45142 CFLAGS=''
45143 fi
45144 fi
45145
45146 # Set -z,relro.
45147 # Note this is only for shared objects.
45148 ac_ld_relro=no
45149 if test x"$with_gnu_ld" = x"yes"; then
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45151 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45152 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45153 if test -n "$cxx_z_relo"; then
45154 OPT_LDFLAGS="-Wl,-z,relro"
45155 ac_ld_relro=yes
45156 fi
45157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45158 $as_echo "$ac_ld_relro" >&6; }
45159 fi
45160
45161 # Set linker optimization flags.
45162 if test x"$with_gnu_ld" = x"yes"; then
45163 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45164 fi
45165
45166
45167
45168
45169
45170 # GLIBCXX_CHECK_MATH_SUPPORT
45171 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45172
45173 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45174
45175 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45176
45177 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45178
45179 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45180
45181 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45182
45183 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45184
45185 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45186
45187 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45188
45189 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45190
45191 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45192
45193 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45194
45195 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45196
45197 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45198
45199 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45200
45201 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45202
45203 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45204
45205 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45206
45207 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45208
45209 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45210
45211 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45212
45213
45214 # GLIBCXX_CHECK_STDLIB_SUPPORT
45215 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45216
45217
45218
45219
45220 # Check whether --enable-tls was given.
45221 if test "${enable_tls+set}" = set; then :
45222 enableval=$enable_tls;
45223 case "$enableval" in
45224 yes|no) ;;
45225 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45226 esac
45227
45228 else
45229 enable_tls=yes
45230 fi
45231
45232
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45234 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45235 if test "${gcc_cv_have_tls+set}" = set; then :
45236 $as_echo_n "(cached) " >&6
45237 else
45238
45239 if test "$cross_compiling" = yes; then :
45240 if test x$gcc_no_link = xyes; then
45241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45242 fi
45243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45244 /* end confdefs.h. */
45245 __thread int a; int b; int main() { return a = b; }
45246 _ACEOF
45247 if ac_fn_c_try_link "$LINENO"; then :
45248 chktls_save_LDFLAGS="$LDFLAGS"
45249 case $host in
45250 *-*-linux*)
45251 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45252 ;;
45253 esac
45254 chktls_save_CFLAGS="$CFLAGS"
45255 CFLAGS="-fPIC $CFLAGS"
45256 if test x$gcc_no_link = xyes; then
45257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45258 fi
45259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45260 /* end confdefs.h. */
45261 int f() { return 0; }
45262 _ACEOF
45263 if ac_fn_c_try_link "$LINENO"; then :
45264 if test x$gcc_no_link = xyes; then
45265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45266 fi
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 __thread int a; int b; int f() { return a = b; }
45270 _ACEOF
45271 if ac_fn_c_try_link "$LINENO"; then :
45272 gcc_cv_have_tls=yes
45273 else
45274 gcc_cv_have_tls=no
45275 fi
45276 rm -f core conftest.err conftest.$ac_objext \
45277 conftest$ac_exeext conftest.$ac_ext
45278 else
45279 gcc_cv_have_tls=yes
45280 fi
45281 rm -f core conftest.err conftest.$ac_objext \
45282 conftest$ac_exeext conftest.$ac_ext
45283 CFLAGS="$chktls_save_CFLAGS"
45284 LDFLAGS="$chktls_save_LDFLAGS"
45285 else
45286 gcc_cv_have_tls=no
45287 fi
45288 rm -f core conftest.err conftest.$ac_objext \
45289 conftest$ac_exeext conftest.$ac_ext
45290
45291
45292 else
45293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45294 /* end confdefs.h. */
45295 __thread int a; int b; int main() { return a = b; }
45296 _ACEOF
45297 if ac_fn_c_try_run "$LINENO"; then :
45298 chktls_save_LDFLAGS="$LDFLAGS"
45299 LDFLAGS="-static $LDFLAGS"
45300 if test x$gcc_no_link = xyes; then
45301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45302 fi
45303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h. */
45305 int main() { return 0; }
45306 _ACEOF
45307 if ac_fn_c_try_link "$LINENO"; then :
45308 if test "$cross_compiling" = yes; then :
45309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45311 as_fn_error "cannot run test program while cross compiling
45312 See \`config.log' for more details." "$LINENO" 5; }
45313 else
45314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45315 /* end confdefs.h. */
45316 __thread int a; int b; int main() { return a = b; }
45317 _ACEOF
45318 if ac_fn_c_try_run "$LINENO"; then :
45319 gcc_cv_have_tls=yes
45320 else
45321 gcc_cv_have_tls=no
45322 fi
45323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45324 conftest.$ac_objext conftest.beam conftest.$ac_ext
45325 fi
45326
45327 else
45328 gcc_cv_have_tls=yes
45329 fi
45330 rm -f core conftest.err conftest.$ac_objext \
45331 conftest$ac_exeext conftest.$ac_ext
45332 LDFLAGS="$chktls_save_LDFLAGS"
45333 if test $gcc_cv_have_tls = yes; then
45334 chktls_save_CFLAGS="$CFLAGS"
45335 thread_CFLAGS=failed
45336 for flag in '' '-pthread' '-lpthread'; do
45337 CFLAGS="$flag $chktls_save_CFLAGS"
45338 if test x$gcc_no_link = xyes; then
45339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45340 fi
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 #include <pthread.h>
45344 void *g(void *d) { return NULL; }
45345 int
45346 main ()
45347 {
45348 pthread_t t; pthread_create(&t,NULL,g,NULL);
45349 ;
45350 return 0;
45351 }
45352 _ACEOF
45353 if ac_fn_c_try_link "$LINENO"; then :
45354 thread_CFLAGS="$flag"
45355 fi
45356 rm -f core conftest.err conftest.$ac_objext \
45357 conftest$ac_exeext conftest.$ac_ext
45358 if test "X$thread_CFLAGS" != Xfailed; then
45359 break
45360 fi
45361 done
45362 CFLAGS="$chktls_save_CFLAGS"
45363 if test "X$thread_CFLAGS" != Xfailed; then
45364 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45365 if test "$cross_compiling" = yes; then :
45366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45368 as_fn_error "cannot run test program while cross compiling
45369 See \`config.log' for more details." "$LINENO" 5; }
45370 else
45371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45372 /* end confdefs.h. */
45373 #include <pthread.h>
45374 __thread int a;
45375 static int *volatile a_in_other_thread;
45376 static void *
45377 thread_func (void *arg)
45378 {
45379 a_in_other_thread = &a;
45380 return (void *)0;
45381 }
45382 int
45383 main ()
45384 {
45385 pthread_t thread;
45386 void *thread_retval;
45387 int *volatile a_in_main_thread;
45388 a_in_main_thread = &a;
45389 if (pthread_create (&thread, (pthread_attr_t *)0,
45390 thread_func, (void *)0))
45391 return 0;
45392 if (pthread_join (thread, &thread_retval))
45393 return 0;
45394 return (a_in_other_thread == a_in_main_thread);
45395 ;
45396 return 0;
45397 }
45398 _ACEOF
45399 if ac_fn_c_try_run "$LINENO"; then :
45400 gcc_cv_have_tls=yes
45401 else
45402 gcc_cv_have_tls=no
45403 fi
45404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45405 conftest.$ac_objext conftest.beam conftest.$ac_ext
45406 fi
45407
45408 CFLAGS="$chktls_save_CFLAGS"
45409 fi
45410 fi
45411 else
45412 gcc_cv_have_tls=no
45413 fi
45414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45415 conftest.$ac_objext conftest.beam conftest.$ac_ext
45416 fi
45417
45418 fi
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45420 $as_echo "$gcc_cv_have_tls" >&6; }
45421 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45422
45423 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45424
45425 fi
45426 case "$target" in
45427 *-hpux10*)
45428 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45429
45430 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45431
45432 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45433
45434 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45435
45436 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45437
45438 ;;
45439 esac
45440 ;;
45441 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45442
45443 # All these tests are for C++; save the language and the compiler flags.
45444 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45445 # found in GLIBCXX_CONFIGURE.
45446
45447 ac_ext=cpp
45448 ac_cpp='$CXXCPP $CPPFLAGS'
45449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45452
45453 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45454 ac_save_CXXFLAGS="$CXXFLAGS"
45455
45456 # Check for maintainer-mode bits.
45457 if test x"$USE_MAINTAINER_MODE" = xno; then
45458 WERROR=''
45459 else
45460 WERROR='-Werror'
45461 fi
45462
45463 # Check for -ffunction-sections -fdata-sections
45464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45465 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45466 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45468 /* end confdefs.h. */
45469 int foo; void bar() { };
45470 int
45471 main ()
45472 {
45473
45474 ;
45475 return 0;
45476 }
45477 _ACEOF
45478 if ac_fn_cxx_try_compile "$LINENO"; then :
45479 ac_fdsections=yes
45480 else
45481 ac_fdsections=no
45482 fi
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484 if test "$ac_test_CXXFLAGS" = set; then
45485 CXXFLAGS="$ac_save_CXXFLAGS"
45486 else
45487 # this is the suspicious part
45488 CXXFLAGS=''
45489 fi
45490 if test x"$ac_fdsections" = x"yes"; then
45491 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45492 fi
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45494 $as_echo "$ac_fdsections" >&6; }
45495
45496 ac_ext=c
45497 ac_cpp='$CPP $CPPFLAGS'
45498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501
45502
45503
45504
45505
45506 # If we're not using GNU ld, then there's no point in even trying these
45507 # tests. Check for that first. We should have already tested for gld
45508 # by now (in libtool), but require it now just to be safe...
45509 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45510 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45511
45512
45513
45514 # The name set by libtool depends on the version of libtool. Shame on us
45515 # for depending on an impl detail, but c'est la vie. Older versions used
45516 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45517 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45518 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45519 # set (hence we're using an older libtool), then set it.
45520 if test x${with_gnu_ld+set} != xset; then
45521 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45522 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45523 with_gnu_ld=no
45524 else
45525 with_gnu_ld=$ac_cv_prog_gnu_ld
45526 fi
45527 fi
45528
45529 # Start by getting the version number. I think the libtool test already
45530 # does some of this, but throws away the result.
45531 glibcxx_ld_is_gold=no
45532 if test x"$with_gnu_ld" = x"yes"; then
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45534 $as_echo_n "checking for ld version... " >&6; }
45535
45536 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45537 glibcxx_ld_is_gold=yes
45538 fi
45539 ldver=`$LD --version 2>/dev/null |
45540 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'`
45541
45542 glibcxx_gnu_ld_version=`echo $ldver | \
45543 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45545 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45546 fi
45547
45548 # Set --gc-sections.
45549 glibcxx_have_gc_sections=no
45550 if test "$glibcxx_ld_is_gold" = "yes"; then
45551 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45552 glibcxx_have_gc_sections=yes
45553 fi
45554 else
45555 glibcxx_gcsections_min_ld=21602
45556 if test x"$with_gnu_ld" = x"yes" &&
45557 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45558 glibcxx_have_gc_sections=yes
45559 fi
45560 fi
45561 if test "$glibcxx_have_gc_sections" = "yes"; then
45562 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45563 # NB: This flag only works reliably after 2.16.1. Configure tests
45564 # for this are difficult, so hard wire a value that should work.
45565
45566 ac_test_CFLAGS="${CFLAGS+set}"
45567 ac_save_CFLAGS="$CFLAGS"
45568 CFLAGS='-Wl,--gc-sections'
45569
45570 # Check for -Wl,--gc-sections
45571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45572 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45573 if test x$gcc_no_link = xyes; then
45574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45575 fi
45576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h. */
45578 int one(void) { return 1; }
45579 int two(void) { return 2; }
45580
45581 int
45582 main ()
45583 {
45584 two();
45585 ;
45586 return 0;
45587 }
45588 _ACEOF
45589 if ac_fn_c_try_link "$LINENO"; then :
45590 ac_gcsections=yes
45591 else
45592 ac_gcsections=no
45593 fi
45594 rm -f core conftest.err conftest.$ac_objext \
45595 conftest$ac_exeext conftest.$ac_ext
45596 if test "$ac_gcsections" = "yes"; then
45597 rm -f conftest.c
45598 touch conftest.c
45599 if $CC -c conftest.c; then
45600 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45601 grep "Warning: gc-sections option ignored" > /dev/null; then
45602 ac_gcsections=no
45603 fi
45604 fi
45605 rm -f conftest.c conftest.o conftest
45606 fi
45607 if test "$ac_gcsections" = "yes"; then
45608 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45609 fi
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45611 $as_echo "$ac_gcsections" >&6; }
45612
45613 if test "$ac_test_CFLAGS" = set; then
45614 CFLAGS="$ac_save_CFLAGS"
45615 else
45616 # this is the suspicious part
45617 CFLAGS=''
45618 fi
45619 fi
45620
45621 # Set -z,relro.
45622 # Note this is only for shared objects.
45623 ac_ld_relro=no
45624 if test x"$with_gnu_ld" = x"yes"; then
45625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45626 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45627 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45628 if test -n "$cxx_z_relo"; then
45629 OPT_LDFLAGS="-Wl,-z,relro"
45630 ac_ld_relro=yes
45631 fi
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45633 $as_echo "$ac_ld_relro" >&6; }
45634 fi
45635
45636 # Set linker optimization flags.
45637 if test x"$with_gnu_ld" = x"yes"; then
45638 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45639 fi
45640
45641
45642
45643
45644
45645 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45646 ac_save_CXXFLAGS="$CXXFLAGS"
45647 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45648
45649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45650 $as_echo_n "checking for sin in -lm... " >&6; }
45651 if test "${ac_cv_lib_m_sin+set}" = set; then :
45652 $as_echo_n "(cached) " >&6
45653 else
45654 ac_check_lib_save_LIBS=$LIBS
45655 LIBS="-lm $LIBS"
45656 if test x$gcc_no_link = xyes; then
45657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45658 fi
45659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45660 /* end confdefs.h. */
45661
45662 /* Override any GCC internal prototype to avoid an error.
45663 Use char because int might match the return type of a GCC
45664 builtin and then its argument prototype would still apply. */
45665 #ifdef __cplusplus
45666 extern "C"
45667 #endif
45668 char sin ();
45669 int
45670 main ()
45671 {
45672 return sin ();
45673 ;
45674 return 0;
45675 }
45676 _ACEOF
45677 if ac_fn_c_try_link "$LINENO"; then :
45678 ac_cv_lib_m_sin=yes
45679 else
45680 ac_cv_lib_m_sin=no
45681 fi
45682 rm -f core conftest.err conftest.$ac_objext \
45683 conftest$ac_exeext conftest.$ac_ext
45684 LIBS=$ac_check_lib_save_LIBS
45685 fi
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45687 $as_echo "$ac_cv_lib_m_sin" >&6; }
45688 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45689 libm="-lm"
45690 fi
45691
45692 ac_save_LIBS="$LIBS"
45693 LIBS="$LIBS $libm"
45694
45695
45696
45697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45698 $as_echo_n "checking for isinf declaration... " >&6; }
45699 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45700 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45701 $as_echo_n "(cached) " >&6
45702 else
45703
45704
45705 ac_ext=cpp
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45710
45711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45712 /* end confdefs.h. */
45713 #include <math.h>
45714 #ifdef HAVE_IEEEFP_H
45715 #include <ieeefp.h>
45716 #endif
45717
45718 int
45719 main ()
45720 {
45721 isinf(0);
45722 ;
45723 return 0;
45724 }
45725 _ACEOF
45726 if ac_fn_cxx_try_compile "$LINENO"; then :
45727 glibcxx_cv_func_isinf_use=yes
45728 else
45729 glibcxx_cv_func_isinf_use=no
45730 fi
45731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45732 ac_ext=c
45733 ac_cpp='$CPP $CPPFLAGS'
45734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45737
45738
45739 fi
45740
45741 fi
45742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45743 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45744
45745 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45746 for ac_func in isinf
45747 do :
45748 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45749 if test "x$ac_cv_func_isinf" = x""yes; then :
45750 cat >>confdefs.h <<_ACEOF
45751 #define HAVE_ISINF 1
45752 _ACEOF
45753
45754 fi
45755 done
45756
45757 else
45758
45759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45760 $as_echo_n "checking for _isinf declaration... " >&6; }
45761 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45762 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45763 $as_echo_n "(cached) " >&6
45764 else
45765
45766
45767 ac_ext=cpp
45768 ac_cpp='$CXXCPP $CPPFLAGS'
45769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45772
45773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45774 /* end confdefs.h. */
45775 #include <math.h>
45776 #ifdef HAVE_IEEEFP_H
45777 #include <ieeefp.h>
45778 #endif
45779
45780 int
45781 main ()
45782 {
45783 _isinf(0);
45784 ;
45785 return 0;
45786 }
45787 _ACEOF
45788 if ac_fn_cxx_try_compile "$LINENO"; then :
45789 glibcxx_cv_func__isinf_use=yes
45790 else
45791 glibcxx_cv_func__isinf_use=no
45792 fi
45793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45794 ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45799
45800
45801 fi
45802
45803 fi
45804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45805 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45806
45807 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45808 for ac_func in _isinf
45809 do :
45810 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45811 if test "x$ac_cv_func__isinf" = x""yes; then :
45812 cat >>confdefs.h <<_ACEOF
45813 #define HAVE__ISINF 1
45814 _ACEOF
45815
45816 fi
45817 done
45818
45819 fi
45820 fi
45821
45822
45823
45824
45825
45826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45827 $as_echo_n "checking for isnan declaration... " >&6; }
45828 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45829 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45830 $as_echo_n "(cached) " >&6
45831 else
45832
45833
45834 ac_ext=cpp
45835 ac_cpp='$CXXCPP $CPPFLAGS'
45836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45839
45840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45841 /* end confdefs.h. */
45842 #include <math.h>
45843 #ifdef HAVE_IEEEFP_H
45844 #include <ieeefp.h>
45845 #endif
45846
45847 int
45848 main ()
45849 {
45850 isnan(0);
45851 ;
45852 return 0;
45853 }
45854 _ACEOF
45855 if ac_fn_cxx_try_compile "$LINENO"; then :
45856 glibcxx_cv_func_isnan_use=yes
45857 else
45858 glibcxx_cv_func_isnan_use=no
45859 fi
45860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45861 ac_ext=c
45862 ac_cpp='$CPP $CPPFLAGS'
45863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45866
45867
45868 fi
45869
45870 fi
45871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45872 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45873
45874 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45875 for ac_func in isnan
45876 do :
45877 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45878 if test "x$ac_cv_func_isnan" = x""yes; then :
45879 cat >>confdefs.h <<_ACEOF
45880 #define HAVE_ISNAN 1
45881 _ACEOF
45882
45883 fi
45884 done
45885
45886 else
45887
45888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45889 $as_echo_n "checking for _isnan declaration... " >&6; }
45890 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45891 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45892 $as_echo_n "(cached) " >&6
45893 else
45894
45895
45896 ac_ext=cpp
45897 ac_cpp='$CXXCPP $CPPFLAGS'
45898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45901
45902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45903 /* end confdefs.h. */
45904 #include <math.h>
45905 #ifdef HAVE_IEEEFP_H
45906 #include <ieeefp.h>
45907 #endif
45908
45909 int
45910 main ()
45911 {
45912 _isnan(0);
45913 ;
45914 return 0;
45915 }
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918 glibcxx_cv_func__isnan_use=yes
45919 else
45920 glibcxx_cv_func__isnan_use=no
45921 fi
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928
45929
45930 fi
45931
45932 fi
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45934 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45935
45936 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45937 for ac_func in _isnan
45938 do :
45939 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45940 if test "x$ac_cv_func__isnan" = x""yes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define HAVE__ISNAN 1
45943 _ACEOF
45944
45945 fi
45946 done
45947
45948 fi
45949 fi
45950
45951
45952
45953
45954
45955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45956 $as_echo_n "checking for finite declaration... " >&6; }
45957 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45958 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45959 $as_echo_n "(cached) " >&6
45960 else
45961
45962
45963 ac_ext=cpp
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968
45969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45970 /* end confdefs.h. */
45971 #include <math.h>
45972 #ifdef HAVE_IEEEFP_H
45973 #include <ieeefp.h>
45974 #endif
45975
45976 int
45977 main ()
45978 {
45979 finite(0);
45980 ;
45981 return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985 glibcxx_cv_func_finite_use=yes
45986 else
45987 glibcxx_cv_func_finite_use=no
45988 fi
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990 ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995
45996
45997 fi
45998
45999 fi
46000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46001 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46002
46003 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46004 for ac_func in finite
46005 do :
46006 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46007 if test "x$ac_cv_func_finite" = x""yes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define HAVE_FINITE 1
46010 _ACEOF
46011
46012 fi
46013 done
46014
46015 else
46016
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46018 $as_echo_n "checking for _finite declaration... " >&6; }
46019 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46020 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46023
46024
46025 ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030
46031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h. */
46033 #include <math.h>
46034 #ifdef HAVE_IEEEFP_H
46035 #include <ieeefp.h>
46036 #endif
46037
46038 int
46039 main ()
46040 {
46041 _finite(0);
46042 ;
46043 return 0;
46044 }
46045 _ACEOF
46046 if ac_fn_cxx_try_compile "$LINENO"; then :
46047 glibcxx_cv_func__finite_use=yes
46048 else
46049 glibcxx_cv_func__finite_use=no
46050 fi
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052 ac_ext=c
46053 ac_cpp='$CPP $CPPFLAGS'
46054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057
46058
46059 fi
46060
46061 fi
46062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46063 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46064
46065 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46066 for ac_func in _finite
46067 do :
46068 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46069 if test "x$ac_cv_func__finite" = x""yes; then :
46070 cat >>confdefs.h <<_ACEOF
46071 #define HAVE__FINITE 1
46072 _ACEOF
46073
46074 fi
46075 done
46076
46077 fi
46078 fi
46079
46080
46081
46082
46083
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46085 $as_echo_n "checking for sincos declaration... " >&6; }
46086 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46087 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46090
46091
46092 ac_ext=cpp
46093 ac_cpp='$CXXCPP $CPPFLAGS'
46094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46097
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <math.h>
46101 int
46102 main ()
46103 {
46104 sincos(0, 0, 0);
46105 ;
46106 return 0;
46107 }
46108 _ACEOF
46109 if ac_fn_cxx_try_compile "$LINENO"; then :
46110 glibcxx_cv_func_sincos_use=yes
46111 else
46112 glibcxx_cv_func_sincos_use=no
46113 fi
46114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46115 ac_ext=c
46116 ac_cpp='$CPP $CPPFLAGS'
46117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46120
46121
46122 fi
46123
46124 fi
46125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46126 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46127
46128 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46129 for ac_func in sincos
46130 do :
46131 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46132 if test "x$ac_cv_func_sincos" = x""yes; then :
46133 cat >>confdefs.h <<_ACEOF
46134 #define HAVE_SINCOS 1
46135 _ACEOF
46136
46137 fi
46138 done
46139
46140 else
46141
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46143 $as_echo_n "checking for _sincos declaration... " >&6; }
46144 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46145 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46146 $as_echo_n "(cached) " >&6
46147 else
46148
46149
46150 ac_ext=cpp
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46155
46156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h. */
46158 #include <math.h>
46159 int
46160 main ()
46161 {
46162 _sincos(0, 0, 0);
46163 ;
46164 return 0;
46165 }
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168 glibcxx_cv_func__sincos_use=yes
46169 else
46170 glibcxx_cv_func__sincos_use=no
46171 fi
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178
46179
46180 fi
46181
46182 fi
46183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46184 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46185
46186 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46187 for ac_func in _sincos
46188 do :
46189 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46190 if test "x$ac_cv_func__sincos" = x""yes; then :
46191 cat >>confdefs.h <<_ACEOF
46192 #define HAVE__SINCOS 1
46193 _ACEOF
46194
46195 fi
46196 done
46197
46198 fi
46199 fi
46200
46201
46202
46203
46204
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46206 $as_echo_n "checking for fpclass declaration... " >&6; }
46207 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46208 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46209 $as_echo_n "(cached) " >&6
46210 else
46211
46212
46213 ac_ext=cpp
46214 ac_cpp='$CXXCPP $CPPFLAGS'
46215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46218
46219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46220 /* end confdefs.h. */
46221 #include <math.h>
46222 #ifdef HAVE_IEEEFP_H
46223 #include <ieeefp.h>
46224 #endif
46225
46226 int
46227 main ()
46228 {
46229 fpclass(0);
46230 ;
46231 return 0;
46232 }
46233 _ACEOF
46234 if ac_fn_cxx_try_compile "$LINENO"; then :
46235 glibcxx_cv_func_fpclass_use=yes
46236 else
46237 glibcxx_cv_func_fpclass_use=no
46238 fi
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247 fi
46248
46249 fi
46250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46251 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46252
46253 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46254 for ac_func in fpclass
46255 do :
46256 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46257 if test "x$ac_cv_func_fpclass" = x""yes; then :
46258 cat >>confdefs.h <<_ACEOF
46259 #define HAVE_FPCLASS 1
46260 _ACEOF
46261
46262 fi
46263 done
46264
46265 else
46266
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46268 $as_echo_n "checking for _fpclass declaration... " >&6; }
46269 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46270 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46271 $as_echo_n "(cached) " >&6
46272 else
46273
46274
46275 ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280
46281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h. */
46283 #include <math.h>
46284 #ifdef HAVE_IEEEFP_H
46285 #include <ieeefp.h>
46286 #endif
46287
46288 int
46289 main ()
46290 {
46291 _fpclass(0);
46292 ;
46293 return 0;
46294 }
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297 glibcxx_cv_func__fpclass_use=yes
46298 else
46299 glibcxx_cv_func__fpclass_use=no
46300 fi
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302 ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307
46308
46309 fi
46310
46311 fi
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46313 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46314
46315 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46316 for ac_func in _fpclass
46317 do :
46318 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46319 if test "x$ac_cv_func__fpclass" = x""yes; then :
46320 cat >>confdefs.h <<_ACEOF
46321 #define HAVE__FPCLASS 1
46322 _ACEOF
46323
46324 fi
46325 done
46326
46327 fi
46328 fi
46329
46330
46331
46332
46333
46334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46335 $as_echo_n "checking for qfpclass declaration... " >&6; }
46336 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46337 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46338 $as_echo_n "(cached) " >&6
46339 else
46340
46341
46342 ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347
46348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h. */
46350 #include <math.h>
46351 #ifdef HAVE_IEEEFP_H
46352 #include <ieeefp.h>
46353 #endif
46354
46355 int
46356 main ()
46357 {
46358 qfpclass(0);
46359 ;
46360 return 0;
46361 }
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364 glibcxx_cv_func_qfpclass_use=yes
46365 else
46366 glibcxx_cv_func_qfpclass_use=no
46367 fi
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369 ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374
46375
46376 fi
46377
46378 fi
46379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46380 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46381
46382 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46383 for ac_func in qfpclass
46384 do :
46385 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46386 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46387 cat >>confdefs.h <<_ACEOF
46388 #define HAVE_QFPCLASS 1
46389 _ACEOF
46390
46391 fi
46392 done
46393
46394 else
46395
46396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46397 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46398 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46399 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46400 $as_echo_n "(cached) " >&6
46401 else
46402
46403
46404 ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409
46410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h. */
46412 #include <math.h>
46413 #ifdef HAVE_IEEEFP_H
46414 #include <ieeefp.h>
46415 #endif
46416
46417 int
46418 main ()
46419 {
46420 _qfpclass(0);
46421 ;
46422 return 0;
46423 }
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426 glibcxx_cv_func__qfpclass_use=yes
46427 else
46428 glibcxx_cv_func__qfpclass_use=no
46429 fi
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431 ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436
46437
46438 fi
46439
46440 fi
46441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46442 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46443
46444 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46445 for ac_func in _qfpclass
46446 do :
46447 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46448 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46449 cat >>confdefs.h <<_ACEOF
46450 #define HAVE__QFPCLASS 1
46451 _ACEOF
46452
46453 fi
46454 done
46455
46456 fi
46457 fi
46458
46459
46460
46461
46462
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46464 $as_echo_n "checking for hypot declaration... " >&6; }
46465 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46466 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46467 $as_echo_n "(cached) " >&6
46468 else
46469
46470
46471 ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h. */
46479 #include <math.h>
46480 int
46481 main ()
46482 {
46483 hypot(0, 0);
46484 ;
46485 return 0;
46486 }
46487 _ACEOF
46488 if ac_fn_cxx_try_compile "$LINENO"; then :
46489 glibcxx_cv_func_hypot_use=yes
46490 else
46491 glibcxx_cv_func_hypot_use=no
46492 fi
46493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46494 ac_ext=c
46495 ac_cpp='$CPP $CPPFLAGS'
46496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46499
46500
46501 fi
46502
46503 fi
46504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46505 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46506
46507 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46508 for ac_func in hypot
46509 do :
46510 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46511 if test "x$ac_cv_func_hypot" = x""yes; then :
46512 cat >>confdefs.h <<_ACEOF
46513 #define HAVE_HYPOT 1
46514 _ACEOF
46515
46516 fi
46517 done
46518
46519 else
46520
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46522 $as_echo_n "checking for _hypot declaration... " >&6; }
46523 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46524 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46525 $as_echo_n "(cached) " >&6
46526 else
46527
46528
46529 ac_ext=cpp
46530 ac_cpp='$CXXCPP $CPPFLAGS'
46531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46534
46535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46536 /* end confdefs.h. */
46537 #include <math.h>
46538 int
46539 main ()
46540 {
46541 _hypot(0, 0);
46542 ;
46543 return 0;
46544 }
46545 _ACEOF
46546 if ac_fn_cxx_try_compile "$LINENO"; then :
46547 glibcxx_cv_func__hypot_use=yes
46548 else
46549 glibcxx_cv_func__hypot_use=no
46550 fi
46551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552 ac_ext=c
46553 ac_cpp='$CPP $CPPFLAGS'
46554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46557
46558
46559 fi
46560
46561 fi
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46563 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46564
46565 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46566 for ac_func in _hypot
46567 do :
46568 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46569 if test "x$ac_cv_func__hypot" = x""yes; then :
46570 cat >>confdefs.h <<_ACEOF
46571 #define HAVE__HYPOT 1
46572 _ACEOF
46573
46574 fi
46575 done
46576
46577 fi
46578 fi
46579
46580
46581
46582
46583
46584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46585 $as_echo_n "checking for float trig functions... " >&6; }
46586 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46587 $as_echo_n "(cached) " >&6
46588 else
46589
46590
46591 ac_ext=cpp
46592 ac_cpp='$CXXCPP $CPPFLAGS'
46593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46596
46597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46598 /* end confdefs.h. */
46599 #include <math.h>
46600 int
46601 main ()
46602 {
46603 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46604 ;
46605 return 0;
46606 }
46607 _ACEOF
46608 if ac_fn_cxx_try_compile "$LINENO"; then :
46609 glibcxx_cv_func_float_trig_use=yes
46610 else
46611 glibcxx_cv_func_float_trig_use=no
46612 fi
46613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46614 ac_ext=c
46615 ac_cpp='$CPP $CPPFLAGS'
46616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46619
46620 fi
46621
46622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46623 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46624 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46625 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46626 do :
46627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46629 eval as_val=\$$as_ac_var
46630 if test "x$as_val" = x""yes; then :
46631 cat >>confdefs.h <<_ACEOF
46632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46633 _ACEOF
46634
46635 fi
46636 done
46637
46638 else
46639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46640 $as_echo_n "checking for _float trig functions... " >&6; }
46641 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46642 $as_echo_n "(cached) " >&6
46643 else
46644
46645
46646 ac_ext=cpp
46647 ac_cpp='$CXXCPP $CPPFLAGS'
46648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46651
46652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46653 /* end confdefs.h. */
46654 #include <math.h>
46655 int
46656 main ()
46657 {
46658 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46659 ;
46660 return 0;
46661 }
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func__float_trig_use=yes
46665 else
46666 glibcxx_cv_func__float_trig_use=no
46667 fi
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46674
46675 fi
46676
46677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46678 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46679 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46680 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46681 do :
46682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46684 eval as_val=\$$as_ac_var
46685 if test "x$as_val" = x""yes; then :
46686 cat >>confdefs.h <<_ACEOF
46687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 _ACEOF
46689
46690 fi
46691 done
46692
46693 fi
46694 fi
46695
46696
46697
46698
46699
46700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46701 $as_echo_n "checking for float round functions... " >&6; }
46702 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46703 $as_echo_n "(cached) " >&6
46704 else
46705
46706
46707 ac_ext=cpp
46708 ac_cpp='$CXXCPP $CPPFLAGS'
46709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712
46713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46714 /* end confdefs.h. */
46715 #include <math.h>
46716 int
46717 main ()
46718 {
46719 ceilf (0); floorf (0);
46720 ;
46721 return 0;
46722 }
46723 _ACEOF
46724 if ac_fn_cxx_try_compile "$LINENO"; then :
46725 glibcxx_cv_func_float_round_use=yes
46726 else
46727 glibcxx_cv_func_float_round_use=no
46728 fi
46729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46730 ac_ext=c
46731 ac_cpp='$CPP $CPPFLAGS'
46732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46735
46736 fi
46737
46738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46739 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46740 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46741 for ac_func in ceilf floorf
46742 do :
46743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46745 eval as_val=\$$as_ac_var
46746 if test "x$as_val" = x""yes; then :
46747 cat >>confdefs.h <<_ACEOF
46748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46749 _ACEOF
46750
46751 fi
46752 done
46753
46754 else
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46756 $as_echo_n "checking for _float round functions... " >&6; }
46757 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46758 $as_echo_n "(cached) " >&6
46759 else
46760
46761
46762 ac_ext=cpp
46763 ac_cpp='$CXXCPP $CPPFLAGS'
46764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767
46768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46769 /* end confdefs.h. */
46770 #include <math.h>
46771 int
46772 main ()
46773 {
46774 _ceilf (0); _floorf (0);
46775 ;
46776 return 0;
46777 }
46778 _ACEOF
46779 if ac_fn_cxx_try_compile "$LINENO"; then :
46780 glibcxx_cv_func__float_round_use=yes
46781 else
46782 glibcxx_cv_func__float_round_use=no
46783 fi
46784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46785 ac_ext=c
46786 ac_cpp='$CPP $CPPFLAGS'
46787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46790
46791 fi
46792
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46794 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46795 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46796 for ac_func in _ceilf _floorf
46797 do :
46798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46800 eval as_val=\$$as_ac_var
46801 if test "x$as_val" = x""yes; then :
46802 cat >>confdefs.h <<_ACEOF
46803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46804 _ACEOF
46805
46806 fi
46807 done
46808
46809 fi
46810 fi
46811
46812
46813
46814
46815
46816
46817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46818 $as_echo_n "checking for expf declaration... " >&6; }
46819 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46820 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46821 $as_echo_n "(cached) " >&6
46822 else
46823
46824
46825 ac_ext=cpp
46826 ac_cpp='$CXXCPP $CPPFLAGS'
46827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830
46831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46832 /* end confdefs.h. */
46833 #include <math.h>
46834 #ifdef HAVE_IEEEFP_H
46835 #include <ieeefp.h>
46836 #endif
46837
46838 int
46839 main ()
46840 {
46841 expf(0);
46842 ;
46843 return 0;
46844 }
46845 _ACEOF
46846 if ac_fn_cxx_try_compile "$LINENO"; then :
46847 glibcxx_cv_func_expf_use=yes
46848 else
46849 glibcxx_cv_func_expf_use=no
46850 fi
46851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46852 ac_ext=c
46853 ac_cpp='$CPP $CPPFLAGS'
46854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46857
46858
46859 fi
46860
46861 fi
46862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46863 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46864
46865 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46866 for ac_func in expf
46867 do :
46868 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46869 if test "x$ac_cv_func_expf" = x""yes; then :
46870 cat >>confdefs.h <<_ACEOF
46871 #define HAVE_EXPF 1
46872 _ACEOF
46873
46874 fi
46875 done
46876
46877 else
46878
46879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46880 $as_echo_n "checking for _expf declaration... " >&6; }
46881 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46882 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46883 $as_echo_n "(cached) " >&6
46884 else
46885
46886
46887 ac_ext=cpp
46888 ac_cpp='$CXXCPP $CPPFLAGS'
46889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892
46893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46894 /* end confdefs.h. */
46895 #include <math.h>
46896 #ifdef HAVE_IEEEFP_H
46897 #include <ieeefp.h>
46898 #endif
46899
46900 int
46901 main ()
46902 {
46903 _expf(0);
46904 ;
46905 return 0;
46906 }
46907 _ACEOF
46908 if ac_fn_cxx_try_compile "$LINENO"; then :
46909 glibcxx_cv_func__expf_use=yes
46910 else
46911 glibcxx_cv_func__expf_use=no
46912 fi
46913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46914 ac_ext=c
46915 ac_cpp='$CPP $CPPFLAGS'
46916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46919
46920
46921 fi
46922
46923 fi
46924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46925 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46926
46927 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46928 for ac_func in _expf
46929 do :
46930 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46931 if test "x$ac_cv_func__expf" = x""yes; then :
46932 cat >>confdefs.h <<_ACEOF
46933 #define HAVE__EXPF 1
46934 _ACEOF
46935
46936 fi
46937 done
46938
46939 fi
46940 fi
46941
46942
46943
46944
46945
46946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46947 $as_echo_n "checking for isnanf declaration... " >&6; }
46948 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46949 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46950 $as_echo_n "(cached) " >&6
46951 else
46952
46953
46954 ac_ext=cpp
46955 ac_cpp='$CXXCPP $CPPFLAGS'
46956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46959
46960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46961 /* end confdefs.h. */
46962 #include <math.h>
46963 #ifdef HAVE_IEEEFP_H
46964 #include <ieeefp.h>
46965 #endif
46966
46967 int
46968 main ()
46969 {
46970 isnanf(0);
46971 ;
46972 return 0;
46973 }
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976 glibcxx_cv_func_isnanf_use=yes
46977 else
46978 glibcxx_cv_func_isnanf_use=no
46979 fi
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986
46987
46988 fi
46989
46990 fi
46991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46992 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46993
46994 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46995 for ac_func in isnanf
46996 do :
46997 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46998 if test "x$ac_cv_func_isnanf" = x""yes; then :
46999 cat >>confdefs.h <<_ACEOF
47000 #define HAVE_ISNANF 1
47001 _ACEOF
47002
47003 fi
47004 done
47005
47006 else
47007
47008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47009 $as_echo_n "checking for _isnanf declaration... " >&6; }
47010 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47011 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47012 $as_echo_n "(cached) " >&6
47013 else
47014
47015
47016 ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021
47022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h. */
47024 #include <math.h>
47025 #ifdef HAVE_IEEEFP_H
47026 #include <ieeefp.h>
47027 #endif
47028
47029 int
47030 main ()
47031 {
47032 _isnanf(0);
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func__isnanf_use=yes
47039 else
47040 glibcxx_cv_func__isnanf_use=no
47041 fi
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048
47049
47050 fi
47051
47052 fi
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47054 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47055
47056 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47057 for ac_func in _isnanf
47058 do :
47059 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47060 if test "x$ac_cv_func__isnanf" = x""yes; then :
47061 cat >>confdefs.h <<_ACEOF
47062 #define HAVE__ISNANF 1
47063 _ACEOF
47064
47065 fi
47066 done
47067
47068 fi
47069 fi
47070
47071
47072
47073
47074
47075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47076 $as_echo_n "checking for isinff declaration... " >&6; }
47077 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47078 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47079 $as_echo_n "(cached) " >&6
47080 else
47081
47082
47083 ac_ext=cpp
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47088
47089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h. */
47091 #include <math.h>
47092 #ifdef HAVE_IEEEFP_H
47093 #include <ieeefp.h>
47094 #endif
47095
47096 int
47097 main ()
47098 {
47099 isinff(0);
47100 ;
47101 return 0;
47102 }
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105 glibcxx_cv_func_isinff_use=yes
47106 else
47107 glibcxx_cv_func_isinff_use=no
47108 fi
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115
47116
47117 fi
47118
47119 fi
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47121 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47122
47123 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47124 for ac_func in isinff
47125 do :
47126 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47127 if test "x$ac_cv_func_isinff" = x""yes; then :
47128 cat >>confdefs.h <<_ACEOF
47129 #define HAVE_ISINFF 1
47130 _ACEOF
47131
47132 fi
47133 done
47134
47135 else
47136
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47138 $as_echo_n "checking for _isinff declaration... " >&6; }
47139 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47140 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47141 $as_echo_n "(cached) " >&6
47142 else
47143
47144
47145 ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47150
47151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h. */
47153 #include <math.h>
47154 #ifdef HAVE_IEEEFP_H
47155 #include <ieeefp.h>
47156 #endif
47157
47158 int
47159 main ()
47160 {
47161 _isinff(0);
47162 ;
47163 return 0;
47164 }
47165 _ACEOF
47166 if ac_fn_cxx_try_compile "$LINENO"; then :
47167 glibcxx_cv_func__isinff_use=yes
47168 else
47169 glibcxx_cv_func__isinff_use=no
47170 fi
47171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47172 ac_ext=c
47173 ac_cpp='$CPP $CPPFLAGS'
47174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47177
47178
47179 fi
47180
47181 fi
47182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47183 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47184
47185 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47186 for ac_func in _isinff
47187 do :
47188 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47189 if test "x$ac_cv_func__isinff" = x""yes; then :
47190 cat >>confdefs.h <<_ACEOF
47191 #define HAVE__ISINFF 1
47192 _ACEOF
47193
47194 fi
47195 done
47196
47197 fi
47198 fi
47199
47200
47201
47202
47203
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47205 $as_echo_n "checking for atan2f declaration... " >&6; }
47206 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47207 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47208 $as_echo_n "(cached) " >&6
47209 else
47210
47211
47212 ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217
47218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47219 /* end confdefs.h. */
47220 #include <math.h>
47221 int
47222 main ()
47223 {
47224 atan2f(0, 0);
47225 ;
47226 return 0;
47227 }
47228 _ACEOF
47229 if ac_fn_cxx_try_compile "$LINENO"; then :
47230 glibcxx_cv_func_atan2f_use=yes
47231 else
47232 glibcxx_cv_func_atan2f_use=no
47233 fi
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47235 ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240
47241
47242 fi
47243
47244 fi
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47246 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47247
47248 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47249 for ac_func in atan2f
47250 do :
47251 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47252 if test "x$ac_cv_func_atan2f" = x""yes; then :
47253 cat >>confdefs.h <<_ACEOF
47254 #define HAVE_ATAN2F 1
47255 _ACEOF
47256
47257 fi
47258 done
47259
47260 else
47261
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47263 $as_echo_n "checking for _atan2f declaration... " >&6; }
47264 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47265 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47266 $as_echo_n "(cached) " >&6
47267 else
47268
47269
47270 ac_ext=cpp
47271 ac_cpp='$CXXCPP $CPPFLAGS'
47272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47275
47276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47277 /* end confdefs.h. */
47278 #include <math.h>
47279 int
47280 main ()
47281 {
47282 _atan2f(0, 0);
47283 ;
47284 return 0;
47285 }
47286 _ACEOF
47287 if ac_fn_cxx_try_compile "$LINENO"; then :
47288 glibcxx_cv_func__atan2f_use=yes
47289 else
47290 glibcxx_cv_func__atan2f_use=no
47291 fi
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47293 ac_ext=c
47294 ac_cpp='$CPP $CPPFLAGS'
47295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47298
47299
47300 fi
47301
47302 fi
47303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47304 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47305
47306 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47307 for ac_func in _atan2f
47308 do :
47309 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47310 if test "x$ac_cv_func__atan2f" = x""yes; then :
47311 cat >>confdefs.h <<_ACEOF
47312 #define HAVE__ATAN2F 1
47313 _ACEOF
47314
47315 fi
47316 done
47317
47318 fi
47319 fi
47320
47321
47322
47323
47324
47325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47326 $as_echo_n "checking for fabsf declaration... " >&6; }
47327 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47328 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47329 $as_echo_n "(cached) " >&6
47330 else
47331
47332
47333 ac_ext=cpp
47334 ac_cpp='$CXXCPP $CPPFLAGS'
47335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47338
47339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47340 /* end confdefs.h. */
47341 #include <math.h>
47342 #ifdef HAVE_IEEEFP_H
47343 #include <ieeefp.h>
47344 #endif
47345
47346 int
47347 main ()
47348 {
47349 fabsf(0);
47350 ;
47351 return 0;
47352 }
47353 _ACEOF
47354 if ac_fn_cxx_try_compile "$LINENO"; then :
47355 glibcxx_cv_func_fabsf_use=yes
47356 else
47357 glibcxx_cv_func_fabsf_use=no
47358 fi
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360 ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368
47369 fi
47370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47371 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47372
47373 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47374 for ac_func in fabsf
47375 do :
47376 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47377 if test "x$ac_cv_func_fabsf" = x""yes; then :
47378 cat >>confdefs.h <<_ACEOF
47379 #define HAVE_FABSF 1
47380 _ACEOF
47381
47382 fi
47383 done
47384
47385 else
47386
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47388 $as_echo_n "checking for _fabsf declaration... " >&6; }
47389 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47390 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47393
47394
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47404 #ifdef HAVE_IEEEFP_H
47405 #include <ieeefp.h>
47406 #endif
47407
47408 int
47409 main ()
47410 {
47411 _fabsf(0);
47412 ;
47413 return 0;
47414 }
47415 _ACEOF
47416 if ac_fn_cxx_try_compile "$LINENO"; then :
47417 glibcxx_cv_func__fabsf_use=yes
47418 else
47419 glibcxx_cv_func__fabsf_use=no
47420 fi
47421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47422 ac_ext=c
47423 ac_cpp='$CPP $CPPFLAGS'
47424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47427
47428
47429 fi
47430
47431 fi
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47433 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47434
47435 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47436 for ac_func in _fabsf
47437 do :
47438 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47439 if test "x$ac_cv_func__fabsf" = x""yes; then :
47440 cat >>confdefs.h <<_ACEOF
47441 #define HAVE__FABSF 1
47442 _ACEOF
47443
47444 fi
47445 done
47446
47447 fi
47448 fi
47449
47450
47451
47452
47453
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47455 $as_echo_n "checking for fmodf declaration... " >&6; }
47456 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47457 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47458 $as_echo_n "(cached) " >&6
47459 else
47460
47461
47462 ac_ext=cpp
47463 ac_cpp='$CXXCPP $CPPFLAGS'
47464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47467
47468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47469 /* end confdefs.h. */
47470 #include <math.h>
47471 int
47472 main ()
47473 {
47474 fmodf(0, 0);
47475 ;
47476 return 0;
47477 }
47478 _ACEOF
47479 if ac_fn_cxx_try_compile "$LINENO"; then :
47480 glibcxx_cv_func_fmodf_use=yes
47481 else
47482 glibcxx_cv_func_fmodf_use=no
47483 fi
47484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47485 ac_ext=c
47486 ac_cpp='$CPP $CPPFLAGS'
47487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47490
47491
47492 fi
47493
47494 fi
47495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47496 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47497
47498 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47499 for ac_func in fmodf
47500 do :
47501 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47502 if test "x$ac_cv_func_fmodf" = x""yes; then :
47503 cat >>confdefs.h <<_ACEOF
47504 #define HAVE_FMODF 1
47505 _ACEOF
47506
47507 fi
47508 done
47509
47510 else
47511
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47513 $as_echo_n "checking for _fmodf declaration... " >&6; }
47514 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47515 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47518
47519
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 int
47530 main ()
47531 {
47532 _fmodf(0, 0);
47533 ;
47534 return 0;
47535 }
47536 _ACEOF
47537 if ac_fn_cxx_try_compile "$LINENO"; then :
47538 glibcxx_cv_func__fmodf_use=yes
47539 else
47540 glibcxx_cv_func__fmodf_use=no
47541 fi
47542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47543 ac_ext=c
47544 ac_cpp='$CPP $CPPFLAGS'
47545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47548
47549
47550 fi
47551
47552 fi
47553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47554 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47555
47556 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47557 for ac_func in _fmodf
47558 do :
47559 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47560 if test "x$ac_cv_func__fmodf" = x""yes; then :
47561 cat >>confdefs.h <<_ACEOF
47562 #define HAVE__FMODF 1
47563 _ACEOF
47564
47565 fi
47566 done
47567
47568 fi
47569 fi
47570
47571
47572
47573
47574
47575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47576 $as_echo_n "checking for frexpf declaration... " >&6; }
47577 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47578 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47579 $as_echo_n "(cached) " >&6
47580 else
47581
47582
47583 ac_ext=cpp
47584 ac_cpp='$CXXCPP $CPPFLAGS'
47585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47588
47589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47590 /* end confdefs.h. */
47591 #include <math.h>
47592 int
47593 main ()
47594 {
47595 frexpf(0, 0);
47596 ;
47597 return 0;
47598 }
47599 _ACEOF
47600 if ac_fn_cxx_try_compile "$LINENO"; then :
47601 glibcxx_cv_func_frexpf_use=yes
47602 else
47603 glibcxx_cv_func_frexpf_use=no
47604 fi
47605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47606 ac_ext=c
47607 ac_cpp='$CPP $CPPFLAGS'
47608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611
47612
47613 fi
47614
47615 fi
47616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47617 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47618
47619 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47620 for ac_func in frexpf
47621 do :
47622 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47623 if test "x$ac_cv_func_frexpf" = x""yes; then :
47624 cat >>confdefs.h <<_ACEOF
47625 #define HAVE_FREXPF 1
47626 _ACEOF
47627
47628 fi
47629 done
47630
47631 else
47632
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47634 $as_echo_n "checking for _frexpf declaration... " >&6; }
47635 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47636 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47637 $as_echo_n "(cached) " >&6
47638 else
47639
47640
47641 ac_ext=cpp
47642 ac_cpp='$CXXCPP $CPPFLAGS'
47643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646
47647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47648 /* end confdefs.h. */
47649 #include <math.h>
47650 int
47651 main ()
47652 {
47653 _frexpf(0, 0);
47654 ;
47655 return 0;
47656 }
47657 _ACEOF
47658 if ac_fn_cxx_try_compile "$LINENO"; then :
47659 glibcxx_cv_func__frexpf_use=yes
47660 else
47661 glibcxx_cv_func__frexpf_use=no
47662 fi
47663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47664 ac_ext=c
47665 ac_cpp='$CPP $CPPFLAGS'
47666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47669
47670
47671 fi
47672
47673 fi
47674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47675 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47676
47677 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47678 for ac_func in _frexpf
47679 do :
47680 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47681 if test "x$ac_cv_func__frexpf" = x""yes; then :
47682 cat >>confdefs.h <<_ACEOF
47683 #define HAVE__FREXPF 1
47684 _ACEOF
47685
47686 fi
47687 done
47688
47689 fi
47690 fi
47691
47692
47693
47694
47695
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47697 $as_echo_n "checking for hypotf declaration... " >&6; }
47698 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47699 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47700 $as_echo_n "(cached) " >&6
47701 else
47702
47703
47704 ac_ext=cpp
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47709
47710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47711 /* end confdefs.h. */
47712 #include <math.h>
47713 int
47714 main ()
47715 {
47716 hypotf(0, 0);
47717 ;
47718 return 0;
47719 }
47720 _ACEOF
47721 if ac_fn_cxx_try_compile "$LINENO"; then :
47722 glibcxx_cv_func_hypotf_use=yes
47723 else
47724 glibcxx_cv_func_hypotf_use=no
47725 fi
47726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47727 ac_ext=c
47728 ac_cpp='$CPP $CPPFLAGS'
47729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732
47733
47734 fi
47735
47736 fi
47737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47738 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47739
47740 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47741 for ac_func in hypotf
47742 do :
47743 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47744 if test "x$ac_cv_func_hypotf" = x""yes; then :
47745 cat >>confdefs.h <<_ACEOF
47746 #define HAVE_HYPOTF 1
47747 _ACEOF
47748
47749 fi
47750 done
47751
47752 else
47753
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47755 $as_echo_n "checking for _hypotf declaration... " >&6; }
47756 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47757 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47758 $as_echo_n "(cached) " >&6
47759 else
47760
47761
47762 ac_ext=cpp
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767
47768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769 /* end confdefs.h. */
47770 #include <math.h>
47771 int
47772 main ()
47773 {
47774 _hypotf(0, 0);
47775 ;
47776 return 0;
47777 }
47778 _ACEOF
47779 if ac_fn_cxx_try_compile "$LINENO"; then :
47780 glibcxx_cv_func__hypotf_use=yes
47781 else
47782 glibcxx_cv_func__hypotf_use=no
47783 fi
47784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47785 ac_ext=c
47786 ac_cpp='$CPP $CPPFLAGS'
47787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47790
47791
47792 fi
47793
47794 fi
47795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47796 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47797
47798 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47799 for ac_func in _hypotf
47800 do :
47801 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47802 if test "x$ac_cv_func__hypotf" = x""yes; then :
47803 cat >>confdefs.h <<_ACEOF
47804 #define HAVE__HYPOTF 1
47805 _ACEOF
47806
47807 fi
47808 done
47809
47810 fi
47811 fi
47812
47813
47814
47815
47816
47817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47818 $as_echo_n "checking for ldexpf declaration... " >&6; }
47819 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47820 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47821 $as_echo_n "(cached) " >&6
47822 else
47823
47824
47825 ac_ext=cpp
47826 ac_cpp='$CXXCPP $CPPFLAGS'
47827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47830
47831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47832 /* end confdefs.h. */
47833 #include <math.h>
47834 int
47835 main ()
47836 {
47837 ldexpf(0, 0);
47838 ;
47839 return 0;
47840 }
47841 _ACEOF
47842 if ac_fn_cxx_try_compile "$LINENO"; then :
47843 glibcxx_cv_func_ldexpf_use=yes
47844 else
47845 glibcxx_cv_func_ldexpf_use=no
47846 fi
47847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47848 ac_ext=c
47849 ac_cpp='$CPP $CPPFLAGS'
47850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47853
47854
47855 fi
47856
47857 fi
47858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47859 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47860
47861 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47862 for ac_func in ldexpf
47863 do :
47864 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47865 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47866 cat >>confdefs.h <<_ACEOF
47867 #define HAVE_LDEXPF 1
47868 _ACEOF
47869
47870 fi
47871 done
47872
47873 else
47874
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47876 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47877 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47878 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47879 $as_echo_n "(cached) " >&6
47880 else
47881
47882
47883 ac_ext=cpp
47884 ac_cpp='$CXXCPP $CPPFLAGS'
47885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47888
47889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47890 /* end confdefs.h. */
47891 #include <math.h>
47892 int
47893 main ()
47894 {
47895 _ldexpf(0, 0);
47896 ;
47897 return 0;
47898 }
47899 _ACEOF
47900 if ac_fn_cxx_try_compile "$LINENO"; then :
47901 glibcxx_cv_func__ldexpf_use=yes
47902 else
47903 glibcxx_cv_func__ldexpf_use=no
47904 fi
47905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47906 ac_ext=c
47907 ac_cpp='$CPP $CPPFLAGS'
47908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47911
47912
47913 fi
47914
47915 fi
47916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47917 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47918
47919 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47920 for ac_func in _ldexpf
47921 do :
47922 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47923 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47924 cat >>confdefs.h <<_ACEOF
47925 #define HAVE__LDEXPF 1
47926 _ACEOF
47927
47928 fi
47929 done
47930
47931 fi
47932 fi
47933
47934
47935
47936
47937
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47939 $as_echo_n "checking for logf declaration... " >&6; }
47940 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47941 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47942 $as_echo_n "(cached) " >&6
47943 else
47944
47945
47946 ac_ext=cpp
47947 ac_cpp='$CXXCPP $CPPFLAGS'
47948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47951
47952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47953 /* end confdefs.h. */
47954 #include <math.h>
47955 #ifdef HAVE_IEEEFP_H
47956 #include <ieeefp.h>
47957 #endif
47958
47959 int
47960 main ()
47961 {
47962 logf(0);
47963 ;
47964 return 0;
47965 }
47966 _ACEOF
47967 if ac_fn_cxx_try_compile "$LINENO"; then :
47968 glibcxx_cv_func_logf_use=yes
47969 else
47970 glibcxx_cv_func_logf_use=no
47971 fi
47972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47973 ac_ext=c
47974 ac_cpp='$CPP $CPPFLAGS'
47975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47978
47979
47980 fi
47981
47982 fi
47983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47984 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47985
47986 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47987 for ac_func in logf
47988 do :
47989 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47990 if test "x$ac_cv_func_logf" = x""yes; then :
47991 cat >>confdefs.h <<_ACEOF
47992 #define HAVE_LOGF 1
47993 _ACEOF
47994
47995 fi
47996 done
47997
47998 else
47999
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48001 $as_echo_n "checking for _logf declaration... " >&6; }
48002 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48003 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48004 $as_echo_n "(cached) " >&6
48005 else
48006
48007
48008 ac_ext=cpp
48009 ac_cpp='$CXXCPP $CPPFLAGS'
48010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48013
48014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48015 /* end confdefs.h. */
48016 #include <math.h>
48017 #ifdef HAVE_IEEEFP_H
48018 #include <ieeefp.h>
48019 #endif
48020
48021 int
48022 main ()
48023 {
48024 _logf(0);
48025 ;
48026 return 0;
48027 }
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030 glibcxx_cv_func__logf_use=yes
48031 else
48032 glibcxx_cv_func__logf_use=no
48033 fi
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040
48041
48042 fi
48043
48044 fi
48045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48046 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48047
48048 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48049 for ac_func in _logf
48050 do :
48051 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48052 if test "x$ac_cv_func__logf" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define HAVE__LOGF 1
48055 _ACEOF
48056
48057 fi
48058 done
48059
48060 fi
48061 fi
48062
48063
48064
48065
48066
48067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48068 $as_echo_n "checking for log10f declaration... " >&6; }
48069 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48070 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48071 $as_echo_n "(cached) " >&6
48072 else
48073
48074
48075 ac_ext=cpp
48076 ac_cpp='$CXXCPP $CPPFLAGS'
48077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48080
48081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48082 /* end confdefs.h. */
48083 #include <math.h>
48084 #ifdef HAVE_IEEEFP_H
48085 #include <ieeefp.h>
48086 #endif
48087
48088 int
48089 main ()
48090 {
48091 log10f(0);
48092 ;
48093 return 0;
48094 }
48095 _ACEOF
48096 if ac_fn_cxx_try_compile "$LINENO"; then :
48097 glibcxx_cv_func_log10f_use=yes
48098 else
48099 glibcxx_cv_func_log10f_use=no
48100 fi
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48102 ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107
48108
48109 fi
48110
48111 fi
48112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48113 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48114
48115 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48116 for ac_func in log10f
48117 do :
48118 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48119 if test "x$ac_cv_func_log10f" = x""yes; then :
48120 cat >>confdefs.h <<_ACEOF
48121 #define HAVE_LOG10F 1
48122 _ACEOF
48123
48124 fi
48125 done
48126
48127 else
48128
48129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48130 $as_echo_n "checking for _log10f declaration... " >&6; }
48131 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48132 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48133 $as_echo_n "(cached) " >&6
48134 else
48135
48136
48137 ac_ext=cpp
48138 ac_cpp='$CXXCPP $CPPFLAGS'
48139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48142
48143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144 /* end confdefs.h. */
48145 #include <math.h>
48146 #ifdef HAVE_IEEEFP_H
48147 #include <ieeefp.h>
48148 #endif
48149
48150 int
48151 main ()
48152 {
48153 _log10f(0);
48154 ;
48155 return 0;
48156 }
48157 _ACEOF
48158 if ac_fn_cxx_try_compile "$LINENO"; then :
48159 glibcxx_cv_func__log10f_use=yes
48160 else
48161 glibcxx_cv_func__log10f_use=no
48162 fi
48163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48164 ac_ext=c
48165 ac_cpp='$CPP $CPPFLAGS'
48166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48169
48170
48171 fi
48172
48173 fi
48174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48175 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48176
48177 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48178 for ac_func in _log10f
48179 do :
48180 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48181 if test "x$ac_cv_func__log10f" = x""yes; then :
48182 cat >>confdefs.h <<_ACEOF
48183 #define HAVE__LOG10F 1
48184 _ACEOF
48185
48186 fi
48187 done
48188
48189 fi
48190 fi
48191
48192
48193
48194
48195
48196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48197 $as_echo_n "checking for modff declaration... " >&6; }
48198 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48199 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48200 $as_echo_n "(cached) " >&6
48201 else
48202
48203
48204 ac_ext=cpp
48205 ac_cpp='$CXXCPP $CPPFLAGS'
48206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48209
48210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48211 /* end confdefs.h. */
48212 #include <math.h>
48213 int
48214 main ()
48215 {
48216 modff(0, 0);
48217 ;
48218 return 0;
48219 }
48220 _ACEOF
48221 if ac_fn_cxx_try_compile "$LINENO"; then :
48222 glibcxx_cv_func_modff_use=yes
48223 else
48224 glibcxx_cv_func_modff_use=no
48225 fi
48226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48227 ac_ext=c
48228 ac_cpp='$CPP $CPPFLAGS'
48229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48232
48233
48234 fi
48235
48236 fi
48237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48238 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48239
48240 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48241 for ac_func in modff
48242 do :
48243 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48244 if test "x$ac_cv_func_modff" = x""yes; then :
48245 cat >>confdefs.h <<_ACEOF
48246 #define HAVE_MODFF 1
48247 _ACEOF
48248
48249 fi
48250 done
48251
48252 else
48253
48254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48255 $as_echo_n "checking for _modff declaration... " >&6; }
48256 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48257 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48258 $as_echo_n "(cached) " >&6
48259 else
48260
48261
48262 ac_ext=cpp
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48267
48268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h. */
48270 #include <math.h>
48271 int
48272 main ()
48273 {
48274 _modff(0, 0);
48275 ;
48276 return 0;
48277 }
48278 _ACEOF
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280 glibcxx_cv_func__modff_use=yes
48281 else
48282 glibcxx_cv_func__modff_use=no
48283 fi
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48285 ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48290
48291
48292 fi
48293
48294 fi
48295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48296 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48297
48298 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48299 for ac_func in _modff
48300 do :
48301 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48302 if test "x$ac_cv_func__modff" = x""yes; then :
48303 cat >>confdefs.h <<_ACEOF
48304 #define HAVE__MODFF 1
48305 _ACEOF
48306
48307 fi
48308 done
48309
48310 fi
48311 fi
48312
48313
48314
48315
48316
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48318 $as_echo_n "checking for modf declaration... " >&6; }
48319 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48320 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48321 $as_echo_n "(cached) " >&6
48322 else
48323
48324
48325 ac_ext=cpp
48326 ac_cpp='$CXXCPP $CPPFLAGS'
48327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48330
48331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48332 /* end confdefs.h. */
48333 #include <math.h>
48334 int
48335 main ()
48336 {
48337 modf(0, 0);
48338 ;
48339 return 0;
48340 }
48341 _ACEOF
48342 if ac_fn_cxx_try_compile "$LINENO"; then :
48343 glibcxx_cv_func_modf_use=yes
48344 else
48345 glibcxx_cv_func_modf_use=no
48346 fi
48347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48348 ac_ext=c
48349 ac_cpp='$CPP $CPPFLAGS'
48350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48353
48354
48355 fi
48356
48357 fi
48358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48359 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48360
48361 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48362 for ac_func in modf
48363 do :
48364 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48365 if test "x$ac_cv_func_modf" = x""yes; then :
48366 cat >>confdefs.h <<_ACEOF
48367 #define HAVE_MODF 1
48368 _ACEOF
48369
48370 fi
48371 done
48372
48373 else
48374
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48376 $as_echo_n "checking for _modf declaration... " >&6; }
48377 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48378 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48379 $as_echo_n "(cached) " >&6
48380 else
48381
48382
48383 ac_ext=cpp
48384 ac_cpp='$CXXCPP $CPPFLAGS'
48385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48388
48389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48390 /* end confdefs.h. */
48391 #include <math.h>
48392 int
48393 main ()
48394 {
48395 _modf(0, 0);
48396 ;
48397 return 0;
48398 }
48399 _ACEOF
48400 if ac_fn_cxx_try_compile "$LINENO"; then :
48401 glibcxx_cv_func__modf_use=yes
48402 else
48403 glibcxx_cv_func__modf_use=no
48404 fi
48405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48406 ac_ext=c
48407 ac_cpp='$CPP $CPPFLAGS'
48408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48411
48412
48413 fi
48414
48415 fi
48416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48417 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48418
48419 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48420 for ac_func in _modf
48421 do :
48422 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48423 if test "x$ac_cv_func__modf" = x""yes; then :
48424 cat >>confdefs.h <<_ACEOF
48425 #define HAVE__MODF 1
48426 _ACEOF
48427
48428 fi
48429 done
48430
48431 fi
48432 fi
48433
48434
48435
48436
48437
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48439 $as_echo_n "checking for powf declaration... " >&6; }
48440 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48441 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48442 $as_echo_n "(cached) " >&6
48443 else
48444
48445
48446 ac_ext=cpp
48447 ac_cpp='$CXXCPP $CPPFLAGS'
48448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48451
48452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48453 /* end confdefs.h. */
48454 #include <math.h>
48455 int
48456 main ()
48457 {
48458 powf(0, 0);
48459 ;
48460 return 0;
48461 }
48462 _ACEOF
48463 if ac_fn_cxx_try_compile "$LINENO"; then :
48464 glibcxx_cv_func_powf_use=yes
48465 else
48466 glibcxx_cv_func_powf_use=no
48467 fi
48468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48469 ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474
48475
48476 fi
48477
48478 fi
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48480 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48481
48482 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48483 for ac_func in powf
48484 do :
48485 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48486 if test "x$ac_cv_func_powf" = x""yes; then :
48487 cat >>confdefs.h <<_ACEOF
48488 #define HAVE_POWF 1
48489 _ACEOF
48490
48491 fi
48492 done
48493
48494 else
48495
48496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48497 $as_echo_n "checking for _powf declaration... " >&6; }
48498 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48499 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48500 $as_echo_n "(cached) " >&6
48501 else
48502
48503
48504 ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48509
48510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h. */
48512 #include <math.h>
48513 int
48514 main ()
48515 {
48516 _powf(0, 0);
48517 ;
48518 return 0;
48519 }
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522 glibcxx_cv_func__powf_use=yes
48523 else
48524 glibcxx_cv_func__powf_use=no
48525 fi
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527 ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532
48533
48534 fi
48535
48536 fi
48537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48538 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48539
48540 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48541 for ac_func in _powf
48542 do :
48543 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48544 if test "x$ac_cv_func__powf" = x""yes; then :
48545 cat >>confdefs.h <<_ACEOF
48546 #define HAVE__POWF 1
48547 _ACEOF
48548
48549 fi
48550 done
48551
48552 fi
48553 fi
48554
48555
48556
48557
48558
48559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48560 $as_echo_n "checking for sqrtf declaration... " >&6; }
48561 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48562 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48563 $as_echo_n "(cached) " >&6
48564 else
48565
48566
48567 ac_ext=cpp
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48572
48573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48574 /* end confdefs.h. */
48575 #include <math.h>
48576 #ifdef HAVE_IEEEFP_H
48577 #include <ieeefp.h>
48578 #endif
48579
48580 int
48581 main ()
48582 {
48583 sqrtf(0);
48584 ;
48585 return 0;
48586 }
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589 glibcxx_cv_func_sqrtf_use=yes
48590 else
48591 glibcxx_cv_func_sqrtf_use=no
48592 fi
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594 ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48599
48600
48601 fi
48602
48603 fi
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48605 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48606
48607 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48608 for ac_func in sqrtf
48609 do :
48610 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48611 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48612 cat >>confdefs.h <<_ACEOF
48613 #define HAVE_SQRTF 1
48614 _ACEOF
48615
48616 fi
48617 done
48618
48619 else
48620
48621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48622 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48623 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48624 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48625 $as_echo_n "(cached) " >&6
48626 else
48627
48628
48629 ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48634
48635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h. */
48637 #include <math.h>
48638 #ifdef HAVE_IEEEFP_H
48639 #include <ieeefp.h>
48640 #endif
48641
48642 int
48643 main ()
48644 {
48645 _sqrtf(0);
48646 ;
48647 return 0;
48648 }
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651 glibcxx_cv_func__sqrtf_use=yes
48652 else
48653 glibcxx_cv_func__sqrtf_use=no
48654 fi
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664
48665 fi
48666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48667 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48668
48669 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48670 for ac_func in _sqrtf
48671 do :
48672 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48673 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48674 cat >>confdefs.h <<_ACEOF
48675 #define HAVE__SQRTF 1
48676 _ACEOF
48677
48678 fi
48679 done
48680
48681 fi
48682 fi
48683
48684
48685
48686
48687
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48689 $as_echo_n "checking for sincosf declaration... " >&6; }
48690 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48691 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48705 int
48706 main ()
48707 {
48708 sincosf(0, 0, 0);
48709 ;
48710 return 0;
48711 }
48712 _ACEOF
48713 if ac_fn_cxx_try_compile "$LINENO"; then :
48714 glibcxx_cv_func_sincosf_use=yes
48715 else
48716 glibcxx_cv_func_sincosf_use=no
48717 fi
48718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48719 ac_ext=c
48720 ac_cpp='$CPP $CPPFLAGS'
48721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48724
48725
48726 fi
48727
48728 fi
48729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48730 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48731
48732 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48733 for ac_func in sincosf
48734 do :
48735 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48736 if test "x$ac_cv_func_sincosf" = x""yes; then :
48737 cat >>confdefs.h <<_ACEOF
48738 #define HAVE_SINCOSF 1
48739 _ACEOF
48740
48741 fi
48742 done
48743
48744 else
48745
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48747 $as_echo_n "checking for _sincosf declaration... " >&6; }
48748 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48749 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48750 $as_echo_n "(cached) " >&6
48751 else
48752
48753
48754 ac_ext=cpp
48755 ac_cpp='$CXXCPP $CPPFLAGS'
48756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48759
48760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48761 /* end confdefs.h. */
48762 #include <math.h>
48763 int
48764 main ()
48765 {
48766 _sincosf(0, 0, 0);
48767 ;
48768 return 0;
48769 }
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772 glibcxx_cv_func__sincosf_use=yes
48773 else
48774 glibcxx_cv_func__sincosf_use=no
48775 fi
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777 ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48782
48783
48784 fi
48785
48786 fi
48787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48788 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48789
48790 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48791 for ac_func in _sincosf
48792 do :
48793 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48794 if test "x$ac_cv_func__sincosf" = x""yes; then :
48795 cat >>confdefs.h <<_ACEOF
48796 #define HAVE__SINCOSF 1
48797 _ACEOF
48798
48799 fi
48800 done
48801
48802 fi
48803 fi
48804
48805
48806
48807
48808
48809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48810 $as_echo_n "checking for finitef declaration... " >&6; }
48811 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48812 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48815
48816
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48822
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48826 #ifdef HAVE_IEEEFP_H
48827 #include <ieeefp.h>
48828 #endif
48829
48830 int
48831 main ()
48832 {
48833 finitef(0);
48834 ;
48835 return 0;
48836 }
48837 _ACEOF
48838 if ac_fn_cxx_try_compile "$LINENO"; then :
48839 glibcxx_cv_func_finitef_use=yes
48840 else
48841 glibcxx_cv_func_finitef_use=no
48842 fi
48843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48844 ac_ext=c
48845 ac_cpp='$CPP $CPPFLAGS'
48846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48849
48850
48851 fi
48852
48853 fi
48854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48855 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48856
48857 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48858 for ac_func in finitef
48859 do :
48860 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48861 if test "x$ac_cv_func_finitef" = x""yes; then :
48862 cat >>confdefs.h <<_ACEOF
48863 #define HAVE_FINITEF 1
48864 _ACEOF
48865
48866 fi
48867 done
48868
48869 else
48870
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48872 $as_echo_n "checking for _finitef declaration... " >&6; }
48873 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48874 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48875 $as_echo_n "(cached) " >&6
48876 else
48877
48878
48879 ac_ext=cpp
48880 ac_cpp='$CXXCPP $CPPFLAGS'
48881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884
48885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48886 /* end confdefs.h. */
48887 #include <math.h>
48888 #ifdef HAVE_IEEEFP_H
48889 #include <ieeefp.h>
48890 #endif
48891
48892 int
48893 main ()
48894 {
48895 _finitef(0);
48896 ;
48897 return 0;
48898 }
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901 glibcxx_cv_func__finitef_use=yes
48902 else
48903 glibcxx_cv_func__finitef_use=no
48904 fi
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906 ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48911
48912
48913 fi
48914
48915 fi
48916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48917 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48918
48919 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48920 for ac_func in _finitef
48921 do :
48922 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48923 if test "x$ac_cv_func__finitef" = x""yes; then :
48924 cat >>confdefs.h <<_ACEOF
48925 #define HAVE__FINITEF 1
48926 _ACEOF
48927
48928 fi
48929 done
48930
48931 fi
48932 fi
48933
48934
48935
48936
48937
48938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48939 $as_echo_n "checking for long double trig functions... " >&6; }
48940 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48941 $as_echo_n "(cached) " >&6
48942 else
48943
48944
48945 ac_ext=cpp
48946 ac_cpp='$CXXCPP $CPPFLAGS'
48947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48950
48951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48952 /* end confdefs.h. */
48953 #include <math.h>
48954 int
48955 main ()
48956 {
48957 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48958 ;
48959 return 0;
48960 }
48961 _ACEOF
48962 if ac_fn_cxx_try_compile "$LINENO"; then :
48963 glibcxx_cv_func_long_double_trig_use=yes
48964 else
48965 glibcxx_cv_func_long_double_trig_use=no
48966 fi
48967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48968 ac_ext=c
48969 ac_cpp='$CPP $CPPFLAGS'
48970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48973
48974 fi
48975
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48977 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48978 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48979 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48980 do :
48981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48983 eval as_val=\$$as_ac_var
48984 if test "x$as_val" = x""yes; then :
48985 cat >>confdefs.h <<_ACEOF
48986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48987 _ACEOF
48988
48989 fi
48990 done
48991
48992 else
48993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48994 $as_echo_n "checking for _long double trig functions... " >&6; }
48995 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48996 $as_echo_n "(cached) " >&6
48997 else
48998
48999
49000 ac_ext=cpp
49001 ac_cpp='$CXXCPP $CPPFLAGS'
49002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49005
49006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49007 /* end confdefs.h. */
49008 #include <math.h>
49009 int
49010 main ()
49011 {
49012 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49013 ;
49014 return 0;
49015 }
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018 glibcxx_cv_func__long_double_trig_use=yes
49019 else
49020 glibcxx_cv_func__long_double_trig_use=no
49021 fi
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023 ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028
49029 fi
49030
49031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49032 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49033 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49034 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49035 do :
49036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49038 eval as_val=\$$as_ac_var
49039 if test "x$as_val" = x""yes; then :
49040 cat >>confdefs.h <<_ACEOF
49041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49042 _ACEOF
49043
49044 fi
49045 done
49046
49047 fi
49048 fi
49049
49050
49051
49052
49053
49054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49055 $as_echo_n "checking for long double round functions... " >&6; }
49056 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49057 $as_echo_n "(cached) " >&6
49058 else
49059
49060
49061 ac_ext=cpp
49062 ac_cpp='$CXXCPP $CPPFLAGS'
49063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066
49067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49068 /* end confdefs.h. */
49069 #include <math.h>
49070 int
49071 main ()
49072 {
49073 ceill (0); floorl (0);
49074 ;
49075 return 0;
49076 }
49077 _ACEOF
49078 if ac_fn_cxx_try_compile "$LINENO"; then :
49079 glibcxx_cv_func_long_double_round_use=yes
49080 else
49081 glibcxx_cv_func_long_double_round_use=no
49082 fi
49083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49084 ac_ext=c
49085 ac_cpp='$CPP $CPPFLAGS'
49086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49089
49090 fi
49091
49092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49093 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49094 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49095 for ac_func in ceill floorl
49096 do :
49097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49099 eval as_val=\$$as_ac_var
49100 if test "x$as_val" = x""yes; then :
49101 cat >>confdefs.h <<_ACEOF
49102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49103 _ACEOF
49104
49105 fi
49106 done
49107
49108 else
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49110 $as_echo_n "checking for _long double round functions... " >&6; }
49111 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49112 $as_echo_n "(cached) " >&6
49113 else
49114
49115
49116 ac_ext=cpp
49117 ac_cpp='$CXXCPP $CPPFLAGS'
49118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49121
49122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49123 /* end confdefs.h. */
49124 #include <math.h>
49125 int
49126 main ()
49127 {
49128 _ceill (0); _floorl (0);
49129 ;
49130 return 0;
49131 }
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134 glibcxx_cv_func__long_double_round_use=yes
49135 else
49136 glibcxx_cv_func__long_double_round_use=no
49137 fi
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139 ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49144
49145 fi
49146
49147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49148 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49149 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49150 for ac_func in _ceill _floorl
49151 do :
49152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49154 eval as_val=\$$as_ac_var
49155 if test "x$as_val" = x""yes; then :
49156 cat >>confdefs.h <<_ACEOF
49157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49158 _ACEOF
49159
49160 fi
49161 done
49162
49163 fi
49164 fi
49165
49166
49167
49168
49169
49170
49171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49172 $as_echo_n "checking for isnanl declaration... " >&6; }
49173 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49174 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49175 $as_echo_n "(cached) " >&6
49176 else
49177
49178
49179 ac_ext=cpp
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49184
49185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49186 /* end confdefs.h. */
49187 #include <math.h>
49188 #ifdef HAVE_IEEEFP_H
49189 #include <ieeefp.h>
49190 #endif
49191
49192 int
49193 main ()
49194 {
49195 isnanl(0);
49196 ;
49197 return 0;
49198 }
49199 _ACEOF
49200 if ac_fn_cxx_try_compile "$LINENO"; then :
49201 glibcxx_cv_func_isnanl_use=yes
49202 else
49203 glibcxx_cv_func_isnanl_use=no
49204 fi
49205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49206 ac_ext=c
49207 ac_cpp='$CPP $CPPFLAGS'
49208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49211
49212
49213 fi
49214
49215 fi
49216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49217 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49218
49219 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49220 for ac_func in isnanl
49221 do :
49222 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49223 if test "x$ac_cv_func_isnanl" = x""yes; then :
49224 cat >>confdefs.h <<_ACEOF
49225 #define HAVE_ISNANL 1
49226 _ACEOF
49227
49228 fi
49229 done
49230
49231 else
49232
49233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49234 $as_echo_n "checking for _isnanl declaration... " >&6; }
49235 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49236 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49237 $as_echo_n "(cached) " >&6
49238 else
49239
49240
49241 ac_ext=cpp
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246
49247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49248 /* end confdefs.h. */
49249 #include <math.h>
49250 #ifdef HAVE_IEEEFP_H
49251 #include <ieeefp.h>
49252 #endif
49253
49254 int
49255 main ()
49256 {
49257 _isnanl(0);
49258 ;
49259 return 0;
49260 }
49261 _ACEOF
49262 if ac_fn_cxx_try_compile "$LINENO"; then :
49263 glibcxx_cv_func__isnanl_use=yes
49264 else
49265 glibcxx_cv_func__isnanl_use=no
49266 fi
49267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49268 ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273
49274
49275 fi
49276
49277 fi
49278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49279 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49280
49281 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49282 for ac_func in _isnanl
49283 do :
49284 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49285 if test "x$ac_cv_func__isnanl" = x""yes; then :
49286 cat >>confdefs.h <<_ACEOF
49287 #define HAVE__ISNANL 1
49288 _ACEOF
49289
49290 fi
49291 done
49292
49293 fi
49294 fi
49295
49296
49297
49298
49299
49300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49301 $as_echo_n "checking for isinfl declaration... " >&6; }
49302 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49303 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49304 $as_echo_n "(cached) " >&6
49305 else
49306
49307
49308 ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49313
49314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h. */
49316 #include <math.h>
49317 #ifdef HAVE_IEEEFP_H
49318 #include <ieeefp.h>
49319 #endif
49320
49321 int
49322 main ()
49323 {
49324 isinfl(0);
49325 ;
49326 return 0;
49327 }
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func_isinfl_use=yes
49331 else
49332 glibcxx_cv_func_isinfl_use=no
49333 fi
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344 fi
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49346 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49347
49348 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49349 for ac_func in isinfl
49350 do :
49351 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49352 if test "x$ac_cv_func_isinfl" = x""yes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE_ISINFL 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360 else
49361
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49363 $as_echo_n "checking for _isinfl declaration... " >&6; }
49364 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49365 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49366 $as_echo_n "(cached) " >&6
49367 else
49368
49369
49370 ac_ext=cpp
49371 ac_cpp='$CXXCPP $CPPFLAGS'
49372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49375
49376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49377 /* end confdefs.h. */
49378 #include <math.h>
49379 #ifdef HAVE_IEEEFP_H
49380 #include <ieeefp.h>
49381 #endif
49382
49383 int
49384 main ()
49385 {
49386 _isinfl(0);
49387 ;
49388 return 0;
49389 }
49390 _ACEOF
49391 if ac_fn_cxx_try_compile "$LINENO"; then :
49392 glibcxx_cv_func__isinfl_use=yes
49393 else
49394 glibcxx_cv_func__isinfl_use=no
49395 fi
49396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49397 ac_ext=c
49398 ac_cpp='$CPP $CPPFLAGS'
49399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402
49403
49404 fi
49405
49406 fi
49407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49408 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49409
49410 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49411 for ac_func in _isinfl
49412 do :
49413 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49414 if test "x$ac_cv_func__isinfl" = x""yes; then :
49415 cat >>confdefs.h <<_ACEOF
49416 #define HAVE__ISINFL 1
49417 _ACEOF
49418
49419 fi
49420 done
49421
49422 fi
49423 fi
49424
49425
49426
49427
49428
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49430 $as_echo_n "checking for atan2l declaration... " >&6; }
49431 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49432 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49435
49436
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49442
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49446 int
49447 main ()
49448 {
49449 atan2l(0, 0);
49450 ;
49451 return 0;
49452 }
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455 glibcxx_cv_func_atan2l_use=yes
49456 else
49457 glibcxx_cv_func_atan2l_use=no
49458 fi
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460 ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465
49466
49467 fi
49468
49469 fi
49470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49471 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49472
49473 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49474 for ac_func in atan2l
49475 do :
49476 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49477 if test "x$ac_cv_func_atan2l" = x""yes; then :
49478 cat >>confdefs.h <<_ACEOF
49479 #define HAVE_ATAN2L 1
49480 _ACEOF
49481
49482 fi
49483 done
49484
49485 else
49486
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49488 $as_echo_n "checking for _atan2l declaration... " >&6; }
49489 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49490 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49491 $as_echo_n "(cached) " >&6
49492 else
49493
49494
49495 ac_ext=cpp
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49500
49501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h. */
49503 #include <math.h>
49504 int
49505 main ()
49506 {
49507 _atan2l(0, 0);
49508 ;
49509 return 0;
49510 }
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513 glibcxx_cv_func__atan2l_use=yes
49514 else
49515 glibcxx_cv_func__atan2l_use=no
49516 fi
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518 ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523
49524
49525 fi
49526
49527 fi
49528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49529 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49530
49531 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49532 for ac_func in _atan2l
49533 do :
49534 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49535 if test "x$ac_cv_func__atan2l" = x""yes; then :
49536 cat >>confdefs.h <<_ACEOF
49537 #define HAVE__ATAN2L 1
49538 _ACEOF
49539
49540 fi
49541 done
49542
49543 fi
49544 fi
49545
49546
49547
49548
49549
49550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49551 $as_echo_n "checking for expl declaration... " >&6; }
49552 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49553 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49554 $as_echo_n "(cached) " >&6
49555 else
49556
49557
49558 ac_ext=cpp
49559 ac_cpp='$CXXCPP $CPPFLAGS'
49560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49563
49564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49565 /* end confdefs.h. */
49566 #include <math.h>
49567 #ifdef HAVE_IEEEFP_H
49568 #include <ieeefp.h>
49569 #endif
49570
49571 int
49572 main ()
49573 {
49574 expl(0);
49575 ;
49576 return 0;
49577 }
49578 _ACEOF
49579 if ac_fn_cxx_try_compile "$LINENO"; then :
49580 glibcxx_cv_func_expl_use=yes
49581 else
49582 glibcxx_cv_func_expl_use=no
49583 fi
49584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49585 ac_ext=c
49586 ac_cpp='$CPP $CPPFLAGS'
49587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590
49591
49592 fi
49593
49594 fi
49595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49596 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49597
49598 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49599 for ac_func in expl
49600 do :
49601 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49602 if test "x$ac_cv_func_expl" = x""yes; then :
49603 cat >>confdefs.h <<_ACEOF
49604 #define HAVE_EXPL 1
49605 _ACEOF
49606
49607 fi
49608 done
49609
49610 else
49611
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49613 $as_echo_n "checking for _expl declaration... " >&6; }
49614 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49615 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49616 $as_echo_n "(cached) " >&6
49617 else
49618
49619
49620 ac_ext=cpp
49621 ac_cpp='$CXXCPP $CPPFLAGS'
49622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625
49626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49627 /* end confdefs.h. */
49628 #include <math.h>
49629 #ifdef HAVE_IEEEFP_H
49630 #include <ieeefp.h>
49631 #endif
49632
49633 int
49634 main ()
49635 {
49636 _expl(0);
49637 ;
49638 return 0;
49639 }
49640 _ACEOF
49641 if ac_fn_cxx_try_compile "$LINENO"; then :
49642 glibcxx_cv_func__expl_use=yes
49643 else
49644 glibcxx_cv_func__expl_use=no
49645 fi
49646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49647 ac_ext=c
49648 ac_cpp='$CPP $CPPFLAGS'
49649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652
49653
49654 fi
49655
49656 fi
49657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49658 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49659
49660 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49661 for ac_func in _expl
49662 do :
49663 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49664 if test "x$ac_cv_func__expl" = x""yes; then :
49665 cat >>confdefs.h <<_ACEOF
49666 #define HAVE__EXPL 1
49667 _ACEOF
49668
49669 fi
49670 done
49671
49672 fi
49673 fi
49674
49675
49676
49677
49678
49679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49680 $as_echo_n "checking for fabsl declaration... " >&6; }
49681 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49682 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49683 $as_echo_n "(cached) " >&6
49684 else
49685
49686
49687 ac_ext=cpp
49688 ac_cpp='$CXXCPP $CPPFLAGS'
49689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49692
49693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49694 /* end confdefs.h. */
49695 #include <math.h>
49696 #ifdef HAVE_IEEEFP_H
49697 #include <ieeefp.h>
49698 #endif
49699
49700 int
49701 main ()
49702 {
49703 fabsl(0);
49704 ;
49705 return 0;
49706 }
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709 glibcxx_cv_func_fabsl_use=yes
49710 else
49711 glibcxx_cv_func_fabsl_use=no
49712 fi
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714 ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719
49720
49721 fi
49722
49723 fi
49724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49725 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49726
49727 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49728 for ac_func in fabsl
49729 do :
49730 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49731 if test "x$ac_cv_func_fabsl" = x""yes; then :
49732 cat >>confdefs.h <<_ACEOF
49733 #define HAVE_FABSL 1
49734 _ACEOF
49735
49736 fi
49737 done
49738
49739 else
49740
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49742 $as_echo_n "checking for _fabsl declaration... " >&6; }
49743 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49744 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49747
49748
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49758 #ifdef HAVE_IEEEFP_H
49759 #include <ieeefp.h>
49760 #endif
49761
49762 int
49763 main ()
49764 {
49765 _fabsl(0);
49766 ;
49767 return 0;
49768 }
49769 _ACEOF
49770 if ac_fn_cxx_try_compile "$LINENO"; then :
49771 glibcxx_cv_func__fabsl_use=yes
49772 else
49773 glibcxx_cv_func__fabsl_use=no
49774 fi
49775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49776 ac_ext=c
49777 ac_cpp='$CPP $CPPFLAGS'
49778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49781
49782
49783 fi
49784
49785 fi
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49787 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49788
49789 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49790 for ac_func in _fabsl
49791 do :
49792 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49793 if test "x$ac_cv_func__fabsl" = x""yes; then :
49794 cat >>confdefs.h <<_ACEOF
49795 #define HAVE__FABSL 1
49796 _ACEOF
49797
49798 fi
49799 done
49800
49801 fi
49802 fi
49803
49804
49805
49806
49807
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49809 $as_echo_n "checking for fmodl declaration... " >&6; }
49810 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49811 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49812 $as_echo_n "(cached) " >&6
49813 else
49814
49815
49816 ac_ext=cpp
49817 ac_cpp='$CXXCPP $CPPFLAGS'
49818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49821
49822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49823 /* end confdefs.h. */
49824 #include <math.h>
49825 int
49826 main ()
49827 {
49828 fmodl(0, 0);
49829 ;
49830 return 0;
49831 }
49832 _ACEOF
49833 if ac_fn_cxx_try_compile "$LINENO"; then :
49834 glibcxx_cv_func_fmodl_use=yes
49835 else
49836 glibcxx_cv_func_fmodl_use=no
49837 fi
49838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49839 ac_ext=c
49840 ac_cpp='$CPP $CPPFLAGS'
49841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49844
49845
49846 fi
49847
49848 fi
49849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49850 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49851
49852 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49853 for ac_func in fmodl
49854 do :
49855 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49856 if test "x$ac_cv_func_fmodl" = x""yes; then :
49857 cat >>confdefs.h <<_ACEOF
49858 #define HAVE_FMODL 1
49859 _ACEOF
49860
49861 fi
49862 done
49863
49864 else
49865
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49867 $as_echo_n "checking for _fmodl declaration... " >&6; }
49868 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49869 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49870 $as_echo_n "(cached) " >&6
49871 else
49872
49873
49874 ac_ext=cpp
49875 ac_cpp='$CXXCPP $CPPFLAGS'
49876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49879
49880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49881 /* end confdefs.h. */
49882 #include <math.h>
49883 int
49884 main ()
49885 {
49886 _fmodl(0, 0);
49887 ;
49888 return 0;
49889 }
49890 _ACEOF
49891 if ac_fn_cxx_try_compile "$LINENO"; then :
49892 glibcxx_cv_func__fmodl_use=yes
49893 else
49894 glibcxx_cv_func__fmodl_use=no
49895 fi
49896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49897 ac_ext=c
49898 ac_cpp='$CPP $CPPFLAGS'
49899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49902
49903
49904 fi
49905
49906 fi
49907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49908 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49909
49910 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49911 for ac_func in _fmodl
49912 do :
49913 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49914 if test "x$ac_cv_func__fmodl" = x""yes; then :
49915 cat >>confdefs.h <<_ACEOF
49916 #define HAVE__FMODL 1
49917 _ACEOF
49918
49919 fi
49920 done
49921
49922 fi
49923 fi
49924
49925
49926
49927
49928
49929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49930 $as_echo_n "checking for frexpl declaration... " >&6; }
49931 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49932 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49933 $as_echo_n "(cached) " >&6
49934 else
49935
49936
49937 ac_ext=cpp
49938 ac_cpp='$CXXCPP $CPPFLAGS'
49939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49942
49943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49944 /* end confdefs.h. */
49945 #include <math.h>
49946 int
49947 main ()
49948 {
49949 frexpl(0, 0);
49950 ;
49951 return 0;
49952 }
49953 _ACEOF
49954 if ac_fn_cxx_try_compile "$LINENO"; then :
49955 glibcxx_cv_func_frexpl_use=yes
49956 else
49957 glibcxx_cv_func_frexpl_use=no
49958 fi
49959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49960 ac_ext=c
49961 ac_cpp='$CPP $CPPFLAGS'
49962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49965
49966
49967 fi
49968
49969 fi
49970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49971 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49972
49973 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49974 for ac_func in frexpl
49975 do :
49976 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49977 if test "x$ac_cv_func_frexpl" = x""yes; then :
49978 cat >>confdefs.h <<_ACEOF
49979 #define HAVE_FREXPL 1
49980 _ACEOF
49981
49982 fi
49983 done
49984
49985 else
49986
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49988 $as_echo_n "checking for _frexpl declaration... " >&6; }
49989 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49990 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49991 $as_echo_n "(cached) " >&6
49992 else
49993
49994
49995 ac_ext=cpp
49996 ac_cpp='$CXXCPP $CPPFLAGS'
49997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50000
50001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50002 /* end confdefs.h. */
50003 #include <math.h>
50004 int
50005 main ()
50006 {
50007 _frexpl(0, 0);
50008 ;
50009 return 0;
50010 }
50011 _ACEOF
50012 if ac_fn_cxx_try_compile "$LINENO"; then :
50013 glibcxx_cv_func__frexpl_use=yes
50014 else
50015 glibcxx_cv_func__frexpl_use=no
50016 fi
50017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50018 ac_ext=c
50019 ac_cpp='$CPP $CPPFLAGS'
50020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50023
50024
50025 fi
50026
50027 fi
50028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50029 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50030
50031 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50032 for ac_func in _frexpl
50033 do :
50034 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50035 if test "x$ac_cv_func__frexpl" = x""yes; then :
50036 cat >>confdefs.h <<_ACEOF
50037 #define HAVE__FREXPL 1
50038 _ACEOF
50039
50040 fi
50041 done
50042
50043 fi
50044 fi
50045
50046
50047
50048
50049
50050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50051 $as_echo_n "checking for hypotl declaration... " >&6; }
50052 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50053 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50054 $as_echo_n "(cached) " >&6
50055 else
50056
50057
50058 ac_ext=cpp
50059 ac_cpp='$CXXCPP $CPPFLAGS'
50060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50063
50064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50065 /* end confdefs.h. */
50066 #include <math.h>
50067 int
50068 main ()
50069 {
50070 hypotl(0, 0);
50071 ;
50072 return 0;
50073 }
50074 _ACEOF
50075 if ac_fn_cxx_try_compile "$LINENO"; then :
50076 glibcxx_cv_func_hypotl_use=yes
50077 else
50078 glibcxx_cv_func_hypotl_use=no
50079 fi
50080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50081 ac_ext=c
50082 ac_cpp='$CPP $CPPFLAGS'
50083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50086
50087
50088 fi
50089
50090 fi
50091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50092 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50093
50094 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50095 for ac_func in hypotl
50096 do :
50097 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50098 if test "x$ac_cv_func_hypotl" = x""yes; then :
50099 cat >>confdefs.h <<_ACEOF
50100 #define HAVE_HYPOTL 1
50101 _ACEOF
50102
50103 fi
50104 done
50105
50106 else
50107
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50109 $as_echo_n "checking for _hypotl declaration... " >&6; }
50110 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50111 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50112 $as_echo_n "(cached) " >&6
50113 else
50114
50115
50116 ac_ext=cpp
50117 ac_cpp='$CXXCPP $CPPFLAGS'
50118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50121
50122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50123 /* end confdefs.h. */
50124 #include <math.h>
50125 int
50126 main ()
50127 {
50128 _hypotl(0, 0);
50129 ;
50130 return 0;
50131 }
50132 _ACEOF
50133 if ac_fn_cxx_try_compile "$LINENO"; then :
50134 glibcxx_cv_func__hypotl_use=yes
50135 else
50136 glibcxx_cv_func__hypotl_use=no
50137 fi
50138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50139 ac_ext=c
50140 ac_cpp='$CPP $CPPFLAGS'
50141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50144
50145
50146 fi
50147
50148 fi
50149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50150 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50151
50152 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50153 for ac_func in _hypotl
50154 do :
50155 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50156 if test "x$ac_cv_func__hypotl" = x""yes; then :
50157 cat >>confdefs.h <<_ACEOF
50158 #define HAVE__HYPOTL 1
50159 _ACEOF
50160
50161 fi
50162 done
50163
50164 fi
50165 fi
50166
50167
50168
50169
50170
50171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50172 $as_echo_n "checking for ldexpl declaration... " >&6; }
50173 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50174 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50175 $as_echo_n "(cached) " >&6
50176 else
50177
50178
50179 ac_ext=cpp
50180 ac_cpp='$CXXCPP $CPPFLAGS'
50181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50184
50185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50186 /* end confdefs.h. */
50187 #include <math.h>
50188 int
50189 main ()
50190 {
50191 ldexpl(0, 0);
50192 ;
50193 return 0;
50194 }
50195 _ACEOF
50196 if ac_fn_cxx_try_compile "$LINENO"; then :
50197 glibcxx_cv_func_ldexpl_use=yes
50198 else
50199 glibcxx_cv_func_ldexpl_use=no
50200 fi
50201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50202 ac_ext=c
50203 ac_cpp='$CPP $CPPFLAGS'
50204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50207
50208
50209 fi
50210
50211 fi
50212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50213 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50214
50215 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50216 for ac_func in ldexpl
50217 do :
50218 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50219 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50220 cat >>confdefs.h <<_ACEOF
50221 #define HAVE_LDEXPL 1
50222 _ACEOF
50223
50224 fi
50225 done
50226
50227 else
50228
50229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50230 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50231 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50232 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50233 $as_echo_n "(cached) " >&6
50234 else
50235
50236
50237 ac_ext=cpp
50238 ac_cpp='$CXXCPP $CPPFLAGS'
50239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50242
50243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50244 /* end confdefs.h. */
50245 #include <math.h>
50246 int
50247 main ()
50248 {
50249 _ldexpl(0, 0);
50250 ;
50251 return 0;
50252 }
50253 _ACEOF
50254 if ac_fn_cxx_try_compile "$LINENO"; then :
50255 glibcxx_cv_func__ldexpl_use=yes
50256 else
50257 glibcxx_cv_func__ldexpl_use=no
50258 fi
50259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50260 ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50265
50266
50267 fi
50268
50269 fi
50270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50271 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50272
50273 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50274 for ac_func in _ldexpl
50275 do :
50276 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50277 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50278 cat >>confdefs.h <<_ACEOF
50279 #define HAVE__LDEXPL 1
50280 _ACEOF
50281
50282 fi
50283 done
50284
50285 fi
50286 fi
50287
50288
50289
50290
50291
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50293 $as_echo_n "checking for logl declaration... " >&6; }
50294 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50295 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50296 $as_echo_n "(cached) " >&6
50297 else
50298
50299
50300 ac_ext=cpp
50301 ac_cpp='$CXXCPP $CPPFLAGS'
50302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50305
50306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50307 /* end confdefs.h. */
50308 #include <math.h>
50309 #ifdef HAVE_IEEEFP_H
50310 #include <ieeefp.h>
50311 #endif
50312
50313 int
50314 main ()
50315 {
50316 logl(0);
50317 ;
50318 return 0;
50319 }
50320 _ACEOF
50321 if ac_fn_cxx_try_compile "$LINENO"; then :
50322 glibcxx_cv_func_logl_use=yes
50323 else
50324 glibcxx_cv_func_logl_use=no
50325 fi
50326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50327 ac_ext=c
50328 ac_cpp='$CPP $CPPFLAGS'
50329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50332
50333
50334 fi
50335
50336 fi
50337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50338 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50339
50340 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50341 for ac_func in logl
50342 do :
50343 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50344 if test "x$ac_cv_func_logl" = x""yes; then :
50345 cat >>confdefs.h <<_ACEOF
50346 #define HAVE_LOGL 1
50347 _ACEOF
50348
50349 fi
50350 done
50351
50352 else
50353
50354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50355 $as_echo_n "checking for _logl declaration... " >&6; }
50356 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50357 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50358 $as_echo_n "(cached) " >&6
50359 else
50360
50361
50362 ac_ext=cpp
50363 ac_cpp='$CXXCPP $CPPFLAGS'
50364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367
50368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369 /* end confdefs.h. */
50370 #include <math.h>
50371 #ifdef HAVE_IEEEFP_H
50372 #include <ieeefp.h>
50373 #endif
50374
50375 int
50376 main ()
50377 {
50378 _logl(0);
50379 ;
50380 return 0;
50381 }
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384 glibcxx_cv_func__logl_use=yes
50385 else
50386 glibcxx_cv_func__logl_use=no
50387 fi
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389 ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394
50395
50396 fi
50397
50398 fi
50399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50400 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50401
50402 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50403 for ac_func in _logl
50404 do :
50405 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50406 if test "x$ac_cv_func__logl" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define HAVE__LOGL 1
50409 _ACEOF
50410
50411 fi
50412 done
50413
50414 fi
50415 fi
50416
50417
50418
50419
50420
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50422 $as_echo_n "checking for log10l declaration... " >&6; }
50423 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50424 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50425 $as_echo_n "(cached) " >&6
50426 else
50427
50428
50429 ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50434
50435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h. */
50437 #include <math.h>
50438 #ifdef HAVE_IEEEFP_H
50439 #include <ieeefp.h>
50440 #endif
50441
50442 int
50443 main ()
50444 {
50445 log10l(0);
50446 ;
50447 return 0;
50448 }
50449 _ACEOF
50450 if ac_fn_cxx_try_compile "$LINENO"; then :
50451 glibcxx_cv_func_log10l_use=yes
50452 else
50453 glibcxx_cv_func_log10l_use=no
50454 fi
50455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50456 ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461
50462
50463 fi
50464
50465 fi
50466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50467 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50468
50469 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50470 for ac_func in log10l
50471 do :
50472 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50473 if test "x$ac_cv_func_log10l" = x""yes; then :
50474 cat >>confdefs.h <<_ACEOF
50475 #define HAVE_LOG10L 1
50476 _ACEOF
50477
50478 fi
50479 done
50480
50481 else
50482
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50484 $as_echo_n "checking for _log10l declaration... " >&6; }
50485 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50486 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50487 $as_echo_n "(cached) " >&6
50488 else
50489
50490
50491 ac_ext=cpp
50492 ac_cpp='$CXXCPP $CPPFLAGS'
50493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496
50497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h. */
50499 #include <math.h>
50500 #ifdef HAVE_IEEEFP_H
50501 #include <ieeefp.h>
50502 #endif
50503
50504 int
50505 main ()
50506 {
50507 _log10l(0);
50508 ;
50509 return 0;
50510 }
50511 _ACEOF
50512 if ac_fn_cxx_try_compile "$LINENO"; then :
50513 glibcxx_cv_func__log10l_use=yes
50514 else
50515 glibcxx_cv_func__log10l_use=no
50516 fi
50517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50518 ac_ext=c
50519 ac_cpp='$CPP $CPPFLAGS'
50520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50523
50524
50525 fi
50526
50527 fi
50528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50529 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50530
50531 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50532 for ac_func in _log10l
50533 do :
50534 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50535 if test "x$ac_cv_func__log10l" = x""yes; then :
50536 cat >>confdefs.h <<_ACEOF
50537 #define HAVE__LOG10L 1
50538 _ACEOF
50539
50540 fi
50541 done
50542
50543 fi
50544 fi
50545
50546
50547
50548
50549
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50551 $as_echo_n "checking for modfl declaration... " >&6; }
50552 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50553 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50554 $as_echo_n "(cached) " >&6
50555 else
50556
50557
50558 ac_ext=cpp
50559 ac_cpp='$CXXCPP $CPPFLAGS'
50560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50563
50564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50565 /* end confdefs.h. */
50566 #include <math.h>
50567 int
50568 main ()
50569 {
50570 modfl(0, 0);
50571 ;
50572 return 0;
50573 }
50574 _ACEOF
50575 if ac_fn_cxx_try_compile "$LINENO"; then :
50576 glibcxx_cv_func_modfl_use=yes
50577 else
50578 glibcxx_cv_func_modfl_use=no
50579 fi
50580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50581 ac_ext=c
50582 ac_cpp='$CPP $CPPFLAGS'
50583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50586
50587
50588 fi
50589
50590 fi
50591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50592 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50593
50594 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50595 for ac_func in modfl
50596 do :
50597 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50598 if test "x$ac_cv_func_modfl" = x""yes; then :
50599 cat >>confdefs.h <<_ACEOF
50600 #define HAVE_MODFL 1
50601 _ACEOF
50602
50603 fi
50604 done
50605
50606 else
50607
50608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50609 $as_echo_n "checking for _modfl declaration... " >&6; }
50610 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50611 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50612 $as_echo_n "(cached) " >&6
50613 else
50614
50615
50616 ac_ext=cpp
50617 ac_cpp='$CXXCPP $CPPFLAGS'
50618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50621
50622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50623 /* end confdefs.h. */
50624 #include <math.h>
50625 int
50626 main ()
50627 {
50628 _modfl(0, 0);
50629 ;
50630 return 0;
50631 }
50632 _ACEOF
50633 if ac_fn_cxx_try_compile "$LINENO"; then :
50634 glibcxx_cv_func__modfl_use=yes
50635 else
50636 glibcxx_cv_func__modfl_use=no
50637 fi
50638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50639 ac_ext=c
50640 ac_cpp='$CPP $CPPFLAGS'
50641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50644
50645
50646 fi
50647
50648 fi
50649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50650 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50651
50652 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50653 for ac_func in _modfl
50654 do :
50655 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50656 if test "x$ac_cv_func__modfl" = x""yes; then :
50657 cat >>confdefs.h <<_ACEOF
50658 #define HAVE__MODFL 1
50659 _ACEOF
50660
50661 fi
50662 done
50663
50664 fi
50665 fi
50666
50667
50668
50669
50670
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50672 $as_echo_n "checking for powl declaration... " >&6; }
50673 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50674 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50675 $as_echo_n "(cached) " >&6
50676 else
50677
50678
50679 ac_ext=cpp
50680 ac_cpp='$CXXCPP $CPPFLAGS'
50681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50684
50685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50686 /* end confdefs.h. */
50687 #include <math.h>
50688 int
50689 main ()
50690 {
50691 powl(0, 0);
50692 ;
50693 return 0;
50694 }
50695 _ACEOF
50696 if ac_fn_cxx_try_compile "$LINENO"; then :
50697 glibcxx_cv_func_powl_use=yes
50698 else
50699 glibcxx_cv_func_powl_use=no
50700 fi
50701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50702 ac_ext=c
50703 ac_cpp='$CPP $CPPFLAGS'
50704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50707
50708
50709 fi
50710
50711 fi
50712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50713 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50714
50715 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50716 for ac_func in powl
50717 do :
50718 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50719 if test "x$ac_cv_func_powl" = x""yes; then :
50720 cat >>confdefs.h <<_ACEOF
50721 #define HAVE_POWL 1
50722 _ACEOF
50723
50724 fi
50725 done
50726
50727 else
50728
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50730 $as_echo_n "checking for _powl declaration... " >&6; }
50731 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50732 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50733 $as_echo_n "(cached) " >&6
50734 else
50735
50736
50737 ac_ext=cpp
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50742
50743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50744 /* end confdefs.h. */
50745 #include <math.h>
50746 int
50747 main ()
50748 {
50749 _powl(0, 0);
50750 ;
50751 return 0;
50752 }
50753 _ACEOF
50754 if ac_fn_cxx_try_compile "$LINENO"; then :
50755 glibcxx_cv_func__powl_use=yes
50756 else
50757 glibcxx_cv_func__powl_use=no
50758 fi
50759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50760 ac_ext=c
50761 ac_cpp='$CPP $CPPFLAGS'
50762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50765
50766
50767 fi
50768
50769 fi
50770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50771 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50772
50773 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50774 for ac_func in _powl
50775 do :
50776 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50777 if test "x$ac_cv_func__powl" = x""yes; then :
50778 cat >>confdefs.h <<_ACEOF
50779 #define HAVE__POWL 1
50780 _ACEOF
50781
50782 fi
50783 done
50784
50785 fi
50786 fi
50787
50788
50789
50790
50791
50792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50793 $as_echo_n "checking for sqrtl declaration... " >&6; }
50794 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50795 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50796 $as_echo_n "(cached) " >&6
50797 else
50798
50799
50800 ac_ext=cpp
50801 ac_cpp='$CXXCPP $CPPFLAGS'
50802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50805
50806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50807 /* end confdefs.h. */
50808 #include <math.h>
50809 #ifdef HAVE_IEEEFP_H
50810 #include <ieeefp.h>
50811 #endif
50812
50813 int
50814 main ()
50815 {
50816 sqrtl(0);
50817 ;
50818 return 0;
50819 }
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822 glibcxx_cv_func_sqrtl_use=yes
50823 else
50824 glibcxx_cv_func_sqrtl_use=no
50825 fi
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827 ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50832
50833
50834 fi
50835
50836 fi
50837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50838 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50839
50840 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50841 for ac_func in sqrtl
50842 do :
50843 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50844 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50845 cat >>confdefs.h <<_ACEOF
50846 #define HAVE_SQRTL 1
50847 _ACEOF
50848
50849 fi
50850 done
50851
50852 else
50853
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50855 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50856 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50857 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50858 $as_echo_n "(cached) " >&6
50859 else
50860
50861
50862 ac_ext=cpp
50863 ac_cpp='$CXXCPP $CPPFLAGS'
50864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50867
50868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50869 /* end confdefs.h. */
50870 #include <math.h>
50871 #ifdef HAVE_IEEEFP_H
50872 #include <ieeefp.h>
50873 #endif
50874
50875 int
50876 main ()
50877 {
50878 _sqrtl(0);
50879 ;
50880 return 0;
50881 }
50882 _ACEOF
50883 if ac_fn_cxx_try_compile "$LINENO"; then :
50884 glibcxx_cv_func__sqrtl_use=yes
50885 else
50886 glibcxx_cv_func__sqrtl_use=no
50887 fi
50888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50889 ac_ext=c
50890 ac_cpp='$CPP $CPPFLAGS'
50891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50894
50895
50896 fi
50897
50898 fi
50899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50900 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50901
50902 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50903 for ac_func in _sqrtl
50904 do :
50905 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50906 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50907 cat >>confdefs.h <<_ACEOF
50908 #define HAVE__SQRTL 1
50909 _ACEOF
50910
50911 fi
50912 done
50913
50914 fi
50915 fi
50916
50917
50918
50919
50920
50921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50922 $as_echo_n "checking for sincosl declaration... " >&6; }
50923 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50924 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50925 $as_echo_n "(cached) " >&6
50926 else
50927
50928
50929 ac_ext=cpp
50930 ac_cpp='$CXXCPP $CPPFLAGS'
50931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934
50935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50936 /* end confdefs.h. */
50937 #include <math.h>
50938 int
50939 main ()
50940 {
50941 sincosl(0, 0, 0);
50942 ;
50943 return 0;
50944 }
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947 glibcxx_cv_func_sincosl_use=yes
50948 else
50949 glibcxx_cv_func_sincosl_use=no
50950 fi
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952 ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957
50958
50959 fi
50960
50961 fi
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50963 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50964
50965 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50966 for ac_func in sincosl
50967 do :
50968 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50969 if test "x$ac_cv_func_sincosl" = x""yes; then :
50970 cat >>confdefs.h <<_ACEOF
50971 #define HAVE_SINCOSL 1
50972 _ACEOF
50973
50974 fi
50975 done
50976
50977 else
50978
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50980 $as_echo_n "checking for _sincosl declaration... " >&6; }
50981 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50982 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50983 $as_echo_n "(cached) " >&6
50984 else
50985
50986
50987 ac_ext=cpp
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50992
50993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50994 /* end confdefs.h. */
50995 #include <math.h>
50996 int
50997 main ()
50998 {
50999 _sincosl(0, 0, 0);
51000 ;
51001 return 0;
51002 }
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005 glibcxx_cv_func__sincosl_use=yes
51006 else
51007 glibcxx_cv_func__sincosl_use=no
51008 fi
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010 ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51015
51016
51017 fi
51018
51019 fi
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51021 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51022
51023 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51024 for ac_func in _sincosl
51025 do :
51026 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51027 if test "x$ac_cv_func__sincosl" = x""yes; then :
51028 cat >>confdefs.h <<_ACEOF
51029 #define HAVE__SINCOSL 1
51030 _ACEOF
51031
51032 fi
51033 done
51034
51035 fi
51036 fi
51037
51038
51039
51040
51041
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51043 $as_echo_n "checking for finitel declaration... " >&6; }
51044 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51045 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51048
51049
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51059 #ifdef HAVE_IEEEFP_H
51060 #include <ieeefp.h>
51061 #endif
51062
51063 int
51064 main ()
51065 {
51066 finitel(0);
51067 ;
51068 return 0;
51069 }
51070 _ACEOF
51071 if ac_fn_cxx_try_compile "$LINENO"; then :
51072 glibcxx_cv_func_finitel_use=yes
51073 else
51074 glibcxx_cv_func_finitel_use=no
51075 fi
51076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51077 ac_ext=c
51078 ac_cpp='$CPP $CPPFLAGS'
51079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51082
51083
51084 fi
51085
51086 fi
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51088 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51089
51090 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51091 for ac_func in finitel
51092 do :
51093 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51094 if test "x$ac_cv_func_finitel" = x""yes; then :
51095 cat >>confdefs.h <<_ACEOF
51096 #define HAVE_FINITEL 1
51097 _ACEOF
51098
51099 fi
51100 done
51101
51102 else
51103
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51105 $as_echo_n "checking for _finitel declaration... " >&6; }
51106 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51107 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51108 $as_echo_n "(cached) " >&6
51109 else
51110
51111
51112 ac_ext=cpp
51113 ac_cpp='$CXXCPP $CPPFLAGS'
51114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51117
51118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51119 /* end confdefs.h. */
51120 #include <math.h>
51121 #ifdef HAVE_IEEEFP_H
51122 #include <ieeefp.h>
51123 #endif
51124
51125 int
51126 main ()
51127 {
51128 _finitel(0);
51129 ;
51130 return 0;
51131 }
51132 _ACEOF
51133 if ac_fn_cxx_try_compile "$LINENO"; then :
51134 glibcxx_cv_func__finitel_use=yes
51135 else
51136 glibcxx_cv_func__finitel_use=no
51137 fi
51138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139 ac_ext=c
51140 ac_cpp='$CPP $CPPFLAGS'
51141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51144
51145
51146 fi
51147
51148 fi
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51150 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51151
51152 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51153 for ac_func in _finitel
51154 do :
51155 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51156 if test "x$ac_cv_func__finitel" = x""yes; then :
51157 cat >>confdefs.h <<_ACEOF
51158 #define HAVE__FINITEL 1
51159 _ACEOF
51160
51161 fi
51162 done
51163
51164 fi
51165 fi
51166
51167
51168
51169
51170 LIBS="$ac_save_LIBS"
51171 CXXFLAGS="$ac_save_CXXFLAGS"
51172
51173
51174 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51175 ac_save_CXXFLAGS="$CXXFLAGS"
51176 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51177
51178
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51180 $as_echo_n "checking for strtold declaration... " >&6; }
51181 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51182 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51183 $as_echo_n "(cached) " >&6
51184 else
51185
51186
51187 ac_ext=cpp
51188 ac_cpp='$CXXCPP $CPPFLAGS'
51189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51192
51193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51194 /* end confdefs.h. */
51195 #include <stdlib.h>
51196 int
51197 main ()
51198 {
51199 strtold(0, 0);
51200 ;
51201 return 0;
51202 }
51203 _ACEOF
51204 if ac_fn_cxx_try_compile "$LINENO"; then :
51205 glibcxx_cv_func_strtold_use=yes
51206 else
51207 glibcxx_cv_func_strtold_use=no
51208 fi
51209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51210 ac_ext=c
51211 ac_cpp='$CPP $CPPFLAGS'
51212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51215
51216
51217 fi
51218
51219 fi
51220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51221 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51222 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51223 for ac_func in strtold
51224 do :
51225 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51226 if test "x$ac_cv_func_strtold" = x""yes; then :
51227 cat >>confdefs.h <<_ACEOF
51228 #define HAVE_STRTOLD 1
51229 _ACEOF
51230
51231 fi
51232 done
51233
51234 fi
51235
51236
51237
51238
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51240 $as_echo_n "checking for strtof declaration... " >&6; }
51241 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51242 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51243 $as_echo_n "(cached) " >&6
51244 else
51245
51246
51247 ac_ext=cpp
51248 ac_cpp='$CXXCPP $CPPFLAGS'
51249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252
51253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51254 /* end confdefs.h. */
51255 #include <stdlib.h>
51256 int
51257 main ()
51258 {
51259 strtof(0, 0);
51260 ;
51261 return 0;
51262 }
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func_strtof_use=yes
51266 else
51267 glibcxx_cv_func_strtof_use=no
51268 fi
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275
51276
51277 fi
51278
51279 fi
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51281 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51282 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51283 for ac_func in strtof
51284 do :
51285 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51286 if test "x$ac_cv_func_strtof" = x""yes; then :
51287 cat >>confdefs.h <<_ACEOF
51288 #define HAVE_STRTOF 1
51289 _ACEOF
51290
51291 fi
51292 done
51293
51294 fi
51295
51296
51297
51298
51299 CXXFLAGS="$ac_save_CXXFLAGS"
51300
51301 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51302
51303
51304
51305 # Check whether --enable-tls was given.
51306 if test "${enable_tls+set}" = set; then :
51307 enableval=$enable_tls;
51308 case "$enableval" in
51309 yes|no) ;;
51310 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51311 esac
51312
51313 else
51314 enable_tls=yes
51315 fi
51316
51317
51318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51319 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51320 if test "${gcc_cv_have_tls+set}" = set; then :
51321 $as_echo_n "(cached) " >&6
51322 else
51323
51324 if test "$cross_compiling" = yes; then :
51325 if test x$gcc_no_link = xyes; then
51326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51327 fi
51328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51329 /* end confdefs.h. */
51330 __thread int a; int b; int main() { return a = b; }
51331 _ACEOF
51332 if ac_fn_c_try_link "$LINENO"; then :
51333 chktls_save_LDFLAGS="$LDFLAGS"
51334 case $host in
51335 *-*-linux*)
51336 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51337 ;;
51338 esac
51339 chktls_save_CFLAGS="$CFLAGS"
51340 CFLAGS="-fPIC $CFLAGS"
51341 if test x$gcc_no_link = xyes; then
51342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51343 fi
51344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51345 /* end confdefs.h. */
51346 int f() { return 0; }
51347 _ACEOF
51348 if ac_fn_c_try_link "$LINENO"; then :
51349 if test x$gcc_no_link = xyes; then
51350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51351 fi
51352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51353 /* end confdefs.h. */
51354 __thread int a; int b; int f() { return a = b; }
51355 _ACEOF
51356 if ac_fn_c_try_link "$LINENO"; then :
51357 gcc_cv_have_tls=yes
51358 else
51359 gcc_cv_have_tls=no
51360 fi
51361 rm -f core conftest.err conftest.$ac_objext \
51362 conftest$ac_exeext conftest.$ac_ext
51363 else
51364 gcc_cv_have_tls=yes
51365 fi
51366 rm -f core conftest.err conftest.$ac_objext \
51367 conftest$ac_exeext conftest.$ac_ext
51368 CFLAGS="$chktls_save_CFLAGS"
51369 LDFLAGS="$chktls_save_LDFLAGS"
51370 else
51371 gcc_cv_have_tls=no
51372 fi
51373 rm -f core conftest.err conftest.$ac_objext \
51374 conftest$ac_exeext conftest.$ac_ext
51375
51376
51377 else
51378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51379 /* end confdefs.h. */
51380 __thread int a; int b; int main() { return a = b; }
51381 _ACEOF
51382 if ac_fn_c_try_run "$LINENO"; then :
51383 chktls_save_LDFLAGS="$LDFLAGS"
51384 LDFLAGS="-static $LDFLAGS"
51385 if test x$gcc_no_link = xyes; then
51386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51387 fi
51388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51389 /* end confdefs.h. */
51390 int main() { return 0; }
51391 _ACEOF
51392 if ac_fn_c_try_link "$LINENO"; then :
51393 if test "$cross_compiling" = yes; then :
51394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51396 as_fn_error "cannot run test program while cross compiling
51397 See \`config.log' for more details." "$LINENO" 5; }
51398 else
51399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51400 /* end confdefs.h. */
51401 __thread int a; int b; int main() { return a = b; }
51402 _ACEOF
51403 if ac_fn_c_try_run "$LINENO"; then :
51404 gcc_cv_have_tls=yes
51405 else
51406 gcc_cv_have_tls=no
51407 fi
51408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51409 conftest.$ac_objext conftest.beam conftest.$ac_ext
51410 fi
51411
51412 else
51413 gcc_cv_have_tls=yes
51414 fi
51415 rm -f core conftest.err conftest.$ac_objext \
51416 conftest$ac_exeext conftest.$ac_ext
51417 LDFLAGS="$chktls_save_LDFLAGS"
51418 if test $gcc_cv_have_tls = yes; then
51419 chktls_save_CFLAGS="$CFLAGS"
51420 thread_CFLAGS=failed
51421 for flag in '' '-pthread' '-lpthread'; do
51422 CFLAGS="$flag $chktls_save_CFLAGS"
51423 if test x$gcc_no_link = xyes; then
51424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51425 fi
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h. */
51428 #include <pthread.h>
51429 void *g(void *d) { return NULL; }
51430 int
51431 main ()
51432 {
51433 pthread_t t; pthread_create(&t,NULL,g,NULL);
51434 ;
51435 return 0;
51436 }
51437 _ACEOF
51438 if ac_fn_c_try_link "$LINENO"; then :
51439 thread_CFLAGS="$flag"
51440 fi
51441 rm -f core conftest.err conftest.$ac_objext \
51442 conftest$ac_exeext conftest.$ac_ext
51443 if test "X$thread_CFLAGS" != Xfailed; then
51444 break
51445 fi
51446 done
51447 CFLAGS="$chktls_save_CFLAGS"
51448 if test "X$thread_CFLAGS" != Xfailed; then
51449 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51450 if test "$cross_compiling" = yes; then :
51451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51453 as_fn_error "cannot run test program while cross compiling
51454 See \`config.log' for more details." "$LINENO" 5; }
51455 else
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 #include <pthread.h>
51459 __thread int a;
51460 static int *volatile a_in_other_thread;
51461 static void *
51462 thread_func (void *arg)
51463 {
51464 a_in_other_thread = &a;
51465 return (void *)0;
51466 }
51467 int
51468 main ()
51469 {
51470 pthread_t thread;
51471 void *thread_retval;
51472 int *volatile a_in_main_thread;
51473 a_in_main_thread = &a;
51474 if (pthread_create (&thread, (pthread_attr_t *)0,
51475 thread_func, (void *)0))
51476 return 0;
51477 if (pthread_join (thread, &thread_retval))
51478 return 0;
51479 return (a_in_other_thread == a_in_main_thread);
51480 ;
51481 return 0;
51482 }
51483 _ACEOF
51484 if ac_fn_c_try_run "$LINENO"; then :
51485 gcc_cv_have_tls=yes
51486 else
51487 gcc_cv_have_tls=no
51488 fi
51489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51490 conftest.$ac_objext conftest.beam conftest.$ac_ext
51491 fi
51492
51493 CFLAGS="$chktls_save_CFLAGS"
51494 fi
51495 fi
51496 else
51497 gcc_cv_have_tls=no
51498 fi
51499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51500 conftest.$ac_objext conftest.beam conftest.$ac_ext
51501 fi
51502
51503 fi
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51505 $as_echo "$gcc_cv_have_tls" >&6; }
51506 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51507
51508 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51509
51510 fi
51511
51512
51513
51514
51515
51516 am_save_CPPFLAGS="$CPPFLAGS"
51517
51518 for element in $INCICONV; do
51519 haveit=
51520 for x in $CPPFLAGS; do
51521
51522 acl_save_prefix="$prefix"
51523 prefix="$acl_final_prefix"
51524 acl_save_exec_prefix="$exec_prefix"
51525 exec_prefix="$acl_final_exec_prefix"
51526 eval x=\"$x\"
51527 exec_prefix="$acl_save_exec_prefix"
51528 prefix="$acl_save_prefix"
51529
51530 if test "X$x" = "X$element"; then
51531 haveit=yes
51532 break
51533 fi
51534 done
51535 if test -z "$haveit"; then
51536 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51537 fi
51538 done
51539
51540
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51542 $as_echo_n "checking for iconv... " >&6; }
51543 if test "${am_cv_func_iconv+set}" = set; then :
51544 $as_echo_n "(cached) " >&6
51545 else
51546
51547 am_cv_func_iconv="no, consider installing GNU libiconv"
51548 am_cv_lib_iconv=no
51549 if test x$gcc_no_link = xyes; then
51550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51551 fi
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h. */
51554 #include <stdlib.h>
51555 #include <iconv.h>
51556 int
51557 main ()
51558 {
51559 iconv_t cd = iconv_open("","");
51560 iconv(cd,NULL,NULL,NULL,NULL);
51561 iconv_close(cd);
51562 ;
51563 return 0;
51564 }
51565 _ACEOF
51566 if ac_fn_c_try_link "$LINENO"; then :
51567 am_cv_func_iconv=yes
51568 fi
51569 rm -f core conftest.err conftest.$ac_objext \
51570 conftest$ac_exeext conftest.$ac_ext
51571 if test "$am_cv_func_iconv" != yes; then
51572 am_save_LIBS="$LIBS"
51573 LIBS="$LIBS $LIBICONV"
51574 if test x$gcc_no_link = xyes; then
51575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51576 fi
51577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51578 /* end confdefs.h. */
51579 #include <stdlib.h>
51580 #include <iconv.h>
51581 int
51582 main ()
51583 {
51584 iconv_t cd = iconv_open("","");
51585 iconv(cd,NULL,NULL,NULL,NULL);
51586 iconv_close(cd);
51587 ;
51588 return 0;
51589 }
51590 _ACEOF
51591 if ac_fn_c_try_link "$LINENO"; then :
51592 am_cv_lib_iconv=yes
51593 am_cv_func_iconv=yes
51594 fi
51595 rm -f core conftest.err conftest.$ac_objext \
51596 conftest$ac_exeext conftest.$ac_ext
51597 LIBS="$am_save_LIBS"
51598 fi
51599
51600 fi
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51602 $as_echo "$am_cv_func_iconv" >&6; }
51603 if test "$am_cv_func_iconv" = yes; then
51604
51605 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51606
51607 fi
51608 if test "$am_cv_lib_iconv" = yes; then
51609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51610 $as_echo_n "checking how to link with libiconv... " >&6; }
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51612 $as_echo "$LIBICONV" >&6; }
51613 else
51614 CPPFLAGS="$am_save_CPPFLAGS"
51615 LIBICONV=
51616 LTLIBICONV=
51617 fi
51618
51619
51620
51621 if test "$am_cv_func_iconv" = yes; then
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51623 $as_echo_n "checking for iconv declaration... " >&6; }
51624 if test "${am_cv_proto_iconv+set}" = set; then :
51625 $as_echo_n "(cached) " >&6
51626 else
51627
51628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51629 /* end confdefs.h. */
51630
51631 #include <stdlib.h>
51632 #include <iconv.h>
51633 extern
51634 #ifdef __cplusplus
51635 "C"
51636 #endif
51637 #if defined(__STDC__) || defined(__cplusplus)
51638 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51639 #else
51640 size_t iconv();
51641 #endif
51642
51643 int
51644 main ()
51645 {
51646
51647 ;
51648 return 0;
51649 }
51650 _ACEOF
51651 if ac_fn_c_try_compile "$LINENO"; then :
51652 am_cv_proto_iconv_arg1=""
51653 else
51654 am_cv_proto_iconv_arg1="const"
51655 fi
51656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51657 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);"
51658 fi
51659
51660 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51662 }$am_cv_proto_iconv" >&5
51663 $as_echo "${ac_t:-
51664 }$am_cv_proto_iconv" >&6; }
51665
51666 cat >>confdefs.h <<_ACEOF
51667 #define ICONV_CONST $am_cv_proto_iconv_arg1
51668 _ACEOF
51669
51670 fi
51671
51672 ;;
51673 *-mingw32*)
51674
51675 # If we're not using GNU ld, then there's no point in even trying these
51676 # tests. Check for that first. We should have already tested for gld
51677 # by now (in libtool), but require it now just to be safe...
51678 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51679 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51680
51681
51682
51683 # The name set by libtool depends on the version of libtool. Shame on us
51684 # for depending on an impl detail, but c'est la vie. Older versions used
51685 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51686 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51687 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51688 # set (hence we're using an older libtool), then set it.
51689 if test x${with_gnu_ld+set} != xset; then
51690 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51691 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51692 with_gnu_ld=no
51693 else
51694 with_gnu_ld=$ac_cv_prog_gnu_ld
51695 fi
51696 fi
51697
51698 # Start by getting the version number. I think the libtool test already
51699 # does some of this, but throws away the result.
51700 glibcxx_ld_is_gold=no
51701 if test x"$with_gnu_ld" = x"yes"; then
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51703 $as_echo_n "checking for ld version... " >&6; }
51704
51705 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51706 glibcxx_ld_is_gold=yes
51707 fi
51708 ldver=`$LD --version 2>/dev/null |
51709 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'`
51710
51711 glibcxx_gnu_ld_version=`echo $ldver | \
51712 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51714 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51715 fi
51716
51717 # Set --gc-sections.
51718 glibcxx_have_gc_sections=no
51719 if test "$glibcxx_ld_is_gold" = "yes"; then
51720 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51721 glibcxx_have_gc_sections=yes
51722 fi
51723 else
51724 glibcxx_gcsections_min_ld=21602
51725 if test x"$with_gnu_ld" = x"yes" &&
51726 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51727 glibcxx_have_gc_sections=yes
51728 fi
51729 fi
51730 if test "$glibcxx_have_gc_sections" = "yes"; then
51731 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51732 # NB: This flag only works reliably after 2.16.1. Configure tests
51733 # for this are difficult, so hard wire a value that should work.
51734
51735 ac_test_CFLAGS="${CFLAGS+set}"
51736 ac_save_CFLAGS="$CFLAGS"
51737 CFLAGS='-Wl,--gc-sections'
51738
51739 # Check for -Wl,--gc-sections
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51741 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51742 if test x$gcc_no_link = xyes; then
51743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51744 fi
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h. */
51747 int one(void) { return 1; }
51748 int two(void) { return 2; }
51749
51750 int
51751 main ()
51752 {
51753 two();
51754 ;
51755 return 0;
51756 }
51757 _ACEOF
51758 if ac_fn_c_try_link "$LINENO"; then :
51759 ac_gcsections=yes
51760 else
51761 ac_gcsections=no
51762 fi
51763 rm -f core conftest.err conftest.$ac_objext \
51764 conftest$ac_exeext conftest.$ac_ext
51765 if test "$ac_gcsections" = "yes"; then
51766 rm -f conftest.c
51767 touch conftest.c
51768 if $CC -c conftest.c; then
51769 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51770 grep "Warning: gc-sections option ignored" > /dev/null; then
51771 ac_gcsections=no
51772 fi
51773 fi
51774 rm -f conftest.c conftest.o conftest
51775 fi
51776 if test "$ac_gcsections" = "yes"; then
51777 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51778 fi
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51780 $as_echo "$ac_gcsections" >&6; }
51781
51782 if test "$ac_test_CFLAGS" = set; then
51783 CFLAGS="$ac_save_CFLAGS"
51784 else
51785 # this is the suspicious part
51786 CFLAGS=''
51787 fi
51788 fi
51789
51790 # Set -z,relro.
51791 # Note this is only for shared objects.
51792 ac_ld_relro=no
51793 if test x"$with_gnu_ld" = x"yes"; then
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51795 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51796 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51797 if test -n "$cxx_z_relo"; then
51798 OPT_LDFLAGS="-Wl,-z,relro"
51799 ac_ld_relro=yes
51800 fi
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51802 $as_echo "$ac_ld_relro" >&6; }
51803 fi
51804
51805 # Set linker optimization flags.
51806 if test x"$with_gnu_ld" = x"yes"; then
51807 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51808 fi
51809
51810
51811
51812
51813
51814 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51815 ac_save_CXXFLAGS="$CXXFLAGS"
51816 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51817
51818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51819 $as_echo_n "checking for sin in -lm... " >&6; }
51820 if test "${ac_cv_lib_m_sin+set}" = set; then :
51821 $as_echo_n "(cached) " >&6
51822 else
51823 ac_check_lib_save_LIBS=$LIBS
51824 LIBS="-lm $LIBS"
51825 if test x$gcc_no_link = xyes; then
51826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51827 fi
51828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51829 /* end confdefs.h. */
51830
51831 /* Override any GCC internal prototype to avoid an error.
51832 Use char because int might match the return type of a GCC
51833 builtin and then its argument prototype would still apply. */
51834 #ifdef __cplusplus
51835 extern "C"
51836 #endif
51837 char sin ();
51838 int
51839 main ()
51840 {
51841 return sin ();
51842 ;
51843 return 0;
51844 }
51845 _ACEOF
51846 if ac_fn_c_try_link "$LINENO"; then :
51847 ac_cv_lib_m_sin=yes
51848 else
51849 ac_cv_lib_m_sin=no
51850 fi
51851 rm -f core conftest.err conftest.$ac_objext \
51852 conftest$ac_exeext conftest.$ac_ext
51853 LIBS=$ac_check_lib_save_LIBS
51854 fi
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51856 $as_echo "$ac_cv_lib_m_sin" >&6; }
51857 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51858 libm="-lm"
51859 fi
51860
51861 ac_save_LIBS="$LIBS"
51862 LIBS="$LIBS $libm"
51863
51864
51865
51866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51867 $as_echo_n "checking for isinf declaration... " >&6; }
51868 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51869 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51871 else
51872
51873
51874 ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51882 #include <math.h>
51883 #ifdef HAVE_IEEEFP_H
51884 #include <ieeefp.h>
51885 #endif
51886
51887 int
51888 main ()
51889 {
51890 isinf(0);
51891 ;
51892 return 0;
51893 }
51894 _ACEOF
51895 if ac_fn_cxx_try_compile "$LINENO"; then :
51896 glibcxx_cv_func_isinf_use=yes
51897 else
51898 glibcxx_cv_func_isinf_use=no
51899 fi
51900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51901 ac_ext=c
51902 ac_cpp='$CPP $CPPFLAGS'
51903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51906
51907
51908 fi
51909
51910 fi
51911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51912 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51913
51914 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51915 for ac_func in isinf
51916 do :
51917 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51918 if test "x$ac_cv_func_isinf" = x""yes; then :
51919 cat >>confdefs.h <<_ACEOF
51920 #define HAVE_ISINF 1
51921 _ACEOF
51922
51923 fi
51924 done
51925
51926 else
51927
51928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51929 $as_echo_n "checking for _isinf declaration... " >&6; }
51930 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51931 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51932 $as_echo_n "(cached) " >&6
51933 else
51934
51935
51936 ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51941
51942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h. */
51944 #include <math.h>
51945 #ifdef HAVE_IEEEFP_H
51946 #include <ieeefp.h>
51947 #endif
51948
51949 int
51950 main ()
51951 {
51952 _isinf(0);
51953 ;
51954 return 0;
51955 }
51956 _ACEOF
51957 if ac_fn_cxx_try_compile "$LINENO"; then :
51958 glibcxx_cv_func__isinf_use=yes
51959 else
51960 glibcxx_cv_func__isinf_use=no
51961 fi
51962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51963 ac_ext=c
51964 ac_cpp='$CPP $CPPFLAGS'
51965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51968
51969
51970 fi
51971
51972 fi
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51974 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51975
51976 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51977 for ac_func in _isinf
51978 do :
51979 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51980 if test "x$ac_cv_func__isinf" = x""yes; then :
51981 cat >>confdefs.h <<_ACEOF
51982 #define HAVE__ISINF 1
51983 _ACEOF
51984
51985 fi
51986 done
51987
51988 fi
51989 fi
51990
51991
51992
51993
51994
51995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51996 $as_echo_n "checking for isnan declaration... " >&6; }
51997 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51998 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51999 $as_echo_n "(cached) " >&6
52000 else
52001
52002
52003 ac_ext=cpp
52004 ac_cpp='$CXXCPP $CPPFLAGS'
52005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52008
52009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52010 /* end confdefs.h. */
52011 #include <math.h>
52012 #ifdef HAVE_IEEEFP_H
52013 #include <ieeefp.h>
52014 #endif
52015
52016 int
52017 main ()
52018 {
52019 isnan(0);
52020 ;
52021 return 0;
52022 }
52023 _ACEOF
52024 if ac_fn_cxx_try_compile "$LINENO"; then :
52025 glibcxx_cv_func_isnan_use=yes
52026 else
52027 glibcxx_cv_func_isnan_use=no
52028 fi
52029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52030 ac_ext=c
52031 ac_cpp='$CPP $CPPFLAGS'
52032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52035
52036
52037 fi
52038
52039 fi
52040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52041 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52042
52043 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52044 for ac_func in isnan
52045 do :
52046 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52047 if test "x$ac_cv_func_isnan" = x""yes; then :
52048 cat >>confdefs.h <<_ACEOF
52049 #define HAVE_ISNAN 1
52050 _ACEOF
52051
52052 fi
52053 done
52054
52055 else
52056
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52058 $as_echo_n "checking for _isnan declaration... " >&6; }
52059 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52060 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52061 $as_echo_n "(cached) " >&6
52062 else
52063
52064
52065 ac_ext=cpp
52066 ac_cpp='$CXXCPP $CPPFLAGS'
52067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52070
52071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52072 /* end confdefs.h. */
52073 #include <math.h>
52074 #ifdef HAVE_IEEEFP_H
52075 #include <ieeefp.h>
52076 #endif
52077
52078 int
52079 main ()
52080 {
52081 _isnan(0);
52082 ;
52083 return 0;
52084 }
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087 glibcxx_cv_func__isnan_use=yes
52088 else
52089 glibcxx_cv_func__isnan_use=no
52090 fi
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52097
52098
52099 fi
52100
52101 fi
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52103 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52104
52105 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52106 for ac_func in _isnan
52107 do :
52108 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52109 if test "x$ac_cv_func__isnan" = x""yes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define HAVE__ISNAN 1
52112 _ACEOF
52113
52114 fi
52115 done
52116
52117 fi
52118 fi
52119
52120
52121
52122
52123
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52125 $as_echo_n "checking for finite declaration... " >&6; }
52126 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52127 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52128 $as_echo_n "(cached) " >&6
52129 else
52130
52131
52132 ac_ext=cpp
52133 ac_cpp='$CXXCPP $CPPFLAGS'
52134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52137
52138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h. */
52140 #include <math.h>
52141 #ifdef HAVE_IEEEFP_H
52142 #include <ieeefp.h>
52143 #endif
52144
52145 int
52146 main ()
52147 {
52148 finite(0);
52149 ;
52150 return 0;
52151 }
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154 glibcxx_cv_func_finite_use=yes
52155 else
52156 glibcxx_cv_func_finite_use=no
52157 fi
52158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52159 ac_ext=c
52160 ac_cpp='$CPP $CPPFLAGS'
52161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52164
52165
52166 fi
52167
52168 fi
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52170 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52171
52172 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52173 for ac_func in finite
52174 do :
52175 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52176 if test "x$ac_cv_func_finite" = x""yes; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define HAVE_FINITE 1
52179 _ACEOF
52180
52181 fi
52182 done
52183
52184 else
52185
52186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52187 $as_echo_n "checking for _finite declaration... " >&6; }
52188 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52189 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52190 $as_echo_n "(cached) " >&6
52191 else
52192
52193
52194 ac_ext=cpp
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199
52200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h. */
52202 #include <math.h>
52203 #ifdef HAVE_IEEEFP_H
52204 #include <ieeefp.h>
52205 #endif
52206
52207 int
52208 main ()
52209 {
52210 _finite(0);
52211 ;
52212 return 0;
52213 }
52214 _ACEOF
52215 if ac_fn_cxx_try_compile "$LINENO"; then :
52216 glibcxx_cv_func__finite_use=yes
52217 else
52218 glibcxx_cv_func__finite_use=no
52219 fi
52220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52221 ac_ext=c
52222 ac_cpp='$CPP $CPPFLAGS'
52223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52226
52227
52228 fi
52229
52230 fi
52231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52232 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52233
52234 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52235 for ac_func in _finite
52236 do :
52237 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52238 if test "x$ac_cv_func__finite" = x""yes; then :
52239 cat >>confdefs.h <<_ACEOF
52240 #define HAVE__FINITE 1
52241 _ACEOF
52242
52243 fi
52244 done
52245
52246 fi
52247 fi
52248
52249
52250
52251
52252
52253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52254 $as_echo_n "checking for sincos declaration... " >&6; }
52255 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52256 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52257 $as_echo_n "(cached) " >&6
52258 else
52259
52260
52261 ac_ext=cpp
52262 ac_cpp='$CXXCPP $CPPFLAGS'
52263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52266
52267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52268 /* end confdefs.h. */
52269 #include <math.h>
52270 int
52271 main ()
52272 {
52273 sincos(0, 0, 0);
52274 ;
52275 return 0;
52276 }
52277 _ACEOF
52278 if ac_fn_cxx_try_compile "$LINENO"; then :
52279 glibcxx_cv_func_sincos_use=yes
52280 else
52281 glibcxx_cv_func_sincos_use=no
52282 fi
52283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52284 ac_ext=c
52285 ac_cpp='$CPP $CPPFLAGS'
52286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52289
52290
52291 fi
52292
52293 fi
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52295 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52296
52297 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52298 for ac_func in sincos
52299 do :
52300 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52301 if test "x$ac_cv_func_sincos" = x""yes; then :
52302 cat >>confdefs.h <<_ACEOF
52303 #define HAVE_SINCOS 1
52304 _ACEOF
52305
52306 fi
52307 done
52308
52309 else
52310
52311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52312 $as_echo_n "checking for _sincos declaration... " >&6; }
52313 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52314 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52315 $as_echo_n "(cached) " >&6
52316 else
52317
52318
52319 ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52324
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 #include <math.h>
52328 int
52329 main ()
52330 {
52331 _sincos(0, 0, 0);
52332 ;
52333 return 0;
52334 }
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337 glibcxx_cv_func__sincos_use=yes
52338 else
52339 glibcxx_cv_func__sincos_use=no
52340 fi
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342 ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52347
52348
52349 fi
52350
52351 fi
52352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52353 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52354
52355 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52356 for ac_func in _sincos
52357 do :
52358 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52359 if test "x$ac_cv_func__sincos" = x""yes; then :
52360 cat >>confdefs.h <<_ACEOF
52361 #define HAVE__SINCOS 1
52362 _ACEOF
52363
52364 fi
52365 done
52366
52367 fi
52368 fi
52369
52370
52371
52372
52373
52374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52375 $as_echo_n "checking for fpclass declaration... " >&6; }
52376 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52377 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52378 $as_echo_n "(cached) " >&6
52379 else
52380
52381
52382 ac_ext=cpp
52383 ac_cpp='$CXXCPP $CPPFLAGS'
52384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52387
52388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52389 /* end confdefs.h. */
52390 #include <math.h>
52391 #ifdef HAVE_IEEEFP_H
52392 #include <ieeefp.h>
52393 #endif
52394
52395 int
52396 main ()
52397 {
52398 fpclass(0);
52399 ;
52400 return 0;
52401 }
52402 _ACEOF
52403 if ac_fn_cxx_try_compile "$LINENO"; then :
52404 glibcxx_cv_func_fpclass_use=yes
52405 else
52406 glibcxx_cv_func_fpclass_use=no
52407 fi
52408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52409 ac_ext=c
52410 ac_cpp='$CPP $CPPFLAGS'
52411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52414
52415
52416 fi
52417
52418 fi
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52420 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52421
52422 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52423 for ac_func in fpclass
52424 do :
52425 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52426 if test "x$ac_cv_func_fpclass" = x""yes; then :
52427 cat >>confdefs.h <<_ACEOF
52428 #define HAVE_FPCLASS 1
52429 _ACEOF
52430
52431 fi
52432 done
52433
52434 else
52435
52436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52437 $as_echo_n "checking for _fpclass declaration... " >&6; }
52438 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52439 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52440 $as_echo_n "(cached) " >&6
52441 else
52442
52443
52444 ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h. */
52452 #include <math.h>
52453 #ifdef HAVE_IEEEFP_H
52454 #include <ieeefp.h>
52455 #endif
52456
52457 int
52458 main ()
52459 {
52460 _fpclass(0);
52461 ;
52462 return 0;
52463 }
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func__fpclass_use=yes
52467 else
52468 glibcxx_cv_func__fpclass_use=no
52469 fi
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476
52477
52478 fi
52479
52480 fi
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52482 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52483
52484 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52485 for ac_func in _fpclass
52486 do :
52487 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52488 if test "x$ac_cv_func__fpclass" = x""yes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE__FPCLASS 1
52491 _ACEOF
52492
52493 fi
52494 done
52495
52496 fi
52497 fi
52498
52499
52500
52501
52502
52503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52504 $as_echo_n "checking for qfpclass declaration... " >&6; }
52505 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52506 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52507 $as_echo_n "(cached) " >&6
52508 else
52509
52510
52511 ac_ext=cpp
52512 ac_cpp='$CXXCPP $CPPFLAGS'
52513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516
52517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52518 /* end confdefs.h. */
52519 #include <math.h>
52520 #ifdef HAVE_IEEEFP_H
52521 #include <ieeefp.h>
52522 #endif
52523
52524 int
52525 main ()
52526 {
52527 qfpclass(0);
52528 ;
52529 return 0;
52530 }
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 glibcxx_cv_func_qfpclass_use=yes
52534 else
52535 glibcxx_cv_func_qfpclass_use=no
52536 fi
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543
52544
52545 fi
52546
52547 fi
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52549 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52550
52551 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52552 for ac_func in qfpclass
52553 do :
52554 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52555 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52556 cat >>confdefs.h <<_ACEOF
52557 #define HAVE_QFPCLASS 1
52558 _ACEOF
52559
52560 fi
52561 done
52562
52563 else
52564
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52566 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52567 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52568 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52571
52572
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52582 #ifdef HAVE_IEEEFP_H
52583 #include <ieeefp.h>
52584 #endif
52585
52586 int
52587 main ()
52588 {
52589 _qfpclass(0);
52590 ;
52591 return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595 glibcxx_cv_func__qfpclass_use=yes
52596 else
52597 glibcxx_cv_func__qfpclass_use=no
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600 ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605
52606
52607 fi
52608
52609 fi
52610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52611 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52612
52613 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52614 for ac_func in _qfpclass
52615 do :
52616 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52617 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52618 cat >>confdefs.h <<_ACEOF
52619 #define HAVE__QFPCLASS 1
52620 _ACEOF
52621
52622 fi
52623 done
52624
52625 fi
52626 fi
52627
52628
52629
52630
52631
52632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52633 $as_echo_n "checking for hypot declaration... " >&6; }
52634 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52635 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52636 $as_echo_n "(cached) " >&6
52637 else
52638
52639
52640 ac_ext=cpp
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52645
52646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h. */
52648 #include <math.h>
52649 int
52650 main ()
52651 {
52652 hypot(0, 0);
52653 ;
52654 return 0;
52655 }
52656 _ACEOF
52657 if ac_fn_cxx_try_compile "$LINENO"; then :
52658 glibcxx_cv_func_hypot_use=yes
52659 else
52660 glibcxx_cv_func_hypot_use=no
52661 fi
52662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52663 ac_ext=c
52664 ac_cpp='$CPP $CPPFLAGS'
52665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52668
52669
52670 fi
52671
52672 fi
52673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52674 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52675
52676 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52677 for ac_func in hypot
52678 do :
52679 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52680 if test "x$ac_cv_func_hypot" = x""yes; then :
52681 cat >>confdefs.h <<_ACEOF
52682 #define HAVE_HYPOT 1
52683 _ACEOF
52684
52685 fi
52686 done
52687
52688 else
52689
52690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52691 $as_echo_n "checking for _hypot declaration... " >&6; }
52692 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52693 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52694 $as_echo_n "(cached) " >&6
52695 else
52696
52697
52698 ac_ext=cpp
52699 ac_cpp='$CXXCPP $CPPFLAGS'
52700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52703
52704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52705 /* end confdefs.h. */
52706 #include <math.h>
52707 int
52708 main ()
52709 {
52710 _hypot(0, 0);
52711 ;
52712 return 0;
52713 }
52714 _ACEOF
52715 if ac_fn_cxx_try_compile "$LINENO"; then :
52716 glibcxx_cv_func__hypot_use=yes
52717 else
52718 glibcxx_cv_func__hypot_use=no
52719 fi
52720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52721 ac_ext=c
52722 ac_cpp='$CPP $CPPFLAGS'
52723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52726
52727
52728 fi
52729
52730 fi
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52732 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52733
52734 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52735 for ac_func in _hypot
52736 do :
52737 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52738 if test "x$ac_cv_func__hypot" = x""yes; then :
52739 cat >>confdefs.h <<_ACEOF
52740 #define HAVE__HYPOT 1
52741 _ACEOF
52742
52743 fi
52744 done
52745
52746 fi
52747 fi
52748
52749
52750
52751
52752
52753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52754 $as_echo_n "checking for float trig functions... " >&6; }
52755 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52756 $as_echo_n "(cached) " >&6
52757 else
52758
52759
52760 ac_ext=cpp
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765
52766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52767 /* end confdefs.h. */
52768 #include <math.h>
52769 int
52770 main ()
52771 {
52772 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52773 ;
52774 return 0;
52775 }
52776 _ACEOF
52777 if ac_fn_cxx_try_compile "$LINENO"; then :
52778 glibcxx_cv_func_float_trig_use=yes
52779 else
52780 glibcxx_cv_func_float_trig_use=no
52781 fi
52782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52783 ac_ext=c
52784 ac_cpp='$CPP $CPPFLAGS'
52785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52788
52789 fi
52790
52791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52792 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52793 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52794 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52795 do :
52796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52798 eval as_val=\$$as_ac_var
52799 if test "x$as_val" = x""yes; then :
52800 cat >>confdefs.h <<_ACEOF
52801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52802 _ACEOF
52803
52804 fi
52805 done
52806
52807 else
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52809 $as_echo_n "checking for _float trig functions... " >&6; }
52810 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52811 $as_echo_n "(cached) " >&6
52812 else
52813
52814
52815 ac_ext=cpp
52816 ac_cpp='$CXXCPP $CPPFLAGS'
52817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52820
52821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52822 /* end confdefs.h. */
52823 #include <math.h>
52824 int
52825 main ()
52826 {
52827 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52828 ;
52829 return 0;
52830 }
52831 _ACEOF
52832 if ac_fn_cxx_try_compile "$LINENO"; then :
52833 glibcxx_cv_func__float_trig_use=yes
52834 else
52835 glibcxx_cv_func__float_trig_use=no
52836 fi
52837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52838 ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52843
52844 fi
52845
52846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52847 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52848 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52849 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52850 do :
52851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52853 eval as_val=\$$as_ac_var
52854 if test "x$as_val" = x""yes; then :
52855 cat >>confdefs.h <<_ACEOF
52856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52857 _ACEOF
52858
52859 fi
52860 done
52861
52862 fi
52863 fi
52864
52865
52866
52867
52868
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52870 $as_echo_n "checking for float round functions... " >&6; }
52871 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52872 $as_echo_n "(cached) " >&6
52873 else
52874
52875
52876 ac_ext=cpp
52877 ac_cpp='$CXXCPP $CPPFLAGS'
52878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52881
52882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52883 /* end confdefs.h. */
52884 #include <math.h>
52885 int
52886 main ()
52887 {
52888 ceilf (0); floorf (0);
52889 ;
52890 return 0;
52891 }
52892 _ACEOF
52893 if ac_fn_cxx_try_compile "$LINENO"; then :
52894 glibcxx_cv_func_float_round_use=yes
52895 else
52896 glibcxx_cv_func_float_round_use=no
52897 fi
52898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52899 ac_ext=c
52900 ac_cpp='$CPP $CPPFLAGS'
52901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52904
52905 fi
52906
52907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52908 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52909 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52910 for ac_func in ceilf floorf
52911 do :
52912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52914 eval as_val=\$$as_ac_var
52915 if test "x$as_val" = x""yes; then :
52916 cat >>confdefs.h <<_ACEOF
52917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52918 _ACEOF
52919
52920 fi
52921 done
52922
52923 else
52924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52925 $as_echo_n "checking for _float round functions... " >&6; }
52926 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52927 $as_echo_n "(cached) " >&6
52928 else
52929
52930
52931 ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52936
52937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h. */
52939 #include <math.h>
52940 int
52941 main ()
52942 {
52943 _ceilf (0); _floorf (0);
52944 ;
52945 return 0;
52946 }
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func__float_round_use=yes
52950 else
52951 glibcxx_cv_func__float_round_use=no
52952 fi
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959
52960 fi
52961
52962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52963 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52964 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52965 for ac_func in _ceilf _floorf
52966 do :
52967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52969 eval as_val=\$$as_ac_var
52970 if test "x$as_val" = x""yes; then :
52971 cat >>confdefs.h <<_ACEOF
52972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52973 _ACEOF
52974
52975 fi
52976 done
52977
52978 fi
52979 fi
52980
52981
52982
52983
52984
52985
52986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52987 $as_echo_n "checking for expf declaration... " >&6; }
52988 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52989 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52990 $as_echo_n "(cached) " >&6
52991 else
52992
52993
52994 ac_ext=cpp
52995 ac_cpp='$CXXCPP $CPPFLAGS'
52996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52999
53000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53001 /* end confdefs.h. */
53002 #include <math.h>
53003 #ifdef HAVE_IEEEFP_H
53004 #include <ieeefp.h>
53005 #endif
53006
53007 int
53008 main ()
53009 {
53010 expf(0);
53011 ;
53012 return 0;
53013 }
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016 glibcxx_cv_func_expf_use=yes
53017 else
53018 glibcxx_cv_func_expf_use=no
53019 fi
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021 ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53026
53027
53028 fi
53029
53030 fi
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53032 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53033
53034 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53035 for ac_func in expf
53036 do :
53037 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53038 if test "x$ac_cv_func_expf" = x""yes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE_EXPF 1
53041 _ACEOF
53042
53043 fi
53044 done
53045
53046 else
53047
53048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53049 $as_echo_n "checking for _expf declaration... " >&6; }
53050 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53051 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53052 $as_echo_n "(cached) " >&6
53053 else
53054
53055
53056 ac_ext=cpp
53057 ac_cpp='$CXXCPP $CPPFLAGS'
53058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53061
53062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h. */
53064 #include <math.h>
53065 #ifdef HAVE_IEEEFP_H
53066 #include <ieeefp.h>
53067 #endif
53068
53069 int
53070 main ()
53071 {
53072 _expf(0);
53073 ;
53074 return 0;
53075 }
53076 _ACEOF
53077 if ac_fn_cxx_try_compile "$LINENO"; then :
53078 glibcxx_cv_func__expf_use=yes
53079 else
53080 glibcxx_cv_func__expf_use=no
53081 fi
53082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53083 ac_ext=c
53084 ac_cpp='$CPP $CPPFLAGS'
53085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088
53089
53090 fi
53091
53092 fi
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53094 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53095
53096 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53097 for ac_func in _expf
53098 do :
53099 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53100 if test "x$ac_cv_func__expf" = x""yes; then :
53101 cat >>confdefs.h <<_ACEOF
53102 #define HAVE__EXPF 1
53103 _ACEOF
53104
53105 fi
53106 done
53107
53108 fi
53109 fi
53110
53111
53112
53113
53114
53115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53116 $as_echo_n "checking for isnanf declaration... " >&6; }
53117 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53118 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53119 $as_echo_n "(cached) " >&6
53120 else
53121
53122
53123 ac_ext=cpp
53124 ac_cpp='$CXXCPP $CPPFLAGS'
53125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53128
53129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53130 /* end confdefs.h. */
53131 #include <math.h>
53132 #ifdef HAVE_IEEEFP_H
53133 #include <ieeefp.h>
53134 #endif
53135
53136 int
53137 main ()
53138 {
53139 isnanf(0);
53140 ;
53141 return 0;
53142 }
53143 _ACEOF
53144 if ac_fn_cxx_try_compile "$LINENO"; then :
53145 glibcxx_cv_func_isnanf_use=yes
53146 else
53147 glibcxx_cv_func_isnanf_use=no
53148 fi
53149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53150 ac_ext=c
53151 ac_cpp='$CPP $CPPFLAGS'
53152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53155
53156
53157 fi
53158
53159 fi
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53161 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53162
53163 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53164 for ac_func in isnanf
53165 do :
53166 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53167 if test "x$ac_cv_func_isnanf" = x""yes; then :
53168 cat >>confdefs.h <<_ACEOF
53169 #define HAVE_ISNANF 1
53170 _ACEOF
53171
53172 fi
53173 done
53174
53175 else
53176
53177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53178 $as_echo_n "checking for _isnanf declaration... " >&6; }
53179 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53180 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53181 $as_echo_n "(cached) " >&6
53182 else
53183
53184
53185 ac_ext=cpp
53186 ac_cpp='$CXXCPP $CPPFLAGS'
53187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53190
53191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53192 /* end confdefs.h. */
53193 #include <math.h>
53194 #ifdef HAVE_IEEEFP_H
53195 #include <ieeefp.h>
53196 #endif
53197
53198 int
53199 main ()
53200 {
53201 _isnanf(0);
53202 ;
53203 return 0;
53204 }
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func__isnanf_use=yes
53208 else
53209 glibcxx_cv_func__isnanf_use=no
53210 fi
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217
53218
53219 fi
53220
53221 fi
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53223 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53224
53225 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53226 for ac_func in _isnanf
53227 do :
53228 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53229 if test "x$ac_cv_func__isnanf" = x""yes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE__ISNANF 1
53232 _ACEOF
53233
53234 fi
53235 done
53236
53237 fi
53238 fi
53239
53240
53241
53242
53243
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53245 $as_echo_n "checking for isinff declaration... " >&6; }
53246 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53247 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53248 $as_echo_n "(cached) " >&6
53249 else
53250
53251
53252 ac_ext=cpp
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53257
53258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53259 /* end confdefs.h. */
53260 #include <math.h>
53261 #ifdef HAVE_IEEEFP_H
53262 #include <ieeefp.h>
53263 #endif
53264
53265 int
53266 main ()
53267 {
53268 isinff(0);
53269 ;
53270 return 0;
53271 }
53272 _ACEOF
53273 if ac_fn_cxx_try_compile "$LINENO"; then :
53274 glibcxx_cv_func_isinff_use=yes
53275 else
53276 glibcxx_cv_func_isinff_use=no
53277 fi
53278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53279 ac_ext=c
53280 ac_cpp='$CPP $CPPFLAGS'
53281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53284
53285
53286 fi
53287
53288 fi
53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53290 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53291
53292 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53293 for ac_func in isinff
53294 do :
53295 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53296 if test "x$ac_cv_func_isinff" = x""yes; then :
53297 cat >>confdefs.h <<_ACEOF
53298 #define HAVE_ISINFF 1
53299 _ACEOF
53300
53301 fi
53302 done
53303
53304 else
53305
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53307 $as_echo_n "checking for _isinff declaration... " >&6; }
53308 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53309 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53310 $as_echo_n "(cached) " >&6
53311 else
53312
53313
53314 ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53319
53320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h. */
53322 #include <math.h>
53323 #ifdef HAVE_IEEEFP_H
53324 #include <ieeefp.h>
53325 #endif
53326
53327 int
53328 main ()
53329 {
53330 _isinff(0);
53331 ;
53332 return 0;
53333 }
53334 _ACEOF
53335 if ac_fn_cxx_try_compile "$LINENO"; then :
53336 glibcxx_cv_func__isinff_use=yes
53337 else
53338 glibcxx_cv_func__isinff_use=no
53339 fi
53340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53341 ac_ext=c
53342 ac_cpp='$CPP $CPPFLAGS'
53343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53346
53347
53348 fi
53349
53350 fi
53351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53352 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53353
53354 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53355 for ac_func in _isinff
53356 do :
53357 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53358 if test "x$ac_cv_func__isinff" = x""yes; then :
53359 cat >>confdefs.h <<_ACEOF
53360 #define HAVE__ISINFF 1
53361 _ACEOF
53362
53363 fi
53364 done
53365
53366 fi
53367 fi
53368
53369
53370
53371
53372
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53374 $as_echo_n "checking for atan2f declaration... " >&6; }
53375 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53376 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53377 $as_echo_n "(cached) " >&6
53378 else
53379
53380
53381 ac_ext=cpp
53382 ac_cpp='$CXXCPP $CPPFLAGS'
53383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53386
53387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h. */
53389 #include <math.h>
53390 int
53391 main ()
53392 {
53393 atan2f(0, 0);
53394 ;
53395 return 0;
53396 }
53397 _ACEOF
53398 if ac_fn_cxx_try_compile "$LINENO"; then :
53399 glibcxx_cv_func_atan2f_use=yes
53400 else
53401 glibcxx_cv_func_atan2f_use=no
53402 fi
53403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53404 ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409
53410
53411 fi
53412
53413 fi
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53415 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53416
53417 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53418 for ac_func in atan2f
53419 do :
53420 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53421 if test "x$ac_cv_func_atan2f" = x""yes; then :
53422 cat >>confdefs.h <<_ACEOF
53423 #define HAVE_ATAN2F 1
53424 _ACEOF
53425
53426 fi
53427 done
53428
53429 else
53430
53431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53432 $as_echo_n "checking for _atan2f declaration... " >&6; }
53433 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53434 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53435 $as_echo_n "(cached) " >&6
53436 else
53437
53438
53439 ac_ext=cpp
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53444
53445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446 /* end confdefs.h. */
53447 #include <math.h>
53448 int
53449 main ()
53450 {
53451 _atan2f(0, 0);
53452 ;
53453 return 0;
53454 }
53455 _ACEOF
53456 if ac_fn_cxx_try_compile "$LINENO"; then :
53457 glibcxx_cv_func__atan2f_use=yes
53458 else
53459 glibcxx_cv_func__atan2f_use=no
53460 fi
53461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53462 ac_ext=c
53463 ac_cpp='$CPP $CPPFLAGS'
53464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467
53468
53469 fi
53470
53471 fi
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53473 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53474
53475 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53476 for ac_func in _atan2f
53477 do :
53478 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53479 if test "x$ac_cv_func__atan2f" = x""yes; then :
53480 cat >>confdefs.h <<_ACEOF
53481 #define HAVE__ATAN2F 1
53482 _ACEOF
53483
53484 fi
53485 done
53486
53487 fi
53488 fi
53489
53490
53491
53492
53493
53494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53495 $as_echo_n "checking for fabsf declaration... " >&6; }
53496 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53497 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53498 $as_echo_n "(cached) " >&6
53499 else
53500
53501
53502 ac_ext=cpp
53503 ac_cpp='$CXXCPP $CPPFLAGS'
53504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507
53508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53509 /* end confdefs.h. */
53510 #include <math.h>
53511 #ifdef HAVE_IEEEFP_H
53512 #include <ieeefp.h>
53513 #endif
53514
53515 int
53516 main ()
53517 {
53518 fabsf(0);
53519 ;
53520 return 0;
53521 }
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524 glibcxx_cv_func_fabsf_use=yes
53525 else
53526 glibcxx_cv_func_fabsf_use=no
53527 fi
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529 ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534
53535
53536 fi
53537
53538 fi
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53540 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53541
53542 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53543 for ac_func in fabsf
53544 do :
53545 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53546 if test "x$ac_cv_func_fabsf" = x""yes; then :
53547 cat >>confdefs.h <<_ACEOF
53548 #define HAVE_FABSF 1
53549 _ACEOF
53550
53551 fi
53552 done
53553
53554 else
53555
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53557 $as_echo_n "checking for _fabsf declaration... " >&6; }
53558 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53559 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53562
53563
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53573 #ifdef HAVE_IEEEFP_H
53574 #include <ieeefp.h>
53575 #endif
53576
53577 int
53578 main ()
53579 {
53580 _fabsf(0);
53581 ;
53582 return 0;
53583 }
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func__fabsf_use=yes
53587 else
53588 glibcxx_cv_func__fabsf_use=no
53589 fi
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53596
53597
53598 fi
53599
53600 fi
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53602 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53603
53604 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53605 for ac_func in _fabsf
53606 do :
53607 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53608 if test "x$ac_cv_func__fabsf" = x""yes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE__FABSF 1
53611 _ACEOF
53612
53613 fi
53614 done
53615
53616 fi
53617 fi
53618
53619
53620
53621
53622
53623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53624 $as_echo_n "checking for fmodf declaration... " >&6; }
53625 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53626 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53627 $as_echo_n "(cached) " >&6
53628 else
53629
53630
53631 ac_ext=cpp
53632 ac_cpp='$CXXCPP $CPPFLAGS'
53633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53636
53637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53638 /* end confdefs.h. */
53639 #include <math.h>
53640 int
53641 main ()
53642 {
53643 fmodf(0, 0);
53644 ;
53645 return 0;
53646 }
53647 _ACEOF
53648 if ac_fn_cxx_try_compile "$LINENO"; then :
53649 glibcxx_cv_func_fmodf_use=yes
53650 else
53651 glibcxx_cv_func_fmodf_use=no
53652 fi
53653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53654 ac_ext=c
53655 ac_cpp='$CPP $CPPFLAGS'
53656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53659
53660
53661 fi
53662
53663 fi
53664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53665 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53666
53667 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53668 for ac_func in fmodf
53669 do :
53670 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53671 if test "x$ac_cv_func_fmodf" = x""yes; then :
53672 cat >>confdefs.h <<_ACEOF
53673 #define HAVE_FMODF 1
53674 _ACEOF
53675
53676 fi
53677 done
53678
53679 else
53680
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53682 $as_echo_n "checking for _fmodf declaration... " >&6; }
53683 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53684 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53687
53688
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53694
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53698 int
53699 main ()
53700 {
53701 _fmodf(0, 0);
53702 ;
53703 return 0;
53704 }
53705 _ACEOF
53706 if ac_fn_cxx_try_compile "$LINENO"; then :
53707 glibcxx_cv_func__fmodf_use=yes
53708 else
53709 glibcxx_cv_func__fmodf_use=no
53710 fi
53711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712 ac_ext=c
53713 ac_cpp='$CPP $CPPFLAGS'
53714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53717
53718
53719 fi
53720
53721 fi
53722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53723 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53724
53725 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53726 for ac_func in _fmodf
53727 do :
53728 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53729 if test "x$ac_cv_func__fmodf" = x""yes; then :
53730 cat >>confdefs.h <<_ACEOF
53731 #define HAVE__FMODF 1
53732 _ACEOF
53733
53734 fi
53735 done
53736
53737 fi
53738 fi
53739
53740
53741
53742
53743
53744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53745 $as_echo_n "checking for frexpf declaration... " >&6; }
53746 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53747 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53748 $as_echo_n "(cached) " >&6
53749 else
53750
53751
53752 ac_ext=cpp
53753 ac_cpp='$CXXCPP $CPPFLAGS'
53754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53757
53758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53759 /* end confdefs.h. */
53760 #include <math.h>
53761 int
53762 main ()
53763 {
53764 frexpf(0, 0);
53765 ;
53766 return 0;
53767 }
53768 _ACEOF
53769 if ac_fn_cxx_try_compile "$LINENO"; then :
53770 glibcxx_cv_func_frexpf_use=yes
53771 else
53772 glibcxx_cv_func_frexpf_use=no
53773 fi
53774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53775 ac_ext=c
53776 ac_cpp='$CPP $CPPFLAGS'
53777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53780
53781
53782 fi
53783
53784 fi
53785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53786 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53787
53788 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53789 for ac_func in frexpf
53790 do :
53791 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53792 if test "x$ac_cv_func_frexpf" = x""yes; then :
53793 cat >>confdefs.h <<_ACEOF
53794 #define HAVE_FREXPF 1
53795 _ACEOF
53796
53797 fi
53798 done
53799
53800 else
53801
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53803 $as_echo_n "checking for _frexpf declaration... " >&6; }
53804 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53805 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53806 $as_echo_n "(cached) " >&6
53807 else
53808
53809
53810 ac_ext=cpp
53811 ac_cpp='$CXXCPP $CPPFLAGS'
53812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53815
53816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h. */
53818 #include <math.h>
53819 int
53820 main ()
53821 {
53822 _frexpf(0, 0);
53823 ;
53824 return 0;
53825 }
53826 _ACEOF
53827 if ac_fn_cxx_try_compile "$LINENO"; then :
53828 glibcxx_cv_func__frexpf_use=yes
53829 else
53830 glibcxx_cv_func__frexpf_use=no
53831 fi
53832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53833 ac_ext=c
53834 ac_cpp='$CPP $CPPFLAGS'
53835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53838
53839
53840 fi
53841
53842 fi
53843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53844 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53845
53846 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53847 for ac_func in _frexpf
53848 do :
53849 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53850 if test "x$ac_cv_func__frexpf" = x""yes; then :
53851 cat >>confdefs.h <<_ACEOF
53852 #define HAVE__FREXPF 1
53853 _ACEOF
53854
53855 fi
53856 done
53857
53858 fi
53859 fi
53860
53861
53862
53863
53864
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53866 $as_echo_n "checking for hypotf declaration... " >&6; }
53867 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53868 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53869 $as_echo_n "(cached) " >&6
53870 else
53871
53872
53873 ac_ext=cpp
53874 ac_cpp='$CXXCPP $CPPFLAGS'
53875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878
53879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h. */
53881 #include <math.h>
53882 int
53883 main ()
53884 {
53885 hypotf(0, 0);
53886 ;
53887 return 0;
53888 }
53889 _ACEOF
53890 if ac_fn_cxx_try_compile "$LINENO"; then :
53891 glibcxx_cv_func_hypotf_use=yes
53892 else
53893 glibcxx_cv_func_hypotf_use=no
53894 fi
53895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53896 ac_ext=c
53897 ac_cpp='$CPP $CPPFLAGS'
53898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53901
53902
53903 fi
53904
53905 fi
53906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53907 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53908
53909 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53910 for ac_func in hypotf
53911 do :
53912 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53913 if test "x$ac_cv_func_hypotf" = x""yes; then :
53914 cat >>confdefs.h <<_ACEOF
53915 #define HAVE_HYPOTF 1
53916 _ACEOF
53917
53918 fi
53919 done
53920
53921 else
53922
53923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53924 $as_echo_n "checking for _hypotf declaration... " >&6; }
53925 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53926 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53927 $as_echo_n "(cached) " >&6
53928 else
53929
53930
53931 ac_ext=cpp
53932 ac_cpp='$CXXCPP $CPPFLAGS'
53933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53936
53937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h. */
53939 #include <math.h>
53940 int
53941 main ()
53942 {
53943 _hypotf(0, 0);
53944 ;
53945 return 0;
53946 }
53947 _ACEOF
53948 if ac_fn_cxx_try_compile "$LINENO"; then :
53949 glibcxx_cv_func__hypotf_use=yes
53950 else
53951 glibcxx_cv_func__hypotf_use=no
53952 fi
53953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53954 ac_ext=c
53955 ac_cpp='$CPP $CPPFLAGS'
53956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53959
53960
53961 fi
53962
53963 fi
53964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53965 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53966
53967 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53968 for ac_func in _hypotf
53969 do :
53970 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53971 if test "x$ac_cv_func__hypotf" = x""yes; then :
53972 cat >>confdefs.h <<_ACEOF
53973 #define HAVE__HYPOTF 1
53974 _ACEOF
53975
53976 fi
53977 done
53978
53979 fi
53980 fi
53981
53982
53983
53984
53985
53986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53987 $as_echo_n "checking for ldexpf declaration... " >&6; }
53988 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53989 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53990 $as_echo_n "(cached) " >&6
53991 else
53992
53993
53994 ac_ext=cpp
53995 ac_cpp='$CXXCPP $CPPFLAGS'
53996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53999
54000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54001 /* end confdefs.h. */
54002 #include <math.h>
54003 int
54004 main ()
54005 {
54006 ldexpf(0, 0);
54007 ;
54008 return 0;
54009 }
54010 _ACEOF
54011 if ac_fn_cxx_try_compile "$LINENO"; then :
54012 glibcxx_cv_func_ldexpf_use=yes
54013 else
54014 glibcxx_cv_func_ldexpf_use=no
54015 fi
54016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54017 ac_ext=c
54018 ac_cpp='$CPP $CPPFLAGS'
54019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54022
54023
54024 fi
54025
54026 fi
54027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54028 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54029
54030 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54031 for ac_func in ldexpf
54032 do :
54033 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54034 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54035 cat >>confdefs.h <<_ACEOF
54036 #define HAVE_LDEXPF 1
54037 _ACEOF
54038
54039 fi
54040 done
54041
54042 else
54043
54044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54045 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54046 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54047 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54048 $as_echo_n "(cached) " >&6
54049 else
54050
54051
54052 ac_ext=cpp
54053 ac_cpp='$CXXCPP $CPPFLAGS'
54054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54057
54058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54059 /* end confdefs.h. */
54060 #include <math.h>
54061 int
54062 main ()
54063 {
54064 _ldexpf(0, 0);
54065 ;
54066 return 0;
54067 }
54068 _ACEOF
54069 if ac_fn_cxx_try_compile "$LINENO"; then :
54070 glibcxx_cv_func__ldexpf_use=yes
54071 else
54072 glibcxx_cv_func__ldexpf_use=no
54073 fi
54074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54075 ac_ext=c
54076 ac_cpp='$CPP $CPPFLAGS'
54077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54080
54081
54082 fi
54083
54084 fi
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54086 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54087
54088 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54089 for ac_func in _ldexpf
54090 do :
54091 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54092 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54093 cat >>confdefs.h <<_ACEOF
54094 #define HAVE__LDEXPF 1
54095 _ACEOF
54096
54097 fi
54098 done
54099
54100 fi
54101 fi
54102
54103
54104
54105
54106
54107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54108 $as_echo_n "checking for logf declaration... " >&6; }
54109 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54110 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54111 $as_echo_n "(cached) " >&6
54112 else
54113
54114
54115 ac_ext=cpp
54116 ac_cpp='$CXXCPP $CPPFLAGS'
54117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54120
54121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54122 /* end confdefs.h. */
54123 #include <math.h>
54124 #ifdef HAVE_IEEEFP_H
54125 #include <ieeefp.h>
54126 #endif
54127
54128 int
54129 main ()
54130 {
54131 logf(0);
54132 ;
54133 return 0;
54134 }
54135 _ACEOF
54136 if ac_fn_cxx_try_compile "$LINENO"; then :
54137 glibcxx_cv_func_logf_use=yes
54138 else
54139 glibcxx_cv_func_logf_use=no
54140 fi
54141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54142 ac_ext=c
54143 ac_cpp='$CPP $CPPFLAGS'
54144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54147
54148
54149 fi
54150
54151 fi
54152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54153 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54154
54155 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54156 for ac_func in logf
54157 do :
54158 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54159 if test "x$ac_cv_func_logf" = x""yes; then :
54160 cat >>confdefs.h <<_ACEOF
54161 #define HAVE_LOGF 1
54162 _ACEOF
54163
54164 fi
54165 done
54166
54167 else
54168
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54170 $as_echo_n "checking for _logf declaration... " >&6; }
54171 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54172 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54173 $as_echo_n "(cached) " >&6
54174 else
54175
54176
54177 ac_ext=cpp
54178 ac_cpp='$CXXCPP $CPPFLAGS'
54179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54182
54183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184 /* end confdefs.h. */
54185 #include <math.h>
54186 #ifdef HAVE_IEEEFP_H
54187 #include <ieeefp.h>
54188 #endif
54189
54190 int
54191 main ()
54192 {
54193 _logf(0);
54194 ;
54195 return 0;
54196 }
54197 _ACEOF
54198 if ac_fn_cxx_try_compile "$LINENO"; then :
54199 glibcxx_cv_func__logf_use=yes
54200 else
54201 glibcxx_cv_func__logf_use=no
54202 fi
54203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54204 ac_ext=c
54205 ac_cpp='$CPP $CPPFLAGS'
54206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209
54210
54211 fi
54212
54213 fi
54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54215 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54216
54217 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54218 for ac_func in _logf
54219 do :
54220 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54221 if test "x$ac_cv_func__logf" = x""yes; then :
54222 cat >>confdefs.h <<_ACEOF
54223 #define HAVE__LOGF 1
54224 _ACEOF
54225
54226 fi
54227 done
54228
54229 fi
54230 fi
54231
54232
54233
54234
54235
54236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54237 $as_echo_n "checking for log10f declaration... " >&6; }
54238 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54239 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54240 $as_echo_n "(cached) " >&6
54241 else
54242
54243
54244 ac_ext=cpp
54245 ac_cpp='$CXXCPP $CPPFLAGS'
54246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54249
54250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54251 /* end confdefs.h. */
54252 #include <math.h>
54253 #ifdef HAVE_IEEEFP_H
54254 #include <ieeefp.h>
54255 #endif
54256
54257 int
54258 main ()
54259 {
54260 log10f(0);
54261 ;
54262 return 0;
54263 }
54264 _ACEOF
54265 if ac_fn_cxx_try_compile "$LINENO"; then :
54266 glibcxx_cv_func_log10f_use=yes
54267 else
54268 glibcxx_cv_func_log10f_use=no
54269 fi
54270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54271 ac_ext=c
54272 ac_cpp='$CPP $CPPFLAGS'
54273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54276
54277
54278 fi
54279
54280 fi
54281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54282 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54283
54284 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54285 for ac_func in log10f
54286 do :
54287 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54288 if test "x$ac_cv_func_log10f" = x""yes; then :
54289 cat >>confdefs.h <<_ACEOF
54290 #define HAVE_LOG10F 1
54291 _ACEOF
54292
54293 fi
54294 done
54295
54296 else
54297
54298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54299 $as_echo_n "checking for _log10f declaration... " >&6; }
54300 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54301 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54302 $as_echo_n "(cached) " >&6
54303 else
54304
54305
54306 ac_ext=cpp
54307 ac_cpp='$CXXCPP $CPPFLAGS'
54308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54311
54312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h. */
54314 #include <math.h>
54315 #ifdef HAVE_IEEEFP_H
54316 #include <ieeefp.h>
54317 #endif
54318
54319 int
54320 main ()
54321 {
54322 _log10f(0);
54323 ;
54324 return 0;
54325 }
54326 _ACEOF
54327 if ac_fn_cxx_try_compile "$LINENO"; then :
54328 glibcxx_cv_func__log10f_use=yes
54329 else
54330 glibcxx_cv_func__log10f_use=no
54331 fi
54332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54333 ac_ext=c
54334 ac_cpp='$CPP $CPPFLAGS'
54335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54338
54339
54340 fi
54341
54342 fi
54343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54344 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54345
54346 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54347 for ac_func in _log10f
54348 do :
54349 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54350 if test "x$ac_cv_func__log10f" = x""yes; then :
54351 cat >>confdefs.h <<_ACEOF
54352 #define HAVE__LOG10F 1
54353 _ACEOF
54354
54355 fi
54356 done
54357
54358 fi
54359 fi
54360
54361
54362
54363
54364
54365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54366 $as_echo_n "checking for modff declaration... " >&6; }
54367 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54368 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54369 $as_echo_n "(cached) " >&6
54370 else
54371
54372
54373 ac_ext=cpp
54374 ac_cpp='$CXXCPP $CPPFLAGS'
54375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54378
54379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380 /* end confdefs.h. */
54381 #include <math.h>
54382 int
54383 main ()
54384 {
54385 modff(0, 0);
54386 ;
54387 return 0;
54388 }
54389 _ACEOF
54390 if ac_fn_cxx_try_compile "$LINENO"; then :
54391 glibcxx_cv_func_modff_use=yes
54392 else
54393 glibcxx_cv_func_modff_use=no
54394 fi
54395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54396 ac_ext=c
54397 ac_cpp='$CPP $CPPFLAGS'
54398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54401
54402
54403 fi
54404
54405 fi
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54407 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54408
54409 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54410 for ac_func in modff
54411 do :
54412 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54413 if test "x$ac_cv_func_modff" = x""yes; then :
54414 cat >>confdefs.h <<_ACEOF
54415 #define HAVE_MODFF 1
54416 _ACEOF
54417
54418 fi
54419 done
54420
54421 else
54422
54423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54424 $as_echo_n "checking for _modff declaration... " >&6; }
54425 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54426 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54427 $as_echo_n "(cached) " >&6
54428 else
54429
54430
54431 ac_ext=cpp
54432 ac_cpp='$CXXCPP $CPPFLAGS'
54433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54436
54437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54438 /* end confdefs.h. */
54439 #include <math.h>
54440 int
54441 main ()
54442 {
54443 _modff(0, 0);
54444 ;
54445 return 0;
54446 }
54447 _ACEOF
54448 if ac_fn_cxx_try_compile "$LINENO"; then :
54449 glibcxx_cv_func__modff_use=yes
54450 else
54451 glibcxx_cv_func__modff_use=no
54452 fi
54453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54454 ac_ext=c
54455 ac_cpp='$CPP $CPPFLAGS'
54456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54459
54460
54461 fi
54462
54463 fi
54464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54465 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54466
54467 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54468 for ac_func in _modff
54469 do :
54470 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54471 if test "x$ac_cv_func__modff" = x""yes; then :
54472 cat >>confdefs.h <<_ACEOF
54473 #define HAVE__MODFF 1
54474 _ACEOF
54475
54476 fi
54477 done
54478
54479 fi
54480 fi
54481
54482
54483
54484
54485
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54487 $as_echo_n "checking for modf declaration... " >&6; }
54488 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54489 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54490 $as_echo_n "(cached) " >&6
54491 else
54492
54493
54494 ac_ext=cpp
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54499
54500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54501 /* end confdefs.h. */
54502 #include <math.h>
54503 int
54504 main ()
54505 {
54506 modf(0, 0);
54507 ;
54508 return 0;
54509 }
54510 _ACEOF
54511 if ac_fn_cxx_try_compile "$LINENO"; then :
54512 glibcxx_cv_func_modf_use=yes
54513 else
54514 glibcxx_cv_func_modf_use=no
54515 fi
54516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54517 ac_ext=c
54518 ac_cpp='$CPP $CPPFLAGS'
54519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54522
54523
54524 fi
54525
54526 fi
54527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54528 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54529
54530 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54531 for ac_func in modf
54532 do :
54533 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54534 if test "x$ac_cv_func_modf" = x""yes; then :
54535 cat >>confdefs.h <<_ACEOF
54536 #define HAVE_MODF 1
54537 _ACEOF
54538
54539 fi
54540 done
54541
54542 else
54543
54544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54545 $as_echo_n "checking for _modf declaration... " >&6; }
54546 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54547 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54548 $as_echo_n "(cached) " >&6
54549 else
54550
54551
54552 ac_ext=cpp
54553 ac_cpp='$CXXCPP $CPPFLAGS'
54554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54557
54558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54559 /* end confdefs.h. */
54560 #include <math.h>
54561 int
54562 main ()
54563 {
54564 _modf(0, 0);
54565 ;
54566 return 0;
54567 }
54568 _ACEOF
54569 if ac_fn_cxx_try_compile "$LINENO"; then :
54570 glibcxx_cv_func__modf_use=yes
54571 else
54572 glibcxx_cv_func__modf_use=no
54573 fi
54574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54575 ac_ext=c
54576 ac_cpp='$CPP $CPPFLAGS'
54577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54580
54581
54582 fi
54583
54584 fi
54585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54586 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54587
54588 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54589 for ac_func in _modf
54590 do :
54591 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54592 if test "x$ac_cv_func__modf" = x""yes; then :
54593 cat >>confdefs.h <<_ACEOF
54594 #define HAVE__MODF 1
54595 _ACEOF
54596
54597 fi
54598 done
54599
54600 fi
54601 fi
54602
54603
54604
54605
54606
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54608 $as_echo_n "checking for powf declaration... " >&6; }
54609 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54610 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54611 $as_echo_n "(cached) " >&6
54612 else
54613
54614
54615 ac_ext=cpp
54616 ac_cpp='$CXXCPP $CPPFLAGS'
54617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54620
54621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54622 /* end confdefs.h. */
54623 #include <math.h>
54624 int
54625 main ()
54626 {
54627 powf(0, 0);
54628 ;
54629 return 0;
54630 }
54631 _ACEOF
54632 if ac_fn_cxx_try_compile "$LINENO"; then :
54633 glibcxx_cv_func_powf_use=yes
54634 else
54635 glibcxx_cv_func_powf_use=no
54636 fi
54637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54638 ac_ext=c
54639 ac_cpp='$CPP $CPPFLAGS'
54640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54643
54644
54645 fi
54646
54647 fi
54648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54649 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54650
54651 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54652 for ac_func in powf
54653 do :
54654 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54655 if test "x$ac_cv_func_powf" = x""yes; then :
54656 cat >>confdefs.h <<_ACEOF
54657 #define HAVE_POWF 1
54658 _ACEOF
54659
54660 fi
54661 done
54662
54663 else
54664
54665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54666 $as_echo_n "checking for _powf declaration... " >&6; }
54667 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54668 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54669 $as_echo_n "(cached) " >&6
54670 else
54671
54672
54673 ac_ext=cpp
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54678
54679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h. */
54681 #include <math.h>
54682 int
54683 main ()
54684 {
54685 _powf(0, 0);
54686 ;
54687 return 0;
54688 }
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691 glibcxx_cv_func__powf_use=yes
54692 else
54693 glibcxx_cv_func__powf_use=no
54694 fi
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696 ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701
54702
54703 fi
54704
54705 fi
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54707 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54708
54709 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54710 for ac_func in _powf
54711 do :
54712 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54713 if test "x$ac_cv_func__powf" = x""yes; then :
54714 cat >>confdefs.h <<_ACEOF
54715 #define HAVE__POWF 1
54716 _ACEOF
54717
54718 fi
54719 done
54720
54721 fi
54722 fi
54723
54724
54725
54726
54727
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54729 $as_echo_n "checking for sqrtf declaration... " >&6; }
54730 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54731 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54732 $as_echo_n "(cached) " >&6
54733 else
54734
54735
54736 ac_ext=cpp
54737 ac_cpp='$CXXCPP $CPPFLAGS'
54738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54741
54742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54743 /* end confdefs.h. */
54744 #include <math.h>
54745 #ifdef HAVE_IEEEFP_H
54746 #include <ieeefp.h>
54747 #endif
54748
54749 int
54750 main ()
54751 {
54752 sqrtf(0);
54753 ;
54754 return 0;
54755 }
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758 glibcxx_cv_func_sqrtf_use=yes
54759 else
54760 glibcxx_cv_func_sqrtf_use=no
54761 fi
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763 ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768
54769
54770 fi
54771
54772 fi
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54774 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54775
54776 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54777 for ac_func in sqrtf
54778 do :
54779 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54780 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54781 cat >>confdefs.h <<_ACEOF
54782 #define HAVE_SQRTF 1
54783 _ACEOF
54784
54785 fi
54786 done
54787
54788 else
54789
54790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54791 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54792 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54793 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54794 $as_echo_n "(cached) " >&6
54795 else
54796
54797
54798 ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803
54804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h. */
54806 #include <math.h>
54807 #ifdef HAVE_IEEEFP_H
54808 #include <ieeefp.h>
54809 #endif
54810
54811 int
54812 main ()
54813 {
54814 _sqrtf(0);
54815 ;
54816 return 0;
54817 }
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820 glibcxx_cv_func__sqrtf_use=yes
54821 else
54822 glibcxx_cv_func__sqrtf_use=no
54823 fi
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825 ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54830
54831
54832 fi
54833
54834 fi
54835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54836 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54837
54838 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54839 for ac_func in _sqrtf
54840 do :
54841 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54842 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54843 cat >>confdefs.h <<_ACEOF
54844 #define HAVE__SQRTF 1
54845 _ACEOF
54846
54847 fi
54848 done
54849
54850 fi
54851 fi
54852
54853
54854
54855
54856
54857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54858 $as_echo_n "checking for sincosf declaration... " >&6; }
54859 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54860 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54861 $as_echo_n "(cached) " >&6
54862 else
54863
54864
54865 ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870
54871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h. */
54873 #include <math.h>
54874 int
54875 main ()
54876 {
54877 sincosf(0, 0, 0);
54878 ;
54879 return 0;
54880 }
54881 _ACEOF
54882 if ac_fn_cxx_try_compile "$LINENO"; then :
54883 glibcxx_cv_func_sincosf_use=yes
54884 else
54885 glibcxx_cv_func_sincosf_use=no
54886 fi
54887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54888 ac_ext=c
54889 ac_cpp='$CPP $CPPFLAGS'
54890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54893
54894
54895 fi
54896
54897 fi
54898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54899 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54900
54901 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54902 for ac_func in sincosf
54903 do :
54904 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54905 if test "x$ac_cv_func_sincosf" = x""yes; then :
54906 cat >>confdefs.h <<_ACEOF
54907 #define HAVE_SINCOSF 1
54908 _ACEOF
54909
54910 fi
54911 done
54912
54913 else
54914
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54916 $as_echo_n "checking for _sincosf declaration... " >&6; }
54917 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54918 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54919 $as_echo_n "(cached) " >&6
54920 else
54921
54922
54923 ac_ext=cpp
54924 ac_cpp='$CXXCPP $CPPFLAGS'
54925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54928
54929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54930 /* end confdefs.h. */
54931 #include <math.h>
54932 int
54933 main ()
54934 {
54935 _sincosf(0, 0, 0);
54936 ;
54937 return 0;
54938 }
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941 glibcxx_cv_func__sincosf_use=yes
54942 else
54943 glibcxx_cv_func__sincosf_use=no
54944 fi
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946 ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54951
54952
54953 fi
54954
54955 fi
54956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54957 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54958
54959 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54960 for ac_func in _sincosf
54961 do :
54962 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54963 if test "x$ac_cv_func__sincosf" = x""yes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define HAVE__SINCOSF 1
54966 _ACEOF
54967
54968 fi
54969 done
54970
54971 fi
54972 fi
54973
54974
54975
54976
54977
54978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54979 $as_echo_n "checking for finitef declaration... " >&6; }
54980 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54981 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54982 $as_echo_n "(cached) " >&6
54983 else
54984
54985
54986 ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54991
54992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h. */
54994 #include <math.h>
54995 #ifdef HAVE_IEEEFP_H
54996 #include <ieeefp.h>
54997 #endif
54998
54999 int
55000 main ()
55001 {
55002 finitef(0);
55003 ;
55004 return 0;
55005 }
55006 _ACEOF
55007 if ac_fn_cxx_try_compile "$LINENO"; then :
55008 glibcxx_cv_func_finitef_use=yes
55009 else
55010 glibcxx_cv_func_finitef_use=no
55011 fi
55012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55013 ac_ext=c
55014 ac_cpp='$CPP $CPPFLAGS'
55015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55018
55019
55020 fi
55021
55022 fi
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55024 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55025
55026 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55027 for ac_func in finitef
55028 do :
55029 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55030 if test "x$ac_cv_func_finitef" = x""yes; then :
55031 cat >>confdefs.h <<_ACEOF
55032 #define HAVE_FINITEF 1
55033 _ACEOF
55034
55035 fi
55036 done
55037
55038 else
55039
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55041 $as_echo_n "checking for _finitef declaration... " >&6; }
55042 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55043 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55044 $as_echo_n "(cached) " >&6
55045 else
55046
55047
55048 ac_ext=cpp
55049 ac_cpp='$CXXCPP $CPPFLAGS'
55050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55053
55054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55055 /* end confdefs.h. */
55056 #include <math.h>
55057 #ifdef HAVE_IEEEFP_H
55058 #include <ieeefp.h>
55059 #endif
55060
55061 int
55062 main ()
55063 {
55064 _finitef(0);
55065 ;
55066 return 0;
55067 }
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070 glibcxx_cv_func__finitef_use=yes
55071 else
55072 glibcxx_cv_func__finitef_use=no
55073 fi
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55080
55081
55082 fi
55083
55084 fi
55085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55086 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55087
55088 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55089 for ac_func in _finitef
55090 do :
55091 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55092 if test "x$ac_cv_func__finitef" = x""yes; then :
55093 cat >>confdefs.h <<_ACEOF
55094 #define HAVE__FINITEF 1
55095 _ACEOF
55096
55097 fi
55098 done
55099
55100 fi
55101 fi
55102
55103
55104
55105
55106
55107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55108 $as_echo_n "checking for long double trig functions... " >&6; }
55109 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55110 $as_echo_n "(cached) " >&6
55111 else
55112
55113
55114 ac_ext=cpp
55115 ac_cpp='$CXXCPP $CPPFLAGS'
55116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55119
55120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55121 /* end confdefs.h. */
55122 #include <math.h>
55123 int
55124 main ()
55125 {
55126 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55127 ;
55128 return 0;
55129 }
55130 _ACEOF
55131 if ac_fn_cxx_try_compile "$LINENO"; then :
55132 glibcxx_cv_func_long_double_trig_use=yes
55133 else
55134 glibcxx_cv_func_long_double_trig_use=no
55135 fi
55136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55137 ac_ext=c
55138 ac_cpp='$CPP $CPPFLAGS'
55139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55142
55143 fi
55144
55145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55146 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55147 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55148 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55149 do :
55150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55152 eval as_val=\$$as_ac_var
55153 if test "x$as_val" = x""yes; then :
55154 cat >>confdefs.h <<_ACEOF
55155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55156 _ACEOF
55157
55158 fi
55159 done
55160
55161 else
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55163 $as_echo_n "checking for _long double trig functions... " >&6; }
55164 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55165 $as_echo_n "(cached) " >&6
55166 else
55167
55168
55169 ac_ext=cpp
55170 ac_cpp='$CXXCPP $CPPFLAGS'
55171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55174
55175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55176 /* end confdefs.h. */
55177 #include <math.h>
55178 int
55179 main ()
55180 {
55181 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55182 ;
55183 return 0;
55184 }
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func__long_double_trig_use=yes
55188 else
55189 glibcxx_cv_func__long_double_trig_use=no
55190 fi
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197
55198 fi
55199
55200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55201 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55202 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55203 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55204 do :
55205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55207 eval as_val=\$$as_ac_var
55208 if test "x$as_val" = x""yes; then :
55209 cat >>confdefs.h <<_ACEOF
55210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55211 _ACEOF
55212
55213 fi
55214 done
55215
55216 fi
55217 fi
55218
55219
55220
55221
55222
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55224 $as_echo_n "checking for long double round functions... " >&6; }
55225 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55226 $as_echo_n "(cached) " >&6
55227 else
55228
55229
55230 ac_ext=cpp
55231 ac_cpp='$CXXCPP $CPPFLAGS'
55232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55235
55236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55237 /* end confdefs.h. */
55238 #include <math.h>
55239 int
55240 main ()
55241 {
55242 ceill (0); floorl (0);
55243 ;
55244 return 0;
55245 }
55246 _ACEOF
55247 if ac_fn_cxx_try_compile "$LINENO"; then :
55248 glibcxx_cv_func_long_double_round_use=yes
55249 else
55250 glibcxx_cv_func_long_double_round_use=no
55251 fi
55252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55253 ac_ext=c
55254 ac_cpp='$CPP $CPPFLAGS'
55255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55258
55259 fi
55260
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55262 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55263 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55264 for ac_func in ceill floorl
55265 do :
55266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55268 eval as_val=\$$as_ac_var
55269 if test "x$as_val" = x""yes; then :
55270 cat >>confdefs.h <<_ACEOF
55271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55272 _ACEOF
55273
55274 fi
55275 done
55276
55277 else
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55279 $as_echo_n "checking for _long double round functions... " >&6; }
55280 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55281 $as_echo_n "(cached) " >&6
55282 else
55283
55284
55285 ac_ext=cpp
55286 ac_cpp='$CXXCPP $CPPFLAGS'
55287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290
55291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292 /* end confdefs.h. */
55293 #include <math.h>
55294 int
55295 main ()
55296 {
55297 _ceill (0); _floorl (0);
55298 ;
55299 return 0;
55300 }
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303 glibcxx_cv_func__long_double_round_use=yes
55304 else
55305 glibcxx_cv_func__long_double_round_use=no
55306 fi
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308 ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313
55314 fi
55315
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55317 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55318 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55319 for ac_func in _ceill _floorl
55320 do :
55321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55323 eval as_val=\$$as_ac_var
55324 if test "x$as_val" = x""yes; then :
55325 cat >>confdefs.h <<_ACEOF
55326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55327 _ACEOF
55328
55329 fi
55330 done
55331
55332 fi
55333 fi
55334
55335
55336
55337
55338
55339
55340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55341 $as_echo_n "checking for isnanl declaration... " >&6; }
55342 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55343 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55344 $as_echo_n "(cached) " >&6
55345 else
55346
55347
55348 ac_ext=cpp
55349 ac_cpp='$CXXCPP $CPPFLAGS'
55350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55353
55354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55355 /* end confdefs.h. */
55356 #include <math.h>
55357 #ifdef HAVE_IEEEFP_H
55358 #include <ieeefp.h>
55359 #endif
55360
55361 int
55362 main ()
55363 {
55364 isnanl(0);
55365 ;
55366 return 0;
55367 }
55368 _ACEOF
55369 if ac_fn_cxx_try_compile "$LINENO"; then :
55370 glibcxx_cv_func_isnanl_use=yes
55371 else
55372 glibcxx_cv_func_isnanl_use=no
55373 fi
55374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55375 ac_ext=c
55376 ac_cpp='$CPP $CPPFLAGS'
55377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55380
55381
55382 fi
55383
55384 fi
55385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55386 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55387
55388 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55389 for ac_func in isnanl
55390 do :
55391 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55392 if test "x$ac_cv_func_isnanl" = x""yes; then :
55393 cat >>confdefs.h <<_ACEOF
55394 #define HAVE_ISNANL 1
55395 _ACEOF
55396
55397 fi
55398 done
55399
55400 else
55401
55402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55403 $as_echo_n "checking for _isnanl declaration... " >&6; }
55404 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55405 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55406 $as_echo_n "(cached) " >&6
55407 else
55408
55409
55410 ac_ext=cpp
55411 ac_cpp='$CXXCPP $CPPFLAGS'
55412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415
55416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55417 /* end confdefs.h. */
55418 #include <math.h>
55419 #ifdef HAVE_IEEEFP_H
55420 #include <ieeefp.h>
55421 #endif
55422
55423 int
55424 main ()
55425 {
55426 _isnanl(0);
55427 ;
55428 return 0;
55429 }
55430 _ACEOF
55431 if ac_fn_cxx_try_compile "$LINENO"; then :
55432 glibcxx_cv_func__isnanl_use=yes
55433 else
55434 glibcxx_cv_func__isnanl_use=no
55435 fi
55436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55437 ac_ext=c
55438 ac_cpp='$CPP $CPPFLAGS'
55439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55442
55443
55444 fi
55445
55446 fi
55447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55448 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55449
55450 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55451 for ac_func in _isnanl
55452 do :
55453 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55454 if test "x$ac_cv_func__isnanl" = x""yes; then :
55455 cat >>confdefs.h <<_ACEOF
55456 #define HAVE__ISNANL 1
55457 _ACEOF
55458
55459 fi
55460 done
55461
55462 fi
55463 fi
55464
55465
55466
55467
55468
55469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55470 $as_echo_n "checking for isinfl declaration... " >&6; }
55471 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55472 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55473 $as_echo_n "(cached) " >&6
55474 else
55475
55476
55477 ac_ext=cpp
55478 ac_cpp='$CXXCPP $CPPFLAGS'
55479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55482
55483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55484 /* end confdefs.h. */
55485 #include <math.h>
55486 #ifdef HAVE_IEEEFP_H
55487 #include <ieeefp.h>
55488 #endif
55489
55490 int
55491 main ()
55492 {
55493 isinfl(0);
55494 ;
55495 return 0;
55496 }
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499 glibcxx_cv_func_isinfl_use=yes
55500 else
55501 glibcxx_cv_func_isinfl_use=no
55502 fi
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504 ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509
55510
55511 fi
55512
55513 fi
55514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55515 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55516
55517 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55518 for ac_func in isinfl
55519 do :
55520 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55521 if test "x$ac_cv_func_isinfl" = x""yes; then :
55522 cat >>confdefs.h <<_ACEOF
55523 #define HAVE_ISINFL 1
55524 _ACEOF
55525
55526 fi
55527 done
55528
55529 else
55530
55531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55532 $as_echo_n "checking for _isinfl declaration... " >&6; }
55533 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55534 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55535 $as_echo_n "(cached) " >&6
55536 else
55537
55538
55539 ac_ext=cpp
55540 ac_cpp='$CXXCPP $CPPFLAGS'
55541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55544
55545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55546 /* end confdefs.h. */
55547 #include <math.h>
55548 #ifdef HAVE_IEEEFP_H
55549 #include <ieeefp.h>
55550 #endif
55551
55552 int
55553 main ()
55554 {
55555 _isinfl(0);
55556 ;
55557 return 0;
55558 }
55559 _ACEOF
55560 if ac_fn_cxx_try_compile "$LINENO"; then :
55561 glibcxx_cv_func__isinfl_use=yes
55562 else
55563 glibcxx_cv_func__isinfl_use=no
55564 fi
55565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55566 ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55571
55572
55573 fi
55574
55575 fi
55576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55577 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55578
55579 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55580 for ac_func in _isinfl
55581 do :
55582 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55583 if test "x$ac_cv_func__isinfl" = x""yes; then :
55584 cat >>confdefs.h <<_ACEOF
55585 #define HAVE__ISINFL 1
55586 _ACEOF
55587
55588 fi
55589 done
55590
55591 fi
55592 fi
55593
55594
55595
55596
55597
55598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55599 $as_echo_n "checking for atan2l declaration... " >&6; }
55600 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55601 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55602 $as_echo_n "(cached) " >&6
55603 else
55604
55605
55606 ac_ext=cpp
55607 ac_cpp='$CXXCPP $CPPFLAGS'
55608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55611
55612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55613 /* end confdefs.h. */
55614 #include <math.h>
55615 int
55616 main ()
55617 {
55618 atan2l(0, 0);
55619 ;
55620 return 0;
55621 }
55622 _ACEOF
55623 if ac_fn_cxx_try_compile "$LINENO"; then :
55624 glibcxx_cv_func_atan2l_use=yes
55625 else
55626 glibcxx_cv_func_atan2l_use=no
55627 fi
55628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55629 ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634
55635
55636 fi
55637
55638 fi
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55640 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55641
55642 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55643 for ac_func in atan2l
55644 do :
55645 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55646 if test "x$ac_cv_func_atan2l" = x""yes; then :
55647 cat >>confdefs.h <<_ACEOF
55648 #define HAVE_ATAN2L 1
55649 _ACEOF
55650
55651 fi
55652 done
55653
55654 else
55655
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55657 $as_echo_n "checking for _atan2l declaration... " >&6; }
55658 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55659 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55660 $as_echo_n "(cached) " >&6
55661 else
55662
55663
55664 ac_ext=cpp
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55669
55670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h. */
55672 #include <math.h>
55673 int
55674 main ()
55675 {
55676 _atan2l(0, 0);
55677 ;
55678 return 0;
55679 }
55680 _ACEOF
55681 if ac_fn_cxx_try_compile "$LINENO"; then :
55682 glibcxx_cv_func__atan2l_use=yes
55683 else
55684 glibcxx_cv_func__atan2l_use=no
55685 fi
55686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55687 ac_ext=c
55688 ac_cpp='$CPP $CPPFLAGS'
55689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55692
55693
55694 fi
55695
55696 fi
55697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55698 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55699
55700 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55701 for ac_func in _atan2l
55702 do :
55703 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55704 if test "x$ac_cv_func__atan2l" = x""yes; then :
55705 cat >>confdefs.h <<_ACEOF
55706 #define HAVE__ATAN2L 1
55707 _ACEOF
55708
55709 fi
55710 done
55711
55712 fi
55713 fi
55714
55715
55716
55717
55718
55719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55720 $as_echo_n "checking for expl declaration... " >&6; }
55721 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55722 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55723 $as_echo_n "(cached) " >&6
55724 else
55725
55726
55727 ac_ext=cpp
55728 ac_cpp='$CXXCPP $CPPFLAGS'
55729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55732
55733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55734 /* end confdefs.h. */
55735 #include <math.h>
55736 #ifdef HAVE_IEEEFP_H
55737 #include <ieeefp.h>
55738 #endif
55739
55740 int
55741 main ()
55742 {
55743 expl(0);
55744 ;
55745 return 0;
55746 }
55747 _ACEOF
55748 if ac_fn_cxx_try_compile "$LINENO"; then :
55749 glibcxx_cv_func_expl_use=yes
55750 else
55751 glibcxx_cv_func_expl_use=no
55752 fi
55753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55754 ac_ext=c
55755 ac_cpp='$CPP $CPPFLAGS'
55756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55759
55760
55761 fi
55762
55763 fi
55764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55765 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55766
55767 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55768 for ac_func in expl
55769 do :
55770 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55771 if test "x$ac_cv_func_expl" = x""yes; then :
55772 cat >>confdefs.h <<_ACEOF
55773 #define HAVE_EXPL 1
55774 _ACEOF
55775
55776 fi
55777 done
55778
55779 else
55780
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55782 $as_echo_n "checking for _expl declaration... " >&6; }
55783 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55784 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55785 $as_echo_n "(cached) " >&6
55786 else
55787
55788
55789 ac_ext=cpp
55790 ac_cpp='$CXXCPP $CPPFLAGS'
55791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55794
55795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55796 /* end confdefs.h. */
55797 #include <math.h>
55798 #ifdef HAVE_IEEEFP_H
55799 #include <ieeefp.h>
55800 #endif
55801
55802 int
55803 main ()
55804 {
55805 _expl(0);
55806 ;
55807 return 0;
55808 }
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811 glibcxx_cv_func__expl_use=yes
55812 else
55813 glibcxx_cv_func__expl_use=no
55814 fi
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816 ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55821
55822
55823 fi
55824
55825 fi
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55827 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55828
55829 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55830 for ac_func in _expl
55831 do :
55832 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55833 if test "x$ac_cv_func__expl" = x""yes; then :
55834 cat >>confdefs.h <<_ACEOF
55835 #define HAVE__EXPL 1
55836 _ACEOF
55837
55838 fi
55839 done
55840
55841 fi
55842 fi
55843
55844
55845
55846
55847
55848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55849 $as_echo_n "checking for fabsl declaration... " >&6; }
55850 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55851 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55852 $as_echo_n "(cached) " >&6
55853 else
55854
55855
55856 ac_ext=cpp
55857 ac_cpp='$CXXCPP $CPPFLAGS'
55858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55861
55862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55863 /* end confdefs.h. */
55864 #include <math.h>
55865 #ifdef HAVE_IEEEFP_H
55866 #include <ieeefp.h>
55867 #endif
55868
55869 int
55870 main ()
55871 {
55872 fabsl(0);
55873 ;
55874 return 0;
55875 }
55876 _ACEOF
55877 if ac_fn_cxx_try_compile "$LINENO"; then :
55878 glibcxx_cv_func_fabsl_use=yes
55879 else
55880 glibcxx_cv_func_fabsl_use=no
55881 fi
55882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55883 ac_ext=c
55884 ac_cpp='$CPP $CPPFLAGS'
55885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888
55889
55890 fi
55891
55892 fi
55893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55894 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55895
55896 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55897 for ac_func in fabsl
55898 do :
55899 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55900 if test "x$ac_cv_func_fabsl" = x""yes; then :
55901 cat >>confdefs.h <<_ACEOF
55902 #define HAVE_FABSL 1
55903 _ACEOF
55904
55905 fi
55906 done
55907
55908 else
55909
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55911 $as_echo_n "checking for _fabsl declaration... " >&6; }
55912 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55913 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55916
55917
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55923
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55927 #ifdef HAVE_IEEEFP_H
55928 #include <ieeefp.h>
55929 #endif
55930
55931 int
55932 main ()
55933 {
55934 _fabsl(0);
55935 ;
55936 return 0;
55937 }
55938 _ACEOF
55939 if ac_fn_cxx_try_compile "$LINENO"; then :
55940 glibcxx_cv_func__fabsl_use=yes
55941 else
55942 glibcxx_cv_func__fabsl_use=no
55943 fi
55944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55945 ac_ext=c
55946 ac_cpp='$CPP $CPPFLAGS'
55947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55950
55951
55952 fi
55953
55954 fi
55955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55956 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55957
55958 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55959 for ac_func in _fabsl
55960 do :
55961 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55962 if test "x$ac_cv_func__fabsl" = x""yes; then :
55963 cat >>confdefs.h <<_ACEOF
55964 #define HAVE__FABSL 1
55965 _ACEOF
55966
55967 fi
55968 done
55969
55970 fi
55971 fi
55972
55973
55974
55975
55976
55977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55978 $as_echo_n "checking for fmodl declaration... " >&6; }
55979 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55980 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55981 $as_echo_n "(cached) " >&6
55982 else
55983
55984
55985 ac_ext=cpp
55986 ac_cpp='$CXXCPP $CPPFLAGS'
55987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55990
55991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55992 /* end confdefs.h. */
55993 #include <math.h>
55994 int
55995 main ()
55996 {
55997 fmodl(0, 0);
55998 ;
55999 return 0;
56000 }
56001 _ACEOF
56002 if ac_fn_cxx_try_compile "$LINENO"; then :
56003 glibcxx_cv_func_fmodl_use=yes
56004 else
56005 glibcxx_cv_func_fmodl_use=no
56006 fi
56007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56008 ac_ext=c
56009 ac_cpp='$CPP $CPPFLAGS'
56010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56013
56014
56015 fi
56016
56017 fi
56018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56019 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56020
56021 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56022 for ac_func in fmodl
56023 do :
56024 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56025 if test "x$ac_cv_func_fmodl" = x""yes; then :
56026 cat >>confdefs.h <<_ACEOF
56027 #define HAVE_FMODL 1
56028 _ACEOF
56029
56030 fi
56031 done
56032
56033 else
56034
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56036 $as_echo_n "checking for _fmodl declaration... " >&6; }
56037 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56038 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56039 $as_echo_n "(cached) " >&6
56040 else
56041
56042
56043 ac_ext=cpp
56044 ac_cpp='$CXXCPP $CPPFLAGS'
56045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56048
56049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56050 /* end confdefs.h. */
56051 #include <math.h>
56052 int
56053 main ()
56054 {
56055 _fmodl(0, 0);
56056 ;
56057 return 0;
56058 }
56059 _ACEOF
56060 if ac_fn_cxx_try_compile "$LINENO"; then :
56061 glibcxx_cv_func__fmodl_use=yes
56062 else
56063 glibcxx_cv_func__fmodl_use=no
56064 fi
56065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56066 ac_ext=c
56067 ac_cpp='$CPP $CPPFLAGS'
56068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56071
56072
56073 fi
56074
56075 fi
56076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56077 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56078
56079 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56080 for ac_func in _fmodl
56081 do :
56082 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56083 if test "x$ac_cv_func__fmodl" = x""yes; then :
56084 cat >>confdefs.h <<_ACEOF
56085 #define HAVE__FMODL 1
56086 _ACEOF
56087
56088 fi
56089 done
56090
56091 fi
56092 fi
56093
56094
56095
56096
56097
56098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56099 $as_echo_n "checking for frexpl declaration... " >&6; }
56100 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56101 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56102 $as_echo_n "(cached) " >&6
56103 else
56104
56105
56106 ac_ext=cpp
56107 ac_cpp='$CXXCPP $CPPFLAGS'
56108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56111
56112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56113 /* end confdefs.h. */
56114 #include <math.h>
56115 int
56116 main ()
56117 {
56118 frexpl(0, 0);
56119 ;
56120 return 0;
56121 }
56122 _ACEOF
56123 if ac_fn_cxx_try_compile "$LINENO"; then :
56124 glibcxx_cv_func_frexpl_use=yes
56125 else
56126 glibcxx_cv_func_frexpl_use=no
56127 fi
56128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56129 ac_ext=c
56130 ac_cpp='$CPP $CPPFLAGS'
56131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56134
56135
56136 fi
56137
56138 fi
56139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56140 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56141
56142 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56143 for ac_func in frexpl
56144 do :
56145 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56146 if test "x$ac_cv_func_frexpl" = x""yes; then :
56147 cat >>confdefs.h <<_ACEOF
56148 #define HAVE_FREXPL 1
56149 _ACEOF
56150
56151 fi
56152 done
56153
56154 else
56155
56156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56157 $as_echo_n "checking for _frexpl declaration... " >&6; }
56158 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56159 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56160 $as_echo_n "(cached) " >&6
56161 else
56162
56163
56164 ac_ext=cpp
56165 ac_cpp='$CXXCPP $CPPFLAGS'
56166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56169
56170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56171 /* end confdefs.h. */
56172 #include <math.h>
56173 int
56174 main ()
56175 {
56176 _frexpl(0, 0);
56177 ;
56178 return 0;
56179 }
56180 _ACEOF
56181 if ac_fn_cxx_try_compile "$LINENO"; then :
56182 glibcxx_cv_func__frexpl_use=yes
56183 else
56184 glibcxx_cv_func__frexpl_use=no
56185 fi
56186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56187 ac_ext=c
56188 ac_cpp='$CPP $CPPFLAGS'
56189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56192
56193
56194 fi
56195
56196 fi
56197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56198 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56199
56200 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56201 for ac_func in _frexpl
56202 do :
56203 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56204 if test "x$ac_cv_func__frexpl" = x""yes; then :
56205 cat >>confdefs.h <<_ACEOF
56206 #define HAVE__FREXPL 1
56207 _ACEOF
56208
56209 fi
56210 done
56211
56212 fi
56213 fi
56214
56215
56216
56217
56218
56219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56220 $as_echo_n "checking for hypotl declaration... " >&6; }
56221 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56222 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56223 $as_echo_n "(cached) " >&6
56224 else
56225
56226
56227 ac_ext=cpp
56228 ac_cpp='$CXXCPP $CPPFLAGS'
56229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56232
56233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56234 /* end confdefs.h. */
56235 #include <math.h>
56236 int
56237 main ()
56238 {
56239 hypotl(0, 0);
56240 ;
56241 return 0;
56242 }
56243 _ACEOF
56244 if ac_fn_cxx_try_compile "$LINENO"; then :
56245 glibcxx_cv_func_hypotl_use=yes
56246 else
56247 glibcxx_cv_func_hypotl_use=no
56248 fi
56249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56250 ac_ext=c
56251 ac_cpp='$CPP $CPPFLAGS'
56252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56255
56256
56257 fi
56258
56259 fi
56260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56261 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56262
56263 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56264 for ac_func in hypotl
56265 do :
56266 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56267 if test "x$ac_cv_func_hypotl" = x""yes; then :
56268 cat >>confdefs.h <<_ACEOF
56269 #define HAVE_HYPOTL 1
56270 _ACEOF
56271
56272 fi
56273 done
56274
56275 else
56276
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56278 $as_echo_n "checking for _hypotl declaration... " >&6; }
56279 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56280 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56281 $as_echo_n "(cached) " >&6
56282 else
56283
56284
56285 ac_ext=cpp
56286 ac_cpp='$CXXCPP $CPPFLAGS'
56287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56290
56291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56292 /* end confdefs.h. */
56293 #include <math.h>
56294 int
56295 main ()
56296 {
56297 _hypotl(0, 0);
56298 ;
56299 return 0;
56300 }
56301 _ACEOF
56302 if ac_fn_cxx_try_compile "$LINENO"; then :
56303 glibcxx_cv_func__hypotl_use=yes
56304 else
56305 glibcxx_cv_func__hypotl_use=no
56306 fi
56307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56308 ac_ext=c
56309 ac_cpp='$CPP $CPPFLAGS'
56310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56313
56314
56315 fi
56316
56317 fi
56318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56319 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56320
56321 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56322 for ac_func in _hypotl
56323 do :
56324 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56325 if test "x$ac_cv_func__hypotl" = x""yes; then :
56326 cat >>confdefs.h <<_ACEOF
56327 #define HAVE__HYPOTL 1
56328 _ACEOF
56329
56330 fi
56331 done
56332
56333 fi
56334 fi
56335
56336
56337
56338
56339
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56341 $as_echo_n "checking for ldexpl declaration... " >&6; }
56342 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56343 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56344 $as_echo_n "(cached) " >&6
56345 else
56346
56347
56348 ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56353
56354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h. */
56356 #include <math.h>
56357 int
56358 main ()
56359 {
56360 ldexpl(0, 0);
56361 ;
56362 return 0;
56363 }
56364 _ACEOF
56365 if ac_fn_cxx_try_compile "$LINENO"; then :
56366 glibcxx_cv_func_ldexpl_use=yes
56367 else
56368 glibcxx_cv_func_ldexpl_use=no
56369 fi
56370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56371 ac_ext=c
56372 ac_cpp='$CPP $CPPFLAGS'
56373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56376
56377
56378 fi
56379
56380 fi
56381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56382 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56383
56384 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56385 for ac_func in ldexpl
56386 do :
56387 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56388 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56389 cat >>confdefs.h <<_ACEOF
56390 #define HAVE_LDEXPL 1
56391 _ACEOF
56392
56393 fi
56394 done
56395
56396 else
56397
56398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56399 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56400 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56401 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56402 $as_echo_n "(cached) " >&6
56403 else
56404
56405
56406 ac_ext=cpp
56407 ac_cpp='$CXXCPP $CPPFLAGS'
56408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56411
56412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56413 /* end confdefs.h. */
56414 #include <math.h>
56415 int
56416 main ()
56417 {
56418 _ldexpl(0, 0);
56419 ;
56420 return 0;
56421 }
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424 glibcxx_cv_func__ldexpl_use=yes
56425 else
56426 glibcxx_cv_func__ldexpl_use=no
56427 fi
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438 fi
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56440 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56441
56442 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56443 for ac_func in _ldexpl
56444 do :
56445 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56446 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56447 cat >>confdefs.h <<_ACEOF
56448 #define HAVE__LDEXPL 1
56449 _ACEOF
56450
56451 fi
56452 done
56453
56454 fi
56455 fi
56456
56457
56458
56459
56460
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56462 $as_echo_n "checking for logl declaration... " >&6; }
56463 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56464 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56465 $as_echo_n "(cached) " >&6
56466 else
56467
56468
56469 ac_ext=cpp
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56474
56475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56476 /* end confdefs.h. */
56477 #include <math.h>
56478 #ifdef HAVE_IEEEFP_H
56479 #include <ieeefp.h>
56480 #endif
56481
56482 int
56483 main ()
56484 {
56485 logl(0);
56486 ;
56487 return 0;
56488 }
56489 _ACEOF
56490 if ac_fn_cxx_try_compile "$LINENO"; then :
56491 glibcxx_cv_func_logl_use=yes
56492 else
56493 glibcxx_cv_func_logl_use=no
56494 fi
56495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56496 ac_ext=c
56497 ac_cpp='$CPP $CPPFLAGS'
56498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56501
56502
56503 fi
56504
56505 fi
56506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56508
56509 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56510 for ac_func in logl
56511 do :
56512 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56513 if test "x$ac_cv_func_logl" = x""yes; then :
56514 cat >>confdefs.h <<_ACEOF
56515 #define HAVE_LOGL 1
56516 _ACEOF
56517
56518 fi
56519 done
56520
56521 else
56522
56523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56524 $as_echo_n "checking for _logl declaration... " >&6; }
56525 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56526 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56527 $as_echo_n "(cached) " >&6
56528 else
56529
56530
56531 ac_ext=cpp
56532 ac_cpp='$CXXCPP $CPPFLAGS'
56533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56536
56537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56538 /* end confdefs.h. */
56539 #include <math.h>
56540 #ifdef HAVE_IEEEFP_H
56541 #include <ieeefp.h>
56542 #endif
56543
56544 int
56545 main ()
56546 {
56547 _logl(0);
56548 ;
56549 return 0;
56550 }
56551 _ACEOF
56552 if ac_fn_cxx_try_compile "$LINENO"; then :
56553 glibcxx_cv_func__logl_use=yes
56554 else
56555 glibcxx_cv_func__logl_use=no
56556 fi
56557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56558 ac_ext=c
56559 ac_cpp='$CPP $CPPFLAGS'
56560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56563
56564
56565 fi
56566
56567 fi
56568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56569 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56570
56571 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56572 for ac_func in _logl
56573 do :
56574 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56575 if test "x$ac_cv_func__logl" = x""yes; then :
56576 cat >>confdefs.h <<_ACEOF
56577 #define HAVE__LOGL 1
56578 _ACEOF
56579
56580 fi
56581 done
56582
56583 fi
56584 fi
56585
56586
56587
56588
56589
56590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56591 $as_echo_n "checking for log10l declaration... " >&6; }
56592 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56593 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56594 $as_echo_n "(cached) " >&6
56595 else
56596
56597
56598 ac_ext=cpp
56599 ac_cpp='$CXXCPP $CPPFLAGS'
56600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56603
56604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56605 /* end confdefs.h. */
56606 #include <math.h>
56607 #ifdef HAVE_IEEEFP_H
56608 #include <ieeefp.h>
56609 #endif
56610
56611 int
56612 main ()
56613 {
56614 log10l(0);
56615 ;
56616 return 0;
56617 }
56618 _ACEOF
56619 if ac_fn_cxx_try_compile "$LINENO"; then :
56620 glibcxx_cv_func_log10l_use=yes
56621 else
56622 glibcxx_cv_func_log10l_use=no
56623 fi
56624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56625 ac_ext=c
56626 ac_cpp='$CPP $CPPFLAGS'
56627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56630
56631
56632 fi
56633
56634 fi
56635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56636 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56637
56638 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56639 for ac_func in log10l
56640 do :
56641 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56642 if test "x$ac_cv_func_log10l" = x""yes; then :
56643 cat >>confdefs.h <<_ACEOF
56644 #define HAVE_LOG10L 1
56645 _ACEOF
56646
56647 fi
56648 done
56649
56650 else
56651
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56653 $as_echo_n "checking for _log10l declaration... " >&6; }
56654 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56655 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56656 $as_echo_n "(cached) " >&6
56657 else
56658
56659
56660 ac_ext=cpp
56661 ac_cpp='$CXXCPP $CPPFLAGS'
56662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56665
56666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56667 /* end confdefs.h. */
56668 #include <math.h>
56669 #ifdef HAVE_IEEEFP_H
56670 #include <ieeefp.h>
56671 #endif
56672
56673 int
56674 main ()
56675 {
56676 _log10l(0);
56677 ;
56678 return 0;
56679 }
56680 _ACEOF
56681 if ac_fn_cxx_try_compile "$LINENO"; then :
56682 glibcxx_cv_func__log10l_use=yes
56683 else
56684 glibcxx_cv_func__log10l_use=no
56685 fi
56686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56687 ac_ext=c
56688 ac_cpp='$CPP $CPPFLAGS'
56689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56692
56693
56694 fi
56695
56696 fi
56697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56698 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56699
56700 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56701 for ac_func in _log10l
56702 do :
56703 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56704 if test "x$ac_cv_func__log10l" = x""yes; then :
56705 cat >>confdefs.h <<_ACEOF
56706 #define HAVE__LOG10L 1
56707 _ACEOF
56708
56709 fi
56710 done
56711
56712 fi
56713 fi
56714
56715
56716
56717
56718
56719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56720 $as_echo_n "checking for modfl declaration... " >&6; }
56721 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56722 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56723 $as_echo_n "(cached) " >&6
56724 else
56725
56726
56727 ac_ext=cpp
56728 ac_cpp='$CXXCPP $CPPFLAGS'
56729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56732
56733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56734 /* end confdefs.h. */
56735 #include <math.h>
56736 int
56737 main ()
56738 {
56739 modfl(0, 0);
56740 ;
56741 return 0;
56742 }
56743 _ACEOF
56744 if ac_fn_cxx_try_compile "$LINENO"; then :
56745 glibcxx_cv_func_modfl_use=yes
56746 else
56747 glibcxx_cv_func_modfl_use=no
56748 fi
56749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56750 ac_ext=c
56751 ac_cpp='$CPP $CPPFLAGS'
56752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56755
56756
56757 fi
56758
56759 fi
56760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56761 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56762
56763 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56764 for ac_func in modfl
56765 do :
56766 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56767 if test "x$ac_cv_func_modfl" = x""yes; then :
56768 cat >>confdefs.h <<_ACEOF
56769 #define HAVE_MODFL 1
56770 _ACEOF
56771
56772 fi
56773 done
56774
56775 else
56776
56777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56778 $as_echo_n "checking for _modfl declaration... " >&6; }
56779 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56780 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56781 $as_echo_n "(cached) " >&6
56782 else
56783
56784
56785 ac_ext=cpp
56786 ac_cpp='$CXXCPP $CPPFLAGS'
56787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56790
56791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56792 /* end confdefs.h. */
56793 #include <math.h>
56794 int
56795 main ()
56796 {
56797 _modfl(0, 0);
56798 ;
56799 return 0;
56800 }
56801 _ACEOF
56802 if ac_fn_cxx_try_compile "$LINENO"; then :
56803 glibcxx_cv_func__modfl_use=yes
56804 else
56805 glibcxx_cv_func__modfl_use=no
56806 fi
56807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56808 ac_ext=c
56809 ac_cpp='$CPP $CPPFLAGS'
56810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56813
56814
56815 fi
56816
56817 fi
56818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56819 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56820
56821 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56822 for ac_func in _modfl
56823 do :
56824 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56825 if test "x$ac_cv_func__modfl" = x""yes; then :
56826 cat >>confdefs.h <<_ACEOF
56827 #define HAVE__MODFL 1
56828 _ACEOF
56829
56830 fi
56831 done
56832
56833 fi
56834 fi
56835
56836
56837
56838
56839
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56841 $as_echo_n "checking for powl declaration... " >&6; }
56842 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56843 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56844 $as_echo_n "(cached) " >&6
56845 else
56846
56847
56848 ac_ext=cpp
56849 ac_cpp='$CXXCPP $CPPFLAGS'
56850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56853
56854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56855 /* end confdefs.h. */
56856 #include <math.h>
56857 int
56858 main ()
56859 {
56860 powl(0, 0);
56861 ;
56862 return 0;
56863 }
56864 _ACEOF
56865 if ac_fn_cxx_try_compile "$LINENO"; then :
56866 glibcxx_cv_func_powl_use=yes
56867 else
56868 glibcxx_cv_func_powl_use=no
56869 fi
56870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56871 ac_ext=c
56872 ac_cpp='$CPP $CPPFLAGS'
56873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56876
56877
56878 fi
56879
56880 fi
56881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56882 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56883
56884 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56885 for ac_func in powl
56886 do :
56887 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56888 if test "x$ac_cv_func_powl" = x""yes; then :
56889 cat >>confdefs.h <<_ACEOF
56890 #define HAVE_POWL 1
56891 _ACEOF
56892
56893 fi
56894 done
56895
56896 else
56897
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56899 $as_echo_n "checking for _powl declaration... " >&6; }
56900 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56901 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56902 $as_echo_n "(cached) " >&6
56903 else
56904
56905
56906 ac_ext=cpp
56907 ac_cpp='$CXXCPP $CPPFLAGS'
56908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56911
56912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56913 /* end confdefs.h. */
56914 #include <math.h>
56915 int
56916 main ()
56917 {
56918 _powl(0, 0);
56919 ;
56920 return 0;
56921 }
56922 _ACEOF
56923 if ac_fn_cxx_try_compile "$LINENO"; then :
56924 glibcxx_cv_func__powl_use=yes
56925 else
56926 glibcxx_cv_func__powl_use=no
56927 fi
56928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56929 ac_ext=c
56930 ac_cpp='$CPP $CPPFLAGS'
56931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56934
56935
56936 fi
56937
56938 fi
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56940 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56941
56942 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56943 for ac_func in _powl
56944 do :
56945 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56946 if test "x$ac_cv_func__powl" = x""yes; then :
56947 cat >>confdefs.h <<_ACEOF
56948 #define HAVE__POWL 1
56949 _ACEOF
56950
56951 fi
56952 done
56953
56954 fi
56955 fi
56956
56957
56958
56959
56960
56961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56962 $as_echo_n "checking for sqrtl declaration... " >&6; }
56963 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56964 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56965 $as_echo_n "(cached) " >&6
56966 else
56967
56968
56969 ac_ext=cpp
56970 ac_cpp='$CXXCPP $CPPFLAGS'
56971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56974
56975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56976 /* end confdefs.h. */
56977 #include <math.h>
56978 #ifdef HAVE_IEEEFP_H
56979 #include <ieeefp.h>
56980 #endif
56981
56982 int
56983 main ()
56984 {
56985 sqrtl(0);
56986 ;
56987 return 0;
56988 }
56989 _ACEOF
56990 if ac_fn_cxx_try_compile "$LINENO"; then :
56991 glibcxx_cv_func_sqrtl_use=yes
56992 else
56993 glibcxx_cv_func_sqrtl_use=no
56994 fi
56995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56996 ac_ext=c
56997 ac_cpp='$CPP $CPPFLAGS'
56998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57001
57002
57003 fi
57004
57005 fi
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57008
57009 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57010 for ac_func in sqrtl
57011 do :
57012 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57013 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57014 cat >>confdefs.h <<_ACEOF
57015 #define HAVE_SQRTL 1
57016 _ACEOF
57017
57018 fi
57019 done
57020
57021 else
57022
57023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57024 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57025 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57026 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57027 $as_echo_n "(cached) " >&6
57028 else
57029
57030
57031 ac_ext=cpp
57032 ac_cpp='$CXXCPP $CPPFLAGS'
57033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57036
57037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57038 /* end confdefs.h. */
57039 #include <math.h>
57040 #ifdef HAVE_IEEEFP_H
57041 #include <ieeefp.h>
57042 #endif
57043
57044 int
57045 main ()
57046 {
57047 _sqrtl(0);
57048 ;
57049 return 0;
57050 }
57051 _ACEOF
57052 if ac_fn_cxx_try_compile "$LINENO"; then :
57053 glibcxx_cv_func__sqrtl_use=yes
57054 else
57055 glibcxx_cv_func__sqrtl_use=no
57056 fi
57057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57058 ac_ext=c
57059 ac_cpp='$CPP $CPPFLAGS'
57060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57063
57064
57065 fi
57066
57067 fi
57068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57069 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57070
57071 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57072 for ac_func in _sqrtl
57073 do :
57074 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57075 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57076 cat >>confdefs.h <<_ACEOF
57077 #define HAVE__SQRTL 1
57078 _ACEOF
57079
57080 fi
57081 done
57082
57083 fi
57084 fi
57085
57086
57087
57088
57089
57090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57091 $as_echo_n "checking for sincosl declaration... " >&6; }
57092 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57093 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57094 $as_echo_n "(cached) " >&6
57095 else
57096
57097
57098 ac_ext=cpp
57099 ac_cpp='$CXXCPP $CPPFLAGS'
57100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57103
57104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57105 /* end confdefs.h. */
57106 #include <math.h>
57107 int
57108 main ()
57109 {
57110 sincosl(0, 0, 0);
57111 ;
57112 return 0;
57113 }
57114 _ACEOF
57115 if ac_fn_cxx_try_compile "$LINENO"; then :
57116 glibcxx_cv_func_sincosl_use=yes
57117 else
57118 glibcxx_cv_func_sincosl_use=no
57119 fi
57120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57121 ac_ext=c
57122 ac_cpp='$CPP $CPPFLAGS'
57123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57126
57127
57128 fi
57129
57130 fi
57131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57132 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57133
57134 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57135 for ac_func in sincosl
57136 do :
57137 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57138 if test "x$ac_cv_func_sincosl" = x""yes; then :
57139 cat >>confdefs.h <<_ACEOF
57140 #define HAVE_SINCOSL 1
57141 _ACEOF
57142
57143 fi
57144 done
57145
57146 else
57147
57148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57149 $as_echo_n "checking for _sincosl declaration... " >&6; }
57150 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57151 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57152 $as_echo_n "(cached) " >&6
57153 else
57154
57155
57156 ac_ext=cpp
57157 ac_cpp='$CXXCPP $CPPFLAGS'
57158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57161
57162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57163 /* end confdefs.h. */
57164 #include <math.h>
57165 int
57166 main ()
57167 {
57168 _sincosl(0, 0, 0);
57169 ;
57170 return 0;
57171 }
57172 _ACEOF
57173 if ac_fn_cxx_try_compile "$LINENO"; then :
57174 glibcxx_cv_func__sincosl_use=yes
57175 else
57176 glibcxx_cv_func__sincosl_use=no
57177 fi
57178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57179 ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184
57185
57186 fi
57187
57188 fi
57189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57190 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57191
57192 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57193 for ac_func in _sincosl
57194 do :
57195 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57196 if test "x$ac_cv_func__sincosl" = x""yes; then :
57197 cat >>confdefs.h <<_ACEOF
57198 #define HAVE__SINCOSL 1
57199 _ACEOF
57200
57201 fi
57202 done
57203
57204 fi
57205 fi
57206
57207
57208
57209
57210
57211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57212 $as_echo_n "checking for finitel declaration... " >&6; }
57213 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57214 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57215 $as_echo_n "(cached) " >&6
57216 else
57217
57218
57219 ac_ext=cpp
57220 ac_cpp='$CXXCPP $CPPFLAGS'
57221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57224
57225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57226 /* end confdefs.h. */
57227 #include <math.h>
57228 #ifdef HAVE_IEEEFP_H
57229 #include <ieeefp.h>
57230 #endif
57231
57232 int
57233 main ()
57234 {
57235 finitel(0);
57236 ;
57237 return 0;
57238 }
57239 _ACEOF
57240 if ac_fn_cxx_try_compile "$LINENO"; then :
57241 glibcxx_cv_func_finitel_use=yes
57242 else
57243 glibcxx_cv_func_finitel_use=no
57244 fi
57245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57246 ac_ext=c
57247 ac_cpp='$CPP $CPPFLAGS'
57248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57251
57252
57253 fi
57254
57255 fi
57256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57257 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57258
57259 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57260 for ac_func in finitel
57261 do :
57262 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57263 if test "x$ac_cv_func_finitel" = x""yes; then :
57264 cat >>confdefs.h <<_ACEOF
57265 #define HAVE_FINITEL 1
57266 _ACEOF
57267
57268 fi
57269 done
57270
57271 else
57272
57273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57274 $as_echo_n "checking for _finitel declaration... " >&6; }
57275 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57276 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57277 $as_echo_n "(cached) " >&6
57278 else
57279
57280
57281 ac_ext=cpp
57282 ac_cpp='$CXXCPP $CPPFLAGS'
57283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57286
57287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57288 /* end confdefs.h. */
57289 #include <math.h>
57290 #ifdef HAVE_IEEEFP_H
57291 #include <ieeefp.h>
57292 #endif
57293
57294 int
57295 main ()
57296 {
57297 _finitel(0);
57298 ;
57299 return 0;
57300 }
57301 _ACEOF
57302 if ac_fn_cxx_try_compile "$LINENO"; then :
57303 glibcxx_cv_func__finitel_use=yes
57304 else
57305 glibcxx_cv_func__finitel_use=no
57306 fi
57307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57308 ac_ext=c
57309 ac_cpp='$CPP $CPPFLAGS'
57310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57313
57314
57315 fi
57316
57317 fi
57318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57319 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57320
57321 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57322 for ac_func in _finitel
57323 do :
57324 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57325 if test "x$ac_cv_func__finitel" = x""yes; then :
57326 cat >>confdefs.h <<_ACEOF
57327 #define HAVE__FINITEL 1
57328 _ACEOF
57329
57330 fi
57331 done
57332
57333 fi
57334 fi
57335
57336
57337
57338
57339 LIBS="$ac_save_LIBS"
57340 CXXFLAGS="$ac_save_CXXFLAGS"
57341
57342
57343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57344 ac_save_CXXFLAGS="$CXXFLAGS"
57345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57346
57347
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57349 $as_echo_n "checking for strtold declaration... " >&6; }
57350 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57351 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57352 $as_echo_n "(cached) " >&6
57353 else
57354
57355
57356 ac_ext=cpp
57357 ac_cpp='$CXXCPP $CPPFLAGS'
57358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361
57362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57363 /* end confdefs.h. */
57364 #include <stdlib.h>
57365 int
57366 main ()
57367 {
57368 strtold(0, 0);
57369 ;
57370 return 0;
57371 }
57372 _ACEOF
57373 if ac_fn_cxx_try_compile "$LINENO"; then :
57374 glibcxx_cv_func_strtold_use=yes
57375 else
57376 glibcxx_cv_func_strtold_use=no
57377 fi
57378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57379 ac_ext=c
57380 ac_cpp='$CPP $CPPFLAGS'
57381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57384
57385
57386 fi
57387
57388 fi
57389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57390 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57391 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57392 for ac_func in strtold
57393 do :
57394 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57395 if test "x$ac_cv_func_strtold" = x""yes; then :
57396 cat >>confdefs.h <<_ACEOF
57397 #define HAVE_STRTOLD 1
57398 _ACEOF
57399
57400 fi
57401 done
57402
57403 fi
57404
57405
57406
57407
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57409 $as_echo_n "checking for strtof declaration... " >&6; }
57410 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57411 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57412 $as_echo_n "(cached) " >&6
57413 else
57414
57415
57416 ac_ext=cpp
57417 ac_cpp='$CXXCPP $CPPFLAGS'
57418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57421
57422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57423 /* end confdefs.h. */
57424 #include <stdlib.h>
57425 int
57426 main ()
57427 {
57428 strtof(0, 0);
57429 ;
57430 return 0;
57431 }
57432 _ACEOF
57433 if ac_fn_cxx_try_compile "$LINENO"; then :
57434 glibcxx_cv_func_strtof_use=yes
57435 else
57436 glibcxx_cv_func_strtof_use=no
57437 fi
57438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57439 ac_ext=c
57440 ac_cpp='$CPP $CPPFLAGS'
57441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57444
57445
57446 fi
57447
57448 fi
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57450 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57451 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57452 for ac_func in strtof
57453 do :
57454 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57455 if test "x$ac_cv_func_strtof" = x""yes; then :
57456 cat >>confdefs.h <<_ACEOF
57457 #define HAVE_STRTOF 1
57458 _ACEOF
57459
57460 fi
57461 done
57462
57463 fi
57464
57465
57466
57467
57468 CXXFLAGS="$ac_save_CXXFLAGS"
57469
57470 ;;
57471 *-netbsd*)
57472 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57473
57474
57475 # If we're not using GNU ld, then there's no point in even trying these
57476 # tests. Check for that first. We should have already tested for gld
57477 # by now (in libtool), but require it now just to be safe...
57478 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57479 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57480
57481
57482
57483 # The name set by libtool depends on the version of libtool. Shame on us
57484 # for depending on an impl detail, but c'est la vie. Older versions used
57485 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57486 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57487 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57488 # set (hence we're using an older libtool), then set it.
57489 if test x${with_gnu_ld+set} != xset; then
57490 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57491 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57492 with_gnu_ld=no
57493 else
57494 with_gnu_ld=$ac_cv_prog_gnu_ld
57495 fi
57496 fi
57497
57498 # Start by getting the version number. I think the libtool test already
57499 # does some of this, but throws away the result.
57500 glibcxx_ld_is_gold=no
57501 if test x"$with_gnu_ld" = x"yes"; then
57502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57503 $as_echo_n "checking for ld version... " >&6; }
57504
57505 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57506 glibcxx_ld_is_gold=yes
57507 fi
57508 ldver=`$LD --version 2>/dev/null |
57509 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'`
57510
57511 glibcxx_gnu_ld_version=`echo $ldver | \
57512 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57514 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57515 fi
57516
57517 # Set --gc-sections.
57518 glibcxx_have_gc_sections=no
57519 if test "$glibcxx_ld_is_gold" = "yes"; then
57520 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57521 glibcxx_have_gc_sections=yes
57522 fi
57523 else
57524 glibcxx_gcsections_min_ld=21602
57525 if test x"$with_gnu_ld" = x"yes" &&
57526 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57527 glibcxx_have_gc_sections=yes
57528 fi
57529 fi
57530 if test "$glibcxx_have_gc_sections" = "yes"; then
57531 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57532 # NB: This flag only works reliably after 2.16.1. Configure tests
57533 # for this are difficult, so hard wire a value that should work.
57534
57535 ac_test_CFLAGS="${CFLAGS+set}"
57536 ac_save_CFLAGS="$CFLAGS"
57537 CFLAGS='-Wl,--gc-sections'
57538
57539 # Check for -Wl,--gc-sections
57540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57541 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57542 if test x$gcc_no_link = xyes; then
57543 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57544 fi
57545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57546 /* end confdefs.h. */
57547 int one(void) { return 1; }
57548 int two(void) { return 2; }
57549
57550 int
57551 main ()
57552 {
57553 two();
57554 ;
57555 return 0;
57556 }
57557 _ACEOF
57558 if ac_fn_c_try_link "$LINENO"; then :
57559 ac_gcsections=yes
57560 else
57561 ac_gcsections=no
57562 fi
57563 rm -f core conftest.err conftest.$ac_objext \
57564 conftest$ac_exeext conftest.$ac_ext
57565 if test "$ac_gcsections" = "yes"; then
57566 rm -f conftest.c
57567 touch conftest.c
57568 if $CC -c conftest.c; then
57569 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57570 grep "Warning: gc-sections option ignored" > /dev/null; then
57571 ac_gcsections=no
57572 fi
57573 fi
57574 rm -f conftest.c conftest.o conftest
57575 fi
57576 if test "$ac_gcsections" = "yes"; then
57577 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57578 fi
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57580 $as_echo "$ac_gcsections" >&6; }
57581
57582 if test "$ac_test_CFLAGS" = set; then
57583 CFLAGS="$ac_save_CFLAGS"
57584 else
57585 # this is the suspicious part
57586 CFLAGS=''
57587 fi
57588 fi
57589
57590 # Set -z,relro.
57591 # Note this is only for shared objects.
57592 ac_ld_relro=no
57593 if test x"$with_gnu_ld" = x"yes"; then
57594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57595 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57596 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57597 if test -n "$cxx_z_relo"; then
57598 OPT_LDFLAGS="-Wl,-z,relro"
57599 ac_ld_relro=yes
57600 fi
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57602 $as_echo "$ac_ld_relro" >&6; }
57603 fi
57604
57605 # Set linker optimization flags.
57606 if test x"$with_gnu_ld" = x"yes"; then
57607 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57608 fi
57609
57610
57611
57612
57613 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57614
57615 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57616
57617 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57618
57619 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57620
57621 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57622
57623 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57624
57625 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57626
57627 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57628
57629 if test x"long_double_math_on_this_cpu" = x"yes"; then
57630 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57631
57632 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57633
57634 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57635
57636 fi
57637 ;;
57638 *-qnx6.1* | *-qnx6.2*)
57639 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57640
57641
57642 # If we're not using GNU ld, then there's no point in even trying these
57643 # tests. Check for that first. We should have already tested for gld
57644 # by now (in libtool), but require it now just to be safe...
57645 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57646 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57647
57648
57649
57650 # The name set by libtool depends on the version of libtool. Shame on us
57651 # for depending on an impl detail, but c'est la vie. Older versions used
57652 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57653 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57654 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57655 # set (hence we're using an older libtool), then set it.
57656 if test x${with_gnu_ld+set} != xset; then
57657 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57658 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57659 with_gnu_ld=no
57660 else
57661 with_gnu_ld=$ac_cv_prog_gnu_ld
57662 fi
57663 fi
57664
57665 # Start by getting the version number. I think the libtool test already
57666 # does some of this, but throws away the result.
57667 glibcxx_ld_is_gold=no
57668 if test x"$with_gnu_ld" = x"yes"; then
57669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57670 $as_echo_n "checking for ld version... " >&6; }
57671
57672 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57673 glibcxx_ld_is_gold=yes
57674 fi
57675 ldver=`$LD --version 2>/dev/null |
57676 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'`
57677
57678 glibcxx_gnu_ld_version=`echo $ldver | \
57679 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57682 fi
57683
57684 # Set --gc-sections.
57685 glibcxx_have_gc_sections=no
57686 if test "$glibcxx_ld_is_gold" = "yes"; then
57687 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57688 glibcxx_have_gc_sections=yes
57689 fi
57690 else
57691 glibcxx_gcsections_min_ld=21602
57692 if test x"$with_gnu_ld" = x"yes" &&
57693 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57694 glibcxx_have_gc_sections=yes
57695 fi
57696 fi
57697 if test "$glibcxx_have_gc_sections" = "yes"; then
57698 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57699 # NB: This flag only works reliably after 2.16.1. Configure tests
57700 # for this are difficult, so hard wire a value that should work.
57701
57702 ac_test_CFLAGS="${CFLAGS+set}"
57703 ac_save_CFLAGS="$CFLAGS"
57704 CFLAGS='-Wl,--gc-sections'
57705
57706 # Check for -Wl,--gc-sections
57707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57709 if test x$gcc_no_link = xyes; then
57710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57711 fi
57712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57713 /* end confdefs.h. */
57714 int one(void) { return 1; }
57715 int two(void) { return 2; }
57716
57717 int
57718 main ()
57719 {
57720 two();
57721 ;
57722 return 0;
57723 }
57724 _ACEOF
57725 if ac_fn_c_try_link "$LINENO"; then :
57726 ac_gcsections=yes
57727 else
57728 ac_gcsections=no
57729 fi
57730 rm -f core conftest.err conftest.$ac_objext \
57731 conftest$ac_exeext conftest.$ac_ext
57732 if test "$ac_gcsections" = "yes"; then
57733 rm -f conftest.c
57734 touch conftest.c
57735 if $CC -c conftest.c; then
57736 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57737 grep "Warning: gc-sections option ignored" > /dev/null; then
57738 ac_gcsections=no
57739 fi
57740 fi
57741 rm -f conftest.c conftest.o conftest
57742 fi
57743 if test "$ac_gcsections" = "yes"; then
57744 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57745 fi
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57747 $as_echo "$ac_gcsections" >&6; }
57748
57749 if test "$ac_test_CFLAGS" = set; then
57750 CFLAGS="$ac_save_CFLAGS"
57751 else
57752 # this is the suspicious part
57753 CFLAGS=''
57754 fi
57755 fi
57756
57757 # Set -z,relro.
57758 # Note this is only for shared objects.
57759 ac_ld_relro=no
57760 if test x"$with_gnu_ld" = x"yes"; then
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57763 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57764 if test -n "$cxx_z_relo"; then
57765 OPT_LDFLAGS="-Wl,-z,relro"
57766 ac_ld_relro=yes
57767 fi
57768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57769 $as_echo "$ac_ld_relro" >&6; }
57770 fi
57771
57772 # Set linker optimization flags.
57773 if test x"$with_gnu_ld" = x"yes"; then
57774 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57775 fi
57776
57777
57778
57779
57780 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57781
57782 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57783
57784 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57785
57786 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57787
57788 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57789
57790 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57791
57792 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57793
57794 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57795
57796 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57797
57798 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57799
57800 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57801
57802 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57803
57804 ;;
57805 *-rtems*)
57806
57807 # All these tests are for C++; save the language and the compiler flags.
57808 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57809 # found in GLIBCXX_CONFIGURE.
57810
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816
57817 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57818 ac_save_CXXFLAGS="$CXXFLAGS"
57819
57820 # Check for maintainer-mode bits.
57821 if test x"$USE_MAINTAINER_MODE" = xno; then
57822 WERROR=''
57823 else
57824 WERROR='-Werror'
57825 fi
57826
57827 # Check for -ffunction-sections -fdata-sections
57828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57829 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57830 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57832 /* end confdefs.h. */
57833 int foo; void bar() { };
57834 int
57835 main ()
57836 {
57837
57838 ;
57839 return 0;
57840 }
57841 _ACEOF
57842 if ac_fn_cxx_try_compile "$LINENO"; then :
57843 ac_fdsections=yes
57844 else
57845 ac_fdsections=no
57846 fi
57847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57848 if test "$ac_test_CXXFLAGS" = set; then
57849 CXXFLAGS="$ac_save_CXXFLAGS"
57850 else
57851 # this is the suspicious part
57852 CXXFLAGS=''
57853 fi
57854 if test x"$ac_fdsections" = x"yes"; then
57855 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57856 fi
57857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57858 $as_echo "$ac_fdsections" >&6; }
57859
57860 ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865
57866
57867
57868
57869
57870 # If we're not using GNU ld, then there's no point in even trying these
57871 # tests. Check for that first. We should have already tested for gld
57872 # by now (in libtool), but require it now just to be safe...
57873 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57874 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57875
57876
57877
57878 # The name set by libtool depends on the version of libtool. Shame on us
57879 # for depending on an impl detail, but c'est la vie. Older versions used
57880 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57881 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57882 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57883 # set (hence we're using an older libtool), then set it.
57884 if test x${with_gnu_ld+set} != xset; then
57885 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57886 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57887 with_gnu_ld=no
57888 else
57889 with_gnu_ld=$ac_cv_prog_gnu_ld
57890 fi
57891 fi
57892
57893 # Start by getting the version number. I think the libtool test already
57894 # does some of this, but throws away the result.
57895 glibcxx_ld_is_gold=no
57896 if test x"$with_gnu_ld" = x"yes"; then
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57898 $as_echo_n "checking for ld version... " >&6; }
57899
57900 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57901 glibcxx_ld_is_gold=yes
57902 fi
57903 ldver=`$LD --version 2>/dev/null |
57904 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'`
57905
57906 glibcxx_gnu_ld_version=`echo $ldver | \
57907 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57909 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57910 fi
57911
57912 # Set --gc-sections.
57913 glibcxx_have_gc_sections=no
57914 if test "$glibcxx_ld_is_gold" = "yes"; then
57915 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57916 glibcxx_have_gc_sections=yes
57917 fi
57918 else
57919 glibcxx_gcsections_min_ld=21602
57920 if test x"$with_gnu_ld" = x"yes" &&
57921 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57922 glibcxx_have_gc_sections=yes
57923 fi
57924 fi
57925 if test "$glibcxx_have_gc_sections" = "yes"; then
57926 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57927 # NB: This flag only works reliably after 2.16.1. Configure tests
57928 # for this are difficult, so hard wire a value that should work.
57929
57930 ac_test_CFLAGS="${CFLAGS+set}"
57931 ac_save_CFLAGS="$CFLAGS"
57932 CFLAGS='-Wl,--gc-sections'
57933
57934 # Check for -Wl,--gc-sections
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57936 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57937 if test x$gcc_no_link = xyes; then
57938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57939 fi
57940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57941 /* end confdefs.h. */
57942 int one(void) { return 1; }
57943 int two(void) { return 2; }
57944
57945 int
57946 main ()
57947 {
57948 two();
57949 ;
57950 return 0;
57951 }
57952 _ACEOF
57953 if ac_fn_c_try_link "$LINENO"; then :
57954 ac_gcsections=yes
57955 else
57956 ac_gcsections=no
57957 fi
57958 rm -f core conftest.err conftest.$ac_objext \
57959 conftest$ac_exeext conftest.$ac_ext
57960 if test "$ac_gcsections" = "yes"; then
57961 rm -f conftest.c
57962 touch conftest.c
57963 if $CC -c conftest.c; then
57964 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57965 grep "Warning: gc-sections option ignored" > /dev/null; then
57966 ac_gcsections=no
57967 fi
57968 fi
57969 rm -f conftest.c conftest.o conftest
57970 fi
57971 if test "$ac_gcsections" = "yes"; then
57972 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57973 fi
57974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57975 $as_echo "$ac_gcsections" >&6; }
57976
57977 if test "$ac_test_CFLAGS" = set; then
57978 CFLAGS="$ac_save_CFLAGS"
57979 else
57980 # this is the suspicious part
57981 CFLAGS=''
57982 fi
57983 fi
57984
57985 # Set -z,relro.
57986 # Note this is only for shared objects.
57987 ac_ld_relro=no
57988 if test x"$with_gnu_ld" = x"yes"; then
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57990 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57991 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57992 if test -n "$cxx_z_relo"; then
57993 OPT_LDFLAGS="-Wl,-z,relro"
57994 ac_ld_relro=yes
57995 fi
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57997 $as_echo "$ac_ld_relro" >&6; }
57998 fi
57999
58000 # Set linker optimization flags.
58001 if test x"$with_gnu_ld" = x"yes"; then
58002 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58003 fi
58004
58005
58006
58007
58008
58009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58010 ac_save_CXXFLAGS="$CXXFLAGS"
58011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58012
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58014 $as_echo_n "checking for sin in -lm... " >&6; }
58015 if test "${ac_cv_lib_m_sin+set}" = set; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58018 ac_check_lib_save_LIBS=$LIBS
58019 LIBS="-lm $LIBS"
58020 if test x$gcc_no_link = xyes; then
58021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58022 fi
58023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58024 /* end confdefs.h. */
58025
58026 /* Override any GCC internal prototype to avoid an error.
58027 Use char because int might match the return type of a GCC
58028 builtin and then its argument prototype would still apply. */
58029 #ifdef __cplusplus
58030 extern "C"
58031 #endif
58032 char sin ();
58033 int
58034 main ()
58035 {
58036 return sin ();
58037 ;
58038 return 0;
58039 }
58040 _ACEOF
58041 if ac_fn_c_try_link "$LINENO"; then :
58042 ac_cv_lib_m_sin=yes
58043 else
58044 ac_cv_lib_m_sin=no
58045 fi
58046 rm -f core conftest.err conftest.$ac_objext \
58047 conftest$ac_exeext conftest.$ac_ext
58048 LIBS=$ac_check_lib_save_LIBS
58049 fi
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58051 $as_echo "$ac_cv_lib_m_sin" >&6; }
58052 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58053 libm="-lm"
58054 fi
58055
58056 ac_save_LIBS="$LIBS"
58057 LIBS="$LIBS $libm"
58058
58059
58060
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58062 $as_echo_n "checking for isinf declaration... " >&6; }
58063 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58064 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58067
58068
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58074
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 #ifdef HAVE_IEEEFP_H
58079 #include <ieeefp.h>
58080 #endif
58081
58082 int
58083 main ()
58084 {
58085 isinf(0);
58086 ;
58087 return 0;
58088 }
58089 _ACEOF
58090 if ac_fn_cxx_try_compile "$LINENO"; then :
58091 glibcxx_cv_func_isinf_use=yes
58092 else
58093 glibcxx_cv_func_isinf_use=no
58094 fi
58095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58096 ac_ext=c
58097 ac_cpp='$CPP $CPPFLAGS'
58098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58101
58102
58103 fi
58104
58105 fi
58106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58107 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58108
58109 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58110 for ac_func in isinf
58111 do :
58112 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58113 if test "x$ac_cv_func_isinf" = x""yes; then :
58114 cat >>confdefs.h <<_ACEOF
58115 #define HAVE_ISINF 1
58116 _ACEOF
58117
58118 fi
58119 done
58120
58121 else
58122
58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58124 $as_echo_n "checking for _isinf declaration... " >&6; }
58125 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58126 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58127 $as_echo_n "(cached) " >&6
58128 else
58129
58130
58131 ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136
58137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h. */
58139 #include <math.h>
58140 #ifdef HAVE_IEEEFP_H
58141 #include <ieeefp.h>
58142 #endif
58143
58144 int
58145 main ()
58146 {
58147 _isinf(0);
58148 ;
58149 return 0;
58150 }
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153 glibcxx_cv_func__isinf_use=yes
58154 else
58155 glibcxx_cv_func__isinf_use=no
58156 fi
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158 ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163
58164
58165 fi
58166
58167 fi
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58169 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58170
58171 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58172 for ac_func in _isinf
58173 do :
58174 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58175 if test "x$ac_cv_func__isinf" = x""yes; then :
58176 cat >>confdefs.h <<_ACEOF
58177 #define HAVE__ISINF 1
58178 _ACEOF
58179
58180 fi
58181 done
58182
58183 fi
58184 fi
58185
58186
58187
58188
58189
58190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58191 $as_echo_n "checking for isnan declaration... " >&6; }
58192 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58193 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58194 $as_echo_n "(cached) " >&6
58195 else
58196
58197
58198 ac_ext=cpp
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58203
58204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58205 /* end confdefs.h. */
58206 #include <math.h>
58207 #ifdef HAVE_IEEEFP_H
58208 #include <ieeefp.h>
58209 #endif
58210
58211 int
58212 main ()
58213 {
58214 isnan(0);
58215 ;
58216 return 0;
58217 }
58218 _ACEOF
58219 if ac_fn_cxx_try_compile "$LINENO"; then :
58220 glibcxx_cv_func_isnan_use=yes
58221 else
58222 glibcxx_cv_func_isnan_use=no
58223 fi
58224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58225 ac_ext=c
58226 ac_cpp='$CPP $CPPFLAGS'
58227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58230
58231
58232 fi
58233
58234 fi
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58237
58238 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58239 for ac_func in isnan
58240 do :
58241 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58242 if test "x$ac_cv_func_isnan" = x""yes; then :
58243 cat >>confdefs.h <<_ACEOF
58244 #define HAVE_ISNAN 1
58245 _ACEOF
58246
58247 fi
58248 done
58249
58250 else
58251
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58253 $as_echo_n "checking for _isnan declaration... " >&6; }
58254 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58255 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58256 $as_echo_n "(cached) " >&6
58257 else
58258
58259
58260 ac_ext=cpp
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265
58266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58267 /* end confdefs.h. */
58268 #include <math.h>
58269 #ifdef HAVE_IEEEFP_H
58270 #include <ieeefp.h>
58271 #endif
58272
58273 int
58274 main ()
58275 {
58276 _isnan(0);
58277 ;
58278 return 0;
58279 }
58280 _ACEOF
58281 if ac_fn_cxx_try_compile "$LINENO"; then :
58282 glibcxx_cv_func__isnan_use=yes
58283 else
58284 glibcxx_cv_func__isnan_use=no
58285 fi
58286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58287 ac_ext=c
58288 ac_cpp='$CPP $CPPFLAGS'
58289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292
58293
58294 fi
58295
58296 fi
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58298 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58299
58300 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58301 for ac_func in _isnan
58302 do :
58303 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58304 if test "x$ac_cv_func__isnan" = x""yes; then :
58305 cat >>confdefs.h <<_ACEOF
58306 #define HAVE__ISNAN 1
58307 _ACEOF
58308
58309 fi
58310 done
58311
58312 fi
58313 fi
58314
58315
58316
58317
58318
58319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58320 $as_echo_n "checking for finite declaration... " >&6; }
58321 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58322 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58323 $as_echo_n "(cached) " >&6
58324 else
58325
58326
58327 ac_ext=cpp
58328 ac_cpp='$CXXCPP $CPPFLAGS'
58329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332
58333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334 /* end confdefs.h. */
58335 #include <math.h>
58336 #ifdef HAVE_IEEEFP_H
58337 #include <ieeefp.h>
58338 #endif
58339
58340 int
58341 main ()
58342 {
58343 finite(0);
58344 ;
58345 return 0;
58346 }
58347 _ACEOF
58348 if ac_fn_cxx_try_compile "$LINENO"; then :
58349 glibcxx_cv_func_finite_use=yes
58350 else
58351 glibcxx_cv_func_finite_use=no
58352 fi
58353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58354 ac_ext=c
58355 ac_cpp='$CPP $CPPFLAGS'
58356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359
58360
58361 fi
58362
58363 fi
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58365 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58366
58367 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58368 for ac_func in finite
58369 do :
58370 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58371 if test "x$ac_cv_func_finite" = x""yes; then :
58372 cat >>confdefs.h <<_ACEOF
58373 #define HAVE_FINITE 1
58374 _ACEOF
58375
58376 fi
58377 done
58378
58379 else
58380
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58382 $as_echo_n "checking for _finite declaration... " >&6; }
58383 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58384 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58385 $as_echo_n "(cached) " >&6
58386 else
58387
58388
58389 ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58394
58395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h. */
58397 #include <math.h>
58398 #ifdef HAVE_IEEEFP_H
58399 #include <ieeefp.h>
58400 #endif
58401
58402 int
58403 main ()
58404 {
58405 _finite(0);
58406 ;
58407 return 0;
58408 }
58409 _ACEOF
58410 if ac_fn_cxx_try_compile "$LINENO"; then :
58411 glibcxx_cv_func__finite_use=yes
58412 else
58413 glibcxx_cv_func__finite_use=no
58414 fi
58415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58416 ac_ext=c
58417 ac_cpp='$CPP $CPPFLAGS'
58418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58421
58422
58423 fi
58424
58425 fi
58426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58427 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58428
58429 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58430 for ac_func in _finite
58431 do :
58432 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58433 if test "x$ac_cv_func__finite" = x""yes; then :
58434 cat >>confdefs.h <<_ACEOF
58435 #define HAVE__FINITE 1
58436 _ACEOF
58437
58438 fi
58439 done
58440
58441 fi
58442 fi
58443
58444
58445
58446
58447
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58449 $as_echo_n "checking for sincos declaration... " >&6; }
58450 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58451 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58452 $as_echo_n "(cached) " >&6
58453 else
58454
58455
58456 ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58461
58462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h. */
58464 #include <math.h>
58465 int
58466 main ()
58467 {
58468 sincos(0, 0, 0);
58469 ;
58470 return 0;
58471 }
58472 _ACEOF
58473 if ac_fn_cxx_try_compile "$LINENO"; then :
58474 glibcxx_cv_func_sincos_use=yes
58475 else
58476 glibcxx_cv_func_sincos_use=no
58477 fi
58478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58479 ac_ext=c
58480 ac_cpp='$CPP $CPPFLAGS'
58481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58484
58485
58486 fi
58487
58488 fi
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58490 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58491
58492 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58493 for ac_func in sincos
58494 do :
58495 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58496 if test "x$ac_cv_func_sincos" = x""yes; then :
58497 cat >>confdefs.h <<_ACEOF
58498 #define HAVE_SINCOS 1
58499 _ACEOF
58500
58501 fi
58502 done
58503
58504 else
58505
58506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58507 $as_echo_n "checking for _sincos declaration... " >&6; }
58508 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58509 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58510 $as_echo_n "(cached) " >&6
58511 else
58512
58513
58514 ac_ext=cpp
58515 ac_cpp='$CXXCPP $CPPFLAGS'
58516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58519
58520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58521 /* end confdefs.h. */
58522 #include <math.h>
58523 int
58524 main ()
58525 {
58526 _sincos(0, 0, 0);
58527 ;
58528 return 0;
58529 }
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532 glibcxx_cv_func__sincos_use=yes
58533 else
58534 glibcxx_cv_func__sincos_use=no
58535 fi
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537 ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58542
58543
58544 fi
58545
58546 fi
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58548 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58549
58550 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58551 for ac_func in _sincos
58552 do :
58553 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58554 if test "x$ac_cv_func__sincos" = x""yes; then :
58555 cat >>confdefs.h <<_ACEOF
58556 #define HAVE__SINCOS 1
58557 _ACEOF
58558
58559 fi
58560 done
58561
58562 fi
58563 fi
58564
58565
58566
58567
58568
58569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58570 $as_echo_n "checking for fpclass declaration... " >&6; }
58571 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58572 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58573 $as_echo_n "(cached) " >&6
58574 else
58575
58576
58577 ac_ext=cpp
58578 ac_cpp='$CXXCPP $CPPFLAGS'
58579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58582
58583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58584 /* end confdefs.h. */
58585 #include <math.h>
58586 #ifdef HAVE_IEEEFP_H
58587 #include <ieeefp.h>
58588 #endif
58589
58590 int
58591 main ()
58592 {
58593 fpclass(0);
58594 ;
58595 return 0;
58596 }
58597 _ACEOF
58598 if ac_fn_cxx_try_compile "$LINENO"; then :
58599 glibcxx_cv_func_fpclass_use=yes
58600 else
58601 glibcxx_cv_func_fpclass_use=no
58602 fi
58603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58604 ac_ext=c
58605 ac_cpp='$CPP $CPPFLAGS'
58606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58609
58610
58611 fi
58612
58613 fi
58614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58615 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58616
58617 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58618 for ac_func in fpclass
58619 do :
58620 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58621 if test "x$ac_cv_func_fpclass" = x""yes; then :
58622 cat >>confdefs.h <<_ACEOF
58623 #define HAVE_FPCLASS 1
58624 _ACEOF
58625
58626 fi
58627 done
58628
58629 else
58630
58631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58632 $as_echo_n "checking for _fpclass declaration... " >&6; }
58633 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58634 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58635 $as_echo_n "(cached) " >&6
58636 else
58637
58638
58639 ac_ext=cpp
58640 ac_cpp='$CXXCPP $CPPFLAGS'
58641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58644
58645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58646 /* end confdefs.h. */
58647 #include <math.h>
58648 #ifdef HAVE_IEEEFP_H
58649 #include <ieeefp.h>
58650 #endif
58651
58652 int
58653 main ()
58654 {
58655 _fpclass(0);
58656 ;
58657 return 0;
58658 }
58659 _ACEOF
58660 if ac_fn_cxx_try_compile "$LINENO"; then :
58661 glibcxx_cv_func__fpclass_use=yes
58662 else
58663 glibcxx_cv_func__fpclass_use=no
58664 fi
58665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58666 ac_ext=c
58667 ac_cpp='$CPP $CPPFLAGS'
58668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671
58672
58673 fi
58674
58675 fi
58676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58677 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58678
58679 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58680 for ac_func in _fpclass
58681 do :
58682 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58683 if test "x$ac_cv_func__fpclass" = x""yes; then :
58684 cat >>confdefs.h <<_ACEOF
58685 #define HAVE__FPCLASS 1
58686 _ACEOF
58687
58688 fi
58689 done
58690
58691 fi
58692 fi
58693
58694
58695
58696
58697
58698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58699 $as_echo_n "checking for qfpclass declaration... " >&6; }
58700 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58701 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58702 $as_echo_n "(cached) " >&6
58703 else
58704
58705
58706 ac_ext=cpp
58707 ac_cpp='$CXXCPP $CPPFLAGS'
58708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58711
58712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58713 /* end confdefs.h. */
58714 #include <math.h>
58715 #ifdef HAVE_IEEEFP_H
58716 #include <ieeefp.h>
58717 #endif
58718
58719 int
58720 main ()
58721 {
58722 qfpclass(0);
58723 ;
58724 return 0;
58725 }
58726 _ACEOF
58727 if ac_fn_cxx_try_compile "$LINENO"; then :
58728 glibcxx_cv_func_qfpclass_use=yes
58729 else
58730 glibcxx_cv_func_qfpclass_use=no
58731 fi
58732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58733 ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58738
58739
58740 fi
58741
58742 fi
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58744 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58745
58746 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58747 for ac_func in qfpclass
58748 do :
58749 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58750 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58751 cat >>confdefs.h <<_ACEOF
58752 #define HAVE_QFPCLASS 1
58753 _ACEOF
58754
58755 fi
58756 done
58757
58758 else
58759
58760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58761 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58762 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58763 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58764 $as_echo_n "(cached) " >&6
58765 else
58766
58767
58768 ac_ext=cpp
58769 ac_cpp='$CXXCPP $CPPFLAGS'
58770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58773
58774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58775 /* end confdefs.h. */
58776 #include <math.h>
58777 #ifdef HAVE_IEEEFP_H
58778 #include <ieeefp.h>
58779 #endif
58780
58781 int
58782 main ()
58783 {
58784 _qfpclass(0);
58785 ;
58786 return 0;
58787 }
58788 _ACEOF
58789 if ac_fn_cxx_try_compile "$LINENO"; then :
58790 glibcxx_cv_func__qfpclass_use=yes
58791 else
58792 glibcxx_cv_func__qfpclass_use=no
58793 fi
58794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58795 ac_ext=c
58796 ac_cpp='$CPP $CPPFLAGS'
58797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58800
58801
58802 fi
58803
58804 fi
58805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58806 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58807
58808 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58809 for ac_func in _qfpclass
58810 do :
58811 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58812 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58813 cat >>confdefs.h <<_ACEOF
58814 #define HAVE__QFPCLASS 1
58815 _ACEOF
58816
58817 fi
58818 done
58819
58820 fi
58821 fi
58822
58823
58824
58825
58826
58827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58828 $as_echo_n "checking for hypot declaration... " >&6; }
58829 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58830 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58831 $as_echo_n "(cached) " >&6
58832 else
58833
58834
58835 ac_ext=cpp
58836 ac_cpp='$CXXCPP $CPPFLAGS'
58837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58840
58841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58842 /* end confdefs.h. */
58843 #include <math.h>
58844 int
58845 main ()
58846 {
58847 hypot(0, 0);
58848 ;
58849 return 0;
58850 }
58851 _ACEOF
58852 if ac_fn_cxx_try_compile "$LINENO"; then :
58853 glibcxx_cv_func_hypot_use=yes
58854 else
58855 glibcxx_cv_func_hypot_use=no
58856 fi
58857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58858 ac_ext=c
58859 ac_cpp='$CPP $CPPFLAGS'
58860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58863
58864
58865 fi
58866
58867 fi
58868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58869 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58870
58871 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58872 for ac_func in hypot
58873 do :
58874 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58875 if test "x$ac_cv_func_hypot" = x""yes; then :
58876 cat >>confdefs.h <<_ACEOF
58877 #define HAVE_HYPOT 1
58878 _ACEOF
58879
58880 fi
58881 done
58882
58883 else
58884
58885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58886 $as_echo_n "checking for _hypot declaration... " >&6; }
58887 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58888 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58889 $as_echo_n "(cached) " >&6
58890 else
58891
58892
58893 ac_ext=cpp
58894 ac_cpp='$CXXCPP $CPPFLAGS'
58895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58898
58899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58900 /* end confdefs.h. */
58901 #include <math.h>
58902 int
58903 main ()
58904 {
58905 _hypot(0, 0);
58906 ;
58907 return 0;
58908 }
58909 _ACEOF
58910 if ac_fn_cxx_try_compile "$LINENO"; then :
58911 glibcxx_cv_func__hypot_use=yes
58912 else
58913 glibcxx_cv_func__hypot_use=no
58914 fi
58915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58916 ac_ext=c
58917 ac_cpp='$CPP $CPPFLAGS'
58918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58921
58922
58923 fi
58924
58925 fi
58926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58927 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58928
58929 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58930 for ac_func in _hypot
58931 do :
58932 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58933 if test "x$ac_cv_func__hypot" = x""yes; then :
58934 cat >>confdefs.h <<_ACEOF
58935 #define HAVE__HYPOT 1
58936 _ACEOF
58937
58938 fi
58939 done
58940
58941 fi
58942 fi
58943
58944
58945
58946
58947
58948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58949 $as_echo_n "checking for float trig functions... " >&6; }
58950 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58951 $as_echo_n "(cached) " >&6
58952 else
58953
58954
58955 ac_ext=cpp
58956 ac_cpp='$CXXCPP $CPPFLAGS'
58957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58960
58961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58962 /* end confdefs.h. */
58963 #include <math.h>
58964 int
58965 main ()
58966 {
58967 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58968 ;
58969 return 0;
58970 }
58971 _ACEOF
58972 if ac_fn_cxx_try_compile "$LINENO"; then :
58973 glibcxx_cv_func_float_trig_use=yes
58974 else
58975 glibcxx_cv_func_float_trig_use=no
58976 fi
58977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58978 ac_ext=c
58979 ac_cpp='$CPP $CPPFLAGS'
58980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58983
58984 fi
58985
58986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58987 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58988 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58989 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58990 do :
58991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58993 eval as_val=\$$as_ac_var
58994 if test "x$as_val" = x""yes; then :
58995 cat >>confdefs.h <<_ACEOF
58996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58997 _ACEOF
58998
58999 fi
59000 done
59001
59002 else
59003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59004 $as_echo_n "checking for _float trig functions... " >&6; }
59005 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59006 $as_echo_n "(cached) " >&6
59007 else
59008
59009
59010 ac_ext=cpp
59011 ac_cpp='$CXXCPP $CPPFLAGS'
59012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59015
59016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59017 /* end confdefs.h. */
59018 #include <math.h>
59019 int
59020 main ()
59021 {
59022 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59023 ;
59024 return 0;
59025 }
59026 _ACEOF
59027 if ac_fn_cxx_try_compile "$LINENO"; then :
59028 glibcxx_cv_func__float_trig_use=yes
59029 else
59030 glibcxx_cv_func__float_trig_use=no
59031 fi
59032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59033 ac_ext=c
59034 ac_cpp='$CPP $CPPFLAGS'
59035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59038
59039 fi
59040
59041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59042 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59043 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59044 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59045 do :
59046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59048 eval as_val=\$$as_ac_var
59049 if test "x$as_val" = x""yes; then :
59050 cat >>confdefs.h <<_ACEOF
59051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59052 _ACEOF
59053
59054 fi
59055 done
59056
59057 fi
59058 fi
59059
59060
59061
59062
59063
59064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59065 $as_echo_n "checking for float round functions... " >&6; }
59066 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59067 $as_echo_n "(cached) " >&6
59068 else
59069
59070
59071 ac_ext=cpp
59072 ac_cpp='$CXXCPP $CPPFLAGS'
59073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59076
59077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59078 /* end confdefs.h. */
59079 #include <math.h>
59080 int
59081 main ()
59082 {
59083 ceilf (0); floorf (0);
59084 ;
59085 return 0;
59086 }
59087 _ACEOF
59088 if ac_fn_cxx_try_compile "$LINENO"; then :
59089 glibcxx_cv_func_float_round_use=yes
59090 else
59091 glibcxx_cv_func_float_round_use=no
59092 fi
59093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59094 ac_ext=c
59095 ac_cpp='$CPP $CPPFLAGS'
59096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59099
59100 fi
59101
59102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59103 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59104 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59105 for ac_func in ceilf floorf
59106 do :
59107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59109 eval as_val=\$$as_ac_var
59110 if test "x$as_val" = x""yes; then :
59111 cat >>confdefs.h <<_ACEOF
59112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59113 _ACEOF
59114
59115 fi
59116 done
59117
59118 else
59119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59120 $as_echo_n "checking for _float round functions... " >&6; }
59121 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59122 $as_echo_n "(cached) " >&6
59123 else
59124
59125
59126 ac_ext=cpp
59127 ac_cpp='$CXXCPP $CPPFLAGS'
59128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59131
59132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59133 /* end confdefs.h. */
59134 #include <math.h>
59135 int
59136 main ()
59137 {
59138 _ceilf (0); _floorf (0);
59139 ;
59140 return 0;
59141 }
59142 _ACEOF
59143 if ac_fn_cxx_try_compile "$LINENO"; then :
59144 glibcxx_cv_func__float_round_use=yes
59145 else
59146 glibcxx_cv_func__float_round_use=no
59147 fi
59148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59149 ac_ext=c
59150 ac_cpp='$CPP $CPPFLAGS'
59151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59154
59155 fi
59156
59157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59158 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59159 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59160 for ac_func in _ceilf _floorf
59161 do :
59162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59164 eval as_val=\$$as_ac_var
59165 if test "x$as_val" = x""yes; then :
59166 cat >>confdefs.h <<_ACEOF
59167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59168 _ACEOF
59169
59170 fi
59171 done
59172
59173 fi
59174 fi
59175
59176
59177
59178
59179
59180
59181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59182 $as_echo_n "checking for expf declaration... " >&6; }
59183 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59184 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59185 $as_echo_n "(cached) " >&6
59186 else
59187
59188
59189 ac_ext=cpp
59190 ac_cpp='$CXXCPP $CPPFLAGS'
59191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59194
59195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59196 /* end confdefs.h. */
59197 #include <math.h>
59198 #ifdef HAVE_IEEEFP_H
59199 #include <ieeefp.h>
59200 #endif
59201
59202 int
59203 main ()
59204 {
59205 expf(0);
59206 ;
59207 return 0;
59208 }
59209 _ACEOF
59210 if ac_fn_cxx_try_compile "$LINENO"; then :
59211 glibcxx_cv_func_expf_use=yes
59212 else
59213 glibcxx_cv_func_expf_use=no
59214 fi
59215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59216 ac_ext=c
59217 ac_cpp='$CPP $CPPFLAGS'
59218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59221
59222
59223 fi
59224
59225 fi
59226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59227 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59228
59229 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59230 for ac_func in expf
59231 do :
59232 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59233 if test "x$ac_cv_func_expf" = x""yes; then :
59234 cat >>confdefs.h <<_ACEOF
59235 #define HAVE_EXPF 1
59236 _ACEOF
59237
59238 fi
59239 done
59240
59241 else
59242
59243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59244 $as_echo_n "checking for _expf declaration... " >&6; }
59245 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59246 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59247 $as_echo_n "(cached) " >&6
59248 else
59249
59250
59251 ac_ext=cpp
59252 ac_cpp='$CXXCPP $CPPFLAGS'
59253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256
59257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h. */
59259 #include <math.h>
59260 #ifdef HAVE_IEEEFP_H
59261 #include <ieeefp.h>
59262 #endif
59263
59264 int
59265 main ()
59266 {
59267 _expf(0);
59268 ;
59269 return 0;
59270 }
59271 _ACEOF
59272 if ac_fn_cxx_try_compile "$LINENO"; then :
59273 glibcxx_cv_func__expf_use=yes
59274 else
59275 glibcxx_cv_func__expf_use=no
59276 fi
59277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59278 ac_ext=c
59279 ac_cpp='$CPP $CPPFLAGS'
59280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59283
59284
59285 fi
59286
59287 fi
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59289 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59290
59291 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59292 for ac_func in _expf
59293 do :
59294 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59295 if test "x$ac_cv_func__expf" = x""yes; then :
59296 cat >>confdefs.h <<_ACEOF
59297 #define HAVE__EXPF 1
59298 _ACEOF
59299
59300 fi
59301 done
59302
59303 fi
59304 fi
59305
59306
59307
59308
59309
59310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59311 $as_echo_n "checking for isnanf declaration... " >&6; }
59312 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59313 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59314 $as_echo_n "(cached) " >&6
59315 else
59316
59317
59318 ac_ext=cpp
59319 ac_cpp='$CXXCPP $CPPFLAGS'
59320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323
59324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59325 /* end confdefs.h. */
59326 #include <math.h>
59327 #ifdef HAVE_IEEEFP_H
59328 #include <ieeefp.h>
59329 #endif
59330
59331 int
59332 main ()
59333 {
59334 isnanf(0);
59335 ;
59336 return 0;
59337 }
59338 _ACEOF
59339 if ac_fn_cxx_try_compile "$LINENO"; then :
59340 glibcxx_cv_func_isnanf_use=yes
59341 else
59342 glibcxx_cv_func_isnanf_use=no
59343 fi
59344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59345 ac_ext=c
59346 ac_cpp='$CPP $CPPFLAGS'
59347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59350
59351
59352 fi
59353
59354 fi
59355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59356 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59357
59358 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59359 for ac_func in isnanf
59360 do :
59361 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59362 if test "x$ac_cv_func_isnanf" = x""yes; then :
59363 cat >>confdefs.h <<_ACEOF
59364 #define HAVE_ISNANF 1
59365 _ACEOF
59366
59367 fi
59368 done
59369
59370 else
59371
59372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59373 $as_echo_n "checking for _isnanf declaration... " >&6; }
59374 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59375 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59376 $as_echo_n "(cached) " >&6
59377 else
59378
59379
59380 ac_ext=cpp
59381 ac_cpp='$CXXCPP $CPPFLAGS'
59382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385
59386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59387 /* end confdefs.h. */
59388 #include <math.h>
59389 #ifdef HAVE_IEEEFP_H
59390 #include <ieeefp.h>
59391 #endif
59392
59393 int
59394 main ()
59395 {
59396 _isnanf(0);
59397 ;
59398 return 0;
59399 }
59400 _ACEOF
59401 if ac_fn_cxx_try_compile "$LINENO"; then :
59402 glibcxx_cv_func__isnanf_use=yes
59403 else
59404 glibcxx_cv_func__isnanf_use=no
59405 fi
59406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59407 ac_ext=c
59408 ac_cpp='$CPP $CPPFLAGS'
59409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412
59413
59414 fi
59415
59416 fi
59417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59418 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59419
59420 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59421 for ac_func in _isnanf
59422 do :
59423 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59424 if test "x$ac_cv_func__isnanf" = x""yes; then :
59425 cat >>confdefs.h <<_ACEOF
59426 #define HAVE__ISNANF 1
59427 _ACEOF
59428
59429 fi
59430 done
59431
59432 fi
59433 fi
59434
59435
59436
59437
59438
59439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59440 $as_echo_n "checking for isinff declaration... " >&6; }
59441 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59442 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59443 $as_echo_n "(cached) " >&6
59444 else
59445
59446
59447 ac_ext=cpp
59448 ac_cpp='$CXXCPP $CPPFLAGS'
59449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452
59453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59454 /* end confdefs.h. */
59455 #include <math.h>
59456 #ifdef HAVE_IEEEFP_H
59457 #include <ieeefp.h>
59458 #endif
59459
59460 int
59461 main ()
59462 {
59463 isinff(0);
59464 ;
59465 return 0;
59466 }
59467 _ACEOF
59468 if ac_fn_cxx_try_compile "$LINENO"; then :
59469 glibcxx_cv_func_isinff_use=yes
59470 else
59471 glibcxx_cv_func_isinff_use=no
59472 fi
59473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59474 ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479
59480
59481 fi
59482
59483 fi
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59485 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59486
59487 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59488 for ac_func in isinff
59489 do :
59490 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59491 if test "x$ac_cv_func_isinff" = x""yes; then :
59492 cat >>confdefs.h <<_ACEOF
59493 #define HAVE_ISINFF 1
59494 _ACEOF
59495
59496 fi
59497 done
59498
59499 else
59500
59501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59502 $as_echo_n "checking for _isinff declaration... " >&6; }
59503 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59504 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59505 $as_echo_n "(cached) " >&6
59506 else
59507
59508
59509 ac_ext=cpp
59510 ac_cpp='$CXXCPP $CPPFLAGS'
59511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514
59515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59516 /* end confdefs.h. */
59517 #include <math.h>
59518 #ifdef HAVE_IEEEFP_H
59519 #include <ieeefp.h>
59520 #endif
59521
59522 int
59523 main ()
59524 {
59525 _isinff(0);
59526 ;
59527 return 0;
59528 }
59529 _ACEOF
59530 if ac_fn_cxx_try_compile "$LINENO"; then :
59531 glibcxx_cv_func__isinff_use=yes
59532 else
59533 glibcxx_cv_func__isinff_use=no
59534 fi
59535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59536 ac_ext=c
59537 ac_cpp='$CPP $CPPFLAGS'
59538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59541
59542
59543 fi
59544
59545 fi
59546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59547 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59548
59549 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59550 for ac_func in _isinff
59551 do :
59552 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59553 if test "x$ac_cv_func__isinff" = x""yes; then :
59554 cat >>confdefs.h <<_ACEOF
59555 #define HAVE__ISINFF 1
59556 _ACEOF
59557
59558 fi
59559 done
59560
59561 fi
59562 fi
59563
59564
59565
59566
59567
59568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59569 $as_echo_n "checking for atan2f declaration... " >&6; }
59570 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59571 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59572 $as_echo_n "(cached) " >&6
59573 else
59574
59575
59576 ac_ext=cpp
59577 ac_cpp='$CXXCPP $CPPFLAGS'
59578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581
59582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59583 /* end confdefs.h. */
59584 #include <math.h>
59585 int
59586 main ()
59587 {
59588 atan2f(0, 0);
59589 ;
59590 return 0;
59591 }
59592 _ACEOF
59593 if ac_fn_cxx_try_compile "$LINENO"; then :
59594 glibcxx_cv_func_atan2f_use=yes
59595 else
59596 glibcxx_cv_func_atan2f_use=no
59597 fi
59598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59599 ac_ext=c
59600 ac_cpp='$CPP $CPPFLAGS'
59601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59604
59605
59606 fi
59607
59608 fi
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59610 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59611
59612 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59613 for ac_func in atan2f
59614 do :
59615 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59616 if test "x$ac_cv_func_atan2f" = x""yes; then :
59617 cat >>confdefs.h <<_ACEOF
59618 #define HAVE_ATAN2F 1
59619 _ACEOF
59620
59621 fi
59622 done
59623
59624 else
59625
59626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59627 $as_echo_n "checking for _atan2f declaration... " >&6; }
59628 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59629 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59630 $as_echo_n "(cached) " >&6
59631 else
59632
59633
59634 ac_ext=cpp
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639
59640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h. */
59642 #include <math.h>
59643 int
59644 main ()
59645 {
59646 _atan2f(0, 0);
59647 ;
59648 return 0;
59649 }
59650 _ACEOF
59651 if ac_fn_cxx_try_compile "$LINENO"; then :
59652 glibcxx_cv_func__atan2f_use=yes
59653 else
59654 glibcxx_cv_func__atan2f_use=no
59655 fi
59656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59657 ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59662
59663
59664 fi
59665
59666 fi
59667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59668 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59669
59670 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59671 for ac_func in _atan2f
59672 do :
59673 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59674 if test "x$ac_cv_func__atan2f" = x""yes; then :
59675 cat >>confdefs.h <<_ACEOF
59676 #define HAVE__ATAN2F 1
59677 _ACEOF
59678
59679 fi
59680 done
59681
59682 fi
59683 fi
59684
59685
59686
59687
59688
59689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59690 $as_echo_n "checking for fabsf declaration... " >&6; }
59691 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59692 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59693 $as_echo_n "(cached) " >&6
59694 else
59695
59696
59697 ac_ext=cpp
59698 ac_cpp='$CXXCPP $CPPFLAGS'
59699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702
59703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59704 /* end confdefs.h. */
59705 #include <math.h>
59706 #ifdef HAVE_IEEEFP_H
59707 #include <ieeefp.h>
59708 #endif
59709
59710 int
59711 main ()
59712 {
59713 fabsf(0);
59714 ;
59715 return 0;
59716 }
59717 _ACEOF
59718 if ac_fn_cxx_try_compile "$LINENO"; then :
59719 glibcxx_cv_func_fabsf_use=yes
59720 else
59721 glibcxx_cv_func_fabsf_use=no
59722 fi
59723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59724 ac_ext=c
59725 ac_cpp='$CPP $CPPFLAGS'
59726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729
59730
59731 fi
59732
59733 fi
59734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59735 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59736
59737 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59738 for ac_func in fabsf
59739 do :
59740 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59741 if test "x$ac_cv_func_fabsf" = x""yes; then :
59742 cat >>confdefs.h <<_ACEOF
59743 #define HAVE_FABSF 1
59744 _ACEOF
59745
59746 fi
59747 done
59748
59749 else
59750
59751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59752 $as_echo_n "checking for _fabsf declaration... " >&6; }
59753 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59754 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59757
59758
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59768 #ifdef HAVE_IEEEFP_H
59769 #include <ieeefp.h>
59770 #endif
59771
59772 int
59773 main ()
59774 {
59775 _fabsf(0);
59776 ;
59777 return 0;
59778 }
59779 _ACEOF
59780 if ac_fn_cxx_try_compile "$LINENO"; then :
59781 glibcxx_cv_func__fabsf_use=yes
59782 else
59783 glibcxx_cv_func__fabsf_use=no
59784 fi
59785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59786 ac_ext=c
59787 ac_cpp='$CPP $CPPFLAGS'
59788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59791
59792
59793 fi
59794
59795 fi
59796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59797 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59798
59799 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59800 for ac_func in _fabsf
59801 do :
59802 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59803 if test "x$ac_cv_func__fabsf" = x""yes; then :
59804 cat >>confdefs.h <<_ACEOF
59805 #define HAVE__FABSF 1
59806 _ACEOF
59807
59808 fi
59809 done
59810
59811 fi
59812 fi
59813
59814
59815
59816
59817
59818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59819 $as_echo_n "checking for fmodf declaration... " >&6; }
59820 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59821 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59822 $as_echo_n "(cached) " >&6
59823 else
59824
59825
59826 ac_ext=cpp
59827 ac_cpp='$CXXCPP $CPPFLAGS'
59828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831
59832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59833 /* end confdefs.h. */
59834 #include <math.h>
59835 int
59836 main ()
59837 {
59838 fmodf(0, 0);
59839 ;
59840 return 0;
59841 }
59842 _ACEOF
59843 if ac_fn_cxx_try_compile "$LINENO"; then :
59844 glibcxx_cv_func_fmodf_use=yes
59845 else
59846 glibcxx_cv_func_fmodf_use=no
59847 fi
59848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59849 ac_ext=c
59850 ac_cpp='$CPP $CPPFLAGS'
59851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59854
59855
59856 fi
59857
59858 fi
59859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59860 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59861
59862 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59863 for ac_func in fmodf
59864 do :
59865 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59866 if test "x$ac_cv_func_fmodf" = x""yes; then :
59867 cat >>confdefs.h <<_ACEOF
59868 #define HAVE_FMODF 1
59869 _ACEOF
59870
59871 fi
59872 done
59873
59874 else
59875
59876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59877 $as_echo_n "checking for _fmodf declaration... " >&6; }
59878 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59879 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59880 $as_echo_n "(cached) " >&6
59881 else
59882
59883
59884 ac_ext=cpp
59885 ac_cpp='$CXXCPP $CPPFLAGS'
59886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59889
59890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59891 /* end confdefs.h. */
59892 #include <math.h>
59893 int
59894 main ()
59895 {
59896 _fmodf(0, 0);
59897 ;
59898 return 0;
59899 }
59900 _ACEOF
59901 if ac_fn_cxx_try_compile "$LINENO"; then :
59902 glibcxx_cv_func__fmodf_use=yes
59903 else
59904 glibcxx_cv_func__fmodf_use=no
59905 fi
59906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59907 ac_ext=c
59908 ac_cpp='$CPP $CPPFLAGS'
59909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59912
59913
59914 fi
59915
59916 fi
59917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59918 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59919
59920 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59921 for ac_func in _fmodf
59922 do :
59923 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59924 if test "x$ac_cv_func__fmodf" = x""yes; then :
59925 cat >>confdefs.h <<_ACEOF
59926 #define HAVE__FMODF 1
59927 _ACEOF
59928
59929 fi
59930 done
59931
59932 fi
59933 fi
59934
59935
59936
59937
59938
59939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59940 $as_echo_n "checking for frexpf declaration... " >&6; }
59941 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59942 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59943 $as_echo_n "(cached) " >&6
59944 else
59945
59946
59947 ac_ext=cpp
59948 ac_cpp='$CXXCPP $CPPFLAGS'
59949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59952
59953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59954 /* end confdefs.h. */
59955 #include <math.h>
59956 int
59957 main ()
59958 {
59959 frexpf(0, 0);
59960 ;
59961 return 0;
59962 }
59963 _ACEOF
59964 if ac_fn_cxx_try_compile "$LINENO"; then :
59965 glibcxx_cv_func_frexpf_use=yes
59966 else
59967 glibcxx_cv_func_frexpf_use=no
59968 fi
59969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59970 ac_ext=c
59971 ac_cpp='$CPP $CPPFLAGS'
59972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59975
59976
59977 fi
59978
59979 fi
59980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59981 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59982
59983 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59984 for ac_func in frexpf
59985 do :
59986 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59987 if test "x$ac_cv_func_frexpf" = x""yes; then :
59988 cat >>confdefs.h <<_ACEOF
59989 #define HAVE_FREXPF 1
59990 _ACEOF
59991
59992 fi
59993 done
59994
59995 else
59996
59997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59998 $as_echo_n "checking for _frexpf declaration... " >&6; }
59999 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60000 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60001 $as_echo_n "(cached) " >&6
60002 else
60003
60004
60005 ac_ext=cpp
60006 ac_cpp='$CXXCPP $CPPFLAGS'
60007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60010
60011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60012 /* end confdefs.h. */
60013 #include <math.h>
60014 int
60015 main ()
60016 {
60017 _frexpf(0, 0);
60018 ;
60019 return 0;
60020 }
60021 _ACEOF
60022 if ac_fn_cxx_try_compile "$LINENO"; then :
60023 glibcxx_cv_func__frexpf_use=yes
60024 else
60025 glibcxx_cv_func__frexpf_use=no
60026 fi
60027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60028 ac_ext=c
60029 ac_cpp='$CPP $CPPFLAGS'
60030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60033
60034
60035 fi
60036
60037 fi
60038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60039 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60040
60041 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60042 for ac_func in _frexpf
60043 do :
60044 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60045 if test "x$ac_cv_func__frexpf" = x""yes; then :
60046 cat >>confdefs.h <<_ACEOF
60047 #define HAVE__FREXPF 1
60048 _ACEOF
60049
60050 fi
60051 done
60052
60053 fi
60054 fi
60055
60056
60057
60058
60059
60060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60061 $as_echo_n "checking for hypotf declaration... " >&6; }
60062 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60063 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60064 $as_echo_n "(cached) " >&6
60065 else
60066
60067
60068 ac_ext=cpp
60069 ac_cpp='$CXXCPP $CPPFLAGS'
60070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60073
60074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60075 /* end confdefs.h. */
60076 #include <math.h>
60077 int
60078 main ()
60079 {
60080 hypotf(0, 0);
60081 ;
60082 return 0;
60083 }
60084 _ACEOF
60085 if ac_fn_cxx_try_compile "$LINENO"; then :
60086 glibcxx_cv_func_hypotf_use=yes
60087 else
60088 glibcxx_cv_func_hypotf_use=no
60089 fi
60090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60091 ac_ext=c
60092 ac_cpp='$CPP $CPPFLAGS'
60093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60096
60097
60098 fi
60099
60100 fi
60101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60102 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60103
60104 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60105 for ac_func in hypotf
60106 do :
60107 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60108 if test "x$ac_cv_func_hypotf" = x""yes; then :
60109 cat >>confdefs.h <<_ACEOF
60110 #define HAVE_HYPOTF 1
60111 _ACEOF
60112
60113 fi
60114 done
60115
60116 else
60117
60118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60119 $as_echo_n "checking for _hypotf declaration... " >&6; }
60120 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60121 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60122 $as_echo_n "(cached) " >&6
60123 else
60124
60125
60126 ac_ext=cpp
60127 ac_cpp='$CXXCPP $CPPFLAGS'
60128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60131
60132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60133 /* end confdefs.h. */
60134 #include <math.h>
60135 int
60136 main ()
60137 {
60138 _hypotf(0, 0);
60139 ;
60140 return 0;
60141 }
60142 _ACEOF
60143 if ac_fn_cxx_try_compile "$LINENO"; then :
60144 glibcxx_cv_func__hypotf_use=yes
60145 else
60146 glibcxx_cv_func__hypotf_use=no
60147 fi
60148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60149 ac_ext=c
60150 ac_cpp='$CPP $CPPFLAGS'
60151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60154
60155
60156 fi
60157
60158 fi
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60160 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60161
60162 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60163 for ac_func in _hypotf
60164 do :
60165 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60166 if test "x$ac_cv_func__hypotf" = x""yes; then :
60167 cat >>confdefs.h <<_ACEOF
60168 #define HAVE__HYPOTF 1
60169 _ACEOF
60170
60171 fi
60172 done
60173
60174 fi
60175 fi
60176
60177
60178
60179
60180
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60182 $as_echo_n "checking for ldexpf declaration... " >&6; }
60183 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60184 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60185 $as_echo_n "(cached) " >&6
60186 else
60187
60188
60189 ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60194
60195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h. */
60197 #include <math.h>
60198 int
60199 main ()
60200 {
60201 ldexpf(0, 0);
60202 ;
60203 return 0;
60204 }
60205 _ACEOF
60206 if ac_fn_cxx_try_compile "$LINENO"; then :
60207 glibcxx_cv_func_ldexpf_use=yes
60208 else
60209 glibcxx_cv_func_ldexpf_use=no
60210 fi
60211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60212 ac_ext=c
60213 ac_cpp='$CPP $CPPFLAGS'
60214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60217
60218
60219 fi
60220
60221 fi
60222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60223 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60224
60225 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60226 for ac_func in ldexpf
60227 do :
60228 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60229 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60230 cat >>confdefs.h <<_ACEOF
60231 #define HAVE_LDEXPF 1
60232 _ACEOF
60233
60234 fi
60235 done
60236
60237 else
60238
60239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60240 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60241 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60242 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60243 $as_echo_n "(cached) " >&6
60244 else
60245
60246
60247 ac_ext=cpp
60248 ac_cpp='$CXXCPP $CPPFLAGS'
60249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60252
60253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60254 /* end confdefs.h. */
60255 #include <math.h>
60256 int
60257 main ()
60258 {
60259 _ldexpf(0, 0);
60260 ;
60261 return 0;
60262 }
60263 _ACEOF
60264 if ac_fn_cxx_try_compile "$LINENO"; then :
60265 glibcxx_cv_func__ldexpf_use=yes
60266 else
60267 glibcxx_cv_func__ldexpf_use=no
60268 fi
60269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60270 ac_ext=c
60271 ac_cpp='$CPP $CPPFLAGS'
60272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60275
60276
60277 fi
60278
60279 fi
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60281 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60282
60283 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60284 for ac_func in _ldexpf
60285 do :
60286 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60287 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60288 cat >>confdefs.h <<_ACEOF
60289 #define HAVE__LDEXPF 1
60290 _ACEOF
60291
60292 fi
60293 done
60294
60295 fi
60296 fi
60297
60298
60299
60300
60301
60302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60303 $as_echo_n "checking for logf declaration... " >&6; }
60304 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60305 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60306 $as_echo_n "(cached) " >&6
60307 else
60308
60309
60310 ac_ext=cpp
60311 ac_cpp='$CXXCPP $CPPFLAGS'
60312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60315
60316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60317 /* end confdefs.h. */
60318 #include <math.h>
60319 #ifdef HAVE_IEEEFP_H
60320 #include <ieeefp.h>
60321 #endif
60322
60323 int
60324 main ()
60325 {
60326 logf(0);
60327 ;
60328 return 0;
60329 }
60330 _ACEOF
60331 if ac_fn_cxx_try_compile "$LINENO"; then :
60332 glibcxx_cv_func_logf_use=yes
60333 else
60334 glibcxx_cv_func_logf_use=no
60335 fi
60336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60337 ac_ext=c
60338 ac_cpp='$CPP $CPPFLAGS'
60339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60342
60343
60344 fi
60345
60346 fi
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60348 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60349
60350 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60351 for ac_func in logf
60352 do :
60353 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60354 if test "x$ac_cv_func_logf" = x""yes; then :
60355 cat >>confdefs.h <<_ACEOF
60356 #define HAVE_LOGF 1
60357 _ACEOF
60358
60359 fi
60360 done
60361
60362 else
60363
60364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60365 $as_echo_n "checking for _logf declaration... " >&6; }
60366 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60367 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60368 $as_echo_n "(cached) " >&6
60369 else
60370
60371
60372 ac_ext=cpp
60373 ac_cpp='$CXXCPP $CPPFLAGS'
60374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60377
60378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60379 /* end confdefs.h. */
60380 #include <math.h>
60381 #ifdef HAVE_IEEEFP_H
60382 #include <ieeefp.h>
60383 #endif
60384
60385 int
60386 main ()
60387 {
60388 _logf(0);
60389 ;
60390 return 0;
60391 }
60392 _ACEOF
60393 if ac_fn_cxx_try_compile "$LINENO"; then :
60394 glibcxx_cv_func__logf_use=yes
60395 else
60396 glibcxx_cv_func__logf_use=no
60397 fi
60398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60399 ac_ext=c
60400 ac_cpp='$CPP $CPPFLAGS'
60401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60404
60405
60406 fi
60407
60408 fi
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60410 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60411
60412 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60413 for ac_func in _logf
60414 do :
60415 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60416 if test "x$ac_cv_func__logf" = x""yes; then :
60417 cat >>confdefs.h <<_ACEOF
60418 #define HAVE__LOGF 1
60419 _ACEOF
60420
60421 fi
60422 done
60423
60424 fi
60425 fi
60426
60427
60428
60429
60430
60431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60432 $as_echo_n "checking for log10f declaration... " >&6; }
60433 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60434 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60435 $as_echo_n "(cached) " >&6
60436 else
60437
60438
60439 ac_ext=cpp
60440 ac_cpp='$CXXCPP $CPPFLAGS'
60441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60444
60445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60446 /* end confdefs.h. */
60447 #include <math.h>
60448 #ifdef HAVE_IEEEFP_H
60449 #include <ieeefp.h>
60450 #endif
60451
60452 int
60453 main ()
60454 {
60455 log10f(0);
60456 ;
60457 return 0;
60458 }
60459 _ACEOF
60460 if ac_fn_cxx_try_compile "$LINENO"; then :
60461 glibcxx_cv_func_log10f_use=yes
60462 else
60463 glibcxx_cv_func_log10f_use=no
60464 fi
60465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60466 ac_ext=c
60467 ac_cpp='$CPP $CPPFLAGS'
60468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60471
60472
60473 fi
60474
60475 fi
60476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60477 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60478
60479 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60480 for ac_func in log10f
60481 do :
60482 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60483 if test "x$ac_cv_func_log10f" = x""yes; then :
60484 cat >>confdefs.h <<_ACEOF
60485 #define HAVE_LOG10F 1
60486 _ACEOF
60487
60488 fi
60489 done
60490
60491 else
60492
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60494 $as_echo_n "checking for _log10f declaration... " >&6; }
60495 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60496 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60497 $as_echo_n "(cached) " >&6
60498 else
60499
60500
60501 ac_ext=cpp
60502 ac_cpp='$CXXCPP $CPPFLAGS'
60503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60506
60507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60508 /* end confdefs.h. */
60509 #include <math.h>
60510 #ifdef HAVE_IEEEFP_H
60511 #include <ieeefp.h>
60512 #endif
60513
60514 int
60515 main ()
60516 {
60517 _log10f(0);
60518 ;
60519 return 0;
60520 }
60521 _ACEOF
60522 if ac_fn_cxx_try_compile "$LINENO"; then :
60523 glibcxx_cv_func__log10f_use=yes
60524 else
60525 glibcxx_cv_func__log10f_use=no
60526 fi
60527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60528 ac_ext=c
60529 ac_cpp='$CPP $CPPFLAGS'
60530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60533
60534
60535 fi
60536
60537 fi
60538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60539 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60540
60541 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60542 for ac_func in _log10f
60543 do :
60544 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60545 if test "x$ac_cv_func__log10f" = x""yes; then :
60546 cat >>confdefs.h <<_ACEOF
60547 #define HAVE__LOG10F 1
60548 _ACEOF
60549
60550 fi
60551 done
60552
60553 fi
60554 fi
60555
60556
60557
60558
60559
60560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60561 $as_echo_n "checking for modff declaration... " >&6; }
60562 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60563 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60564 $as_echo_n "(cached) " >&6
60565 else
60566
60567
60568 ac_ext=cpp
60569 ac_cpp='$CXXCPP $CPPFLAGS'
60570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60573
60574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60575 /* end confdefs.h. */
60576 #include <math.h>
60577 int
60578 main ()
60579 {
60580 modff(0, 0);
60581 ;
60582 return 0;
60583 }
60584 _ACEOF
60585 if ac_fn_cxx_try_compile "$LINENO"; then :
60586 glibcxx_cv_func_modff_use=yes
60587 else
60588 glibcxx_cv_func_modff_use=no
60589 fi
60590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60591 ac_ext=c
60592 ac_cpp='$CPP $CPPFLAGS'
60593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60596
60597
60598 fi
60599
60600 fi
60601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60602 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60603
60604 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60605 for ac_func in modff
60606 do :
60607 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60608 if test "x$ac_cv_func_modff" = x""yes; then :
60609 cat >>confdefs.h <<_ACEOF
60610 #define HAVE_MODFF 1
60611 _ACEOF
60612
60613 fi
60614 done
60615
60616 else
60617
60618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60619 $as_echo_n "checking for _modff declaration... " >&6; }
60620 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60621 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60622 $as_echo_n "(cached) " >&6
60623 else
60624
60625
60626 ac_ext=cpp
60627 ac_cpp='$CXXCPP $CPPFLAGS'
60628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60631
60632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60633 /* end confdefs.h. */
60634 #include <math.h>
60635 int
60636 main ()
60637 {
60638 _modff(0, 0);
60639 ;
60640 return 0;
60641 }
60642 _ACEOF
60643 if ac_fn_cxx_try_compile "$LINENO"; then :
60644 glibcxx_cv_func__modff_use=yes
60645 else
60646 glibcxx_cv_func__modff_use=no
60647 fi
60648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60649 ac_ext=c
60650 ac_cpp='$CPP $CPPFLAGS'
60651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60654
60655
60656 fi
60657
60658 fi
60659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60660 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60661
60662 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60663 for ac_func in _modff
60664 do :
60665 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60666 if test "x$ac_cv_func__modff" = x""yes; then :
60667 cat >>confdefs.h <<_ACEOF
60668 #define HAVE__MODFF 1
60669 _ACEOF
60670
60671 fi
60672 done
60673
60674 fi
60675 fi
60676
60677
60678
60679
60680
60681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60682 $as_echo_n "checking for modf declaration... " >&6; }
60683 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60684 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60685 $as_echo_n "(cached) " >&6
60686 else
60687
60688
60689 ac_ext=cpp
60690 ac_cpp='$CXXCPP $CPPFLAGS'
60691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60694
60695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60696 /* end confdefs.h. */
60697 #include <math.h>
60698 int
60699 main ()
60700 {
60701 modf(0, 0);
60702 ;
60703 return 0;
60704 }
60705 _ACEOF
60706 if ac_fn_cxx_try_compile "$LINENO"; then :
60707 glibcxx_cv_func_modf_use=yes
60708 else
60709 glibcxx_cv_func_modf_use=no
60710 fi
60711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60712 ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60717
60718
60719 fi
60720
60721 fi
60722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60723 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60724
60725 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60726 for ac_func in modf
60727 do :
60728 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60729 if test "x$ac_cv_func_modf" = x""yes; then :
60730 cat >>confdefs.h <<_ACEOF
60731 #define HAVE_MODF 1
60732 _ACEOF
60733
60734 fi
60735 done
60736
60737 else
60738
60739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60740 $as_echo_n "checking for _modf declaration... " >&6; }
60741 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60742 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60743 $as_echo_n "(cached) " >&6
60744 else
60745
60746
60747 ac_ext=cpp
60748 ac_cpp='$CXXCPP $CPPFLAGS'
60749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60752
60753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60754 /* end confdefs.h. */
60755 #include <math.h>
60756 int
60757 main ()
60758 {
60759 _modf(0, 0);
60760 ;
60761 return 0;
60762 }
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func__modf_use=yes
60766 else
60767 glibcxx_cv_func__modf_use=no
60768 fi
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775
60776
60777 fi
60778
60779 fi
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60781 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60782
60783 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60784 for ac_func in _modf
60785 do :
60786 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60787 if test "x$ac_cv_func__modf" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE__MODF 1
60790 _ACEOF
60791
60792 fi
60793 done
60794
60795 fi
60796 fi
60797
60798
60799
60800
60801
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60803 $as_echo_n "checking for powf declaration... " >&6; }
60804 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60805 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60819 int
60820 main ()
60821 {
60822 powf(0, 0);
60823 ;
60824 return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_powf_use=yes
60829 else
60830 glibcxx_cv_func_powf_use=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60838
60839
60840 fi
60841
60842 fi
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60844 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60845
60846 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60847 for ac_func in powf
60848 do :
60849 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60850 if test "x$ac_cv_func_powf" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_POWF 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858 else
60859
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60861 $as_echo_n "checking for _powf declaration... " >&6; }
60862 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60863 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60866
60867
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 int
60878 main ()
60879 {
60880 _powf(0, 0);
60881 ;
60882 return 0;
60883 }
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func__powf_use=yes
60887 else
60888 glibcxx_cv_func__powf_use=no
60889 fi
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896
60897
60898 fi
60899
60900 fi
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60902 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60903
60904 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60905 for ac_func in _powf
60906 do :
60907 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60908 if test "x$ac_cv_func__powf" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE__POWF 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916 fi
60917 fi
60918
60919
60920
60921
60922
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60924 $as_echo_n "checking for sqrtf declaration... " >&6; }
60925 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60926 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60929
60930
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60940 #ifdef HAVE_IEEEFP_H
60941 #include <ieeefp.h>
60942 #endif
60943
60944 int
60945 main ()
60946 {
60947 sqrtf(0);
60948 ;
60949 return 0;
60950 }
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func_sqrtf_use=yes
60954 else
60955 glibcxx_cv_func_sqrtf_use=no
60956 fi
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60963
60964
60965 fi
60966
60967 fi
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60969 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60970
60971 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60972 for ac_func in sqrtf
60973 do :
60974 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60975 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE_SQRTF 1
60978 _ACEOF
60979
60980 fi
60981 done
60982
60983 else
60984
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60986 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60987 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60988 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60989 $as_echo_n "(cached) " >&6
60990 else
60991
60992
60993 ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 #include <math.h>
61002 #ifdef HAVE_IEEEFP_H
61003 #include <ieeefp.h>
61004 #endif
61005
61006 int
61007 main ()
61008 {
61009 _sqrtf(0);
61010 ;
61011 return 0;
61012 }
61013 _ACEOF
61014 if ac_fn_cxx_try_compile "$LINENO"; then :
61015 glibcxx_cv_func__sqrtf_use=yes
61016 else
61017 glibcxx_cv_func__sqrtf_use=no
61018 fi
61019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61020 ac_ext=c
61021 ac_cpp='$CPP $CPPFLAGS'
61022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61025
61026
61027 fi
61028
61029 fi
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61031 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61032
61033 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61034 for ac_func in _sqrtf
61035 do :
61036 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61037 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61038 cat >>confdefs.h <<_ACEOF
61039 #define HAVE__SQRTF 1
61040 _ACEOF
61041
61042 fi
61043 done
61044
61045 fi
61046 fi
61047
61048
61049
61050
61051
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61053 $as_echo_n "checking for sincosf declaration... " >&6; }
61054 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61055 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61058
61059
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61065
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61069 int
61070 main ()
61071 {
61072 sincosf(0, 0, 0);
61073 ;
61074 return 0;
61075 }
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func_sincosf_use=yes
61079 else
61080 glibcxx_cv_func_sincosf_use=no
61081 fi
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088
61089
61090 fi
61091
61092 fi
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61094 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61095
61096 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61097 for ac_func in sincosf
61098 do :
61099 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61100 if test "x$ac_cv_func_sincosf" = x""yes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE_SINCOSF 1
61103 _ACEOF
61104
61105 fi
61106 done
61107
61108 else
61109
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61111 $as_echo_n "checking for _sincosf declaration... " >&6; }
61112 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61113 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61114 $as_echo_n "(cached) " >&6
61115 else
61116
61117
61118 ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61123
61124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h. */
61126 #include <math.h>
61127 int
61128 main ()
61129 {
61130 _sincosf(0, 0, 0);
61131 ;
61132 return 0;
61133 }
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func__sincosf_use=yes
61137 else
61138 glibcxx_cv_func__sincosf_use=no
61139 fi
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146
61147
61148 fi
61149
61150 fi
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61152 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61153
61154 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61155 for ac_func in _sincosf
61156 do :
61157 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61158 if test "x$ac_cv_func__sincosf" = x""yes; then :
61159 cat >>confdefs.h <<_ACEOF
61160 #define HAVE__SINCOSF 1
61161 _ACEOF
61162
61163 fi
61164 done
61165
61166 fi
61167 fi
61168
61169
61170
61171
61172
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61174 $as_echo_n "checking for finitef declaration... " >&6; }
61175 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61176 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61179
61180
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61186
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61190 #ifdef HAVE_IEEEFP_H
61191 #include <ieeefp.h>
61192 #endif
61193
61194 int
61195 main ()
61196 {
61197 finitef(0);
61198 ;
61199 return 0;
61200 }
61201 _ACEOF
61202 if ac_fn_cxx_try_compile "$LINENO"; then :
61203 glibcxx_cv_func_finitef_use=yes
61204 else
61205 glibcxx_cv_func_finitef_use=no
61206 fi
61207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61208 ac_ext=c
61209 ac_cpp='$CPP $CPPFLAGS'
61210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61213
61214
61215 fi
61216
61217 fi
61218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61219 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61220
61221 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61222 for ac_func in finitef
61223 do :
61224 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61225 if test "x$ac_cv_func_finitef" = x""yes; then :
61226 cat >>confdefs.h <<_ACEOF
61227 #define HAVE_FINITEF 1
61228 _ACEOF
61229
61230 fi
61231 done
61232
61233 else
61234
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61236 $as_echo_n "checking for _finitef declaration... " >&6; }
61237 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61238 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61239 $as_echo_n "(cached) " >&6
61240 else
61241
61242
61243 ac_ext=cpp
61244 ac_cpp='$CXXCPP $CPPFLAGS'
61245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61248
61249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61250 /* end confdefs.h. */
61251 #include <math.h>
61252 #ifdef HAVE_IEEEFP_H
61253 #include <ieeefp.h>
61254 #endif
61255
61256 int
61257 main ()
61258 {
61259 _finitef(0);
61260 ;
61261 return 0;
61262 }
61263 _ACEOF
61264 if ac_fn_cxx_try_compile "$LINENO"; then :
61265 glibcxx_cv_func__finitef_use=yes
61266 else
61267 glibcxx_cv_func__finitef_use=no
61268 fi
61269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61270 ac_ext=c
61271 ac_cpp='$CPP $CPPFLAGS'
61272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61275
61276
61277 fi
61278
61279 fi
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61281 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61282
61283 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61284 for ac_func in _finitef
61285 do :
61286 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61287 if test "x$ac_cv_func__finitef" = x""yes; then :
61288 cat >>confdefs.h <<_ACEOF
61289 #define HAVE__FINITEF 1
61290 _ACEOF
61291
61292 fi
61293 done
61294
61295 fi
61296 fi
61297
61298
61299
61300
61301
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61303 $as_echo_n "checking for long double trig functions... " >&6; }
61304 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61305 $as_echo_n "(cached) " >&6
61306 else
61307
61308
61309 ac_ext=cpp
61310 ac_cpp='$CXXCPP $CPPFLAGS'
61311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314
61315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61316 /* end confdefs.h. */
61317 #include <math.h>
61318 int
61319 main ()
61320 {
61321 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61322 ;
61323 return 0;
61324 }
61325 _ACEOF
61326 if ac_fn_cxx_try_compile "$LINENO"; then :
61327 glibcxx_cv_func_long_double_trig_use=yes
61328 else
61329 glibcxx_cv_func_long_double_trig_use=no
61330 fi
61331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61332 ac_ext=c
61333 ac_cpp='$CPP $CPPFLAGS'
61334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61337
61338 fi
61339
61340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61341 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61342 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61343 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61344 do :
61345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61347 eval as_val=\$$as_ac_var
61348 if test "x$as_val" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61351 _ACEOF
61352
61353 fi
61354 done
61355
61356 else
61357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61358 $as_echo_n "checking for _long double trig functions... " >&6; }
61359 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61360 $as_echo_n "(cached) " >&6
61361 else
61362
61363
61364 ac_ext=cpp
61365 ac_cpp='$CXXCPP $CPPFLAGS'
61366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61369
61370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61371 /* end confdefs.h. */
61372 #include <math.h>
61373 int
61374 main ()
61375 {
61376 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61377 ;
61378 return 0;
61379 }
61380 _ACEOF
61381 if ac_fn_cxx_try_compile "$LINENO"; then :
61382 glibcxx_cv_func__long_double_trig_use=yes
61383 else
61384 glibcxx_cv_func__long_double_trig_use=no
61385 fi
61386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61387 ac_ext=c
61388 ac_cpp='$CPP $CPPFLAGS'
61389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61392
61393 fi
61394
61395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61396 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61397 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61398 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61399 do :
61400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61402 eval as_val=\$$as_ac_var
61403 if test "x$as_val" = x""yes; then :
61404 cat >>confdefs.h <<_ACEOF
61405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61406 _ACEOF
61407
61408 fi
61409 done
61410
61411 fi
61412 fi
61413
61414
61415
61416
61417
61418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61419 $as_echo_n "checking for long double round functions... " >&6; }
61420 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61423
61424
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61434 int
61435 main ()
61436 {
61437 ceill (0); floorl (0);
61438 ;
61439 return 0;
61440 }
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func_long_double_round_use=yes
61444 else
61445 glibcxx_cv_func_long_double_round_use=no
61446 fi
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453
61454 fi
61455
61456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61457 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61458 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61459 for ac_func in ceill floorl
61460 do :
61461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61463 eval as_val=\$$as_ac_var
61464 if test "x$as_val" = x""yes; then :
61465 cat >>confdefs.h <<_ACEOF
61466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61467 _ACEOF
61468
61469 fi
61470 done
61471
61472 else
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61474 $as_echo_n "checking for _long double round functions... " >&6; }
61475 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61476 $as_echo_n "(cached) " >&6
61477 else
61478
61479
61480 ac_ext=cpp
61481 ac_cpp='$CXXCPP $CPPFLAGS'
61482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61485
61486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61487 /* end confdefs.h. */
61488 #include <math.h>
61489 int
61490 main ()
61491 {
61492 _ceill (0); _floorl (0);
61493 ;
61494 return 0;
61495 }
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498 glibcxx_cv_func__long_double_round_use=yes
61499 else
61500 glibcxx_cv_func__long_double_round_use=no
61501 fi
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503 ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61508
61509 fi
61510
61511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61512 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61513 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61514 for ac_func in _ceill _floorl
61515 do :
61516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61518 eval as_val=\$$as_ac_var
61519 if test "x$as_val" = x""yes; then :
61520 cat >>confdefs.h <<_ACEOF
61521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61522 _ACEOF
61523
61524 fi
61525 done
61526
61527 fi
61528 fi
61529
61530
61531
61532
61533
61534
61535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61536 $as_echo_n "checking for isnanl declaration... " >&6; }
61537 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61538 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61539 $as_echo_n "(cached) " >&6
61540 else
61541
61542
61543 ac_ext=cpp
61544 ac_cpp='$CXXCPP $CPPFLAGS'
61545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61548
61549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61550 /* end confdefs.h. */
61551 #include <math.h>
61552 #ifdef HAVE_IEEEFP_H
61553 #include <ieeefp.h>
61554 #endif
61555
61556 int
61557 main ()
61558 {
61559 isnanl(0);
61560 ;
61561 return 0;
61562 }
61563 _ACEOF
61564 if ac_fn_cxx_try_compile "$LINENO"; then :
61565 glibcxx_cv_func_isnanl_use=yes
61566 else
61567 glibcxx_cv_func_isnanl_use=no
61568 fi
61569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61570 ac_ext=c
61571 ac_cpp='$CPP $CPPFLAGS'
61572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61575
61576
61577 fi
61578
61579 fi
61580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61581 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61582
61583 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61584 for ac_func in isnanl
61585 do :
61586 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61587 if test "x$ac_cv_func_isnanl" = x""yes; then :
61588 cat >>confdefs.h <<_ACEOF
61589 #define HAVE_ISNANL 1
61590 _ACEOF
61591
61592 fi
61593 done
61594
61595 else
61596
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61598 $as_echo_n "checking for _isnanl declaration... " >&6; }
61599 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61600 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61601 $as_echo_n "(cached) " >&6
61602 else
61603
61604
61605 ac_ext=cpp
61606 ac_cpp='$CXXCPP $CPPFLAGS'
61607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610
61611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61612 /* end confdefs.h. */
61613 #include <math.h>
61614 #ifdef HAVE_IEEEFP_H
61615 #include <ieeefp.h>
61616 #endif
61617
61618 int
61619 main ()
61620 {
61621 _isnanl(0);
61622 ;
61623 return 0;
61624 }
61625 _ACEOF
61626 if ac_fn_cxx_try_compile "$LINENO"; then :
61627 glibcxx_cv_func__isnanl_use=yes
61628 else
61629 glibcxx_cv_func__isnanl_use=no
61630 fi
61631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61632 ac_ext=c
61633 ac_cpp='$CPP $CPPFLAGS'
61634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637
61638
61639 fi
61640
61641 fi
61642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61643 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61644
61645 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61646 for ac_func in _isnanl
61647 do :
61648 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61649 if test "x$ac_cv_func__isnanl" = x""yes; then :
61650 cat >>confdefs.h <<_ACEOF
61651 #define HAVE__ISNANL 1
61652 _ACEOF
61653
61654 fi
61655 done
61656
61657 fi
61658 fi
61659
61660
61661
61662
61663
61664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61665 $as_echo_n "checking for isinfl declaration... " >&6; }
61666 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61667 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61668 $as_echo_n "(cached) " >&6
61669 else
61670
61671
61672 ac_ext=cpp
61673 ac_cpp='$CXXCPP $CPPFLAGS'
61674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61677
61678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61679 /* end confdefs.h. */
61680 #include <math.h>
61681 #ifdef HAVE_IEEEFP_H
61682 #include <ieeefp.h>
61683 #endif
61684
61685 int
61686 main ()
61687 {
61688 isinfl(0);
61689 ;
61690 return 0;
61691 }
61692 _ACEOF
61693 if ac_fn_cxx_try_compile "$LINENO"; then :
61694 glibcxx_cv_func_isinfl_use=yes
61695 else
61696 glibcxx_cv_func_isinfl_use=no
61697 fi
61698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61699 ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704
61705
61706 fi
61707
61708 fi
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61710 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61711
61712 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61713 for ac_func in isinfl
61714 do :
61715 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61716 if test "x$ac_cv_func_isinfl" = x""yes; then :
61717 cat >>confdefs.h <<_ACEOF
61718 #define HAVE_ISINFL 1
61719 _ACEOF
61720
61721 fi
61722 done
61723
61724 else
61725
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61727 $as_echo_n "checking for _isinfl declaration... " >&6; }
61728 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61729 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61730 $as_echo_n "(cached) " >&6
61731 else
61732
61733
61734 ac_ext=cpp
61735 ac_cpp='$CXXCPP $CPPFLAGS'
61736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739
61740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61741 /* end confdefs.h. */
61742 #include <math.h>
61743 #ifdef HAVE_IEEEFP_H
61744 #include <ieeefp.h>
61745 #endif
61746
61747 int
61748 main ()
61749 {
61750 _isinfl(0);
61751 ;
61752 return 0;
61753 }
61754 _ACEOF
61755 if ac_fn_cxx_try_compile "$LINENO"; then :
61756 glibcxx_cv_func__isinfl_use=yes
61757 else
61758 glibcxx_cv_func__isinfl_use=no
61759 fi
61760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61761 ac_ext=c
61762 ac_cpp='$CPP $CPPFLAGS'
61763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766
61767
61768 fi
61769
61770 fi
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61772 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61773
61774 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61775 for ac_func in _isinfl
61776 do :
61777 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61778 if test "x$ac_cv_func__isinfl" = x""yes; then :
61779 cat >>confdefs.h <<_ACEOF
61780 #define HAVE__ISINFL 1
61781 _ACEOF
61782
61783 fi
61784 done
61785
61786 fi
61787 fi
61788
61789
61790
61791
61792
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61794 $as_echo_n "checking for atan2l declaration... " >&6; }
61795 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61796 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61797 $as_echo_n "(cached) " >&6
61798 else
61799
61800
61801 ac_ext=cpp
61802 ac_cpp='$CXXCPP $CPPFLAGS'
61803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61806
61807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61808 /* end confdefs.h. */
61809 #include <math.h>
61810 int
61811 main ()
61812 {
61813 atan2l(0, 0);
61814 ;
61815 return 0;
61816 }
61817 _ACEOF
61818 if ac_fn_cxx_try_compile "$LINENO"; then :
61819 glibcxx_cv_func_atan2l_use=yes
61820 else
61821 glibcxx_cv_func_atan2l_use=no
61822 fi
61823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61824 ac_ext=c
61825 ac_cpp='$CPP $CPPFLAGS'
61826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61829
61830
61831 fi
61832
61833 fi
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61835 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61836
61837 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61838 for ac_func in atan2l
61839 do :
61840 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61841 if test "x$ac_cv_func_atan2l" = x""yes; then :
61842 cat >>confdefs.h <<_ACEOF
61843 #define HAVE_ATAN2L 1
61844 _ACEOF
61845
61846 fi
61847 done
61848
61849 else
61850
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61852 $as_echo_n "checking for _atan2l declaration... " >&6; }
61853 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61854 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61855 $as_echo_n "(cached) " >&6
61856 else
61857
61858
61859 ac_ext=cpp
61860 ac_cpp='$CXXCPP $CPPFLAGS'
61861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864
61865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61866 /* end confdefs.h. */
61867 #include <math.h>
61868 int
61869 main ()
61870 {
61871 _atan2l(0, 0);
61872 ;
61873 return 0;
61874 }
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877 glibcxx_cv_func__atan2l_use=yes
61878 else
61879 glibcxx_cv_func__atan2l_use=no
61880 fi
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882 ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887
61888
61889 fi
61890
61891 fi
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61893 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61894
61895 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61896 for ac_func in _atan2l
61897 do :
61898 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61899 if test "x$ac_cv_func__atan2l" = x""yes; then :
61900 cat >>confdefs.h <<_ACEOF
61901 #define HAVE__ATAN2L 1
61902 _ACEOF
61903
61904 fi
61905 done
61906
61907 fi
61908 fi
61909
61910
61911
61912
61913
61914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61915 $as_echo_n "checking for expl declaration... " >&6; }
61916 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61917 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61918 $as_echo_n "(cached) " >&6
61919 else
61920
61921
61922 ac_ext=cpp
61923 ac_cpp='$CXXCPP $CPPFLAGS'
61924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61927
61928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61929 /* end confdefs.h. */
61930 #include <math.h>
61931 #ifdef HAVE_IEEEFP_H
61932 #include <ieeefp.h>
61933 #endif
61934
61935 int
61936 main ()
61937 {
61938 expl(0);
61939 ;
61940 return 0;
61941 }
61942 _ACEOF
61943 if ac_fn_cxx_try_compile "$LINENO"; then :
61944 glibcxx_cv_func_expl_use=yes
61945 else
61946 glibcxx_cv_func_expl_use=no
61947 fi
61948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61949 ac_ext=c
61950 ac_cpp='$CPP $CPPFLAGS'
61951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61954
61955
61956 fi
61957
61958 fi
61959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61960 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61961
61962 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61963 for ac_func in expl
61964 do :
61965 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61966 if test "x$ac_cv_func_expl" = x""yes; then :
61967 cat >>confdefs.h <<_ACEOF
61968 #define HAVE_EXPL 1
61969 _ACEOF
61970
61971 fi
61972 done
61973
61974 else
61975
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61977 $as_echo_n "checking for _expl declaration... " >&6; }
61978 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61979 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61980 $as_echo_n "(cached) " >&6
61981 else
61982
61983
61984 ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989
61990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h. */
61992 #include <math.h>
61993 #ifdef HAVE_IEEEFP_H
61994 #include <ieeefp.h>
61995 #endif
61996
61997 int
61998 main ()
61999 {
62000 _expl(0);
62001 ;
62002 return 0;
62003 }
62004 _ACEOF
62005 if ac_fn_cxx_try_compile "$LINENO"; then :
62006 glibcxx_cv_func__expl_use=yes
62007 else
62008 glibcxx_cv_func__expl_use=no
62009 fi
62010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62011 ac_ext=c
62012 ac_cpp='$CPP $CPPFLAGS'
62013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016
62017
62018 fi
62019
62020 fi
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62022 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62023
62024 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62025 for ac_func in _expl
62026 do :
62027 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62028 if test "x$ac_cv_func__expl" = x""yes; then :
62029 cat >>confdefs.h <<_ACEOF
62030 #define HAVE__EXPL 1
62031 _ACEOF
62032
62033 fi
62034 done
62035
62036 fi
62037 fi
62038
62039
62040
62041
62042
62043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62044 $as_echo_n "checking for fabsl declaration... " >&6; }
62045 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62046 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62047 $as_echo_n "(cached) " >&6
62048 else
62049
62050
62051 ac_ext=cpp
62052 ac_cpp='$CXXCPP $CPPFLAGS'
62053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056
62057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62058 /* end confdefs.h. */
62059 #include <math.h>
62060 #ifdef HAVE_IEEEFP_H
62061 #include <ieeefp.h>
62062 #endif
62063
62064 int
62065 main ()
62066 {
62067 fabsl(0);
62068 ;
62069 return 0;
62070 }
62071 _ACEOF
62072 if ac_fn_cxx_try_compile "$LINENO"; then :
62073 glibcxx_cv_func_fabsl_use=yes
62074 else
62075 glibcxx_cv_func_fabsl_use=no
62076 fi
62077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62078 ac_ext=c
62079 ac_cpp='$CPP $CPPFLAGS'
62080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083
62084
62085 fi
62086
62087 fi
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62089 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62090
62091 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62092 for ac_func in fabsl
62093 do :
62094 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62095 if test "x$ac_cv_func_fabsl" = x""yes; then :
62096 cat >>confdefs.h <<_ACEOF
62097 #define HAVE_FABSL 1
62098 _ACEOF
62099
62100 fi
62101 done
62102
62103 else
62104
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62106 $as_echo_n "checking for _fabsl declaration... " >&6; }
62107 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62108 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62111
62112
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62122 #ifdef HAVE_IEEEFP_H
62123 #include <ieeefp.h>
62124 #endif
62125
62126 int
62127 main ()
62128 {
62129 _fabsl(0);
62130 ;
62131 return 0;
62132 }
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135 glibcxx_cv_func__fabsl_use=yes
62136 else
62137 glibcxx_cv_func__fabsl_use=no
62138 fi
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62145
62146
62147 fi
62148
62149 fi
62150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62151 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62152
62153 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62154 for ac_func in _fabsl
62155 do :
62156 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62157 if test "x$ac_cv_func__fabsl" = x""yes; then :
62158 cat >>confdefs.h <<_ACEOF
62159 #define HAVE__FABSL 1
62160 _ACEOF
62161
62162 fi
62163 done
62164
62165 fi
62166 fi
62167
62168
62169
62170
62171
62172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62173 $as_echo_n "checking for fmodl declaration... " >&6; }
62174 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62175 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62176 $as_echo_n "(cached) " >&6
62177 else
62178
62179
62180 ac_ext=cpp
62181 ac_cpp='$CXXCPP $CPPFLAGS'
62182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62185
62186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62187 /* end confdefs.h. */
62188 #include <math.h>
62189 int
62190 main ()
62191 {
62192 fmodl(0, 0);
62193 ;
62194 return 0;
62195 }
62196 _ACEOF
62197 if ac_fn_cxx_try_compile "$LINENO"; then :
62198 glibcxx_cv_func_fmodl_use=yes
62199 else
62200 glibcxx_cv_func_fmodl_use=no
62201 fi
62202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62203 ac_ext=c
62204 ac_cpp='$CPP $CPPFLAGS'
62205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62208
62209
62210 fi
62211
62212 fi
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62214 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62215
62216 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62217 for ac_func in fmodl
62218 do :
62219 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62220 if test "x$ac_cv_func_fmodl" = x""yes; then :
62221 cat >>confdefs.h <<_ACEOF
62222 #define HAVE_FMODL 1
62223 _ACEOF
62224
62225 fi
62226 done
62227
62228 else
62229
62230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62231 $as_echo_n "checking for _fmodl declaration... " >&6; }
62232 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62233 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62234 $as_echo_n "(cached) " >&6
62235 else
62236
62237
62238 ac_ext=cpp
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62243
62244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62245 /* end confdefs.h. */
62246 #include <math.h>
62247 int
62248 main ()
62249 {
62250 _fmodl(0, 0);
62251 ;
62252 return 0;
62253 }
62254 _ACEOF
62255 if ac_fn_cxx_try_compile "$LINENO"; then :
62256 glibcxx_cv_func__fmodl_use=yes
62257 else
62258 glibcxx_cv_func__fmodl_use=no
62259 fi
62260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62261 ac_ext=c
62262 ac_cpp='$CPP $CPPFLAGS'
62263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62266
62267
62268 fi
62269
62270 fi
62271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62272 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62273
62274 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62275 for ac_func in _fmodl
62276 do :
62277 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62278 if test "x$ac_cv_func__fmodl" = x""yes; then :
62279 cat >>confdefs.h <<_ACEOF
62280 #define HAVE__FMODL 1
62281 _ACEOF
62282
62283 fi
62284 done
62285
62286 fi
62287 fi
62288
62289
62290
62291
62292
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62294 $as_echo_n "checking for frexpl declaration... " >&6; }
62295 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62296 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62297 $as_echo_n "(cached) " >&6
62298 else
62299
62300
62301 ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306
62307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h. */
62309 #include <math.h>
62310 int
62311 main ()
62312 {
62313 frexpl(0, 0);
62314 ;
62315 return 0;
62316 }
62317 _ACEOF
62318 if ac_fn_cxx_try_compile "$LINENO"; then :
62319 glibcxx_cv_func_frexpl_use=yes
62320 else
62321 glibcxx_cv_func_frexpl_use=no
62322 fi
62323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62324 ac_ext=c
62325 ac_cpp='$CPP $CPPFLAGS'
62326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62329
62330
62331 fi
62332
62333 fi
62334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62335 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62336
62337 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62338 for ac_func in frexpl
62339 do :
62340 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62341 if test "x$ac_cv_func_frexpl" = x""yes; then :
62342 cat >>confdefs.h <<_ACEOF
62343 #define HAVE_FREXPL 1
62344 _ACEOF
62345
62346 fi
62347 done
62348
62349 else
62350
62351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62352 $as_echo_n "checking for _frexpl declaration... " >&6; }
62353 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62354 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62355 $as_echo_n "(cached) " >&6
62356 else
62357
62358
62359 ac_ext=cpp
62360 ac_cpp='$CXXCPP $CPPFLAGS'
62361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62364
62365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62366 /* end confdefs.h. */
62367 #include <math.h>
62368 int
62369 main ()
62370 {
62371 _frexpl(0, 0);
62372 ;
62373 return 0;
62374 }
62375 _ACEOF
62376 if ac_fn_cxx_try_compile "$LINENO"; then :
62377 glibcxx_cv_func__frexpl_use=yes
62378 else
62379 glibcxx_cv_func__frexpl_use=no
62380 fi
62381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62382 ac_ext=c
62383 ac_cpp='$CPP $CPPFLAGS'
62384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62387
62388
62389 fi
62390
62391 fi
62392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62393 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62394
62395 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62396 for ac_func in _frexpl
62397 do :
62398 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62399 if test "x$ac_cv_func__frexpl" = x""yes; then :
62400 cat >>confdefs.h <<_ACEOF
62401 #define HAVE__FREXPL 1
62402 _ACEOF
62403
62404 fi
62405 done
62406
62407 fi
62408 fi
62409
62410
62411
62412
62413
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62415 $as_echo_n "checking for hypotl declaration... " >&6; }
62416 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62417 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62418 $as_echo_n "(cached) " >&6
62419 else
62420
62421
62422 ac_ext=cpp
62423 ac_cpp='$CXXCPP $CPPFLAGS'
62424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62427
62428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62429 /* end confdefs.h. */
62430 #include <math.h>
62431 int
62432 main ()
62433 {
62434 hypotl(0, 0);
62435 ;
62436 return 0;
62437 }
62438 _ACEOF
62439 if ac_fn_cxx_try_compile "$LINENO"; then :
62440 glibcxx_cv_func_hypotl_use=yes
62441 else
62442 glibcxx_cv_func_hypotl_use=no
62443 fi
62444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62445 ac_ext=c
62446 ac_cpp='$CPP $CPPFLAGS'
62447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62450
62451
62452 fi
62453
62454 fi
62455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62456 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62457
62458 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62459 for ac_func in hypotl
62460 do :
62461 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62462 if test "x$ac_cv_func_hypotl" = x""yes; then :
62463 cat >>confdefs.h <<_ACEOF
62464 #define HAVE_HYPOTL 1
62465 _ACEOF
62466
62467 fi
62468 done
62469
62470 else
62471
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62473 $as_echo_n "checking for _hypotl declaration... " >&6; }
62474 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62475 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62476 $as_echo_n "(cached) " >&6
62477 else
62478
62479
62480 ac_ext=cpp
62481 ac_cpp='$CXXCPP $CPPFLAGS'
62482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62485
62486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62487 /* end confdefs.h. */
62488 #include <math.h>
62489 int
62490 main ()
62491 {
62492 _hypotl(0, 0);
62493 ;
62494 return 0;
62495 }
62496 _ACEOF
62497 if ac_fn_cxx_try_compile "$LINENO"; then :
62498 glibcxx_cv_func__hypotl_use=yes
62499 else
62500 glibcxx_cv_func__hypotl_use=no
62501 fi
62502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62503 ac_ext=c
62504 ac_cpp='$CPP $CPPFLAGS'
62505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62508
62509
62510 fi
62511
62512 fi
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62514 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62515
62516 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62517 for ac_func in _hypotl
62518 do :
62519 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62520 if test "x$ac_cv_func__hypotl" = x""yes; then :
62521 cat >>confdefs.h <<_ACEOF
62522 #define HAVE__HYPOTL 1
62523 _ACEOF
62524
62525 fi
62526 done
62527
62528 fi
62529 fi
62530
62531
62532
62533
62534
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62536 $as_echo_n "checking for ldexpl declaration... " >&6; }
62537 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62538 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62541
62542
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62548
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62552 int
62553 main ()
62554 {
62555 ldexpl(0, 0);
62556 ;
62557 return 0;
62558 }
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561 glibcxx_cv_func_ldexpl_use=yes
62562 else
62563 glibcxx_cv_func_ldexpl_use=no
62564 fi
62565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62566 ac_ext=c
62567 ac_cpp='$CPP $CPPFLAGS'
62568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62571
62572
62573 fi
62574
62575 fi
62576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62577 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62578
62579 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62580 for ac_func in ldexpl
62581 do :
62582 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62583 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62584 cat >>confdefs.h <<_ACEOF
62585 #define HAVE_LDEXPL 1
62586 _ACEOF
62587
62588 fi
62589 done
62590
62591 else
62592
62593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62594 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62595 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62596 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62597 $as_echo_n "(cached) " >&6
62598 else
62599
62600
62601 ac_ext=cpp
62602 ac_cpp='$CXXCPP $CPPFLAGS'
62603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62606
62607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62608 /* end confdefs.h. */
62609 #include <math.h>
62610 int
62611 main ()
62612 {
62613 _ldexpl(0, 0);
62614 ;
62615 return 0;
62616 }
62617 _ACEOF
62618 if ac_fn_cxx_try_compile "$LINENO"; then :
62619 glibcxx_cv_func__ldexpl_use=yes
62620 else
62621 glibcxx_cv_func__ldexpl_use=no
62622 fi
62623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62624 ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629
62630
62631 fi
62632
62633 fi
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62635 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62636
62637 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62638 for ac_func in _ldexpl
62639 do :
62640 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62641 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62642 cat >>confdefs.h <<_ACEOF
62643 #define HAVE__LDEXPL 1
62644 _ACEOF
62645
62646 fi
62647 done
62648
62649 fi
62650 fi
62651
62652
62653
62654
62655
62656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62657 $as_echo_n "checking for logl declaration... " >&6; }
62658 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62659 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62660 $as_echo_n "(cached) " >&6
62661 else
62662
62663
62664 ac_ext=cpp
62665 ac_cpp='$CXXCPP $CPPFLAGS'
62666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62669
62670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62671 /* end confdefs.h. */
62672 #include <math.h>
62673 #ifdef HAVE_IEEEFP_H
62674 #include <ieeefp.h>
62675 #endif
62676
62677 int
62678 main ()
62679 {
62680 logl(0);
62681 ;
62682 return 0;
62683 }
62684 _ACEOF
62685 if ac_fn_cxx_try_compile "$LINENO"; then :
62686 glibcxx_cv_func_logl_use=yes
62687 else
62688 glibcxx_cv_func_logl_use=no
62689 fi
62690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62691 ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696
62697
62698 fi
62699
62700 fi
62701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62702 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62703
62704 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62705 for ac_func in logl
62706 do :
62707 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62708 if test "x$ac_cv_func_logl" = x""yes; then :
62709 cat >>confdefs.h <<_ACEOF
62710 #define HAVE_LOGL 1
62711 _ACEOF
62712
62713 fi
62714 done
62715
62716 else
62717
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62719 $as_echo_n "checking for _logl declaration... " >&6; }
62720 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62721 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62722 $as_echo_n "(cached) " >&6
62723 else
62724
62725
62726 ac_ext=cpp
62727 ac_cpp='$CXXCPP $CPPFLAGS'
62728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731
62732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62733 /* end confdefs.h. */
62734 #include <math.h>
62735 #ifdef HAVE_IEEEFP_H
62736 #include <ieeefp.h>
62737 #endif
62738
62739 int
62740 main ()
62741 {
62742 _logl(0);
62743 ;
62744 return 0;
62745 }
62746 _ACEOF
62747 if ac_fn_cxx_try_compile "$LINENO"; then :
62748 glibcxx_cv_func__logl_use=yes
62749 else
62750 glibcxx_cv_func__logl_use=no
62751 fi
62752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62753 ac_ext=c
62754 ac_cpp='$CPP $CPPFLAGS'
62755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758
62759
62760 fi
62761
62762 fi
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62764 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62765
62766 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62767 for ac_func in _logl
62768 do :
62769 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62770 if test "x$ac_cv_func__logl" = x""yes; then :
62771 cat >>confdefs.h <<_ACEOF
62772 #define HAVE__LOGL 1
62773 _ACEOF
62774
62775 fi
62776 done
62777
62778 fi
62779 fi
62780
62781
62782
62783
62784
62785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62786 $as_echo_n "checking for log10l declaration... " >&6; }
62787 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62788 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62789 $as_echo_n "(cached) " >&6
62790 else
62791
62792
62793 ac_ext=cpp
62794 ac_cpp='$CXXCPP $CPPFLAGS'
62795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62798
62799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62800 /* end confdefs.h. */
62801 #include <math.h>
62802 #ifdef HAVE_IEEEFP_H
62803 #include <ieeefp.h>
62804 #endif
62805
62806 int
62807 main ()
62808 {
62809 log10l(0);
62810 ;
62811 return 0;
62812 }
62813 _ACEOF
62814 if ac_fn_cxx_try_compile "$LINENO"; then :
62815 glibcxx_cv_func_log10l_use=yes
62816 else
62817 glibcxx_cv_func_log10l_use=no
62818 fi
62819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62820 ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62825
62826
62827 fi
62828
62829 fi
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62831 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62832
62833 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62834 for ac_func in log10l
62835 do :
62836 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62837 if test "x$ac_cv_func_log10l" = x""yes; then :
62838 cat >>confdefs.h <<_ACEOF
62839 #define HAVE_LOG10L 1
62840 _ACEOF
62841
62842 fi
62843 done
62844
62845 else
62846
62847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62848 $as_echo_n "checking for _log10l declaration... " >&6; }
62849 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62850 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62851 $as_echo_n "(cached) " >&6
62852 else
62853
62854
62855 ac_ext=cpp
62856 ac_cpp='$CXXCPP $CPPFLAGS'
62857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62860
62861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62862 /* end confdefs.h. */
62863 #include <math.h>
62864 #ifdef HAVE_IEEEFP_H
62865 #include <ieeefp.h>
62866 #endif
62867
62868 int
62869 main ()
62870 {
62871 _log10l(0);
62872 ;
62873 return 0;
62874 }
62875 _ACEOF
62876 if ac_fn_cxx_try_compile "$LINENO"; then :
62877 glibcxx_cv_func__log10l_use=yes
62878 else
62879 glibcxx_cv_func__log10l_use=no
62880 fi
62881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62882 ac_ext=c
62883 ac_cpp='$CPP $CPPFLAGS'
62884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62887
62888
62889 fi
62890
62891 fi
62892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62893 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62894
62895 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62896 for ac_func in _log10l
62897 do :
62898 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62899 if test "x$ac_cv_func__log10l" = x""yes; then :
62900 cat >>confdefs.h <<_ACEOF
62901 #define HAVE__LOG10L 1
62902 _ACEOF
62903
62904 fi
62905 done
62906
62907 fi
62908 fi
62909
62910
62911
62912
62913
62914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62915 $as_echo_n "checking for modfl declaration... " >&6; }
62916 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62917 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62918 $as_echo_n "(cached) " >&6
62919 else
62920
62921
62922 ac_ext=cpp
62923 ac_cpp='$CXXCPP $CPPFLAGS'
62924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62927
62928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62929 /* end confdefs.h. */
62930 #include <math.h>
62931 int
62932 main ()
62933 {
62934 modfl(0, 0);
62935 ;
62936 return 0;
62937 }
62938 _ACEOF
62939 if ac_fn_cxx_try_compile "$LINENO"; then :
62940 glibcxx_cv_func_modfl_use=yes
62941 else
62942 glibcxx_cv_func_modfl_use=no
62943 fi
62944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62945 ac_ext=c
62946 ac_cpp='$CPP $CPPFLAGS'
62947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62950
62951
62952 fi
62953
62954 fi
62955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62956 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62957
62958 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62959 for ac_func in modfl
62960 do :
62961 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62962 if test "x$ac_cv_func_modfl" = x""yes; then :
62963 cat >>confdefs.h <<_ACEOF
62964 #define HAVE_MODFL 1
62965 _ACEOF
62966
62967 fi
62968 done
62969
62970 else
62971
62972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62973 $as_echo_n "checking for _modfl declaration... " >&6; }
62974 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62975 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62976 $as_echo_n "(cached) " >&6
62977 else
62978
62979
62980 ac_ext=cpp
62981 ac_cpp='$CXXCPP $CPPFLAGS'
62982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62985
62986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62987 /* end confdefs.h. */
62988 #include <math.h>
62989 int
62990 main ()
62991 {
62992 _modfl(0, 0);
62993 ;
62994 return 0;
62995 }
62996 _ACEOF
62997 if ac_fn_cxx_try_compile "$LINENO"; then :
62998 glibcxx_cv_func__modfl_use=yes
62999 else
63000 glibcxx_cv_func__modfl_use=no
63001 fi
63002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63003 ac_ext=c
63004 ac_cpp='$CPP $CPPFLAGS'
63005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63008
63009
63010 fi
63011
63012 fi
63013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63014 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63015
63016 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63017 for ac_func in _modfl
63018 do :
63019 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63020 if test "x$ac_cv_func__modfl" = x""yes; then :
63021 cat >>confdefs.h <<_ACEOF
63022 #define HAVE__MODFL 1
63023 _ACEOF
63024
63025 fi
63026 done
63027
63028 fi
63029 fi
63030
63031
63032
63033
63034
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63036 $as_echo_n "checking for powl declaration... " >&6; }
63037 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63038 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63039 $as_echo_n "(cached) " >&6
63040 else
63041
63042
63043 ac_ext=cpp
63044 ac_cpp='$CXXCPP $CPPFLAGS'
63045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63048
63049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63050 /* end confdefs.h. */
63051 #include <math.h>
63052 int
63053 main ()
63054 {
63055 powl(0, 0);
63056 ;
63057 return 0;
63058 }
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061 glibcxx_cv_func_powl_use=yes
63062 else
63063 glibcxx_cv_func_powl_use=no
63064 fi
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066 ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63071
63072
63073 fi
63074
63075 fi
63076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63077 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63078
63079 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63080 for ac_func in powl
63081 do :
63082 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63083 if test "x$ac_cv_func_powl" = x""yes; then :
63084 cat >>confdefs.h <<_ACEOF
63085 #define HAVE_POWL 1
63086 _ACEOF
63087
63088 fi
63089 done
63090
63091 else
63092
63093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63094 $as_echo_n "checking for _powl declaration... " >&6; }
63095 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63096 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63097 $as_echo_n "(cached) " >&6
63098 else
63099
63100
63101 ac_ext=cpp
63102 ac_cpp='$CXXCPP $CPPFLAGS'
63103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63106
63107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63108 /* end confdefs.h. */
63109 #include <math.h>
63110 int
63111 main ()
63112 {
63113 _powl(0, 0);
63114 ;
63115 return 0;
63116 }
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119 glibcxx_cv_func__powl_use=yes
63120 else
63121 glibcxx_cv_func__powl_use=no
63122 fi
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124 ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129
63130
63131 fi
63132
63133 fi
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63135 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63136
63137 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63138 for ac_func in _powl
63139 do :
63140 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63141 if test "x$ac_cv_func__powl" = x""yes; then :
63142 cat >>confdefs.h <<_ACEOF
63143 #define HAVE__POWL 1
63144 _ACEOF
63145
63146 fi
63147 done
63148
63149 fi
63150 fi
63151
63152
63153
63154
63155
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63157 $as_echo_n "checking for sqrtl declaration... " >&6; }
63158 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63159 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63160 $as_echo_n "(cached) " >&6
63161 else
63162
63163
63164 ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63169
63170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h. */
63172 #include <math.h>
63173 #ifdef HAVE_IEEEFP_H
63174 #include <ieeefp.h>
63175 #endif
63176
63177 int
63178 main ()
63179 {
63180 sqrtl(0);
63181 ;
63182 return 0;
63183 }
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186 glibcxx_cv_func_sqrtl_use=yes
63187 else
63188 glibcxx_cv_func_sqrtl_use=no
63189 fi
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191 ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63196
63197
63198 fi
63199
63200 fi
63201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63202 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63203
63204 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63205 for ac_func in sqrtl
63206 do :
63207 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63208 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63209 cat >>confdefs.h <<_ACEOF
63210 #define HAVE_SQRTL 1
63211 _ACEOF
63212
63213 fi
63214 done
63215
63216 else
63217
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63219 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63220 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63221 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63222 $as_echo_n "(cached) " >&6
63223 else
63224
63225
63226 ac_ext=cpp
63227 ac_cpp='$CXXCPP $CPPFLAGS'
63228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63231
63232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63233 /* end confdefs.h. */
63234 #include <math.h>
63235 #ifdef HAVE_IEEEFP_H
63236 #include <ieeefp.h>
63237 #endif
63238
63239 int
63240 main ()
63241 {
63242 _sqrtl(0);
63243 ;
63244 return 0;
63245 }
63246 _ACEOF
63247 if ac_fn_cxx_try_compile "$LINENO"; then :
63248 glibcxx_cv_func__sqrtl_use=yes
63249 else
63250 glibcxx_cv_func__sqrtl_use=no
63251 fi
63252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63253 ac_ext=c
63254 ac_cpp='$CPP $CPPFLAGS'
63255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63258
63259
63260 fi
63261
63262 fi
63263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63264 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63265
63266 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63267 for ac_func in _sqrtl
63268 do :
63269 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63270 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63271 cat >>confdefs.h <<_ACEOF
63272 #define HAVE__SQRTL 1
63273 _ACEOF
63274
63275 fi
63276 done
63277
63278 fi
63279 fi
63280
63281
63282
63283
63284
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63286 $as_echo_n "checking for sincosl declaration... " >&6; }
63287 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63288 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63291
63292
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63298
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63302 int
63303 main ()
63304 {
63305 sincosl(0, 0, 0);
63306 ;
63307 return 0;
63308 }
63309 _ACEOF
63310 if ac_fn_cxx_try_compile "$LINENO"; then :
63311 glibcxx_cv_func_sincosl_use=yes
63312 else
63313 glibcxx_cv_func_sincosl_use=no
63314 fi
63315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63316 ac_ext=c
63317 ac_cpp='$CPP $CPPFLAGS'
63318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63321
63322
63323 fi
63324
63325 fi
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63327 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63328
63329 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63330 for ac_func in sincosl
63331 do :
63332 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63333 if test "x$ac_cv_func_sincosl" = x""yes; then :
63334 cat >>confdefs.h <<_ACEOF
63335 #define HAVE_SINCOSL 1
63336 _ACEOF
63337
63338 fi
63339 done
63340
63341 else
63342
63343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63344 $as_echo_n "checking for _sincosl declaration... " >&6; }
63345 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63346 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63347 $as_echo_n "(cached) " >&6
63348 else
63349
63350
63351 ac_ext=cpp
63352 ac_cpp='$CXXCPP $CPPFLAGS'
63353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63356
63357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63358 /* end confdefs.h. */
63359 #include <math.h>
63360 int
63361 main ()
63362 {
63363 _sincosl(0, 0, 0);
63364 ;
63365 return 0;
63366 }
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func__sincosl_use=yes
63370 else
63371 glibcxx_cv_func__sincosl_use=no
63372 fi
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379
63380
63381 fi
63382
63383 fi
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63385 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63386
63387 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63388 for ac_func in _sincosl
63389 do :
63390 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63391 if test "x$ac_cv_func__sincosl" = x""yes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE__SINCOSL 1
63394 _ACEOF
63395
63396 fi
63397 done
63398
63399 fi
63400 fi
63401
63402
63403
63404
63405
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63407 $as_echo_n "checking for finitel declaration... " >&6; }
63408 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63409 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63412
63413
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63419
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63423 #ifdef HAVE_IEEEFP_H
63424 #include <ieeefp.h>
63425 #endif
63426
63427 int
63428 main ()
63429 {
63430 finitel(0);
63431 ;
63432 return 0;
63433 }
63434 _ACEOF
63435 if ac_fn_cxx_try_compile "$LINENO"; then :
63436 glibcxx_cv_func_finitel_use=yes
63437 else
63438 glibcxx_cv_func_finitel_use=no
63439 fi
63440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63441 ac_ext=c
63442 ac_cpp='$CPP $CPPFLAGS'
63443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63446
63447
63448 fi
63449
63450 fi
63451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63452 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63453
63454 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63455 for ac_func in finitel
63456 do :
63457 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63458 if test "x$ac_cv_func_finitel" = x""yes; then :
63459 cat >>confdefs.h <<_ACEOF
63460 #define HAVE_FINITEL 1
63461 _ACEOF
63462
63463 fi
63464 done
63465
63466 else
63467
63468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63469 $as_echo_n "checking for _finitel declaration... " >&6; }
63470 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63471 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63472 $as_echo_n "(cached) " >&6
63473 else
63474
63475
63476 ac_ext=cpp
63477 ac_cpp='$CXXCPP $CPPFLAGS'
63478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63481
63482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63483 /* end confdefs.h. */
63484 #include <math.h>
63485 #ifdef HAVE_IEEEFP_H
63486 #include <ieeefp.h>
63487 #endif
63488
63489 int
63490 main ()
63491 {
63492 _finitel(0);
63493 ;
63494 return 0;
63495 }
63496 _ACEOF
63497 if ac_fn_cxx_try_compile "$LINENO"; then :
63498 glibcxx_cv_func__finitel_use=yes
63499 else
63500 glibcxx_cv_func__finitel_use=no
63501 fi
63502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63503 ac_ext=c
63504 ac_cpp='$CPP $CPPFLAGS'
63505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63508
63509
63510 fi
63511
63512 fi
63513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63514 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63515
63516 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63517 for ac_func in _finitel
63518 do :
63519 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63520 if test "x$ac_cv_func__finitel" = x""yes; then :
63521 cat >>confdefs.h <<_ACEOF
63522 #define HAVE__FINITEL 1
63523 _ACEOF
63524
63525 fi
63526 done
63527
63528 fi
63529 fi
63530
63531
63532
63533
63534 LIBS="$ac_save_LIBS"
63535 CXXFLAGS="$ac_save_CXXFLAGS"
63536
63537
63538 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63539 ac_save_CXXFLAGS="$CXXFLAGS"
63540 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63541
63542
63543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63544 $as_echo_n "checking for strtold declaration... " >&6; }
63545 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63546 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63547 $as_echo_n "(cached) " >&6
63548 else
63549
63550
63551 ac_ext=cpp
63552 ac_cpp='$CXXCPP $CPPFLAGS'
63553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63556
63557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558 /* end confdefs.h. */
63559 #include <stdlib.h>
63560 int
63561 main ()
63562 {
63563 strtold(0, 0);
63564 ;
63565 return 0;
63566 }
63567 _ACEOF
63568 if ac_fn_cxx_try_compile "$LINENO"; then :
63569 glibcxx_cv_func_strtold_use=yes
63570 else
63571 glibcxx_cv_func_strtold_use=no
63572 fi
63573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63574 ac_ext=c
63575 ac_cpp='$CPP $CPPFLAGS'
63576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63579
63580
63581 fi
63582
63583 fi
63584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63585 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63586 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63587 for ac_func in strtold
63588 do :
63589 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63590 if test "x$ac_cv_func_strtold" = x""yes; then :
63591 cat >>confdefs.h <<_ACEOF
63592 #define HAVE_STRTOLD 1
63593 _ACEOF
63594
63595 fi
63596 done
63597
63598 fi
63599
63600
63601
63602
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63604 $as_echo_n "checking for strtof declaration... " >&6; }
63605 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63606 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63609
63610
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <stdlib.h>
63620 int
63621 main ()
63622 {
63623 strtof(0, 0);
63624 ;
63625 return 0;
63626 }
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629 glibcxx_cv_func_strtof_use=yes
63630 else
63631 glibcxx_cv_func_strtof_use=no
63632 fi
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639
63640
63641 fi
63642
63643 fi
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63645 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63646 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63647 for ac_func in strtof
63648 do :
63649 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63650 if test "x$ac_cv_func_strtof" = x""yes; then :
63651 cat >>confdefs.h <<_ACEOF
63652 #define HAVE_STRTOF 1
63653 _ACEOF
63654
63655 fi
63656 done
63657
63658 fi
63659
63660
63661
63662
63663 CXXFLAGS="$ac_save_CXXFLAGS"
63664
63665 ;;
63666 *-solaris*)
63667 case "$target" in
63668 *-solaris2.9 | *-solaris2.10)
63669
63670 # If we're not using GNU ld, then there's no point in even trying these
63671 # tests. Check for that first. We should have already tested for gld
63672 # by now (in libtool), but require it now just to be safe...
63673 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63674 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63675
63676
63677
63678 # The name set by libtool depends on the version of libtool. Shame on us
63679 # for depending on an impl detail, but c'est la vie. Older versions used
63680 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63681 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63682 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63683 # set (hence we're using an older libtool), then set it.
63684 if test x${with_gnu_ld+set} != xset; then
63685 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63686 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63687 with_gnu_ld=no
63688 else
63689 with_gnu_ld=$ac_cv_prog_gnu_ld
63690 fi
63691 fi
63692
63693 # Start by getting the version number. I think the libtool test already
63694 # does some of this, but throws away the result.
63695 glibcxx_ld_is_gold=no
63696 if test x"$with_gnu_ld" = x"yes"; then
63697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63698 $as_echo_n "checking for ld version... " >&6; }
63699
63700 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63701 glibcxx_ld_is_gold=yes
63702 fi
63703 ldver=`$LD --version 2>/dev/null |
63704 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'`
63705
63706 glibcxx_gnu_ld_version=`echo $ldver | \
63707 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63709 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63710 fi
63711
63712 # Set --gc-sections.
63713 glibcxx_have_gc_sections=no
63714 if test "$glibcxx_ld_is_gold" = "yes"; then
63715 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63716 glibcxx_have_gc_sections=yes
63717 fi
63718 else
63719 glibcxx_gcsections_min_ld=21602
63720 if test x"$with_gnu_ld" = x"yes" &&
63721 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63722 glibcxx_have_gc_sections=yes
63723 fi
63724 fi
63725 if test "$glibcxx_have_gc_sections" = "yes"; then
63726 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63727 # NB: This flag only works reliably after 2.16.1. Configure tests
63728 # for this are difficult, so hard wire a value that should work.
63729
63730 ac_test_CFLAGS="${CFLAGS+set}"
63731 ac_save_CFLAGS="$CFLAGS"
63732 CFLAGS='-Wl,--gc-sections'
63733
63734 # Check for -Wl,--gc-sections
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63736 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63737 if test x$gcc_no_link = xyes; then
63738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63739 fi
63740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63741 /* end confdefs.h. */
63742 int one(void) { return 1; }
63743 int two(void) { return 2; }
63744
63745 int
63746 main ()
63747 {
63748 two();
63749 ;
63750 return 0;
63751 }
63752 _ACEOF
63753 if ac_fn_c_try_link "$LINENO"; then :
63754 ac_gcsections=yes
63755 else
63756 ac_gcsections=no
63757 fi
63758 rm -f core conftest.err conftest.$ac_objext \
63759 conftest$ac_exeext conftest.$ac_ext
63760 if test "$ac_gcsections" = "yes"; then
63761 rm -f conftest.c
63762 touch conftest.c
63763 if $CC -c conftest.c; then
63764 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63765 grep "Warning: gc-sections option ignored" > /dev/null; then
63766 ac_gcsections=no
63767 fi
63768 fi
63769 rm -f conftest.c conftest.o conftest
63770 fi
63771 if test "$ac_gcsections" = "yes"; then
63772 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63773 fi
63774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63775 $as_echo "$ac_gcsections" >&6; }
63776
63777 if test "$ac_test_CFLAGS" = set; then
63778 CFLAGS="$ac_save_CFLAGS"
63779 else
63780 # this is the suspicious part
63781 CFLAGS=''
63782 fi
63783 fi
63784
63785 # Set -z,relro.
63786 # Note this is only for shared objects.
63787 ac_ld_relro=no
63788 if test x"$with_gnu_ld" = x"yes"; then
63789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63790 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63791 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63792 if test -n "$cxx_z_relo"; then
63793 OPT_LDFLAGS="-Wl,-z,relro"
63794 ac_ld_relro=yes
63795 fi
63796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63797 $as_echo "$ac_ld_relro" >&6; }
63798 fi
63799
63800 # Set linker optimization flags.
63801 if test x"$with_gnu_ld" = x"yes"; then
63802 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63803 fi
63804
63805
63806
63807
63808 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63809
63810 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63811
63812 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63813
63814 # All of the dependencies for wide character support are here, so
63815 # turn it on.
63816 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63817
63818 ;;
63819 esac
63820 case "$target" in
63821 *-*-solaris2.10)
63822 # These two C99 functions are present only in Solaris >= 10
63823 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63824
63825 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63826
63827 ;;
63828 esac
63829 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63830
63831 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63832
63833 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63834
63835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63836
63837 ;;
63838 *-tpf)
63839 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63840 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63841
63842 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63843
63844 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63845
63846 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63847
63848 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63849
63850 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63851
63852 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63853
63854 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63855
63856 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63857
63858 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63859
63860 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63861
63862 if test x"long_double_math_on_this_cpu" = x"yes"; then
63863 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63864
63865 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63866
63867 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63868
63869 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63870
63871 fi
63872 ;;
63873 *-*vms*)
63874 # Check for available headers.
63875 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63876
63877 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63878 ac_save_CXXFLAGS="$CXXFLAGS"
63879 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63880
63881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63882 $as_echo_n "checking for sin in -lm... " >&6; }
63883 if test "${ac_cv_lib_m_sin+set}" = set; then :
63884 $as_echo_n "(cached) " >&6
63885 else
63886 ac_check_lib_save_LIBS=$LIBS
63887 LIBS="-lm $LIBS"
63888 if test x$gcc_no_link = xyes; then
63889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63890 fi
63891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63892 /* end confdefs.h. */
63893
63894 /* Override any GCC internal prototype to avoid an error.
63895 Use char because int might match the return type of a GCC
63896 builtin and then its argument prototype would still apply. */
63897 #ifdef __cplusplus
63898 extern "C"
63899 #endif
63900 char sin ();
63901 int
63902 main ()
63903 {
63904 return sin ();
63905 ;
63906 return 0;
63907 }
63908 _ACEOF
63909 if ac_fn_c_try_link "$LINENO"; then :
63910 ac_cv_lib_m_sin=yes
63911 else
63912 ac_cv_lib_m_sin=no
63913 fi
63914 rm -f core conftest.err conftest.$ac_objext \
63915 conftest$ac_exeext conftest.$ac_ext
63916 LIBS=$ac_check_lib_save_LIBS
63917 fi
63918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63919 $as_echo "$ac_cv_lib_m_sin" >&6; }
63920 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63921 libm="-lm"
63922 fi
63923
63924 ac_save_LIBS="$LIBS"
63925 LIBS="$LIBS $libm"
63926
63927
63928
63929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63930 $as_echo_n "checking for isinf declaration... " >&6; }
63931 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63932 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63933 $as_echo_n "(cached) " >&6
63934 else
63935
63936
63937 ac_ext=cpp
63938 ac_cpp='$CXXCPP $CPPFLAGS'
63939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63942
63943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63944 /* end confdefs.h. */
63945 #include <math.h>
63946 #ifdef HAVE_IEEEFP_H
63947 #include <ieeefp.h>
63948 #endif
63949
63950 int
63951 main ()
63952 {
63953 isinf(0);
63954 ;
63955 return 0;
63956 }
63957 _ACEOF
63958 if ac_fn_cxx_try_compile "$LINENO"; then :
63959 glibcxx_cv_func_isinf_use=yes
63960 else
63961 glibcxx_cv_func_isinf_use=no
63962 fi
63963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63964 ac_ext=c
63965 ac_cpp='$CPP $CPPFLAGS'
63966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63969
63970
63971 fi
63972
63973 fi
63974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63975 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63976
63977 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63978 for ac_func in isinf
63979 do :
63980 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63981 if test "x$ac_cv_func_isinf" = x""yes; then :
63982 cat >>confdefs.h <<_ACEOF
63983 #define HAVE_ISINF 1
63984 _ACEOF
63985
63986 fi
63987 done
63988
63989 else
63990
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63992 $as_echo_n "checking for _isinf declaration... " >&6; }
63993 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63994 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63995 $as_echo_n "(cached) " >&6
63996 else
63997
63998
63999 ac_ext=cpp
64000 ac_cpp='$CXXCPP $CPPFLAGS'
64001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64004
64005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64006 /* end confdefs.h. */
64007 #include <math.h>
64008 #ifdef HAVE_IEEEFP_H
64009 #include <ieeefp.h>
64010 #endif
64011
64012 int
64013 main ()
64014 {
64015 _isinf(0);
64016 ;
64017 return 0;
64018 }
64019 _ACEOF
64020 if ac_fn_cxx_try_compile "$LINENO"; then :
64021 glibcxx_cv_func__isinf_use=yes
64022 else
64023 glibcxx_cv_func__isinf_use=no
64024 fi
64025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64031
64032
64033 fi
64034
64035 fi
64036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64037 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64038
64039 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64040 for ac_func in _isinf
64041 do :
64042 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64043 if test "x$ac_cv_func__isinf" = x""yes; then :
64044 cat >>confdefs.h <<_ACEOF
64045 #define HAVE__ISINF 1
64046 _ACEOF
64047
64048 fi
64049 done
64050
64051 fi
64052 fi
64053
64054
64055
64056
64057
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64059 $as_echo_n "checking for isnan declaration... " >&6; }
64060 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64061 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64062 $as_echo_n "(cached) " >&6
64063 else
64064
64065
64066 ac_ext=cpp
64067 ac_cpp='$CXXCPP $CPPFLAGS'
64068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64071
64072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64073 /* end confdefs.h. */
64074 #include <math.h>
64075 #ifdef HAVE_IEEEFP_H
64076 #include <ieeefp.h>
64077 #endif
64078
64079 int
64080 main ()
64081 {
64082 isnan(0);
64083 ;
64084 return 0;
64085 }
64086 _ACEOF
64087 if ac_fn_cxx_try_compile "$LINENO"; then :
64088 glibcxx_cv_func_isnan_use=yes
64089 else
64090 glibcxx_cv_func_isnan_use=no
64091 fi
64092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64093 ac_ext=c
64094 ac_cpp='$CPP $CPPFLAGS'
64095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64098
64099
64100 fi
64101
64102 fi
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64104 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64105
64106 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64107 for ac_func in isnan
64108 do :
64109 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64110 if test "x$ac_cv_func_isnan" = x""yes; then :
64111 cat >>confdefs.h <<_ACEOF
64112 #define HAVE_ISNAN 1
64113 _ACEOF
64114
64115 fi
64116 done
64117
64118 else
64119
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64121 $as_echo_n "checking for _isnan declaration... " >&6; }
64122 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64123 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64124 $as_echo_n "(cached) " >&6
64125 else
64126
64127
64128 ac_ext=cpp
64129 ac_cpp='$CXXCPP $CPPFLAGS'
64130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64133
64134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64135 /* end confdefs.h. */
64136 #include <math.h>
64137 #ifdef HAVE_IEEEFP_H
64138 #include <ieeefp.h>
64139 #endif
64140
64141 int
64142 main ()
64143 {
64144 _isnan(0);
64145 ;
64146 return 0;
64147 }
64148 _ACEOF
64149 if ac_fn_cxx_try_compile "$LINENO"; then :
64150 glibcxx_cv_func__isnan_use=yes
64151 else
64152 glibcxx_cv_func__isnan_use=no
64153 fi
64154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64155 ac_ext=c
64156 ac_cpp='$CPP $CPPFLAGS'
64157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64160
64161
64162 fi
64163
64164 fi
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64166 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64167
64168 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64169 for ac_func in _isnan
64170 do :
64171 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64172 if test "x$ac_cv_func__isnan" = x""yes; then :
64173 cat >>confdefs.h <<_ACEOF
64174 #define HAVE__ISNAN 1
64175 _ACEOF
64176
64177 fi
64178 done
64179
64180 fi
64181 fi
64182
64183
64184
64185
64186
64187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64188 $as_echo_n "checking for finite declaration... " >&6; }
64189 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64190 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64191 $as_echo_n "(cached) " >&6
64192 else
64193
64194
64195 ac_ext=cpp
64196 ac_cpp='$CXXCPP $CPPFLAGS'
64197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200
64201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64202 /* end confdefs.h. */
64203 #include <math.h>
64204 #ifdef HAVE_IEEEFP_H
64205 #include <ieeefp.h>
64206 #endif
64207
64208 int
64209 main ()
64210 {
64211 finite(0);
64212 ;
64213 return 0;
64214 }
64215 _ACEOF
64216 if ac_fn_cxx_try_compile "$LINENO"; then :
64217 glibcxx_cv_func_finite_use=yes
64218 else
64219 glibcxx_cv_func_finite_use=no
64220 fi
64221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64222 ac_ext=c
64223 ac_cpp='$CPP $CPPFLAGS'
64224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227
64228
64229 fi
64230
64231 fi
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64233 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64234
64235 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64236 for ac_func in finite
64237 do :
64238 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64239 if test "x$ac_cv_func_finite" = x""yes; then :
64240 cat >>confdefs.h <<_ACEOF
64241 #define HAVE_FINITE 1
64242 _ACEOF
64243
64244 fi
64245 done
64246
64247 else
64248
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64250 $as_echo_n "checking for _finite declaration... " >&6; }
64251 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64252 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64255
64256
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64262
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64266 #ifdef HAVE_IEEEFP_H
64267 #include <ieeefp.h>
64268 #endif
64269
64270 int
64271 main ()
64272 {
64273 _finite(0);
64274 ;
64275 return 0;
64276 }
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func__finite_use=yes
64280 else
64281 glibcxx_cv_func__finite_use=no
64282 fi
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64289
64290
64291 fi
64292
64293 fi
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64295 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64296
64297 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64298 for ac_func in _finite
64299 do :
64300 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64301 if test "x$ac_cv_func__finite" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE__FINITE 1
64304 _ACEOF
64305
64306 fi
64307 done
64308
64309 fi
64310 fi
64311
64312
64313
64314
64315
64316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64317 $as_echo_n "checking for sincos declaration... " >&6; }
64318 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64319 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64320 $as_echo_n "(cached) " >&6
64321 else
64322
64323
64324 ac_ext=cpp
64325 ac_cpp='$CXXCPP $CPPFLAGS'
64326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64329
64330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64331 /* end confdefs.h. */
64332 #include <math.h>
64333 int
64334 main ()
64335 {
64336 sincos(0, 0, 0);
64337 ;
64338 return 0;
64339 }
64340 _ACEOF
64341 if ac_fn_cxx_try_compile "$LINENO"; then :
64342 glibcxx_cv_func_sincos_use=yes
64343 else
64344 glibcxx_cv_func_sincos_use=no
64345 fi
64346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64347 ac_ext=c
64348 ac_cpp='$CPP $CPPFLAGS'
64349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64352
64353
64354 fi
64355
64356 fi
64357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64358 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64359
64360 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64361 for ac_func in sincos
64362 do :
64363 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64364 if test "x$ac_cv_func_sincos" = x""yes; then :
64365 cat >>confdefs.h <<_ACEOF
64366 #define HAVE_SINCOS 1
64367 _ACEOF
64368
64369 fi
64370 done
64371
64372 else
64373
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64375 $as_echo_n "checking for _sincos declaration... " >&6; }
64376 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64377 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64378 $as_echo_n "(cached) " >&6
64379 else
64380
64381
64382 ac_ext=cpp
64383 ac_cpp='$CXXCPP $CPPFLAGS'
64384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64387
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64390 #include <math.h>
64391 int
64392 main ()
64393 {
64394 _sincos(0, 0, 0);
64395 ;
64396 return 0;
64397 }
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func__sincos_use=yes
64401 else
64402 glibcxx_cv_func__sincos_use=no
64403 fi
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64410
64411
64412 fi
64413
64414 fi
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64416 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64417
64418 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64419 for ac_func in _sincos
64420 do :
64421 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64422 if test "x$ac_cv_func__sincos" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE__SINCOS 1
64425 _ACEOF
64426
64427 fi
64428 done
64429
64430 fi
64431 fi
64432
64433
64434
64435
64436
64437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64438 $as_echo_n "checking for fpclass declaration... " >&6; }
64439 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64440 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64441 $as_echo_n "(cached) " >&6
64442 else
64443
64444
64445 ac_ext=cpp
64446 ac_cpp='$CXXCPP $CPPFLAGS'
64447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64450
64451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64452 /* end confdefs.h. */
64453 #include <math.h>
64454 #ifdef HAVE_IEEEFP_H
64455 #include <ieeefp.h>
64456 #endif
64457
64458 int
64459 main ()
64460 {
64461 fpclass(0);
64462 ;
64463 return 0;
64464 }
64465 _ACEOF
64466 if ac_fn_cxx_try_compile "$LINENO"; then :
64467 glibcxx_cv_func_fpclass_use=yes
64468 else
64469 glibcxx_cv_func_fpclass_use=no
64470 fi
64471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64472 ac_ext=c
64473 ac_cpp='$CPP $CPPFLAGS'
64474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64477
64478
64479 fi
64480
64481 fi
64482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64483 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64484
64485 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64486 for ac_func in fpclass
64487 do :
64488 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64489 if test "x$ac_cv_func_fpclass" = x""yes; then :
64490 cat >>confdefs.h <<_ACEOF
64491 #define HAVE_FPCLASS 1
64492 _ACEOF
64493
64494 fi
64495 done
64496
64497 else
64498
64499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64500 $as_echo_n "checking for _fpclass declaration... " >&6; }
64501 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64502 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64503 $as_echo_n "(cached) " >&6
64504 else
64505
64506
64507 ac_ext=cpp
64508 ac_cpp='$CXXCPP $CPPFLAGS'
64509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64512
64513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64514 /* end confdefs.h. */
64515 #include <math.h>
64516 #ifdef HAVE_IEEEFP_H
64517 #include <ieeefp.h>
64518 #endif
64519
64520 int
64521 main ()
64522 {
64523 _fpclass(0);
64524 ;
64525 return 0;
64526 }
64527 _ACEOF
64528 if ac_fn_cxx_try_compile "$LINENO"; then :
64529 glibcxx_cv_func__fpclass_use=yes
64530 else
64531 glibcxx_cv_func__fpclass_use=no
64532 fi
64533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64534 ac_ext=c
64535 ac_cpp='$CPP $CPPFLAGS'
64536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64539
64540
64541 fi
64542
64543 fi
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64545 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64546
64547 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64548 for ac_func in _fpclass
64549 do :
64550 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64551 if test "x$ac_cv_func__fpclass" = x""yes; then :
64552 cat >>confdefs.h <<_ACEOF
64553 #define HAVE__FPCLASS 1
64554 _ACEOF
64555
64556 fi
64557 done
64558
64559 fi
64560 fi
64561
64562
64563
64564
64565
64566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64567 $as_echo_n "checking for qfpclass declaration... " >&6; }
64568 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64569 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64570 $as_echo_n "(cached) " >&6
64571 else
64572
64573
64574 ac_ext=cpp
64575 ac_cpp='$CXXCPP $CPPFLAGS'
64576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64579
64580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64581 /* end confdefs.h. */
64582 #include <math.h>
64583 #ifdef HAVE_IEEEFP_H
64584 #include <ieeefp.h>
64585 #endif
64586
64587 int
64588 main ()
64589 {
64590 qfpclass(0);
64591 ;
64592 return 0;
64593 }
64594 _ACEOF
64595 if ac_fn_cxx_try_compile "$LINENO"; then :
64596 glibcxx_cv_func_qfpclass_use=yes
64597 else
64598 glibcxx_cv_func_qfpclass_use=no
64599 fi
64600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64601 ac_ext=c
64602 ac_cpp='$CPP $CPPFLAGS'
64603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64606
64607
64608 fi
64609
64610 fi
64611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64612 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64613
64614 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64615 for ac_func in qfpclass
64616 do :
64617 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64618 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64619 cat >>confdefs.h <<_ACEOF
64620 #define HAVE_QFPCLASS 1
64621 _ACEOF
64622
64623 fi
64624 done
64625
64626 else
64627
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64629 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64630 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64631 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64634
64635
64636 ac_ext=cpp
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641
64642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64643 /* end confdefs.h. */
64644 #include <math.h>
64645 #ifdef HAVE_IEEEFP_H
64646 #include <ieeefp.h>
64647 #endif
64648
64649 int
64650 main ()
64651 {
64652 _qfpclass(0);
64653 ;
64654 return 0;
64655 }
64656 _ACEOF
64657 if ac_fn_cxx_try_compile "$LINENO"; then :
64658 glibcxx_cv_func__qfpclass_use=yes
64659 else
64660 glibcxx_cv_func__qfpclass_use=no
64661 fi
64662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64663 ac_ext=c
64664 ac_cpp='$CPP $CPPFLAGS'
64665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64668
64669
64670 fi
64671
64672 fi
64673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64674 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64675
64676 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64677 for ac_func in _qfpclass
64678 do :
64679 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64680 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64681 cat >>confdefs.h <<_ACEOF
64682 #define HAVE__QFPCLASS 1
64683 _ACEOF
64684
64685 fi
64686 done
64687
64688 fi
64689 fi
64690
64691
64692
64693
64694
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64696 $as_echo_n "checking for hypot declaration... " >&6; }
64697 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64698 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64699 $as_echo_n "(cached) " >&6
64700 else
64701
64702
64703 ac_ext=cpp
64704 ac_cpp='$CXXCPP $CPPFLAGS'
64705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64708
64709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64710 /* end confdefs.h. */
64711 #include <math.h>
64712 int
64713 main ()
64714 {
64715 hypot(0, 0);
64716 ;
64717 return 0;
64718 }
64719 _ACEOF
64720 if ac_fn_cxx_try_compile "$LINENO"; then :
64721 glibcxx_cv_func_hypot_use=yes
64722 else
64723 glibcxx_cv_func_hypot_use=no
64724 fi
64725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64726 ac_ext=c
64727 ac_cpp='$CPP $CPPFLAGS'
64728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64731
64732
64733 fi
64734
64735 fi
64736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64737 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64738
64739 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64740 for ac_func in hypot
64741 do :
64742 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64743 if test "x$ac_cv_func_hypot" = x""yes; then :
64744 cat >>confdefs.h <<_ACEOF
64745 #define HAVE_HYPOT 1
64746 _ACEOF
64747
64748 fi
64749 done
64750
64751 else
64752
64753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64754 $as_echo_n "checking for _hypot declaration... " >&6; }
64755 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64756 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64757 $as_echo_n "(cached) " >&6
64758 else
64759
64760
64761 ac_ext=cpp
64762 ac_cpp='$CXXCPP $CPPFLAGS'
64763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64766
64767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64768 /* end confdefs.h. */
64769 #include <math.h>
64770 int
64771 main ()
64772 {
64773 _hypot(0, 0);
64774 ;
64775 return 0;
64776 }
64777 _ACEOF
64778 if ac_fn_cxx_try_compile "$LINENO"; then :
64779 glibcxx_cv_func__hypot_use=yes
64780 else
64781 glibcxx_cv_func__hypot_use=no
64782 fi
64783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64784 ac_ext=c
64785 ac_cpp='$CPP $CPPFLAGS'
64786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64789
64790
64791 fi
64792
64793 fi
64794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64795 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64796
64797 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64798 for ac_func in _hypot
64799 do :
64800 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64801 if test "x$ac_cv_func__hypot" = x""yes; then :
64802 cat >>confdefs.h <<_ACEOF
64803 #define HAVE__HYPOT 1
64804 _ACEOF
64805
64806 fi
64807 done
64808
64809 fi
64810 fi
64811
64812
64813
64814
64815
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64817 $as_echo_n "checking for float trig functions... " >&6; }
64818 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64819 $as_echo_n "(cached) " >&6
64820 else
64821
64822
64823 ac_ext=cpp
64824 ac_cpp='$CXXCPP $CPPFLAGS'
64825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64828
64829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64830 /* end confdefs.h. */
64831 #include <math.h>
64832 int
64833 main ()
64834 {
64835 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64836 ;
64837 return 0;
64838 }
64839 _ACEOF
64840 if ac_fn_cxx_try_compile "$LINENO"; then :
64841 glibcxx_cv_func_float_trig_use=yes
64842 else
64843 glibcxx_cv_func_float_trig_use=no
64844 fi
64845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64846 ac_ext=c
64847 ac_cpp='$CPP $CPPFLAGS'
64848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64851
64852 fi
64853
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64855 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64856 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64857 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64858 do :
64859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64861 eval as_val=\$$as_ac_var
64862 if test "x$as_val" = x""yes; then :
64863 cat >>confdefs.h <<_ACEOF
64864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64865 _ACEOF
64866
64867 fi
64868 done
64869
64870 else
64871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64872 $as_echo_n "checking for _float trig functions... " >&6; }
64873 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64874 $as_echo_n "(cached) " >&6
64875 else
64876
64877
64878 ac_ext=cpp
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883
64884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64885 /* end confdefs.h. */
64886 #include <math.h>
64887 int
64888 main ()
64889 {
64890 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64891 ;
64892 return 0;
64893 }
64894 _ACEOF
64895 if ac_fn_cxx_try_compile "$LINENO"; then :
64896 glibcxx_cv_func__float_trig_use=yes
64897 else
64898 glibcxx_cv_func__float_trig_use=no
64899 fi
64900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64901 ac_ext=c
64902 ac_cpp='$CPP $CPPFLAGS'
64903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64906
64907 fi
64908
64909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64910 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64911 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64912 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64913 do :
64914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64916 eval as_val=\$$as_ac_var
64917 if test "x$as_val" = x""yes; then :
64918 cat >>confdefs.h <<_ACEOF
64919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64920 _ACEOF
64921
64922 fi
64923 done
64924
64925 fi
64926 fi
64927
64928
64929
64930
64931
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64933 $as_echo_n "checking for float round functions... " >&6; }
64934 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64935 $as_echo_n "(cached) " >&6
64936 else
64937
64938
64939 ac_ext=cpp
64940 ac_cpp='$CXXCPP $CPPFLAGS'
64941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64944
64945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64946 /* end confdefs.h. */
64947 #include <math.h>
64948 int
64949 main ()
64950 {
64951 ceilf (0); floorf (0);
64952 ;
64953 return 0;
64954 }
64955 _ACEOF
64956 if ac_fn_cxx_try_compile "$LINENO"; then :
64957 glibcxx_cv_func_float_round_use=yes
64958 else
64959 glibcxx_cv_func_float_round_use=no
64960 fi
64961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64962 ac_ext=c
64963 ac_cpp='$CPP $CPPFLAGS'
64964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64967
64968 fi
64969
64970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64971 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64972 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64973 for ac_func in ceilf floorf
64974 do :
64975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64977 eval as_val=\$$as_ac_var
64978 if test "x$as_val" = x""yes; then :
64979 cat >>confdefs.h <<_ACEOF
64980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64981 _ACEOF
64982
64983 fi
64984 done
64985
64986 else
64987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64988 $as_echo_n "checking for _float round functions... " >&6; }
64989 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64990 $as_echo_n "(cached) " >&6
64991 else
64992
64993
64994 ac_ext=cpp
64995 ac_cpp='$CXXCPP $CPPFLAGS'
64996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64999
65000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65001 /* end confdefs.h. */
65002 #include <math.h>
65003 int
65004 main ()
65005 {
65006 _ceilf (0); _floorf (0);
65007 ;
65008 return 0;
65009 }
65010 _ACEOF
65011 if ac_fn_cxx_try_compile "$LINENO"; then :
65012 glibcxx_cv_func__float_round_use=yes
65013 else
65014 glibcxx_cv_func__float_round_use=no
65015 fi
65016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65017 ac_ext=c
65018 ac_cpp='$CPP $CPPFLAGS'
65019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65022
65023 fi
65024
65025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65026 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65027 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65028 for ac_func in _ceilf _floorf
65029 do :
65030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65032 eval as_val=\$$as_ac_var
65033 if test "x$as_val" = x""yes; then :
65034 cat >>confdefs.h <<_ACEOF
65035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65036 _ACEOF
65037
65038 fi
65039 done
65040
65041 fi
65042 fi
65043
65044
65045
65046
65047
65048
65049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65050 $as_echo_n "checking for expf declaration... " >&6; }
65051 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65052 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65053 $as_echo_n "(cached) " >&6
65054 else
65055
65056
65057 ac_ext=cpp
65058 ac_cpp='$CXXCPP $CPPFLAGS'
65059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65062
65063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65064 /* end confdefs.h. */
65065 #include <math.h>
65066 #ifdef HAVE_IEEEFP_H
65067 #include <ieeefp.h>
65068 #endif
65069
65070 int
65071 main ()
65072 {
65073 expf(0);
65074 ;
65075 return 0;
65076 }
65077 _ACEOF
65078 if ac_fn_cxx_try_compile "$LINENO"; then :
65079 glibcxx_cv_func_expf_use=yes
65080 else
65081 glibcxx_cv_func_expf_use=no
65082 fi
65083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65084 ac_ext=c
65085 ac_cpp='$CPP $CPPFLAGS'
65086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65089
65090
65091 fi
65092
65093 fi
65094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65095 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65096
65097 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65098 for ac_func in expf
65099 do :
65100 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65101 if test "x$ac_cv_func_expf" = x""yes; then :
65102 cat >>confdefs.h <<_ACEOF
65103 #define HAVE_EXPF 1
65104 _ACEOF
65105
65106 fi
65107 done
65108
65109 else
65110
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65112 $as_echo_n "checking for _expf declaration... " >&6; }
65113 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65114 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65115 $as_echo_n "(cached) " >&6
65116 else
65117
65118
65119 ac_ext=cpp
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65124
65125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65126 /* end confdefs.h. */
65127 #include <math.h>
65128 #ifdef HAVE_IEEEFP_H
65129 #include <ieeefp.h>
65130 #endif
65131
65132 int
65133 main ()
65134 {
65135 _expf(0);
65136 ;
65137 return 0;
65138 }
65139 _ACEOF
65140 if ac_fn_cxx_try_compile "$LINENO"; then :
65141 glibcxx_cv_func__expf_use=yes
65142 else
65143 glibcxx_cv_func__expf_use=no
65144 fi
65145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65146 ac_ext=c
65147 ac_cpp='$CPP $CPPFLAGS'
65148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65151
65152
65153 fi
65154
65155 fi
65156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65157 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65158
65159 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65160 for ac_func in _expf
65161 do :
65162 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65163 if test "x$ac_cv_func__expf" = x""yes; then :
65164 cat >>confdefs.h <<_ACEOF
65165 #define HAVE__EXPF 1
65166 _ACEOF
65167
65168 fi
65169 done
65170
65171 fi
65172 fi
65173
65174
65175
65176
65177
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65179 $as_echo_n "checking for isnanf declaration... " >&6; }
65180 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65181 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65182 $as_echo_n "(cached) " >&6
65183 else
65184
65185
65186 ac_ext=cpp
65187 ac_cpp='$CXXCPP $CPPFLAGS'
65188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65191
65192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65193 /* end confdefs.h. */
65194 #include <math.h>
65195 #ifdef HAVE_IEEEFP_H
65196 #include <ieeefp.h>
65197 #endif
65198
65199 int
65200 main ()
65201 {
65202 isnanf(0);
65203 ;
65204 return 0;
65205 }
65206 _ACEOF
65207 if ac_fn_cxx_try_compile "$LINENO"; then :
65208 glibcxx_cv_func_isnanf_use=yes
65209 else
65210 glibcxx_cv_func_isnanf_use=no
65211 fi
65212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65213 ac_ext=c
65214 ac_cpp='$CPP $CPPFLAGS'
65215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65218
65219
65220 fi
65221
65222 fi
65223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65224 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65225
65226 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65227 for ac_func in isnanf
65228 do :
65229 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65230 if test "x$ac_cv_func_isnanf" = x""yes; then :
65231 cat >>confdefs.h <<_ACEOF
65232 #define HAVE_ISNANF 1
65233 _ACEOF
65234
65235 fi
65236 done
65237
65238 else
65239
65240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65241 $as_echo_n "checking for _isnanf declaration... " >&6; }
65242 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65243 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65244 $as_echo_n "(cached) " >&6
65245 else
65246
65247
65248 ac_ext=cpp
65249 ac_cpp='$CXXCPP $CPPFLAGS'
65250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65253
65254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65255 /* end confdefs.h. */
65256 #include <math.h>
65257 #ifdef HAVE_IEEEFP_H
65258 #include <ieeefp.h>
65259 #endif
65260
65261 int
65262 main ()
65263 {
65264 _isnanf(0);
65265 ;
65266 return 0;
65267 }
65268 _ACEOF
65269 if ac_fn_cxx_try_compile "$LINENO"; then :
65270 glibcxx_cv_func__isnanf_use=yes
65271 else
65272 glibcxx_cv_func__isnanf_use=no
65273 fi
65274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65275 ac_ext=c
65276 ac_cpp='$CPP $CPPFLAGS'
65277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65280
65281
65282 fi
65283
65284 fi
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65286 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65287
65288 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65289 for ac_func in _isnanf
65290 do :
65291 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65292 if test "x$ac_cv_func__isnanf" = x""yes; then :
65293 cat >>confdefs.h <<_ACEOF
65294 #define HAVE__ISNANF 1
65295 _ACEOF
65296
65297 fi
65298 done
65299
65300 fi
65301 fi
65302
65303
65304
65305
65306
65307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65308 $as_echo_n "checking for isinff declaration... " >&6; }
65309 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65310 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65313
65314
65315 ac_ext=cpp
65316 ac_cpp='$CXXCPP $CPPFLAGS'
65317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320
65321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65322 /* end confdefs.h. */
65323 #include <math.h>
65324 #ifdef HAVE_IEEEFP_H
65325 #include <ieeefp.h>
65326 #endif
65327
65328 int
65329 main ()
65330 {
65331 isinff(0);
65332 ;
65333 return 0;
65334 }
65335 _ACEOF
65336 if ac_fn_cxx_try_compile "$LINENO"; then :
65337 glibcxx_cv_func_isinff_use=yes
65338 else
65339 glibcxx_cv_func_isinff_use=no
65340 fi
65341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65342 ac_ext=c
65343 ac_cpp='$CPP $CPPFLAGS'
65344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65347
65348
65349 fi
65350
65351 fi
65352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65353 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65354
65355 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65356 for ac_func in isinff
65357 do :
65358 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65359 if test "x$ac_cv_func_isinff" = x""yes; then :
65360 cat >>confdefs.h <<_ACEOF
65361 #define HAVE_ISINFF 1
65362 _ACEOF
65363
65364 fi
65365 done
65366
65367 else
65368
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65370 $as_echo_n "checking for _isinff declaration... " >&6; }
65371 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65372 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65375
65376
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65382
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65386 #ifdef HAVE_IEEEFP_H
65387 #include <ieeefp.h>
65388 #endif
65389
65390 int
65391 main ()
65392 {
65393 _isinff(0);
65394 ;
65395 return 0;
65396 }
65397 _ACEOF
65398 if ac_fn_cxx_try_compile "$LINENO"; then :
65399 glibcxx_cv_func__isinff_use=yes
65400 else
65401 glibcxx_cv_func__isinff_use=no
65402 fi
65403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65409
65410
65411 fi
65412
65413 fi
65414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65415 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65416
65417 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65418 for ac_func in _isinff
65419 do :
65420 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65421 if test "x$ac_cv_func__isinff" = x""yes; then :
65422 cat >>confdefs.h <<_ACEOF
65423 #define HAVE__ISINFF 1
65424 _ACEOF
65425
65426 fi
65427 done
65428
65429 fi
65430 fi
65431
65432
65433
65434
65435
65436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65437 $as_echo_n "checking for atan2f declaration... " >&6; }
65438 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65439 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65440 $as_echo_n "(cached) " >&6
65441 else
65442
65443
65444 ac_ext=cpp
65445 ac_cpp='$CXXCPP $CPPFLAGS'
65446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65449
65450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65451 /* end confdefs.h. */
65452 #include <math.h>
65453 int
65454 main ()
65455 {
65456 atan2f(0, 0);
65457 ;
65458 return 0;
65459 }
65460 _ACEOF
65461 if ac_fn_cxx_try_compile "$LINENO"; then :
65462 glibcxx_cv_func_atan2f_use=yes
65463 else
65464 glibcxx_cv_func_atan2f_use=no
65465 fi
65466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65467 ac_ext=c
65468 ac_cpp='$CPP $CPPFLAGS'
65469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65472
65473
65474 fi
65475
65476 fi
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65478 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65479
65480 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65481 for ac_func in atan2f
65482 do :
65483 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65484 if test "x$ac_cv_func_atan2f" = x""yes; then :
65485 cat >>confdefs.h <<_ACEOF
65486 #define HAVE_ATAN2F 1
65487 _ACEOF
65488
65489 fi
65490 done
65491
65492 else
65493
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65495 $as_echo_n "checking for _atan2f declaration... " >&6; }
65496 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65497 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65498 $as_echo_n "(cached) " >&6
65499 else
65500
65501
65502 ac_ext=cpp
65503 ac_cpp='$CXXCPP $CPPFLAGS'
65504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65507
65508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65509 /* end confdefs.h. */
65510 #include <math.h>
65511 int
65512 main ()
65513 {
65514 _atan2f(0, 0);
65515 ;
65516 return 0;
65517 }
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func__atan2f_use=yes
65521 else
65522 glibcxx_cv_func__atan2f_use=no
65523 fi
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65530
65531
65532 fi
65533
65534 fi
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65536 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65537
65538 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65539 for ac_func in _atan2f
65540 do :
65541 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65542 if test "x$ac_cv_func__atan2f" = x""yes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE__ATAN2F 1
65545 _ACEOF
65546
65547 fi
65548 done
65549
65550 fi
65551 fi
65552
65553
65554
65555
65556
65557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65558 $as_echo_n "checking for fabsf declaration... " >&6; }
65559 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65560 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65561 $as_echo_n "(cached) " >&6
65562 else
65563
65564
65565 ac_ext=cpp
65566 ac_cpp='$CXXCPP $CPPFLAGS'
65567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65570
65571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65572 /* end confdefs.h. */
65573 #include <math.h>
65574 #ifdef HAVE_IEEEFP_H
65575 #include <ieeefp.h>
65576 #endif
65577
65578 int
65579 main ()
65580 {
65581 fabsf(0);
65582 ;
65583 return 0;
65584 }
65585 _ACEOF
65586 if ac_fn_cxx_try_compile "$LINENO"; then :
65587 glibcxx_cv_func_fabsf_use=yes
65588 else
65589 glibcxx_cv_func_fabsf_use=no
65590 fi
65591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65592 ac_ext=c
65593 ac_cpp='$CPP $CPPFLAGS'
65594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65597
65598
65599 fi
65600
65601 fi
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65603 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65604
65605 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65606 for ac_func in fabsf
65607 do :
65608 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65609 if test "x$ac_cv_func_fabsf" = x""yes; then :
65610 cat >>confdefs.h <<_ACEOF
65611 #define HAVE_FABSF 1
65612 _ACEOF
65613
65614 fi
65615 done
65616
65617 else
65618
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65620 $as_echo_n "checking for _fabsf declaration... " >&6; }
65621 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65622 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65625
65626
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65632
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <math.h>
65636 #ifdef HAVE_IEEEFP_H
65637 #include <ieeefp.h>
65638 #endif
65639
65640 int
65641 main ()
65642 {
65643 _fabsf(0);
65644 ;
65645 return 0;
65646 }
65647 _ACEOF
65648 if ac_fn_cxx_try_compile "$LINENO"; then :
65649 glibcxx_cv_func__fabsf_use=yes
65650 else
65651 glibcxx_cv_func__fabsf_use=no
65652 fi
65653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65654 ac_ext=c
65655 ac_cpp='$CPP $CPPFLAGS'
65656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65659
65660
65661 fi
65662
65663 fi
65664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65665 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65666
65667 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65668 for ac_func in _fabsf
65669 do :
65670 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65671 if test "x$ac_cv_func__fabsf" = x""yes; then :
65672 cat >>confdefs.h <<_ACEOF
65673 #define HAVE__FABSF 1
65674 _ACEOF
65675
65676 fi
65677 done
65678
65679 fi
65680 fi
65681
65682
65683
65684
65685
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65687 $as_echo_n "checking for fmodf declaration... " >&6; }
65688 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65689 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65690 $as_echo_n "(cached) " >&6
65691 else
65692
65693
65694 ac_ext=cpp
65695 ac_cpp='$CXXCPP $CPPFLAGS'
65696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65699
65700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65701 /* end confdefs.h. */
65702 #include <math.h>
65703 int
65704 main ()
65705 {
65706 fmodf(0, 0);
65707 ;
65708 return 0;
65709 }
65710 _ACEOF
65711 if ac_fn_cxx_try_compile "$LINENO"; then :
65712 glibcxx_cv_func_fmodf_use=yes
65713 else
65714 glibcxx_cv_func_fmodf_use=no
65715 fi
65716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65717 ac_ext=c
65718 ac_cpp='$CPP $CPPFLAGS'
65719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65722
65723
65724 fi
65725
65726 fi
65727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65728 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65729
65730 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65731 for ac_func in fmodf
65732 do :
65733 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65734 if test "x$ac_cv_func_fmodf" = x""yes; then :
65735 cat >>confdefs.h <<_ACEOF
65736 #define HAVE_FMODF 1
65737 _ACEOF
65738
65739 fi
65740 done
65741
65742 else
65743
65744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65745 $as_echo_n "checking for _fmodf declaration... " >&6; }
65746 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65747 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65748 $as_echo_n "(cached) " >&6
65749 else
65750
65751
65752 ac_ext=cpp
65753 ac_cpp='$CXXCPP $CPPFLAGS'
65754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65757
65758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65759 /* end confdefs.h. */
65760 #include <math.h>
65761 int
65762 main ()
65763 {
65764 _fmodf(0, 0);
65765 ;
65766 return 0;
65767 }
65768 _ACEOF
65769 if ac_fn_cxx_try_compile "$LINENO"; then :
65770 glibcxx_cv_func__fmodf_use=yes
65771 else
65772 glibcxx_cv_func__fmodf_use=no
65773 fi
65774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65775 ac_ext=c
65776 ac_cpp='$CPP $CPPFLAGS'
65777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65780
65781
65782 fi
65783
65784 fi
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65786 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65787
65788 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65789 for ac_func in _fmodf
65790 do :
65791 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65792 if test "x$ac_cv_func__fmodf" = x""yes; then :
65793 cat >>confdefs.h <<_ACEOF
65794 #define HAVE__FMODF 1
65795 _ACEOF
65796
65797 fi
65798 done
65799
65800 fi
65801 fi
65802
65803
65804
65805
65806
65807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65808 $as_echo_n "checking for frexpf declaration... " >&6; }
65809 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65810 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65811 $as_echo_n "(cached) " >&6
65812 else
65813
65814
65815 ac_ext=cpp
65816 ac_cpp='$CXXCPP $CPPFLAGS'
65817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65820
65821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65822 /* end confdefs.h. */
65823 #include <math.h>
65824 int
65825 main ()
65826 {
65827 frexpf(0, 0);
65828 ;
65829 return 0;
65830 }
65831 _ACEOF
65832 if ac_fn_cxx_try_compile "$LINENO"; then :
65833 glibcxx_cv_func_frexpf_use=yes
65834 else
65835 glibcxx_cv_func_frexpf_use=no
65836 fi
65837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65838 ac_ext=c
65839 ac_cpp='$CPP $CPPFLAGS'
65840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65843
65844
65845 fi
65846
65847 fi
65848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65849 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65850
65851 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65852 for ac_func in frexpf
65853 do :
65854 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65855 if test "x$ac_cv_func_frexpf" = x""yes; then :
65856 cat >>confdefs.h <<_ACEOF
65857 #define HAVE_FREXPF 1
65858 _ACEOF
65859
65860 fi
65861 done
65862
65863 else
65864
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65866 $as_echo_n "checking for _frexpf declaration... " >&6; }
65867 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65868 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65869 $as_echo_n "(cached) " >&6
65870 else
65871
65872
65873 ac_ext=cpp
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65878
65879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65880 /* end confdefs.h. */
65881 #include <math.h>
65882 int
65883 main ()
65884 {
65885 _frexpf(0, 0);
65886 ;
65887 return 0;
65888 }
65889 _ACEOF
65890 if ac_fn_cxx_try_compile "$LINENO"; then :
65891 glibcxx_cv_func__frexpf_use=yes
65892 else
65893 glibcxx_cv_func__frexpf_use=no
65894 fi
65895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65896 ac_ext=c
65897 ac_cpp='$CPP $CPPFLAGS'
65898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65901
65902
65903 fi
65904
65905 fi
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65907 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65908
65909 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65910 for ac_func in _frexpf
65911 do :
65912 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65913 if test "x$ac_cv_func__frexpf" = x""yes; then :
65914 cat >>confdefs.h <<_ACEOF
65915 #define HAVE__FREXPF 1
65916 _ACEOF
65917
65918 fi
65919 done
65920
65921 fi
65922 fi
65923
65924
65925
65926
65927
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65929 $as_echo_n "checking for hypotf declaration... " >&6; }
65930 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65931 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65932 $as_echo_n "(cached) " >&6
65933 else
65934
65935
65936 ac_ext=cpp
65937 ac_cpp='$CXXCPP $CPPFLAGS'
65938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65941
65942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65943 /* end confdefs.h. */
65944 #include <math.h>
65945 int
65946 main ()
65947 {
65948 hypotf(0, 0);
65949 ;
65950 return 0;
65951 }
65952 _ACEOF
65953 if ac_fn_cxx_try_compile "$LINENO"; then :
65954 glibcxx_cv_func_hypotf_use=yes
65955 else
65956 glibcxx_cv_func_hypotf_use=no
65957 fi
65958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65959 ac_ext=c
65960 ac_cpp='$CPP $CPPFLAGS'
65961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65964
65965
65966 fi
65967
65968 fi
65969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65970 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65971
65972 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65973 for ac_func in hypotf
65974 do :
65975 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65976 if test "x$ac_cv_func_hypotf" = x""yes; then :
65977 cat >>confdefs.h <<_ACEOF
65978 #define HAVE_HYPOTF 1
65979 _ACEOF
65980
65981 fi
65982 done
65983
65984 else
65985
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65987 $as_echo_n "checking for _hypotf declaration... " >&6; }
65988 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65989 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65990 $as_echo_n "(cached) " >&6
65991 else
65992
65993
65994 ac_ext=cpp
65995 ac_cpp='$CXXCPP $CPPFLAGS'
65996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65999
66000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66001 /* end confdefs.h. */
66002 #include <math.h>
66003 int
66004 main ()
66005 {
66006 _hypotf(0, 0);
66007 ;
66008 return 0;
66009 }
66010 _ACEOF
66011 if ac_fn_cxx_try_compile "$LINENO"; then :
66012 glibcxx_cv_func__hypotf_use=yes
66013 else
66014 glibcxx_cv_func__hypotf_use=no
66015 fi
66016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66017 ac_ext=c
66018 ac_cpp='$CPP $CPPFLAGS'
66019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66022
66023
66024 fi
66025
66026 fi
66027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66028 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66029
66030 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66031 for ac_func in _hypotf
66032 do :
66033 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66034 if test "x$ac_cv_func__hypotf" = x""yes; then :
66035 cat >>confdefs.h <<_ACEOF
66036 #define HAVE__HYPOTF 1
66037 _ACEOF
66038
66039 fi
66040 done
66041
66042 fi
66043 fi
66044
66045
66046
66047
66048
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66050 $as_echo_n "checking for ldexpf declaration... " >&6; }
66051 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66052 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66053 $as_echo_n "(cached) " >&6
66054 else
66055
66056
66057 ac_ext=cpp
66058 ac_cpp='$CXXCPP $CPPFLAGS'
66059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66062
66063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66064 /* end confdefs.h. */
66065 #include <math.h>
66066 int
66067 main ()
66068 {
66069 ldexpf(0, 0);
66070 ;
66071 return 0;
66072 }
66073 _ACEOF
66074 if ac_fn_cxx_try_compile "$LINENO"; then :
66075 glibcxx_cv_func_ldexpf_use=yes
66076 else
66077 glibcxx_cv_func_ldexpf_use=no
66078 fi
66079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66080 ac_ext=c
66081 ac_cpp='$CPP $CPPFLAGS'
66082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66085
66086
66087 fi
66088
66089 fi
66090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66091 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66092
66093 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66094 for ac_func in ldexpf
66095 do :
66096 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66097 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66098 cat >>confdefs.h <<_ACEOF
66099 #define HAVE_LDEXPF 1
66100 _ACEOF
66101
66102 fi
66103 done
66104
66105 else
66106
66107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66108 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66109 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66110 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66111 $as_echo_n "(cached) " >&6
66112 else
66113
66114
66115 ac_ext=cpp
66116 ac_cpp='$CXXCPP $CPPFLAGS'
66117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66120
66121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66122 /* end confdefs.h. */
66123 #include <math.h>
66124 int
66125 main ()
66126 {
66127 _ldexpf(0, 0);
66128 ;
66129 return 0;
66130 }
66131 _ACEOF
66132 if ac_fn_cxx_try_compile "$LINENO"; then :
66133 glibcxx_cv_func__ldexpf_use=yes
66134 else
66135 glibcxx_cv_func__ldexpf_use=no
66136 fi
66137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66138 ac_ext=c
66139 ac_cpp='$CPP $CPPFLAGS'
66140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66143
66144
66145 fi
66146
66147 fi
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66149 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66150
66151 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66152 for ac_func in _ldexpf
66153 do :
66154 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66155 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66156 cat >>confdefs.h <<_ACEOF
66157 #define HAVE__LDEXPF 1
66158 _ACEOF
66159
66160 fi
66161 done
66162
66163 fi
66164 fi
66165
66166
66167
66168
66169
66170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66171 $as_echo_n "checking for logf declaration... " >&6; }
66172 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66173 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66174 $as_echo_n "(cached) " >&6
66175 else
66176
66177
66178 ac_ext=cpp
66179 ac_cpp='$CXXCPP $CPPFLAGS'
66180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66183
66184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66185 /* end confdefs.h. */
66186 #include <math.h>
66187 #ifdef HAVE_IEEEFP_H
66188 #include <ieeefp.h>
66189 #endif
66190
66191 int
66192 main ()
66193 {
66194 logf(0);
66195 ;
66196 return 0;
66197 }
66198 _ACEOF
66199 if ac_fn_cxx_try_compile "$LINENO"; then :
66200 glibcxx_cv_func_logf_use=yes
66201 else
66202 glibcxx_cv_func_logf_use=no
66203 fi
66204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66205 ac_ext=c
66206 ac_cpp='$CPP $CPPFLAGS'
66207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66210
66211
66212 fi
66213
66214 fi
66215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66216 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66217
66218 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66219 for ac_func in logf
66220 do :
66221 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66222 if test "x$ac_cv_func_logf" = x""yes; then :
66223 cat >>confdefs.h <<_ACEOF
66224 #define HAVE_LOGF 1
66225 _ACEOF
66226
66227 fi
66228 done
66229
66230 else
66231
66232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66233 $as_echo_n "checking for _logf declaration... " >&6; }
66234 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66235 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66236 $as_echo_n "(cached) " >&6
66237 else
66238
66239
66240 ac_ext=cpp
66241 ac_cpp='$CXXCPP $CPPFLAGS'
66242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66245
66246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66247 /* end confdefs.h. */
66248 #include <math.h>
66249 #ifdef HAVE_IEEEFP_H
66250 #include <ieeefp.h>
66251 #endif
66252
66253 int
66254 main ()
66255 {
66256 _logf(0);
66257 ;
66258 return 0;
66259 }
66260 _ACEOF
66261 if ac_fn_cxx_try_compile "$LINENO"; then :
66262 glibcxx_cv_func__logf_use=yes
66263 else
66264 glibcxx_cv_func__logf_use=no
66265 fi
66266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66272
66273
66274 fi
66275
66276 fi
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66278 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66279
66280 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66281 for ac_func in _logf
66282 do :
66283 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66284 if test "x$ac_cv_func__logf" = x""yes; then :
66285 cat >>confdefs.h <<_ACEOF
66286 #define HAVE__LOGF 1
66287 _ACEOF
66288
66289 fi
66290 done
66291
66292 fi
66293 fi
66294
66295
66296
66297
66298
66299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66300 $as_echo_n "checking for log10f declaration... " >&6; }
66301 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66302 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66303 $as_echo_n "(cached) " >&6
66304 else
66305
66306
66307 ac_ext=cpp
66308 ac_cpp='$CXXCPP $CPPFLAGS'
66309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66312
66313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66314 /* end confdefs.h. */
66315 #include <math.h>
66316 #ifdef HAVE_IEEEFP_H
66317 #include <ieeefp.h>
66318 #endif
66319
66320 int
66321 main ()
66322 {
66323 log10f(0);
66324 ;
66325 return 0;
66326 }
66327 _ACEOF
66328 if ac_fn_cxx_try_compile "$LINENO"; then :
66329 glibcxx_cv_func_log10f_use=yes
66330 else
66331 glibcxx_cv_func_log10f_use=no
66332 fi
66333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66334 ac_ext=c
66335 ac_cpp='$CPP $CPPFLAGS'
66336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66339
66340
66341 fi
66342
66343 fi
66344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66345 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66346
66347 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66348 for ac_func in log10f
66349 do :
66350 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66351 if test "x$ac_cv_func_log10f" = x""yes; then :
66352 cat >>confdefs.h <<_ACEOF
66353 #define HAVE_LOG10F 1
66354 _ACEOF
66355
66356 fi
66357 done
66358
66359 else
66360
66361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66362 $as_echo_n "checking for _log10f declaration... " >&6; }
66363 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66364 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66365 $as_echo_n "(cached) " >&6
66366 else
66367
66368
66369 ac_ext=cpp
66370 ac_cpp='$CXXCPP $CPPFLAGS'
66371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66374
66375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66376 /* end confdefs.h. */
66377 #include <math.h>
66378 #ifdef HAVE_IEEEFP_H
66379 #include <ieeefp.h>
66380 #endif
66381
66382 int
66383 main ()
66384 {
66385 _log10f(0);
66386 ;
66387 return 0;
66388 }
66389 _ACEOF
66390 if ac_fn_cxx_try_compile "$LINENO"; then :
66391 glibcxx_cv_func__log10f_use=yes
66392 else
66393 glibcxx_cv_func__log10f_use=no
66394 fi
66395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66396 ac_ext=c
66397 ac_cpp='$CPP $CPPFLAGS'
66398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66401
66402
66403 fi
66404
66405 fi
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66407 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66408
66409 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66410 for ac_func in _log10f
66411 do :
66412 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66413 if test "x$ac_cv_func__log10f" = x""yes; then :
66414 cat >>confdefs.h <<_ACEOF
66415 #define HAVE__LOG10F 1
66416 _ACEOF
66417
66418 fi
66419 done
66420
66421 fi
66422 fi
66423
66424
66425
66426
66427
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66429 $as_echo_n "checking for modff declaration... " >&6; }
66430 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66431 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66432 $as_echo_n "(cached) " >&6
66433 else
66434
66435
66436 ac_ext=cpp
66437 ac_cpp='$CXXCPP $CPPFLAGS'
66438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66441
66442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66443 /* end confdefs.h. */
66444 #include <math.h>
66445 int
66446 main ()
66447 {
66448 modff(0, 0);
66449 ;
66450 return 0;
66451 }
66452 _ACEOF
66453 if ac_fn_cxx_try_compile "$LINENO"; then :
66454 glibcxx_cv_func_modff_use=yes
66455 else
66456 glibcxx_cv_func_modff_use=no
66457 fi
66458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66459 ac_ext=c
66460 ac_cpp='$CPP $CPPFLAGS'
66461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66464
66465
66466 fi
66467
66468 fi
66469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66470 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66471
66472 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66473 for ac_func in modff
66474 do :
66475 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66476 if test "x$ac_cv_func_modff" = x""yes; then :
66477 cat >>confdefs.h <<_ACEOF
66478 #define HAVE_MODFF 1
66479 _ACEOF
66480
66481 fi
66482 done
66483
66484 else
66485
66486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66487 $as_echo_n "checking for _modff declaration... " >&6; }
66488 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66489 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66490 $as_echo_n "(cached) " >&6
66491 else
66492
66493
66494 ac_ext=cpp
66495 ac_cpp='$CXXCPP $CPPFLAGS'
66496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66499
66500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66501 /* end confdefs.h. */
66502 #include <math.h>
66503 int
66504 main ()
66505 {
66506 _modff(0, 0);
66507 ;
66508 return 0;
66509 }
66510 _ACEOF
66511 if ac_fn_cxx_try_compile "$LINENO"; then :
66512 glibcxx_cv_func__modff_use=yes
66513 else
66514 glibcxx_cv_func__modff_use=no
66515 fi
66516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66517 ac_ext=c
66518 ac_cpp='$CPP $CPPFLAGS'
66519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66522
66523
66524 fi
66525
66526 fi
66527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66528 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66529
66530 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66531 for ac_func in _modff
66532 do :
66533 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66534 if test "x$ac_cv_func__modff" = x""yes; then :
66535 cat >>confdefs.h <<_ACEOF
66536 #define HAVE__MODFF 1
66537 _ACEOF
66538
66539 fi
66540 done
66541
66542 fi
66543 fi
66544
66545
66546
66547
66548
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66550 $as_echo_n "checking for modf declaration... " >&6; }
66551 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66552 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66553 $as_echo_n "(cached) " >&6
66554 else
66555
66556
66557 ac_ext=cpp
66558 ac_cpp='$CXXCPP $CPPFLAGS'
66559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66562
66563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66564 /* end confdefs.h. */
66565 #include <math.h>
66566 int
66567 main ()
66568 {
66569 modf(0, 0);
66570 ;
66571 return 0;
66572 }
66573 _ACEOF
66574 if ac_fn_cxx_try_compile "$LINENO"; then :
66575 glibcxx_cv_func_modf_use=yes
66576 else
66577 glibcxx_cv_func_modf_use=no
66578 fi
66579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66580 ac_ext=c
66581 ac_cpp='$CPP $CPPFLAGS'
66582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66585
66586
66587 fi
66588
66589 fi
66590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66591 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66592
66593 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66594 for ac_func in modf
66595 do :
66596 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66597 if test "x$ac_cv_func_modf" = x""yes; then :
66598 cat >>confdefs.h <<_ACEOF
66599 #define HAVE_MODF 1
66600 _ACEOF
66601
66602 fi
66603 done
66604
66605 else
66606
66607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66608 $as_echo_n "checking for _modf declaration... " >&6; }
66609 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66610 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66611 $as_echo_n "(cached) " >&6
66612 else
66613
66614
66615 ac_ext=cpp
66616 ac_cpp='$CXXCPP $CPPFLAGS'
66617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66620
66621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66622 /* end confdefs.h. */
66623 #include <math.h>
66624 int
66625 main ()
66626 {
66627 _modf(0, 0);
66628 ;
66629 return 0;
66630 }
66631 _ACEOF
66632 if ac_fn_cxx_try_compile "$LINENO"; then :
66633 glibcxx_cv_func__modf_use=yes
66634 else
66635 glibcxx_cv_func__modf_use=no
66636 fi
66637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66638 ac_ext=c
66639 ac_cpp='$CPP $CPPFLAGS'
66640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66643
66644
66645 fi
66646
66647 fi
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66649 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66650
66651 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66652 for ac_func in _modf
66653 do :
66654 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66655 if test "x$ac_cv_func__modf" = x""yes; then :
66656 cat >>confdefs.h <<_ACEOF
66657 #define HAVE__MODF 1
66658 _ACEOF
66659
66660 fi
66661 done
66662
66663 fi
66664 fi
66665
66666
66667
66668
66669
66670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66671 $as_echo_n "checking for powf declaration... " >&6; }
66672 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66673 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66674 $as_echo_n "(cached) " >&6
66675 else
66676
66677
66678 ac_ext=cpp
66679 ac_cpp='$CXXCPP $CPPFLAGS'
66680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66683
66684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66685 /* end confdefs.h. */
66686 #include <math.h>
66687 int
66688 main ()
66689 {
66690 powf(0, 0);
66691 ;
66692 return 0;
66693 }
66694 _ACEOF
66695 if ac_fn_cxx_try_compile "$LINENO"; then :
66696 glibcxx_cv_func_powf_use=yes
66697 else
66698 glibcxx_cv_func_powf_use=no
66699 fi
66700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66701 ac_ext=c
66702 ac_cpp='$CPP $CPPFLAGS'
66703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66706
66707
66708 fi
66709
66710 fi
66711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66712 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66713
66714 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66715 for ac_func in powf
66716 do :
66717 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66718 if test "x$ac_cv_func_powf" = x""yes; then :
66719 cat >>confdefs.h <<_ACEOF
66720 #define HAVE_POWF 1
66721 _ACEOF
66722
66723 fi
66724 done
66725
66726 else
66727
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66729 $as_echo_n "checking for _powf declaration... " >&6; }
66730 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66731 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66732 $as_echo_n "(cached) " >&6
66733 else
66734
66735
66736 ac_ext=cpp
66737 ac_cpp='$CXXCPP $CPPFLAGS'
66738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66741
66742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66743 /* end confdefs.h. */
66744 #include <math.h>
66745 int
66746 main ()
66747 {
66748 _powf(0, 0);
66749 ;
66750 return 0;
66751 }
66752 _ACEOF
66753 if ac_fn_cxx_try_compile "$LINENO"; then :
66754 glibcxx_cv_func__powf_use=yes
66755 else
66756 glibcxx_cv_func__powf_use=no
66757 fi
66758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66759 ac_ext=c
66760 ac_cpp='$CPP $CPPFLAGS'
66761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764
66765
66766 fi
66767
66768 fi
66769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66770 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66771
66772 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66773 for ac_func in _powf
66774 do :
66775 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66776 if test "x$ac_cv_func__powf" = x""yes; then :
66777 cat >>confdefs.h <<_ACEOF
66778 #define HAVE__POWF 1
66779 _ACEOF
66780
66781 fi
66782 done
66783
66784 fi
66785 fi
66786
66787
66788
66789
66790
66791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66792 $as_echo_n "checking for sqrtf declaration... " >&6; }
66793 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66794 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66795 $as_echo_n "(cached) " >&6
66796 else
66797
66798
66799 ac_ext=cpp
66800 ac_cpp='$CXXCPP $CPPFLAGS'
66801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66804
66805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66806 /* end confdefs.h. */
66807 #include <math.h>
66808 #ifdef HAVE_IEEEFP_H
66809 #include <ieeefp.h>
66810 #endif
66811
66812 int
66813 main ()
66814 {
66815 sqrtf(0);
66816 ;
66817 return 0;
66818 }
66819 _ACEOF
66820 if ac_fn_cxx_try_compile "$LINENO"; then :
66821 glibcxx_cv_func_sqrtf_use=yes
66822 else
66823 glibcxx_cv_func_sqrtf_use=no
66824 fi
66825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66831
66832
66833 fi
66834
66835 fi
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66837 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66838
66839 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66840 for ac_func in sqrtf
66841 do :
66842 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66843 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66844 cat >>confdefs.h <<_ACEOF
66845 #define HAVE_SQRTF 1
66846 _ACEOF
66847
66848 fi
66849 done
66850
66851 else
66852
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66854 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66855 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66856 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66857 $as_echo_n "(cached) " >&6
66858 else
66859
66860
66861 ac_ext=cpp
66862 ac_cpp='$CXXCPP $CPPFLAGS'
66863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66866
66867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66868 /* end confdefs.h. */
66869 #include <math.h>
66870 #ifdef HAVE_IEEEFP_H
66871 #include <ieeefp.h>
66872 #endif
66873
66874 int
66875 main ()
66876 {
66877 _sqrtf(0);
66878 ;
66879 return 0;
66880 }
66881 _ACEOF
66882 if ac_fn_cxx_try_compile "$LINENO"; then :
66883 glibcxx_cv_func__sqrtf_use=yes
66884 else
66885 glibcxx_cv_func__sqrtf_use=no
66886 fi
66887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66888 ac_ext=c
66889 ac_cpp='$CPP $CPPFLAGS'
66890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66893
66894
66895 fi
66896
66897 fi
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66899 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66900
66901 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66902 for ac_func in _sqrtf
66903 do :
66904 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66905 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66906 cat >>confdefs.h <<_ACEOF
66907 #define HAVE__SQRTF 1
66908 _ACEOF
66909
66910 fi
66911 done
66912
66913 fi
66914 fi
66915
66916
66917
66918
66919
66920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66921 $as_echo_n "checking for sincosf declaration... " >&6; }
66922 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66923 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66924 $as_echo_n "(cached) " >&6
66925 else
66926
66927
66928 ac_ext=cpp
66929 ac_cpp='$CXXCPP $CPPFLAGS'
66930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66933
66934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66935 /* end confdefs.h. */
66936 #include <math.h>
66937 int
66938 main ()
66939 {
66940 sincosf(0, 0, 0);
66941 ;
66942 return 0;
66943 }
66944 _ACEOF
66945 if ac_fn_cxx_try_compile "$LINENO"; then :
66946 glibcxx_cv_func_sincosf_use=yes
66947 else
66948 glibcxx_cv_func_sincosf_use=no
66949 fi
66950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66951 ac_ext=c
66952 ac_cpp='$CPP $CPPFLAGS'
66953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66956
66957
66958 fi
66959
66960 fi
66961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66962 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66963
66964 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66965 for ac_func in sincosf
66966 do :
66967 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66968 if test "x$ac_cv_func_sincosf" = x""yes; then :
66969 cat >>confdefs.h <<_ACEOF
66970 #define HAVE_SINCOSF 1
66971 _ACEOF
66972
66973 fi
66974 done
66975
66976 else
66977
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66979 $as_echo_n "checking for _sincosf declaration... " >&6; }
66980 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66981 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66984
66985
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 int
66996 main ()
66997 {
66998 _sincosf(0, 0, 0);
66999 ;
67000 return 0;
67001 }
67002 _ACEOF
67003 if ac_fn_cxx_try_compile "$LINENO"; then :
67004 glibcxx_cv_func__sincosf_use=yes
67005 else
67006 glibcxx_cv_func__sincosf_use=no
67007 fi
67008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67009 ac_ext=c
67010 ac_cpp='$CPP $CPPFLAGS'
67011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67014
67015
67016 fi
67017
67018 fi
67019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67020 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67021
67022 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67023 for ac_func in _sincosf
67024 do :
67025 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67026 if test "x$ac_cv_func__sincosf" = x""yes; then :
67027 cat >>confdefs.h <<_ACEOF
67028 #define HAVE__SINCOSF 1
67029 _ACEOF
67030
67031 fi
67032 done
67033
67034 fi
67035 fi
67036
67037
67038
67039
67040
67041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67042 $as_echo_n "checking for finitef declaration... " >&6; }
67043 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67044 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67045 $as_echo_n "(cached) " >&6
67046 else
67047
67048
67049 ac_ext=cpp
67050 ac_cpp='$CXXCPP $CPPFLAGS'
67051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67054
67055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67056 /* end confdefs.h. */
67057 #include <math.h>
67058 #ifdef HAVE_IEEEFP_H
67059 #include <ieeefp.h>
67060 #endif
67061
67062 int
67063 main ()
67064 {
67065 finitef(0);
67066 ;
67067 return 0;
67068 }
67069 _ACEOF
67070 if ac_fn_cxx_try_compile "$LINENO"; then :
67071 glibcxx_cv_func_finitef_use=yes
67072 else
67073 glibcxx_cv_func_finitef_use=no
67074 fi
67075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67076 ac_ext=c
67077 ac_cpp='$CPP $CPPFLAGS'
67078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67081
67082
67083 fi
67084
67085 fi
67086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67087 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67088
67089 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67090 for ac_func in finitef
67091 do :
67092 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67093 if test "x$ac_cv_func_finitef" = x""yes; then :
67094 cat >>confdefs.h <<_ACEOF
67095 #define HAVE_FINITEF 1
67096 _ACEOF
67097
67098 fi
67099 done
67100
67101 else
67102
67103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67104 $as_echo_n "checking for _finitef declaration... " >&6; }
67105 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67106 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67107 $as_echo_n "(cached) " >&6
67108 else
67109
67110
67111 ac_ext=cpp
67112 ac_cpp='$CXXCPP $CPPFLAGS'
67113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67116
67117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67118 /* end confdefs.h. */
67119 #include <math.h>
67120 #ifdef HAVE_IEEEFP_H
67121 #include <ieeefp.h>
67122 #endif
67123
67124 int
67125 main ()
67126 {
67127 _finitef(0);
67128 ;
67129 return 0;
67130 }
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func__finitef_use=yes
67134 else
67135 glibcxx_cv_func__finitef_use=no
67136 fi
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67143
67144
67145 fi
67146
67147 fi
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67149 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67150
67151 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67152 for ac_func in _finitef
67153 do :
67154 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67155 if test "x$ac_cv_func__finitef" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE__FINITEF 1
67158 _ACEOF
67159
67160 fi
67161 done
67162
67163 fi
67164 fi
67165
67166
67167
67168
67169
67170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67171 $as_echo_n "checking for long double trig functions... " >&6; }
67172 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67173 $as_echo_n "(cached) " >&6
67174 else
67175
67176
67177 ac_ext=cpp
67178 ac_cpp='$CXXCPP $CPPFLAGS'
67179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67182
67183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67184 /* end confdefs.h. */
67185 #include <math.h>
67186 int
67187 main ()
67188 {
67189 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67190 ;
67191 return 0;
67192 }
67193 _ACEOF
67194 if ac_fn_cxx_try_compile "$LINENO"; then :
67195 glibcxx_cv_func_long_double_trig_use=yes
67196 else
67197 glibcxx_cv_func_long_double_trig_use=no
67198 fi
67199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67200 ac_ext=c
67201 ac_cpp='$CPP $CPPFLAGS'
67202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67205
67206 fi
67207
67208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67209 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67210 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67211 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67212 do :
67213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67215 eval as_val=\$$as_ac_var
67216 if test "x$as_val" = x""yes; then :
67217 cat >>confdefs.h <<_ACEOF
67218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67219 _ACEOF
67220
67221 fi
67222 done
67223
67224 else
67225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67226 $as_echo_n "checking for _long double trig functions... " >&6; }
67227 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67228 $as_echo_n "(cached) " >&6
67229 else
67230
67231
67232 ac_ext=cpp
67233 ac_cpp='$CXXCPP $CPPFLAGS'
67234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67237
67238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67239 /* end confdefs.h. */
67240 #include <math.h>
67241 int
67242 main ()
67243 {
67244 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67245 ;
67246 return 0;
67247 }
67248 _ACEOF
67249 if ac_fn_cxx_try_compile "$LINENO"; then :
67250 glibcxx_cv_func__long_double_trig_use=yes
67251 else
67252 glibcxx_cv_func__long_double_trig_use=no
67253 fi
67254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67255 ac_ext=c
67256 ac_cpp='$CPP $CPPFLAGS'
67257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67260
67261 fi
67262
67263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67264 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67265 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67266 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67267 do :
67268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67270 eval as_val=\$$as_ac_var
67271 if test "x$as_val" = x""yes; then :
67272 cat >>confdefs.h <<_ACEOF
67273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67274 _ACEOF
67275
67276 fi
67277 done
67278
67279 fi
67280 fi
67281
67282
67283
67284
67285
67286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67287 $as_echo_n "checking for long double round functions... " >&6; }
67288 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67289 $as_echo_n "(cached) " >&6
67290 else
67291
67292
67293 ac_ext=cpp
67294 ac_cpp='$CXXCPP $CPPFLAGS'
67295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67298
67299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67300 /* end confdefs.h. */
67301 #include <math.h>
67302 int
67303 main ()
67304 {
67305 ceill (0); floorl (0);
67306 ;
67307 return 0;
67308 }
67309 _ACEOF
67310 if ac_fn_cxx_try_compile "$LINENO"; then :
67311 glibcxx_cv_func_long_double_round_use=yes
67312 else
67313 glibcxx_cv_func_long_double_round_use=no
67314 fi
67315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67316 ac_ext=c
67317 ac_cpp='$CPP $CPPFLAGS'
67318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67321
67322 fi
67323
67324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67325 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67326 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67327 for ac_func in ceill floorl
67328 do :
67329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67331 eval as_val=\$$as_ac_var
67332 if test "x$as_val" = x""yes; then :
67333 cat >>confdefs.h <<_ACEOF
67334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67335 _ACEOF
67336
67337 fi
67338 done
67339
67340 else
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67342 $as_echo_n "checking for _long double round functions... " >&6; }
67343 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67344 $as_echo_n "(cached) " >&6
67345 else
67346
67347
67348 ac_ext=cpp
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67353
67354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67355 /* end confdefs.h. */
67356 #include <math.h>
67357 int
67358 main ()
67359 {
67360 _ceill (0); _floorl (0);
67361 ;
67362 return 0;
67363 }
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func__long_double_round_use=yes
67367 else
67368 glibcxx_cv_func__long_double_round_use=no
67369 fi
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376
67377 fi
67378
67379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67380 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67381 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67382 for ac_func in _ceill _floorl
67383 do :
67384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67386 eval as_val=\$$as_ac_var
67387 if test "x$as_val" = x""yes; then :
67388 cat >>confdefs.h <<_ACEOF
67389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67390 _ACEOF
67391
67392 fi
67393 done
67394
67395 fi
67396 fi
67397
67398
67399
67400
67401
67402
67403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67404 $as_echo_n "checking for isnanl declaration... " >&6; }
67405 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67406 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67407 $as_echo_n "(cached) " >&6
67408 else
67409
67410
67411 ac_ext=cpp
67412 ac_cpp='$CXXCPP $CPPFLAGS'
67413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67416
67417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h. */
67419 #include <math.h>
67420 #ifdef HAVE_IEEEFP_H
67421 #include <ieeefp.h>
67422 #endif
67423
67424 int
67425 main ()
67426 {
67427 isnanl(0);
67428 ;
67429 return 0;
67430 }
67431 _ACEOF
67432 if ac_fn_cxx_try_compile "$LINENO"; then :
67433 glibcxx_cv_func_isnanl_use=yes
67434 else
67435 glibcxx_cv_func_isnanl_use=no
67436 fi
67437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443
67444
67445 fi
67446
67447 fi
67448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67449 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67450
67451 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67452 for ac_func in isnanl
67453 do :
67454 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67455 if test "x$ac_cv_func_isnanl" = x""yes; then :
67456 cat >>confdefs.h <<_ACEOF
67457 #define HAVE_ISNANL 1
67458 _ACEOF
67459
67460 fi
67461 done
67462
67463 else
67464
67465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67466 $as_echo_n "checking for _isnanl declaration... " >&6; }
67467 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67468 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67469 $as_echo_n "(cached) " >&6
67470 else
67471
67472
67473 ac_ext=cpp
67474 ac_cpp='$CXXCPP $CPPFLAGS'
67475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67478
67479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67480 /* end confdefs.h. */
67481 #include <math.h>
67482 #ifdef HAVE_IEEEFP_H
67483 #include <ieeefp.h>
67484 #endif
67485
67486 int
67487 main ()
67488 {
67489 _isnanl(0);
67490 ;
67491 return 0;
67492 }
67493 _ACEOF
67494 if ac_fn_cxx_try_compile "$LINENO"; then :
67495 glibcxx_cv_func__isnanl_use=yes
67496 else
67497 glibcxx_cv_func__isnanl_use=no
67498 fi
67499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67505
67506
67507 fi
67508
67509 fi
67510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67511 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67512
67513 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67514 for ac_func in _isnanl
67515 do :
67516 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67517 if test "x$ac_cv_func__isnanl" = x""yes; then :
67518 cat >>confdefs.h <<_ACEOF
67519 #define HAVE__ISNANL 1
67520 _ACEOF
67521
67522 fi
67523 done
67524
67525 fi
67526 fi
67527
67528
67529
67530
67531
67532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67533 $as_echo_n "checking for isinfl declaration... " >&6; }
67534 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67535 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67536 $as_echo_n "(cached) " >&6
67537 else
67538
67539
67540 ac_ext=cpp
67541 ac_cpp='$CXXCPP $CPPFLAGS'
67542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67545
67546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67547 /* end confdefs.h. */
67548 #include <math.h>
67549 #ifdef HAVE_IEEEFP_H
67550 #include <ieeefp.h>
67551 #endif
67552
67553 int
67554 main ()
67555 {
67556 isinfl(0);
67557 ;
67558 return 0;
67559 }
67560 _ACEOF
67561 if ac_fn_cxx_try_compile "$LINENO"; then :
67562 glibcxx_cv_func_isinfl_use=yes
67563 else
67564 glibcxx_cv_func_isinfl_use=no
67565 fi
67566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67567 ac_ext=c
67568 ac_cpp='$CPP $CPPFLAGS'
67569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67572
67573
67574 fi
67575
67576 fi
67577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67578 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67579
67580 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67581 for ac_func in isinfl
67582 do :
67583 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67584 if test "x$ac_cv_func_isinfl" = x""yes; then :
67585 cat >>confdefs.h <<_ACEOF
67586 #define HAVE_ISINFL 1
67587 _ACEOF
67588
67589 fi
67590 done
67591
67592 else
67593
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67595 $as_echo_n "checking for _isinfl declaration... " >&6; }
67596 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67597 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67598 $as_echo_n "(cached) " >&6
67599 else
67600
67601
67602 ac_ext=cpp
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67607
67608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67609 /* end confdefs.h. */
67610 #include <math.h>
67611 #ifdef HAVE_IEEEFP_H
67612 #include <ieeefp.h>
67613 #endif
67614
67615 int
67616 main ()
67617 {
67618 _isinfl(0);
67619 ;
67620 return 0;
67621 }
67622 _ACEOF
67623 if ac_fn_cxx_try_compile "$LINENO"; then :
67624 glibcxx_cv_func__isinfl_use=yes
67625 else
67626 glibcxx_cv_func__isinfl_use=no
67627 fi
67628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67629 ac_ext=c
67630 ac_cpp='$CPP $CPPFLAGS'
67631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67634
67635
67636 fi
67637
67638 fi
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67640 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67641
67642 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67643 for ac_func in _isinfl
67644 do :
67645 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67646 if test "x$ac_cv_func__isinfl" = x""yes; then :
67647 cat >>confdefs.h <<_ACEOF
67648 #define HAVE__ISINFL 1
67649 _ACEOF
67650
67651 fi
67652 done
67653
67654 fi
67655 fi
67656
67657
67658
67659
67660
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67662 $as_echo_n "checking for atan2l declaration... " >&6; }
67663 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67664 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67665 $as_echo_n "(cached) " >&6
67666 else
67667
67668
67669 ac_ext=cpp
67670 ac_cpp='$CXXCPP $CPPFLAGS'
67671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67674
67675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67676 /* end confdefs.h. */
67677 #include <math.h>
67678 int
67679 main ()
67680 {
67681 atan2l(0, 0);
67682 ;
67683 return 0;
67684 }
67685 _ACEOF
67686 if ac_fn_cxx_try_compile "$LINENO"; then :
67687 glibcxx_cv_func_atan2l_use=yes
67688 else
67689 glibcxx_cv_func_atan2l_use=no
67690 fi
67691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67697
67698
67699 fi
67700
67701 fi
67702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67703 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67704
67705 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67706 for ac_func in atan2l
67707 do :
67708 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67709 if test "x$ac_cv_func_atan2l" = x""yes; then :
67710 cat >>confdefs.h <<_ACEOF
67711 #define HAVE_ATAN2L 1
67712 _ACEOF
67713
67714 fi
67715 done
67716
67717 else
67718
67719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67720 $as_echo_n "checking for _atan2l declaration... " >&6; }
67721 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67722 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67723 $as_echo_n "(cached) " >&6
67724 else
67725
67726
67727 ac_ext=cpp
67728 ac_cpp='$CXXCPP $CPPFLAGS'
67729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67732
67733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67734 /* end confdefs.h. */
67735 #include <math.h>
67736 int
67737 main ()
67738 {
67739 _atan2l(0, 0);
67740 ;
67741 return 0;
67742 }
67743 _ACEOF
67744 if ac_fn_cxx_try_compile "$LINENO"; then :
67745 glibcxx_cv_func__atan2l_use=yes
67746 else
67747 glibcxx_cv_func__atan2l_use=no
67748 fi
67749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67750 ac_ext=c
67751 ac_cpp='$CPP $CPPFLAGS'
67752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67755
67756
67757 fi
67758
67759 fi
67760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67761 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67762
67763 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67764 for ac_func in _atan2l
67765 do :
67766 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67767 if test "x$ac_cv_func__atan2l" = x""yes; then :
67768 cat >>confdefs.h <<_ACEOF
67769 #define HAVE__ATAN2L 1
67770 _ACEOF
67771
67772 fi
67773 done
67774
67775 fi
67776 fi
67777
67778
67779
67780
67781
67782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67783 $as_echo_n "checking for expl declaration... " >&6; }
67784 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67785 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67786 $as_echo_n "(cached) " >&6
67787 else
67788
67789
67790 ac_ext=cpp
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67795
67796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67797 /* end confdefs.h. */
67798 #include <math.h>
67799 #ifdef HAVE_IEEEFP_H
67800 #include <ieeefp.h>
67801 #endif
67802
67803 int
67804 main ()
67805 {
67806 expl(0);
67807 ;
67808 return 0;
67809 }
67810 _ACEOF
67811 if ac_fn_cxx_try_compile "$LINENO"; then :
67812 glibcxx_cv_func_expl_use=yes
67813 else
67814 glibcxx_cv_func_expl_use=no
67815 fi
67816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67817 ac_ext=c
67818 ac_cpp='$CPP $CPPFLAGS'
67819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67822
67823
67824 fi
67825
67826 fi
67827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67828 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67829
67830 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67831 for ac_func in expl
67832 do :
67833 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67834 if test "x$ac_cv_func_expl" = x""yes; then :
67835 cat >>confdefs.h <<_ACEOF
67836 #define HAVE_EXPL 1
67837 _ACEOF
67838
67839 fi
67840 done
67841
67842 else
67843
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67845 $as_echo_n "checking for _expl declaration... " >&6; }
67846 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67847 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67848 $as_echo_n "(cached) " >&6
67849 else
67850
67851
67852 ac_ext=cpp
67853 ac_cpp='$CXXCPP $CPPFLAGS'
67854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67857
67858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67859 /* end confdefs.h. */
67860 #include <math.h>
67861 #ifdef HAVE_IEEEFP_H
67862 #include <ieeefp.h>
67863 #endif
67864
67865 int
67866 main ()
67867 {
67868 _expl(0);
67869 ;
67870 return 0;
67871 }
67872 _ACEOF
67873 if ac_fn_cxx_try_compile "$LINENO"; then :
67874 glibcxx_cv_func__expl_use=yes
67875 else
67876 glibcxx_cv_func__expl_use=no
67877 fi
67878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67879 ac_ext=c
67880 ac_cpp='$CPP $CPPFLAGS'
67881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884
67885
67886 fi
67887
67888 fi
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67890 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67891
67892 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67893 for ac_func in _expl
67894 do :
67895 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67896 if test "x$ac_cv_func__expl" = x""yes; then :
67897 cat >>confdefs.h <<_ACEOF
67898 #define HAVE__EXPL 1
67899 _ACEOF
67900
67901 fi
67902 done
67903
67904 fi
67905 fi
67906
67907
67908
67909
67910
67911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67912 $as_echo_n "checking for fabsl declaration... " >&6; }
67913 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67914 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67915 $as_echo_n "(cached) " >&6
67916 else
67917
67918
67919 ac_ext=cpp
67920 ac_cpp='$CXXCPP $CPPFLAGS'
67921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67924
67925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67926 /* end confdefs.h. */
67927 #include <math.h>
67928 #ifdef HAVE_IEEEFP_H
67929 #include <ieeefp.h>
67930 #endif
67931
67932 int
67933 main ()
67934 {
67935 fabsl(0);
67936 ;
67937 return 0;
67938 }
67939 _ACEOF
67940 if ac_fn_cxx_try_compile "$LINENO"; then :
67941 glibcxx_cv_func_fabsl_use=yes
67942 else
67943 glibcxx_cv_func_fabsl_use=no
67944 fi
67945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67946 ac_ext=c
67947 ac_cpp='$CPP $CPPFLAGS'
67948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67951
67952
67953 fi
67954
67955 fi
67956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67957 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67958
67959 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67960 for ac_func in fabsl
67961 do :
67962 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67963 if test "x$ac_cv_func_fabsl" = x""yes; then :
67964 cat >>confdefs.h <<_ACEOF
67965 #define HAVE_FABSL 1
67966 _ACEOF
67967
67968 fi
67969 done
67970
67971 else
67972
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67974 $as_echo_n "checking for _fabsl declaration... " >&6; }
67975 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67976 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67977 $as_echo_n "(cached) " >&6
67978 else
67979
67980
67981 ac_ext=cpp
67982 ac_cpp='$CXXCPP $CPPFLAGS'
67983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67986
67987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67988 /* end confdefs.h. */
67989 #include <math.h>
67990 #ifdef HAVE_IEEEFP_H
67991 #include <ieeefp.h>
67992 #endif
67993
67994 int
67995 main ()
67996 {
67997 _fabsl(0);
67998 ;
67999 return 0;
68000 }
68001 _ACEOF
68002 if ac_fn_cxx_try_compile "$LINENO"; then :
68003 glibcxx_cv_func__fabsl_use=yes
68004 else
68005 glibcxx_cv_func__fabsl_use=no
68006 fi
68007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68008 ac_ext=c
68009 ac_cpp='$CPP $CPPFLAGS'
68010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68013
68014
68015 fi
68016
68017 fi
68018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68019 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68020
68021 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68022 for ac_func in _fabsl
68023 do :
68024 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68025 if test "x$ac_cv_func__fabsl" = x""yes; then :
68026 cat >>confdefs.h <<_ACEOF
68027 #define HAVE__FABSL 1
68028 _ACEOF
68029
68030 fi
68031 done
68032
68033 fi
68034 fi
68035
68036
68037
68038
68039
68040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68041 $as_echo_n "checking for fmodl declaration... " >&6; }
68042 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68043 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68044 $as_echo_n "(cached) " >&6
68045 else
68046
68047
68048 ac_ext=cpp
68049 ac_cpp='$CXXCPP $CPPFLAGS'
68050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68053
68054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68055 /* end confdefs.h. */
68056 #include <math.h>
68057 int
68058 main ()
68059 {
68060 fmodl(0, 0);
68061 ;
68062 return 0;
68063 }
68064 _ACEOF
68065 if ac_fn_cxx_try_compile "$LINENO"; then :
68066 glibcxx_cv_func_fmodl_use=yes
68067 else
68068 glibcxx_cv_func_fmodl_use=no
68069 fi
68070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68071 ac_ext=c
68072 ac_cpp='$CPP $CPPFLAGS'
68073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68076
68077
68078 fi
68079
68080 fi
68081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68082 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68083
68084 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68085 for ac_func in fmodl
68086 do :
68087 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68088 if test "x$ac_cv_func_fmodl" = x""yes; then :
68089 cat >>confdefs.h <<_ACEOF
68090 #define HAVE_FMODL 1
68091 _ACEOF
68092
68093 fi
68094 done
68095
68096 else
68097
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68099 $as_echo_n "checking for _fmodl declaration... " >&6; }
68100 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68101 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68104
68105
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 int
68116 main ()
68117 {
68118 _fmodl(0, 0);
68119 ;
68120 return 0;
68121 }
68122 _ACEOF
68123 if ac_fn_cxx_try_compile "$LINENO"; then :
68124 glibcxx_cv_func__fmodl_use=yes
68125 else
68126 glibcxx_cv_func__fmodl_use=no
68127 fi
68128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68129 ac_ext=c
68130 ac_cpp='$CPP $CPPFLAGS'
68131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68134
68135
68136 fi
68137
68138 fi
68139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68140 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68141
68142 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68143 for ac_func in _fmodl
68144 do :
68145 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68146 if test "x$ac_cv_func__fmodl" = x""yes; then :
68147 cat >>confdefs.h <<_ACEOF
68148 #define HAVE__FMODL 1
68149 _ACEOF
68150
68151 fi
68152 done
68153
68154 fi
68155 fi
68156
68157
68158
68159
68160
68161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68162 $as_echo_n "checking for frexpl declaration... " >&6; }
68163 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68164 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68165 $as_echo_n "(cached) " >&6
68166 else
68167
68168
68169 ac_ext=cpp
68170 ac_cpp='$CXXCPP $CPPFLAGS'
68171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68174
68175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68176 /* end confdefs.h. */
68177 #include <math.h>
68178 int
68179 main ()
68180 {
68181 frexpl(0, 0);
68182 ;
68183 return 0;
68184 }
68185 _ACEOF
68186 if ac_fn_cxx_try_compile "$LINENO"; then :
68187 glibcxx_cv_func_frexpl_use=yes
68188 else
68189 glibcxx_cv_func_frexpl_use=no
68190 fi
68191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68192 ac_ext=c
68193 ac_cpp='$CPP $CPPFLAGS'
68194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68197
68198
68199 fi
68200
68201 fi
68202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68203 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68204
68205 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68206 for ac_func in frexpl
68207 do :
68208 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68209 if test "x$ac_cv_func_frexpl" = x""yes; then :
68210 cat >>confdefs.h <<_ACEOF
68211 #define HAVE_FREXPL 1
68212 _ACEOF
68213
68214 fi
68215 done
68216
68217 else
68218
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68220 $as_echo_n "checking for _frexpl declaration... " >&6; }
68221 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68222 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68223 $as_echo_n "(cached) " >&6
68224 else
68225
68226
68227 ac_ext=cpp
68228 ac_cpp='$CXXCPP $CPPFLAGS'
68229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68232
68233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68234 /* end confdefs.h. */
68235 #include <math.h>
68236 int
68237 main ()
68238 {
68239 _frexpl(0, 0);
68240 ;
68241 return 0;
68242 }
68243 _ACEOF
68244 if ac_fn_cxx_try_compile "$LINENO"; then :
68245 glibcxx_cv_func__frexpl_use=yes
68246 else
68247 glibcxx_cv_func__frexpl_use=no
68248 fi
68249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68250 ac_ext=c
68251 ac_cpp='$CPP $CPPFLAGS'
68252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68255
68256
68257 fi
68258
68259 fi
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68261 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68262
68263 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68264 for ac_func in _frexpl
68265 do :
68266 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68267 if test "x$ac_cv_func__frexpl" = x""yes; then :
68268 cat >>confdefs.h <<_ACEOF
68269 #define HAVE__FREXPL 1
68270 _ACEOF
68271
68272 fi
68273 done
68274
68275 fi
68276 fi
68277
68278
68279
68280
68281
68282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68283 $as_echo_n "checking for hypotl declaration... " >&6; }
68284 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68285 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68286 $as_echo_n "(cached) " >&6
68287 else
68288
68289
68290 ac_ext=cpp
68291 ac_cpp='$CXXCPP $CPPFLAGS'
68292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68295
68296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68297 /* end confdefs.h. */
68298 #include <math.h>
68299 int
68300 main ()
68301 {
68302 hypotl(0, 0);
68303 ;
68304 return 0;
68305 }
68306 _ACEOF
68307 if ac_fn_cxx_try_compile "$LINENO"; then :
68308 glibcxx_cv_func_hypotl_use=yes
68309 else
68310 glibcxx_cv_func_hypotl_use=no
68311 fi
68312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68313 ac_ext=c
68314 ac_cpp='$CPP $CPPFLAGS'
68315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68318
68319
68320 fi
68321
68322 fi
68323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68324 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68325
68326 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68327 for ac_func in hypotl
68328 do :
68329 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68330 if test "x$ac_cv_func_hypotl" = x""yes; then :
68331 cat >>confdefs.h <<_ACEOF
68332 #define HAVE_HYPOTL 1
68333 _ACEOF
68334
68335 fi
68336 done
68337
68338 else
68339
68340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68341 $as_echo_n "checking for _hypotl declaration... " >&6; }
68342 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68343 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68344 $as_echo_n "(cached) " >&6
68345 else
68346
68347
68348 ac_ext=cpp
68349 ac_cpp='$CXXCPP $CPPFLAGS'
68350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68353
68354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68355 /* end confdefs.h. */
68356 #include <math.h>
68357 int
68358 main ()
68359 {
68360 _hypotl(0, 0);
68361 ;
68362 return 0;
68363 }
68364 _ACEOF
68365 if ac_fn_cxx_try_compile "$LINENO"; then :
68366 glibcxx_cv_func__hypotl_use=yes
68367 else
68368 glibcxx_cv_func__hypotl_use=no
68369 fi
68370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68371 ac_ext=c
68372 ac_cpp='$CPP $CPPFLAGS'
68373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68376
68377
68378 fi
68379
68380 fi
68381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68382 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68383
68384 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68385 for ac_func in _hypotl
68386 do :
68387 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68388 if test "x$ac_cv_func__hypotl" = x""yes; then :
68389 cat >>confdefs.h <<_ACEOF
68390 #define HAVE__HYPOTL 1
68391 _ACEOF
68392
68393 fi
68394 done
68395
68396 fi
68397 fi
68398
68399
68400
68401
68402
68403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68404 $as_echo_n "checking for ldexpl declaration... " >&6; }
68405 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68406 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68407 $as_echo_n "(cached) " >&6
68408 else
68409
68410
68411 ac_ext=cpp
68412 ac_cpp='$CXXCPP $CPPFLAGS'
68413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68416
68417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68418 /* end confdefs.h. */
68419 #include <math.h>
68420 int
68421 main ()
68422 {
68423 ldexpl(0, 0);
68424 ;
68425 return 0;
68426 }
68427 _ACEOF
68428 if ac_fn_cxx_try_compile "$LINENO"; then :
68429 glibcxx_cv_func_ldexpl_use=yes
68430 else
68431 glibcxx_cv_func_ldexpl_use=no
68432 fi
68433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68434 ac_ext=c
68435 ac_cpp='$CPP $CPPFLAGS'
68436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68439
68440
68441 fi
68442
68443 fi
68444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68445 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68446
68447 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68448 for ac_func in ldexpl
68449 do :
68450 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68451 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68452 cat >>confdefs.h <<_ACEOF
68453 #define HAVE_LDEXPL 1
68454 _ACEOF
68455
68456 fi
68457 done
68458
68459 else
68460
68461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68462 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68463 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68464 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68465 $as_echo_n "(cached) " >&6
68466 else
68467
68468
68469 ac_ext=cpp
68470 ac_cpp='$CXXCPP $CPPFLAGS'
68471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68474
68475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68476 /* end confdefs.h. */
68477 #include <math.h>
68478 int
68479 main ()
68480 {
68481 _ldexpl(0, 0);
68482 ;
68483 return 0;
68484 }
68485 _ACEOF
68486 if ac_fn_cxx_try_compile "$LINENO"; then :
68487 glibcxx_cv_func__ldexpl_use=yes
68488 else
68489 glibcxx_cv_func__ldexpl_use=no
68490 fi
68491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68492 ac_ext=c
68493 ac_cpp='$CPP $CPPFLAGS'
68494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68497
68498
68499 fi
68500
68501 fi
68502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68503 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68504
68505 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68506 for ac_func in _ldexpl
68507 do :
68508 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68509 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68510 cat >>confdefs.h <<_ACEOF
68511 #define HAVE__LDEXPL 1
68512 _ACEOF
68513
68514 fi
68515 done
68516
68517 fi
68518 fi
68519
68520
68521
68522
68523
68524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68525 $as_echo_n "checking for logl declaration... " >&6; }
68526 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68527 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68528 $as_echo_n "(cached) " >&6
68529 else
68530
68531
68532 ac_ext=cpp
68533 ac_cpp='$CXXCPP $CPPFLAGS'
68534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68537
68538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68539 /* end confdefs.h. */
68540 #include <math.h>
68541 #ifdef HAVE_IEEEFP_H
68542 #include <ieeefp.h>
68543 #endif
68544
68545 int
68546 main ()
68547 {
68548 logl(0);
68549 ;
68550 return 0;
68551 }
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func_logl_use=yes
68555 else
68556 glibcxx_cv_func_logl_use=no
68557 fi
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68564
68565
68566 fi
68567
68568 fi
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68570 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68571
68572 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68573 for ac_func in logl
68574 do :
68575 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68576 if test "x$ac_cv_func_logl" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE_LOGL 1
68579 _ACEOF
68580
68581 fi
68582 done
68583
68584 else
68585
68586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68587 $as_echo_n "checking for _logl declaration... " >&6; }
68588 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68589 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68590 $as_echo_n "(cached) " >&6
68591 else
68592
68593
68594 ac_ext=cpp
68595 ac_cpp='$CXXCPP $CPPFLAGS'
68596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68599
68600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68601 /* end confdefs.h. */
68602 #include <math.h>
68603 #ifdef HAVE_IEEEFP_H
68604 #include <ieeefp.h>
68605 #endif
68606
68607 int
68608 main ()
68609 {
68610 _logl(0);
68611 ;
68612 return 0;
68613 }
68614 _ACEOF
68615 if ac_fn_cxx_try_compile "$LINENO"; then :
68616 glibcxx_cv_func__logl_use=yes
68617 else
68618 glibcxx_cv_func__logl_use=no
68619 fi
68620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68621 ac_ext=c
68622 ac_cpp='$CPP $CPPFLAGS'
68623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68626
68627
68628 fi
68629
68630 fi
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68632 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68633
68634 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68635 for ac_func in _logl
68636 do :
68637 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68638 if test "x$ac_cv_func__logl" = x""yes; then :
68639 cat >>confdefs.h <<_ACEOF
68640 #define HAVE__LOGL 1
68641 _ACEOF
68642
68643 fi
68644 done
68645
68646 fi
68647 fi
68648
68649
68650
68651
68652
68653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68654 $as_echo_n "checking for log10l declaration... " >&6; }
68655 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68656 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68657 $as_echo_n "(cached) " >&6
68658 else
68659
68660
68661 ac_ext=cpp
68662 ac_cpp='$CXXCPP $CPPFLAGS'
68663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68666
68667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68668 /* end confdefs.h. */
68669 #include <math.h>
68670 #ifdef HAVE_IEEEFP_H
68671 #include <ieeefp.h>
68672 #endif
68673
68674 int
68675 main ()
68676 {
68677 log10l(0);
68678 ;
68679 return 0;
68680 }
68681 _ACEOF
68682 if ac_fn_cxx_try_compile "$LINENO"; then :
68683 glibcxx_cv_func_log10l_use=yes
68684 else
68685 glibcxx_cv_func_log10l_use=no
68686 fi
68687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68688 ac_ext=c
68689 ac_cpp='$CPP $CPPFLAGS'
68690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68693
68694
68695 fi
68696
68697 fi
68698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68699 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68700
68701 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68702 for ac_func in log10l
68703 do :
68704 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68705 if test "x$ac_cv_func_log10l" = x""yes; then :
68706 cat >>confdefs.h <<_ACEOF
68707 #define HAVE_LOG10L 1
68708 _ACEOF
68709
68710 fi
68711 done
68712
68713 else
68714
68715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68716 $as_echo_n "checking for _log10l declaration... " >&6; }
68717 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68718 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68719 $as_echo_n "(cached) " >&6
68720 else
68721
68722
68723 ac_ext=cpp
68724 ac_cpp='$CXXCPP $CPPFLAGS'
68725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68728
68729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68730 /* end confdefs.h. */
68731 #include <math.h>
68732 #ifdef HAVE_IEEEFP_H
68733 #include <ieeefp.h>
68734 #endif
68735
68736 int
68737 main ()
68738 {
68739 _log10l(0);
68740 ;
68741 return 0;
68742 }
68743 _ACEOF
68744 if ac_fn_cxx_try_compile "$LINENO"; then :
68745 glibcxx_cv_func__log10l_use=yes
68746 else
68747 glibcxx_cv_func__log10l_use=no
68748 fi
68749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68750 ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68755
68756
68757 fi
68758
68759 fi
68760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68761 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68762
68763 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68764 for ac_func in _log10l
68765 do :
68766 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68767 if test "x$ac_cv_func__log10l" = x""yes; then :
68768 cat >>confdefs.h <<_ACEOF
68769 #define HAVE__LOG10L 1
68770 _ACEOF
68771
68772 fi
68773 done
68774
68775 fi
68776 fi
68777
68778
68779
68780
68781
68782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68783 $as_echo_n "checking for modfl declaration... " >&6; }
68784 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68785 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68786 $as_echo_n "(cached) " >&6
68787 else
68788
68789
68790 ac_ext=cpp
68791 ac_cpp='$CXXCPP $CPPFLAGS'
68792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68795
68796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68797 /* end confdefs.h. */
68798 #include <math.h>
68799 int
68800 main ()
68801 {
68802 modfl(0, 0);
68803 ;
68804 return 0;
68805 }
68806 _ACEOF
68807 if ac_fn_cxx_try_compile "$LINENO"; then :
68808 glibcxx_cv_func_modfl_use=yes
68809 else
68810 glibcxx_cv_func_modfl_use=no
68811 fi
68812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68813 ac_ext=c
68814 ac_cpp='$CPP $CPPFLAGS'
68815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68818
68819
68820 fi
68821
68822 fi
68823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68824 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68825
68826 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68827 for ac_func in modfl
68828 do :
68829 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68830 if test "x$ac_cv_func_modfl" = x""yes; then :
68831 cat >>confdefs.h <<_ACEOF
68832 #define HAVE_MODFL 1
68833 _ACEOF
68834
68835 fi
68836 done
68837
68838 else
68839
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68841 $as_echo_n "checking for _modfl declaration... " >&6; }
68842 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68843 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68846
68847
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68857 int
68858 main ()
68859 {
68860 _modfl(0, 0);
68861 ;
68862 return 0;
68863 }
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func__modfl_use=yes
68867 else
68868 glibcxx_cv_func__modfl_use=no
68869 fi
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68876
68877
68878 fi
68879
68880 fi
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68882 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68883
68884 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68885 for ac_func in _modfl
68886 do :
68887 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68888 if test "x$ac_cv_func__modfl" = x""yes; then :
68889 cat >>confdefs.h <<_ACEOF
68890 #define HAVE__MODFL 1
68891 _ACEOF
68892
68893 fi
68894 done
68895
68896 fi
68897 fi
68898
68899
68900
68901
68902
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68904 $as_echo_n "checking for powl declaration... " >&6; }
68905 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68906 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68907 $as_echo_n "(cached) " >&6
68908 else
68909
68910
68911 ac_ext=cpp
68912 ac_cpp='$CXXCPP $CPPFLAGS'
68913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68916
68917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68918 /* end confdefs.h. */
68919 #include <math.h>
68920 int
68921 main ()
68922 {
68923 powl(0, 0);
68924 ;
68925 return 0;
68926 }
68927 _ACEOF
68928 if ac_fn_cxx_try_compile "$LINENO"; then :
68929 glibcxx_cv_func_powl_use=yes
68930 else
68931 glibcxx_cv_func_powl_use=no
68932 fi
68933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68934 ac_ext=c
68935 ac_cpp='$CPP $CPPFLAGS'
68936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68939
68940
68941 fi
68942
68943 fi
68944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68945 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68946
68947 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68948 for ac_func in powl
68949 do :
68950 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68951 if test "x$ac_cv_func_powl" = x""yes; then :
68952 cat >>confdefs.h <<_ACEOF
68953 #define HAVE_POWL 1
68954 _ACEOF
68955
68956 fi
68957 done
68958
68959 else
68960
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68962 $as_echo_n "checking for _powl declaration... " >&6; }
68963 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68964 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68965 $as_echo_n "(cached) " >&6
68966 else
68967
68968
68969 ac_ext=cpp
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68974
68975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68976 /* end confdefs.h. */
68977 #include <math.h>
68978 int
68979 main ()
68980 {
68981 _powl(0, 0);
68982 ;
68983 return 0;
68984 }
68985 _ACEOF
68986 if ac_fn_cxx_try_compile "$LINENO"; then :
68987 glibcxx_cv_func__powl_use=yes
68988 else
68989 glibcxx_cv_func__powl_use=no
68990 fi
68991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68992 ac_ext=c
68993 ac_cpp='$CPP $CPPFLAGS'
68994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68997
68998
68999 fi
69000
69001 fi
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69003 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69004
69005 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69006 for ac_func in _powl
69007 do :
69008 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69009 if test "x$ac_cv_func__powl" = x""yes; then :
69010 cat >>confdefs.h <<_ACEOF
69011 #define HAVE__POWL 1
69012 _ACEOF
69013
69014 fi
69015 done
69016
69017 fi
69018 fi
69019
69020
69021
69022
69023
69024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69025 $as_echo_n "checking for sqrtl declaration... " >&6; }
69026 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69027 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69028 $as_echo_n "(cached) " >&6
69029 else
69030
69031
69032 ac_ext=cpp
69033 ac_cpp='$CXXCPP $CPPFLAGS'
69034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69037
69038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69039 /* end confdefs.h. */
69040 #include <math.h>
69041 #ifdef HAVE_IEEEFP_H
69042 #include <ieeefp.h>
69043 #endif
69044
69045 int
69046 main ()
69047 {
69048 sqrtl(0);
69049 ;
69050 return 0;
69051 }
69052 _ACEOF
69053 if ac_fn_cxx_try_compile "$LINENO"; then :
69054 glibcxx_cv_func_sqrtl_use=yes
69055 else
69056 glibcxx_cv_func_sqrtl_use=no
69057 fi
69058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69059 ac_ext=c
69060 ac_cpp='$CPP $CPPFLAGS'
69061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69064
69065
69066 fi
69067
69068 fi
69069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69070 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69071
69072 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69073 for ac_func in sqrtl
69074 do :
69075 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69076 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69077 cat >>confdefs.h <<_ACEOF
69078 #define HAVE_SQRTL 1
69079 _ACEOF
69080
69081 fi
69082 done
69083
69084 else
69085
69086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69087 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69088 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69089 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69090 $as_echo_n "(cached) " >&6
69091 else
69092
69093
69094 ac_ext=cpp
69095 ac_cpp='$CXXCPP $CPPFLAGS'
69096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69099
69100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69101 /* end confdefs.h. */
69102 #include <math.h>
69103 #ifdef HAVE_IEEEFP_H
69104 #include <ieeefp.h>
69105 #endif
69106
69107 int
69108 main ()
69109 {
69110 _sqrtl(0);
69111 ;
69112 return 0;
69113 }
69114 _ACEOF
69115 if ac_fn_cxx_try_compile "$LINENO"; then :
69116 glibcxx_cv_func__sqrtl_use=yes
69117 else
69118 glibcxx_cv_func__sqrtl_use=no
69119 fi
69120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69121 ac_ext=c
69122 ac_cpp='$CPP $CPPFLAGS'
69123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69126
69127
69128 fi
69129
69130 fi
69131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69132 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69133
69134 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69135 for ac_func in _sqrtl
69136 do :
69137 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69138 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69139 cat >>confdefs.h <<_ACEOF
69140 #define HAVE__SQRTL 1
69141 _ACEOF
69142
69143 fi
69144 done
69145
69146 fi
69147 fi
69148
69149
69150
69151
69152
69153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69154 $as_echo_n "checking for sincosl declaration... " >&6; }
69155 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69156 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69157 $as_echo_n "(cached) " >&6
69158 else
69159
69160
69161 ac_ext=cpp
69162 ac_cpp='$CXXCPP $CPPFLAGS'
69163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69166
69167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69168 /* end confdefs.h. */
69169 #include <math.h>
69170 int
69171 main ()
69172 {
69173 sincosl(0, 0, 0);
69174 ;
69175 return 0;
69176 }
69177 _ACEOF
69178 if ac_fn_cxx_try_compile "$LINENO"; then :
69179 glibcxx_cv_func_sincosl_use=yes
69180 else
69181 glibcxx_cv_func_sincosl_use=no
69182 fi
69183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69184 ac_ext=c
69185 ac_cpp='$CPP $CPPFLAGS'
69186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69189
69190
69191 fi
69192
69193 fi
69194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69195 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69196
69197 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69198 for ac_func in sincosl
69199 do :
69200 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69201 if test "x$ac_cv_func_sincosl" = x""yes; then :
69202 cat >>confdefs.h <<_ACEOF
69203 #define HAVE_SINCOSL 1
69204 _ACEOF
69205
69206 fi
69207 done
69208
69209 else
69210
69211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69212 $as_echo_n "checking for _sincosl declaration... " >&6; }
69213 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69214 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69215 $as_echo_n "(cached) " >&6
69216 else
69217
69218
69219 ac_ext=cpp
69220 ac_cpp='$CXXCPP $CPPFLAGS'
69221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69224
69225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69226 /* end confdefs.h. */
69227 #include <math.h>
69228 int
69229 main ()
69230 {
69231 _sincosl(0, 0, 0);
69232 ;
69233 return 0;
69234 }
69235 _ACEOF
69236 if ac_fn_cxx_try_compile "$LINENO"; then :
69237 glibcxx_cv_func__sincosl_use=yes
69238 else
69239 glibcxx_cv_func__sincosl_use=no
69240 fi
69241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69242 ac_ext=c
69243 ac_cpp='$CPP $CPPFLAGS'
69244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69247
69248
69249 fi
69250
69251 fi
69252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69253 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69254
69255 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69256 for ac_func in _sincosl
69257 do :
69258 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69259 if test "x$ac_cv_func__sincosl" = x""yes; then :
69260 cat >>confdefs.h <<_ACEOF
69261 #define HAVE__SINCOSL 1
69262 _ACEOF
69263
69264 fi
69265 done
69266
69267 fi
69268 fi
69269
69270
69271
69272
69273
69274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69275 $as_echo_n "checking for finitel declaration... " >&6; }
69276 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69277 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69278 $as_echo_n "(cached) " >&6
69279 else
69280
69281
69282 ac_ext=cpp
69283 ac_cpp='$CXXCPP $CPPFLAGS'
69284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69287
69288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69289 /* end confdefs.h. */
69290 #include <math.h>
69291 #ifdef HAVE_IEEEFP_H
69292 #include <ieeefp.h>
69293 #endif
69294
69295 int
69296 main ()
69297 {
69298 finitel(0);
69299 ;
69300 return 0;
69301 }
69302 _ACEOF
69303 if ac_fn_cxx_try_compile "$LINENO"; then :
69304 glibcxx_cv_func_finitel_use=yes
69305 else
69306 glibcxx_cv_func_finitel_use=no
69307 fi
69308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69309 ac_ext=c
69310 ac_cpp='$CPP $CPPFLAGS'
69311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69314
69315
69316 fi
69317
69318 fi
69319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69320 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69321
69322 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69323 for ac_func in finitel
69324 do :
69325 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69326 if test "x$ac_cv_func_finitel" = x""yes; then :
69327 cat >>confdefs.h <<_ACEOF
69328 #define HAVE_FINITEL 1
69329 _ACEOF
69330
69331 fi
69332 done
69333
69334 else
69335
69336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69337 $as_echo_n "checking for _finitel declaration... " >&6; }
69338 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69339 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69340 $as_echo_n "(cached) " >&6
69341 else
69342
69343
69344 ac_ext=cpp
69345 ac_cpp='$CXXCPP $CPPFLAGS'
69346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69349
69350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69351 /* end confdefs.h. */
69352 #include <math.h>
69353 #ifdef HAVE_IEEEFP_H
69354 #include <ieeefp.h>
69355 #endif
69356
69357 int
69358 main ()
69359 {
69360 _finitel(0);
69361 ;
69362 return 0;
69363 }
69364 _ACEOF
69365 if ac_fn_cxx_try_compile "$LINENO"; then :
69366 glibcxx_cv_func__finitel_use=yes
69367 else
69368 glibcxx_cv_func__finitel_use=no
69369 fi
69370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69371 ac_ext=c
69372 ac_cpp='$CPP $CPPFLAGS'
69373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69376
69377
69378 fi
69379
69380 fi
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69382 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69383
69384 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69385 for ac_func in _finitel
69386 do :
69387 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69388 if test "x$ac_cv_func__finitel" = x""yes; then :
69389 cat >>confdefs.h <<_ACEOF
69390 #define HAVE__FINITEL 1
69391 _ACEOF
69392
69393 fi
69394 done
69395
69396 fi
69397 fi
69398
69399
69400
69401
69402 LIBS="$ac_save_LIBS"
69403 CXXFLAGS="$ac_save_CXXFLAGS"
69404
69405
69406 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69407 ac_save_CXXFLAGS="$CXXFLAGS"
69408 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69409
69410
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69412 $as_echo_n "checking for strtold declaration... " >&6; }
69413 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69414 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69415 $as_echo_n "(cached) " >&6
69416 else
69417
69418
69419 ac_ext=cpp
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69424
69425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69426 /* end confdefs.h. */
69427 #include <stdlib.h>
69428 int
69429 main ()
69430 {
69431 strtold(0, 0);
69432 ;
69433 return 0;
69434 }
69435 _ACEOF
69436 if ac_fn_cxx_try_compile "$LINENO"; then :
69437 glibcxx_cv_func_strtold_use=yes
69438 else
69439 glibcxx_cv_func_strtold_use=no
69440 fi
69441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69442 ac_ext=c
69443 ac_cpp='$CPP $CPPFLAGS'
69444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69447
69448
69449 fi
69450
69451 fi
69452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69453 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69454 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69455 for ac_func in strtold
69456 do :
69457 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69458 if test "x$ac_cv_func_strtold" = x""yes; then :
69459 cat >>confdefs.h <<_ACEOF
69460 #define HAVE_STRTOLD 1
69461 _ACEOF
69462
69463 fi
69464 done
69465
69466 fi
69467
69468
69469
69470
69471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69472 $as_echo_n "checking for strtof declaration... " >&6; }
69473 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69474 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69475 $as_echo_n "(cached) " >&6
69476 else
69477
69478
69479 ac_ext=cpp
69480 ac_cpp='$CXXCPP $CPPFLAGS'
69481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69484
69485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69486 /* end confdefs.h. */
69487 #include <stdlib.h>
69488 int
69489 main ()
69490 {
69491 strtof(0, 0);
69492 ;
69493 return 0;
69494 }
69495 _ACEOF
69496 if ac_fn_cxx_try_compile "$LINENO"; then :
69497 glibcxx_cv_func_strtof_use=yes
69498 else
69499 glibcxx_cv_func_strtof_use=no
69500 fi
69501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69502 ac_ext=c
69503 ac_cpp='$CPP $CPPFLAGS'
69504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69507
69508
69509 fi
69510
69511 fi
69512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69513 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69514 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69515 for ac_func in strtof
69516 do :
69517 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69518 if test "x$ac_cv_func_strtof" = x""yes; then :
69519 cat >>confdefs.h <<_ACEOF
69520 #define HAVE_STRTOF 1
69521 _ACEOF
69522
69523 fi
69524 done
69525
69526 fi
69527
69528
69529
69530
69531 CXXFLAGS="$ac_save_CXXFLAGS"
69532
69533 ;;
69534 *-vxworks)
69535 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69536
69537 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69538
69539 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69540
69541 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69542
69543 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69544
69545 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69546
69547 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69548
69549 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69550
69551 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69552
69553 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69554
69555 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69556
69557 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69558
69559 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69560
69561 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69562
69563 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69564
69565 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69566
69567 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69568
69569 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69570
69571 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69572
69573 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69574
69575 ;;
69576 *)
69577 as_fn_error "No support for this host/target combination." "$LINENO" 5
69578 ;;
69579 esac
69580
69581 fi
69582
69583 # At some point, we should differentiate between architectures
69584 # like x86, which have long double versions, and alpha/powerpc/etc.,
69585 # which don't. For the time being, punt.
69586 if test x"long_double_math_on_this_cpu" = x"yes"; then
69587 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69588
69589 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69590
69591 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69592
69593 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69594
69595 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69596
69597 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69598
69599 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69600
69601 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69602
69603 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69604
69605 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69606
69607 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69608
69609 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69610
69611 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69612
69613 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69614
69615 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69616
69617 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69618
69619 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69620
69621 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69622
69623 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69624
69625 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69626
69627 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69628
69629 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69630
69631 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69632
69633 fi
69634 fi
69635
69636 # Check for _Unwind_GetIPInfo.
69637
69638
69639 # Check whether --with-system-libunwind was given.
69640 if test "${with_system_libunwind+set}" = set; then :
69641 withval=$with_system_libunwind;
69642 fi
69643
69644 # If system-libunwind was not specifically set, pick a default setting.
69645 if test x$with_system_libunwind = x; then
69646 case ${target} in
69647 ia64-*-hpux*) with_system_libunwind=yes ;;
69648 *) with_system_libunwind=no ;;
69649 esac
69650 fi
69651 # Based on system-libunwind and target, do we have ipinfo?
69652 if test x$with_system_libunwind = xyes; then
69653 case ${target} in
69654 ia64-*-*) have_unwind_getipinfo=no ;;
69655 *) have_unwind_getipinfo=yes ;;
69656 esac
69657 else
69658 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69659
69660 case ${target} in
69661 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69662 *) have_unwind_getipinfo=yes ;;
69663 esac
69664
69665 fi
69666
69667 if test x$have_unwind_getipinfo = xyes; then
69668
69669 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69670
69671 fi
69672
69673
69674 # Check whether --enable-linux-futex was given.
69675 if test "${enable_linux_futex+set}" = set; then :
69676 enableval=$enable_linux_futex;
69677 case "$enableval" in
69678 yes|no|default) ;;
69679 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69680 esac
69681
69682 else
69683 enable_linux_futex=default
69684 fi
69685
69686
69687 case "$target" in
69688 *-linux*)
69689 case "$enable_linux_futex" in
69690 default)
69691 # If headers don't have gettid/futex syscalls definition, then
69692 # default to no, otherwise there will be compile time failures.
69693 # Otherwise, default to yes. If we don't detect we are
69694 # compiled/linked against NPTL and not cross-compiling, check
69695 # if programs are run by default against NPTL and if not, issue
69696 # a warning.
69697 enable_linux_futex=no
69698 if test x$gcc_no_link = xyes; then
69699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69700 fi
69701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69702 /* end confdefs.h. */
69703 #include <sys/syscall.h>
69704 int lk;
69705 int
69706 main ()
69707 {
69708 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69709 ;
69710 return 0;
69711 }
69712 _ACEOF
69713 if ac_fn_c_try_link "$LINENO"; then :
69714 save_LIBS="$LIBS"
69715 LIBS="-lpthread $LIBS"
69716 if test x$gcc_no_link = xyes; then
69717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69718 fi
69719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69720 /* end confdefs.h. */
69721 #ifndef _GNU_SOURCE
69722 #define _GNU_SOURCE 1
69723 #endif
69724 #include <pthread.h>
69725 pthread_t th; void *status;
69726 int
69727 main ()
69728 {
69729 pthread_tryjoin_np (th, &status);
69730 ;
69731 return 0;
69732 }
69733 _ACEOF
69734 if ac_fn_c_try_link "$LINENO"; then :
69735 enable_linux_futex=yes
69736 else
69737 if test x$cross_compiling = xno; then
69738 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69739 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69741 If so, please configure with --disable-linux-futex" >&5
69742 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69743 If so, please configure with --disable-linux-futex" >&2;}
69744 fi
69745 fi
69746 enable_linux_futex=yes
69747 fi
69748 rm -f core conftest.err conftest.$ac_objext \
69749 conftest$ac_exeext conftest.$ac_ext
69750 LIBS="$save_LIBS"
69751 fi
69752 rm -f core conftest.err conftest.$ac_objext \
69753 conftest$ac_exeext conftest.$ac_ext
69754 ;;
69755 yes)
69756 if test x$gcc_no_link = xyes; then
69757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69758 fi
69759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69760 /* end confdefs.h. */
69761 #include <sys/syscall.h>
69762 int lk;
69763 int
69764 main ()
69765 {
69766 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69767 ;
69768 return 0;
69769 }
69770 _ACEOF
69771 if ac_fn_c_try_link "$LINENO"; then :
69772
69773 else
69774 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69775 fi
69776 rm -f core conftest.err conftest.$ac_objext \
69777 conftest$ac_exeext conftest.$ac_ext
69778 ;;
69779 esac
69780 ;;
69781 *)
69782 enable_linux_futex=no
69783 ;;
69784 esac
69785 if test x$enable_linux_futex = xyes; then
69786
69787 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69788
69789 fi
69790
69791
69792
69793
69794 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69795
69796 acx_cv_header_stdint=stddef.h
69797 acx_cv_header_stdint_kind="(already complete)"
69798 for i in stdint.h $inttype_headers; do
69799 unset ac_cv_type_uintptr_t
69800 unset ac_cv_type_uintmax_t
69801 unset ac_cv_type_int_least32_t
69802 unset ac_cv_type_int_fast32_t
69803 unset ac_cv_type_uint64_t
69804 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69805 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69806 #include <$i>
69807 "
69808 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69809 acx_cv_header_stdint=$i
69810 else
69811 continue
69812 fi
69813
69814 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69815 #include <$i>
69816 "
69817 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69818
69819 else
69820 acx_cv_header_stdint_kind="(mostly complete)"
69821 fi
69822
69823 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69824 #include <$i>
69825 "
69826 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69827
69828 else
69829 acx_cv_header_stdint_kind="(mostly complete)"
69830 fi
69831
69832 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69833 #include <$i>
69834 "
69835 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69836
69837 else
69838 acx_cv_header_stdint_kind="(mostly complete)"
69839 fi
69840
69841 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69842 #include <$i>
69843 "
69844 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69845
69846 else
69847 acx_cv_header_stdint_kind="(lacks uint64_t)"
69848 fi
69849
69850 break
69851 done
69852 if test "$acx_cv_header_stdint" = stddef.h; then
69853 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69854 for i in stdint.h $inttype_headers; do
69855 unset ac_cv_type_uintptr_t
69856 unset ac_cv_type_uint32_t
69857 unset ac_cv_type_uint64_t
69858 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69859 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69860 #include <$i>
69861 "
69862 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69863 acx_cv_header_stdint=$i
69864 else
69865 continue
69866 fi
69867
69868 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69869 #include <$i>
69870 "
69871 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69872
69873 fi
69874
69875 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69876 #include <$i>
69877 "
69878 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69879
69880 fi
69881
69882 break
69883 done
69884 fi
69885 if test "$acx_cv_header_stdint" = stddef.h; then
69886 acx_cv_header_stdint_kind="(u_intXX_t style)"
69887 for i in sys/types.h $inttype_headers; do
69888 unset ac_cv_type_u_int32_t
69889 unset ac_cv_type_u_int64_t
69890 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69891 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69892 #include <$i>
69893 "
69894 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69895 acx_cv_header_stdint=$i
69896 else
69897 continue
69898 fi
69899
69900 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69901 #include <$i>
69902 "
69903 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69904
69905 fi
69906
69907 break
69908 done
69909 fi
69910 if test "$acx_cv_header_stdint" = stddef.h; then
69911 acx_cv_header_stdint_kind="(using manual detection)"
69912 fi
69913
69914 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69915 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69916 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69917 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69918 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69919
69920 # ----------------- Summarize what we found so far
69921
69922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69923 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69924
69925 case `$as_basename -- include/gstdint.h ||
69926 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69927 Xinclude/gstdint.h : 'X\(//\)$' \| \
69928 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69929 $as_echo X/include/gstdint.h |
69930 sed '/^.*\/\([^/][^/]*\)\/*$/{
69931 s//\1/
69932 q
69933 }
69934 /^X\/\(\/\/\)$/{
69935 s//\1/
69936 q
69937 }
69938 /^X\/\(\/\).*/{
69939 s//\1/
69940 q
69941 }
69942 s/.*/./; q'` in
69943 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69944 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69945 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69946 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69947 *) ;;
69948 esac
69949
69950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69951 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69952
69953 # ----------------- done included file, check C basic types --------
69954
69955 # Lacking an uintptr_t? Test size of void *
69956 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69957 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69960 # This bug is HP SR number 8606223364.
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69962 $as_echo_n "checking size of void *... " >&6; }
69963 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69966 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69967
69968 else
69969 if test "$ac_cv_type_void_p" = yes; then
69970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69972 { as_fn_set_status 77
69973 as_fn_error "cannot compute sizeof (void *)
69974 See \`config.log' for more details." "$LINENO" 5; }; }
69975 else
69976 ac_cv_sizeof_void_p=0
69977 fi
69978 fi
69979
69980 fi
69981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69982 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69983
69984
69985
69986 cat >>confdefs.h <<_ACEOF
69987 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69988 _ACEOF
69989
69990 ;;
69991 esac
69992
69993 # Lacking an uint64_t? Test size of long
69994 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69995 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69998 # This bug is HP SR number 8606223364.
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70000 $as_echo_n "checking size of long... " >&6; }
70001 if test "${ac_cv_sizeof_long+set}" = set; then :
70002 $as_echo_n "(cached) " >&6
70003 else
70004 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70005
70006 else
70007 if test "$ac_cv_type_long" = yes; then
70008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70010 { as_fn_set_status 77
70011 as_fn_error "cannot compute sizeof (long)
70012 See \`config.log' for more details." "$LINENO" 5; }; }
70013 else
70014 ac_cv_sizeof_long=0
70015 fi
70016 fi
70017
70018 fi
70019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70020 $as_echo "$ac_cv_sizeof_long" >&6; }
70021
70022
70023
70024 cat >>confdefs.h <<_ACEOF
70025 #define SIZEOF_LONG $ac_cv_sizeof_long
70026 _ACEOF
70027
70028 ;;
70029 esac
70030
70031 if test $acx_cv_header_stdint = stddef.h; then
70032 # Lacking a good header? Test size of everything and deduce all types.
70033 # The cast to long int works around a bug in the HP C Compiler
70034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70035 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70036 # This bug is HP SR number 8606223364.
70037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70038 $as_echo_n "checking size of int... " >&6; }
70039 if test "${ac_cv_sizeof_int+set}" = set; then :
70040 $as_echo_n "(cached) " >&6
70041 else
70042 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70043
70044 else
70045 if test "$ac_cv_type_int" = yes; then
70046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70048 { as_fn_set_status 77
70049 as_fn_error "cannot compute sizeof (int)
70050 See \`config.log' for more details." "$LINENO" 5; }; }
70051 else
70052 ac_cv_sizeof_int=0
70053 fi
70054 fi
70055
70056 fi
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70058 $as_echo "$ac_cv_sizeof_int" >&6; }
70059
70060
70061
70062 cat >>confdefs.h <<_ACEOF
70063 #define SIZEOF_INT $ac_cv_sizeof_int
70064 _ACEOF
70065
70066
70067 # The cast to long int works around a bug in the HP C Compiler
70068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70070 # This bug is HP SR number 8606223364.
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70072 $as_echo_n "checking size of short... " >&6; }
70073 if test "${ac_cv_sizeof_short+set}" = set; then :
70074 $as_echo_n "(cached) " >&6
70075 else
70076 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70077
70078 else
70079 if test "$ac_cv_type_short" = yes; then
70080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70082 { as_fn_set_status 77
70083 as_fn_error "cannot compute sizeof (short)
70084 See \`config.log' for more details." "$LINENO" 5; }; }
70085 else
70086 ac_cv_sizeof_short=0
70087 fi
70088 fi
70089
70090 fi
70091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70092 $as_echo "$ac_cv_sizeof_short" >&6; }
70093
70094
70095
70096 cat >>confdefs.h <<_ACEOF
70097 #define SIZEOF_SHORT $ac_cv_sizeof_short
70098 _ACEOF
70099
70100
70101 # The cast to long int works around a bug in the HP C Compiler
70102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70104 # This bug is HP SR number 8606223364.
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70106 $as_echo_n "checking size of char... " >&6; }
70107 if test "${ac_cv_sizeof_char+set}" = set; then :
70108 $as_echo_n "(cached) " >&6
70109 else
70110 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70111
70112 else
70113 if test "$ac_cv_type_char" = yes; then
70114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70116 { as_fn_set_status 77
70117 as_fn_error "cannot compute sizeof (char)
70118 See \`config.log' for more details." "$LINENO" 5; }; }
70119 else
70120 ac_cv_sizeof_char=0
70121 fi
70122 fi
70123
70124 fi
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70126 $as_echo "$ac_cv_sizeof_char" >&6; }
70127
70128
70129
70130 cat >>confdefs.h <<_ACEOF
70131 #define SIZEOF_CHAR $ac_cv_sizeof_char
70132 _ACEOF
70133
70134
70135
70136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70137 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70138 case "$ac_cv_sizeof_char" in
70139 1) acx_cv_type_int8_t=char ;;
70140 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70141 esac
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70143 $as_echo "$acx_cv_type_int8_t" >&6; }
70144
70145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70146 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70147 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70148 2:*) acx_cv_type_int16_t=int ;;
70149 *:2) acx_cv_type_int16_t=short ;;
70150 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70151 esac
70152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70153 $as_echo "$acx_cv_type_int16_t" >&6; }
70154
70155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70156 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70157 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70158 4:*) acx_cv_type_int32_t=int ;;
70159 *:4) acx_cv_type_int32_t=long ;;
70160 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70161 esac
70162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70163 $as_echo "$acx_cv_type_int32_t" >&6; }
70164 fi
70165
70166 # These tests are here to make the output prettier
70167
70168 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70169 case "$ac_cv_sizeof_long" in
70170 8) acx_cv_type_int64_t=long ;;
70171 esac
70172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70173 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70175 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70176 fi
70177
70178 # Now we can use the above types
70179
70180 if test "$ac_cv_type_uintptr_t" != yes; then
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70182 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70183 case $ac_cv_sizeof_void_p in
70184 2) acx_cv_type_intptr_t=int16_t ;;
70185 4) acx_cv_type_intptr_t=int32_t ;;
70186 8) acx_cv_type_intptr_t=int64_t ;;
70187 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70188 esac
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70190 $as_echo "$acx_cv_type_intptr_t" >&6; }
70191 fi
70192
70193 # ----------------- done all checks, emit header -------------
70194 ac_config_commands="$ac_config_commands include/gstdint.h"
70195
70196
70197
70198
70199
70200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70201 $as_echo_n "checking for GNU c++filt... " >&6; }
70202 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70203 $as_echo_n "(cached) " >&6
70204 else
70205 if test -z "$CXXFILT"; then
70206 ac_path_CXXFILT_found=false
70207 # Loop through the user's path and test for each of PROGNAME-LIST
70208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70209 for as_dir in $PATH
70210 do
70211 IFS=$as_save_IFS
70212 test -z "$as_dir" && as_dir=.
70213 for ac_prog in c++filt gc++filt; do
70214 for ac_exec_ext in '' $ac_executable_extensions; do
70215 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70216 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70217 # Check for GNU $ac_path_CXXFILT
70218 case `"$ac_path_CXXFILT" --version 2>&1` in
70219 *GNU*)
70220 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70221 esac
70222
70223 $ac_path_CXXFILT_found && break 3
70224 done
70225 done
70226 done
70227 IFS=$as_save_IFS
70228 if test -z "$ac_cv_path_CXXFILT"; then
70229 :
70230 fi
70231 else
70232 ac_cv_path_CXXFILT=$CXXFILT
70233 fi
70234
70235 fi
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70237 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70238 CXXFILT=$ac_cv_path_CXXFILT
70239
70240
70241
70242 # Check whether --enable-symvers was given.
70243 if test "${enable_symvers+set}" = set; then :
70244 enableval=$enable_symvers;
70245 case "$enableval" in
70246 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70247 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70248 esac
70249
70250 else
70251 enable_symvers=yes
70252 fi
70253
70254
70255
70256 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70257 # don't know enough about $LD to do tricks...
70258
70259 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70260 # with extern "C++" in version scripts.
70261
70262
70263 # Turn a 'yes' into a suitable default.
70264 if test x$enable_symvers = xyes ; then
70265 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70266 enable_symvers=no
70267 else
70268 if test $with_gnu_ld = yes ; then
70269 case ${target_os} in
70270 hpux*)
70271 enable_symvers=no ;;
70272 *)
70273 enable_symvers=gnu ;;
70274 esac
70275 else
70276 case ${target_os} in
70277 darwin*)
70278 enable_symvers=darwin ;;
70279 # Sun symbol versioning exists since Solaris 2.5.
70280 solaris2.[5-9]* | solaris2.1[0-9]*)
70281 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70282 # version scripts, so disable symbol versioning if none can be
70283 # found.
70284 if test -z "$ac_cv_path_CXXFILT"; then
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70286 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70288 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70290 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70291 enable_symvers=no
70292 else
70293 enable_symvers=sun
70294 fi
70295 ;;
70296 *)
70297 enable_symvers=no ;;
70298 esac
70299 fi
70300 fi
70301 fi
70302
70303 # Check to see if 'darwin' or 'darwin-export' can win.
70304 if test x$enable_symvers = xdarwin-export ; then
70305 enable_symvers=darwin
70306 fi
70307
70308 # Check if 'sun' was requested on non-Solaris 2 platforms.
70309 if test x$enable_symvers = xsun ; then
70310 case ${target_os} in
70311 solaris2*)
70312 # All fine.
70313 ;;
70314 *)
70315 # Unlikely to work.
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70317 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70319 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70321 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70322 enable_symvers=no
70323 ;;
70324 esac
70325 fi
70326
70327 # Check to see if 'gnu' can win.
70328 if test $enable_symvers = gnu ||
70329 test $enable_symvers = gnu-versioned-namespace ||
70330 test $enable_symvers = sun; then
70331 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70333 $as_echo_n "checking for shared libgcc... " >&6; }
70334 ac_save_CFLAGS="$CFLAGS"
70335 CFLAGS=' -lgcc_s'
70336 if test x$gcc_no_link = xyes; then
70337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70338 fi
70339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70340 /* end confdefs.h. */
70341
70342 int
70343 main ()
70344 {
70345 return 0;
70346 ;
70347 return 0;
70348 }
70349 _ACEOF
70350 if ac_fn_c_try_link "$LINENO"; then :
70351 glibcxx_shared_libgcc=yes
70352 else
70353 glibcxx_shared_libgcc=no
70354 fi
70355 rm -f core conftest.err conftest.$ac_objext \
70356 conftest$ac_exeext conftest.$ac_ext
70357 CFLAGS="$ac_save_CFLAGS"
70358 if test $glibcxx_shared_libgcc = no; then
70359 cat > conftest.c <<EOF
70360 int main (void) { return 0; }
70361 EOF
70362 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70363 -shared -shared-libgcc -o conftest.so \
70364 conftest.c -v 2>&1 >/dev/null \
70365 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70366 rm -f conftest.c conftest.so
70367 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70368 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70369 if test x$gcc_no_link = xyes; then
70370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70371 fi
70372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70373 /* end confdefs.h. */
70374
70375 int
70376 main ()
70377 {
70378 return 0;
70379 ;
70380 return 0;
70381 }
70382 _ACEOF
70383 if ac_fn_c_try_link "$LINENO"; then :
70384 glibcxx_shared_libgcc=yes
70385 fi
70386 rm -f core conftest.err conftest.$ac_objext \
70387 conftest$ac_exeext conftest.$ac_ext
70388 CFLAGS="$ac_save_CFLAGS"
70389 fi
70390 fi
70391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70392 $as_echo "$glibcxx_shared_libgcc" >&6; }
70393
70394 # For GNU ld, we need at least this version. The format is described in
70395 # GLIBCXX_CHECK_LINKER_FEATURES above.
70396 glibcxx_min_gnu_ld_version=21400
70397
70398 # If no shared libgcc, can't win.
70399 if test $glibcxx_shared_libgcc != yes; then
70400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70401 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70403 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70405 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70406 enable_symvers=no
70407 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70408 : All interesting versions of Sun ld support sun style symbol versioning.
70409 elif test $with_gnu_ld != yes ; then
70410 # just fail for now
70411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70412 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70414 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70416 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70417 enable_symvers=no
70418 elif test $glibcxx_ld_is_gold = yes ; then
70419 : All versions of gold support symbol versioning.
70420 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70421 # The right tools, the right setup, but too old. Fallbacks?
70422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70423 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70425 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70427 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70429 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70431 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70432 enable_symvers=no
70433 fi
70434 fi
70435
70436 # For libtool versioning info, format is CURRENT:REVISION:AGE
70437 libtool_VERSION=6:17:0
70438
70439 # Everything parsed; figure out what files and settings to use.
70440 case $enable_symvers in
70441 no)
70442 SYMVER_FILE=config/abi/pre/none.ver
70443 ;;
70444 gnu)
70445 SYMVER_FILE=config/abi/pre/gnu.ver
70446
70447 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70448
70449 ;;
70450 gnu-versioned-namespace)
70451 libtool_VERSION=7:0:0
70452 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70453
70454 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70455
70456 ;;
70457 darwin)
70458 SYMVER_FILE=config/abi/pre/gnu.ver
70459
70460 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70461
70462 ;;
70463 sun)
70464 SYMVER_FILE=config/abi/pre/gnu.ver
70465
70466 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70467
70468 ;;
70469 esac
70470
70471 if test x$enable_symvers != xno ; then
70472
70473 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70474
70475 fi
70476
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70478 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70479 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70480 $as_echo_n "(cached) " >&6
70481 else
70482
70483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70484 /* end confdefs.h. */
70485 void foo (void); __asm (".symver foo, bar@SYMVER");
70486 int
70487 main ()
70488 {
70489
70490 ;
70491 return 0;
70492 }
70493 _ACEOF
70494 if ac_fn_c_try_compile "$LINENO"; then :
70495 glibcxx_cv_have_as_symver_directive=yes
70496 else
70497 glibcxx_cv_have_as_symver_directive=no
70498 fi
70499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70500 fi
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70502 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70503 if test $glibcxx_cv_have_as_symver_directive = yes; then
70504
70505 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70506
70507 fi
70508
70509
70510
70511
70512
70513
70514
70515
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70517 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70518
70519 if test $enable_symvers != no ; then
70520 case ${target_os} in
70521 # The Solaris 2 runtime linker doesn't support the GNU extension of
70522 # binding the same symbol to different versions
70523 solaris2*)
70524 ;;
70525 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70526 *)
70527
70528 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70529
70530 ;;
70531 esac
70532 fi
70533
70534 # Now, set up compatibility support, if any.
70535 # In addition, need this to deal with std::size_t mangling in
70536 # src/compatibility.cc. In a perfect world, could use
70537 # typeid(std::size_t).name()[0] to do direct substitution.
70538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70539 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70540 ac_save_CFLAGS="$CFLAGS"
70541 CFLAGS="-Werror"
70542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70543 /* end confdefs.h. */
70544
70545 int
70546 main ()
70547 {
70548 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70549 ;
70550 return 0;
70551 }
70552 _ACEOF
70553 if ac_fn_c_try_compile "$LINENO"; then :
70554 glibcxx_size_t_is_i=yes
70555 else
70556 glibcxx_size_t_is_i=no
70557 fi
70558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70559 CFLAGS=$ac_save_CFLAGS
70560 if test "$glibcxx_size_t_is_i" = yes; then
70561
70562 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70563
70564 fi
70565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70566 $as_echo "$glibcxx_size_t_is_i" >&6; }
70567
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70569 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70570 ac_save_CFLAGS="$CFLAGS"
70571 CFLAGS="-Werror"
70572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70573 /* end confdefs.h. */
70574
70575 int
70576 main ()
70577 {
70578 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70579 ;
70580 return 0;
70581 }
70582 _ACEOF
70583 if ac_fn_c_try_compile "$LINENO"; then :
70584 glibcxx_ptrdiff_t_is_i=yes
70585 else
70586 glibcxx_ptrdiff_t_is_i=no
70587 fi
70588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70589 CFLAGS=$ac_save_CFLAGS
70590 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70591
70592 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70593
70594 fi
70595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70596 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70597
70598
70599
70600
70601 # Check whether --enable-libstdcxx-visibility was given.
70602 if test "${enable_libstdcxx_visibility+set}" = set; then :
70603 enableval=$enable_libstdcxx_visibility;
70604 case "$enableval" in
70605 yes|no) ;;
70606 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70607 esac
70608
70609 else
70610 enable_libstdcxx_visibility=yes
70611 fi
70612
70613
70614
70615 if test x$enable_libstdcxx_visibility = xyes ; then
70616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70617 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70618 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70619 $as_echo_n "(cached) " >&6
70620 else
70621
70622 save_CFLAGS="$CFLAGS"
70623 CFLAGS="$CFLAGS -Werror"
70624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70625 /* end confdefs.h. */
70626 void __attribute__((visibility("hidden"))) foo(void) { }
70627 int
70628 main ()
70629 {
70630
70631 ;
70632 return 0;
70633 }
70634 _ACEOF
70635 if ac_fn_c_try_compile "$LINENO"; then :
70636 glibcxx_cv_have_attribute_visibility=yes
70637 else
70638 glibcxx_cv_have_attribute_visibility=no
70639 fi
70640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70641 CFLAGS="$save_CFLAGS"
70642 fi
70643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70644 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70645 if test $glibcxx_cv_have_attribute_visibility = no; then
70646 enable_libstdcxx_visibility=no
70647 fi
70648 fi
70649
70650
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70652 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70653
70654
70655 ac_ldbl_compat=no
70656 case "$target" in
70657 powerpc*-*-linux* | \
70658 sparc*-*-linux* | \
70659 s390*-*-linux* | \
70660 alpha*-*-linux*)
70661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70662 /* end confdefs.h. */
70663
70664 int
70665 main ()
70666 {
70667
70668 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70669 #error no need for long double compatibility
70670 #endif
70671
70672 ;
70673 return 0;
70674 }
70675 _ACEOF
70676 if ac_fn_c_try_compile "$LINENO"; then :
70677 ac_ldbl_compat=yes
70678 else
70679 ac_ldbl_compat=no
70680 fi
70681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70682 if test "$ac_ldbl_compat" = yes; then
70683
70684 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70685
70686 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70687 fi
70688 esac
70689
70690
70691 # Check if assembler supports disabling hardware capability support.
70692
70693 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70694
70695 ac_save_CFLAGS="$CFLAGS"
70696 CFLAGS="$CFLAGS -Wa,-nH"
70697
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70699 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70701 /* end confdefs.h. */
70702
70703 int
70704 main ()
70705 {
70706 return 0;
70707 ;
70708 return 0;
70709 }
70710 _ACEOF
70711 if ac_fn_c_try_compile "$LINENO"; then :
70712 ac_hwcap_flags=yes
70713 else
70714 ac_hwcap_flags=no
70715 fi
70716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70717 if test "$ac_hwcap_flags" = "yes"; then
70718 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70719 fi
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70721 $as_echo "$ac_hwcap_flags" >&6; }
70722
70723 CFLAGS="$ac_save_CFLAGS"
70724
70725
70726
70727
70728 # Check if assembler supports rdrand opcode.
70729
70730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70731 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70732 if test "${ac_cv_x86_rdrand+set}" = set; then :
70733 $as_echo_n "(cached) " >&6
70734 else
70735
70736 ac_cv_x86_rdrand=no
70737 case "$target" in
70738 i?86-*-* | \
70739 x86_64-*-*)
70740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70741 /* end confdefs.h. */
70742
70743 int
70744 main ()
70745 {
70746 asm("rdrand %eax");
70747 ;
70748 return 0;
70749 }
70750 _ACEOF
70751 if ac_fn_c_try_compile "$LINENO"; then :
70752 ac_cv_x86_rdrand=yes
70753 else
70754 ac_cv_x86_rdrand=no
70755 fi
70756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70757 esac
70758
70759 fi
70760
70761 if test $ac_cv_x86_rdrand = yes; then
70762
70763 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70764
70765 fi
70766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70767 $as_echo "$ac_cv_x86_rdrand" >&6; }
70768
70769
70770 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70771
70772 if $GLIBCXX_IS_NATIVE ; then
70773 # Do checks for resource limit functions.
70774
70775 setrlimit_have_headers=yes
70776 for ac_header in unistd.h sys/time.h sys/resource.h
70777 do :
70778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70779 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70780 eval as_val=\$$as_ac_Header
70781 if test "x$as_val" = x""yes; then :
70782 cat >>confdefs.h <<_ACEOF
70783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70784 _ACEOF
70785
70786 else
70787 setrlimit_have_headers=no
70788 fi
70789
70790 done
70791
70792 # If don't have the headers, then we can't run the tests now, and we
70793 # won't be seeing any of these during testsuite compilation.
70794 if test $setrlimit_have_headers = yes; then
70795 # Can't do these in a loop, else the resulting syntax is wrong.
70796
70797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70798 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70800 /* end confdefs.h. */
70801 #include <unistd.h>
70802 #include <sys/time.h>
70803 #include <sys/resource.h>
70804
70805 int
70806 main ()
70807 {
70808 int f = RLIMIT_DATA ;
70809 ;
70810 return 0;
70811 }
70812 _ACEOF
70813 if ac_fn_c_try_compile "$LINENO"; then :
70814 glibcxx_mresult=1
70815 else
70816 glibcxx_mresult=0
70817 fi
70818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70819
70820 cat >>confdefs.h <<_ACEOF
70821 #define HAVE_LIMIT_DATA $glibcxx_mresult
70822 _ACEOF
70823
70824 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70826 $as_echo "$res" >&6; }
70827
70828
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70830 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70832 /* end confdefs.h. */
70833 #include <unistd.h>
70834 #include <sys/time.h>
70835 #include <sys/resource.h>
70836
70837 int
70838 main ()
70839 {
70840 int f = RLIMIT_RSS ;
70841 ;
70842 return 0;
70843 }
70844 _ACEOF
70845 if ac_fn_c_try_compile "$LINENO"; then :
70846 glibcxx_mresult=1
70847 else
70848 glibcxx_mresult=0
70849 fi
70850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70851
70852 cat >>confdefs.h <<_ACEOF
70853 #define HAVE_LIMIT_RSS $glibcxx_mresult
70854 _ACEOF
70855
70856 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70858 $as_echo "$res" >&6; }
70859
70860
70861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70862 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70864 /* end confdefs.h. */
70865 #include <unistd.h>
70866 #include <sys/time.h>
70867 #include <sys/resource.h>
70868
70869 int
70870 main ()
70871 {
70872 int f = RLIMIT_VMEM ;
70873 ;
70874 return 0;
70875 }
70876 _ACEOF
70877 if ac_fn_c_try_compile "$LINENO"; then :
70878 glibcxx_mresult=1
70879 else
70880 glibcxx_mresult=0
70881 fi
70882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70883
70884 cat >>confdefs.h <<_ACEOF
70885 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70886 _ACEOF
70887
70888 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70890 $as_echo "$res" >&6; }
70891
70892
70893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70894 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70896 /* end confdefs.h. */
70897 #include <unistd.h>
70898 #include <sys/time.h>
70899 #include <sys/resource.h>
70900
70901 int
70902 main ()
70903 {
70904 int f = RLIMIT_AS ;
70905 ;
70906 return 0;
70907 }
70908 _ACEOF
70909 if ac_fn_c_try_compile "$LINENO"; then :
70910 glibcxx_mresult=1
70911 else
70912 glibcxx_mresult=0
70913 fi
70914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70915
70916 cat >>confdefs.h <<_ACEOF
70917 #define HAVE_LIMIT_AS $glibcxx_mresult
70918 _ACEOF
70919
70920 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70922 $as_echo "$res" >&6; }
70923
70924
70925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70926 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70928 /* end confdefs.h. */
70929 #include <unistd.h>
70930 #include <sys/time.h>
70931 #include <sys/resource.h>
70932
70933 int
70934 main ()
70935 {
70936 int f = RLIMIT_FSIZE ;
70937 ;
70938 return 0;
70939 }
70940 _ACEOF
70941 if ac_fn_c_try_compile "$LINENO"; then :
70942 glibcxx_mresult=1
70943 else
70944 glibcxx_mresult=0
70945 fi
70946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70947
70948 cat >>confdefs.h <<_ACEOF
70949 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70950 _ACEOF
70951
70952 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70954 $as_echo "$res" >&6; }
70955
70956
70957 # Check for rlimit, setrlimit.
70958 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70959 $as_echo_n "(cached) " >&6
70960 else
70961
70962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70963 /* end confdefs.h. */
70964 #include <unistd.h>
70965 #include <sys/time.h>
70966 #include <sys/resource.h>
70967
70968 int
70969 main ()
70970 {
70971 struct rlimit r;
70972 setrlimit(0, &r);
70973 ;
70974 return 0;
70975 }
70976 _ACEOF
70977 if ac_fn_c_try_compile "$LINENO"; then :
70978 glibcxx_cv_setrlimit=yes
70979 else
70980 glibcxx_cv_setrlimit=no
70981 fi
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983
70984 fi
70985
70986 fi
70987
70988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70989 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70990 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70991 ac_res_limits=yes
70992
70993 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70994
70995 else
70996 ac_res_limits=no
70997 fi
70998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70999 $as_echo "$ac_res_limits" >&6; }
71000
71001
71002 # Look for setenv, so that extended locale tests can be performed.
71003
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71005 $as_echo_n "checking for setenv declaration... " >&6; }
71006 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71007 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71008 $as_echo_n "(cached) " >&6
71009 else
71010
71011
71012 ac_ext=cpp
71013 ac_cpp='$CXXCPP $CPPFLAGS'
71014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71017
71018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71019 /* end confdefs.h. */
71020 #include <stdlib.h>
71021 int
71022 main ()
71023 {
71024 setenv(0, 0, 0);
71025 ;
71026 return 0;
71027 }
71028 _ACEOF
71029 if ac_fn_cxx_try_compile "$LINENO"; then :
71030 glibcxx_cv_func_setenv_use=yes
71031 else
71032 glibcxx_cv_func_setenv_use=no
71033 fi
71034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71035 ac_ext=c
71036 ac_cpp='$CPP $CPPFLAGS'
71037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71040
71041
71042 fi
71043
71044 fi
71045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71046 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71047 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71048 for ac_func in setenv
71049 do :
71050 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71051 if test "x$ac_cv_func_setenv" = x""yes; then :
71052 cat >>confdefs.h <<_ACEOF
71053 #define HAVE_SETENV 1
71054 _ACEOF
71055
71056 fi
71057 done
71058
71059 fi
71060
71061 fi
71062
71063 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71064 test $enable_symvers != no; then
71065 case "$host" in
71066 *-*-cygwin*)
71067 enable_abi_check=no ;;
71068 *)
71069 enable_abi_check=yes ;;
71070 esac
71071 else
71072 # Only build this as native, since automake does not understand
71073 # CXX_FOR_BUILD.
71074 enable_abi_check=no
71075 fi
71076
71077 # Export file names for ABI checking.
71078 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71079
71080 baseline_subdir_switch="$abi_baseline_subdir_switch"
71081
71082
71083
71084 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71085
71086 # Check whether --enable-libstdcxx-threads was given.
71087 if test "${enable_libstdcxx_threads+set}" = set; then :
71088 enableval=$enable_libstdcxx_threads;
71089 case "$enableval" in
71090 yes|no) ;;
71091 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71092 esac
71093
71094 else
71095 enable_libstdcxx_threads=auto
71096 fi
71097
71098
71099
71100 if test x$enable_libstdcxx_threads = xauto ||
71101 test x$enable_libstdcxx_threads = xyes; then
71102
71103
71104 ac_ext=cpp
71105 ac_cpp='$CXXCPP $CPPFLAGS'
71106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71109
71110
71111 ac_save_CXXFLAGS="$CXXFLAGS"
71112 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71113 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71114
71115 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71116 case $target_thread_file in
71117 posix)
71118 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71119 esac
71120
71121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71122 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71123
71124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71125 /* end confdefs.h. */
71126 #include <unistd.h>
71127 int
71128 main ()
71129 {
71130
71131 // In case of POSIX threads check _POSIX_TIMEOUTS.
71132 #if (defined(_PTHREADS) \
71133 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71134 #error
71135 #endif
71136
71137 ;
71138 return 0;
71139 }
71140 _ACEOF
71141 if ac_fn_cxx_try_compile "$LINENO"; then :
71142 ac_gthread_use_mutex_timedlock=1
71143 else
71144 ac_gthread_use_mutex_timedlock=0
71145 fi
71146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71147
71148
71149 cat >>confdefs.h <<_ACEOF
71150 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71151 _ACEOF
71152
71153
71154 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71155 else res_mutex_timedlock=no ; fi
71156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71157 $as_echo "$res_mutex_timedlock" >&6; }
71158
71159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71160 $as_echo_n "checking for gthreads library... " >&6; }
71161
71162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71163 /* end confdefs.h. */
71164 #include "gthr.h"
71165 int
71166 main ()
71167 {
71168
71169 #ifndef __GTHREADS_CXX0X
71170 #error
71171 #endif
71172
71173 ;
71174 return 0;
71175 }
71176 _ACEOF
71177 if ac_fn_cxx_try_compile "$LINENO"; then :
71178 case $target_os in
71179 # gthreads support breaks symbol versioning on Solaris 9 (PR
71180 # libstdc++/52189).
71181 solaris2.9*)
71182 if test x$enable_symvers = xno; then
71183 ac_has_gthreads=yes
71184 elif test x$enable_libstdcxx_threads = xyes; then
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71186 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71188 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71189 ac_has_gthreads=yes
71190 else
71191 ac_has_gthreads=no
71192 fi
71193 ;;
71194 *)
71195 ac_has_gthreads=yes
71196 ;;
71197 esac
71198 else
71199 ac_has_gthreads=no
71200 fi
71201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71202 else
71203 ac_has_gthreads=no
71204 fi
71205
71206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71207 $as_echo "$ac_has_gthreads" >&6; }
71208
71209 if test x"$ac_has_gthreads" = x"yes"; then
71210
71211 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71212
71213 fi
71214
71215 CXXFLAGS="$ac_save_CXXFLAGS"
71216 ac_ext=c
71217 ac_cpp='$CPP $CPPFLAGS'
71218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71221
71222
71223
71224 # Define documentation rules conditionally.
71225
71226 # See if makeinfo has been installed and is modern enough
71227 # that we can use it.
71228
71229 # Extract the first word of "makeinfo", so it can be a program name with args.
71230 set dummy makeinfo; ac_word=$2
71231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71232 $as_echo_n "checking for $ac_word... " >&6; }
71233 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71234 $as_echo_n "(cached) " >&6
71235 else
71236 if test -n "$MAKEINFO"; then
71237 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71238 else
71239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71240 for as_dir in $PATH
71241 do
71242 IFS=$as_save_IFS
71243 test -z "$as_dir" && as_dir=.
71244 for ac_exec_ext in '' $ac_executable_extensions; do
71245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71246 ac_cv_prog_MAKEINFO="makeinfo"
71247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71248 break 2
71249 fi
71250 done
71251 done
71252 IFS=$as_save_IFS
71253
71254 fi
71255 fi
71256 MAKEINFO=$ac_cv_prog_MAKEINFO
71257 if test -n "$MAKEINFO"; then
71258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71259 $as_echo "$MAKEINFO" >&6; }
71260 else
71261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71262 $as_echo "no" >&6; }
71263 fi
71264
71265
71266 if test -n "$MAKEINFO"; then
71267 # Found it, now check the version.
71268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71269 $as_echo_n "checking for modern makeinfo... " >&6; }
71270 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71271 $as_echo_n "(cached) " >&6
71272 else
71273 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71274 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71275
71276 case $ac_prog_version in
71277 '') gcc_cv_prog_makeinfo_modern=no;;
71278 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71279 *) gcc_cv_prog_makeinfo_modern=no;;
71280 esac
71281
71282 fi
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71284 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71285 else
71286 gcc_cv_prog_makeinfo_modern=no
71287 fi
71288 if test $gcc_cv_prog_makeinfo_modern = no; then
71289 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71290 fi
71291
71292 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71293 BUILD_INFO_TRUE=
71294 BUILD_INFO_FALSE='#'
71295 else
71296 BUILD_INFO_TRUE='#'
71297 BUILD_INFO_FALSE=
71298 fi
71299
71300
71301 # Check for doxygen
71302 # Extract the first word of "doxygen", so it can be a program name with args.
71303 set dummy doxygen; ac_word=$2
71304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71305 $as_echo_n "checking for $ac_word... " >&6; }
71306 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71307 $as_echo_n "(cached) " >&6
71308 else
71309 if test -n "$DOXYGEN"; then
71310 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71311 else
71312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71313 for as_dir in $PATH
71314 do
71315 IFS=$as_save_IFS
71316 test -z "$as_dir" && as_dir=.
71317 for ac_exec_ext in '' $ac_executable_extensions; do
71318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71319 ac_cv_prog_DOXYGEN="yes"
71320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71321 break 2
71322 fi
71323 done
71324 done
71325 IFS=$as_save_IFS
71326
71327 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71328 fi
71329 fi
71330 DOXYGEN=$ac_cv_prog_DOXYGEN
71331 if test -n "$DOXYGEN"; then
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71333 $as_echo "$DOXYGEN" >&6; }
71334 else
71335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71336 $as_echo "no" >&6; }
71337 fi
71338
71339
71340 # Extract the first word of "dot", so it can be a program name with args.
71341 set dummy dot; ac_word=$2
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71343 $as_echo_n "checking for $ac_word... " >&6; }
71344 if test "${ac_cv_prog_DOT+set}" = set; then :
71345 $as_echo_n "(cached) " >&6
71346 else
71347 if test -n "$DOT"; then
71348 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71349 else
71350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71351 for as_dir in $PATH
71352 do
71353 IFS=$as_save_IFS
71354 test -z "$as_dir" && as_dir=.
71355 for ac_exec_ext in '' $ac_executable_extensions; do
71356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71357 ac_cv_prog_DOT="yes"
71358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71359 break 2
71360 fi
71361 done
71362 done
71363 IFS=$as_save_IFS
71364
71365 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71366 fi
71367 fi
71368 DOT=$ac_cv_prog_DOT
71369 if test -n "$DOT"; then
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71371 $as_echo "$DOT" >&6; }
71372 else
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71374 $as_echo "no" >&6; }
71375 fi
71376
71377
71378
71379 # Check for docbook
71380 # Extract the first word of "xsltproc", so it can be a program name with args.
71381 set dummy xsltproc; ac_word=$2
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71383 $as_echo_n "checking for $ac_word... " >&6; }
71384 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71385 $as_echo_n "(cached) " >&6
71386 else
71387 if test -n "$XSLTPROC"; then
71388 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71389 else
71390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71391 for as_dir in $PATH
71392 do
71393 IFS=$as_save_IFS
71394 test -z "$as_dir" && as_dir=.
71395 for ac_exec_ext in '' $ac_executable_extensions; do
71396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71397 ac_cv_prog_XSLTPROC="yes"
71398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71399 break 2
71400 fi
71401 done
71402 done
71403 IFS=$as_save_IFS
71404
71405 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71406 fi
71407 fi
71408 XSLTPROC=$ac_cv_prog_XSLTPROC
71409 if test -n "$XSLTPROC"; then
71410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71411 $as_echo "$XSLTPROC" >&6; }
71412 else
71413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71414 $as_echo "no" >&6; }
71415 fi
71416
71417
71418 # Extract the first word of "xmllint", so it can be a program name with args.
71419 set dummy xmllint; ac_word=$2
71420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71421 $as_echo_n "checking for $ac_word... " >&6; }
71422 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71423 $as_echo_n "(cached) " >&6
71424 else
71425 if test -n "$XMLLINT"; then
71426 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71427 else
71428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71429 for as_dir in $PATH
71430 do
71431 IFS=$as_save_IFS
71432 test -z "$as_dir" && as_dir=.
71433 for ac_exec_ext in '' $ac_executable_extensions; do
71434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71435 ac_cv_prog_XMLLINT="yes"
71436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71437 break 2
71438 fi
71439 done
71440 done
71441 IFS=$as_save_IFS
71442
71443 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71444 fi
71445 fi
71446 XMLLINT=$ac_cv_prog_XMLLINT
71447 if test -n "$XMLLINT"; then
71448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71449 $as_echo "$XMLLINT" >&6; }
71450 else
71451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71452 $as_echo "no" >&6; }
71453 fi
71454
71455
71456
71457
71458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71459 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71460 glibcxx_stylesheets=no
71461 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
71462 glibcxx_stylesheets=yes
71463 fi
71464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71465 $as_echo "$glibcxx_stylesheets" >&6; }
71466
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71468 $as_echo_n "checking for local stylesheet directory... " >&6; }
71469 glibcxx_local_stylesheets=no
71470 if test x"$glibcxx_stylesheets" = x"yes"; then
71471 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71472 glibcxx_local_stylesheets=yes
71473 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71474 fi
71475 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71476 glibcxx_local_stylesheets=yes
71477 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71478 fi
71479 fi
71480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71481 $as_echo "$glibcxx_local_stylesheets" >&6; }
71482
71483 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71484
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71486 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71487 else
71488 glibcxx_stylesheets=no
71489 fi
71490
71491 # Check for epub3 dependencies.
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71493 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71494 glibcxx_epub_stylesheets=no
71495 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71496 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71497 glibcxx_epub_stylesheets=yes
71498 fi
71499 fi
71500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71501 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71502 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71503 BUILD_EPUB_TRUE=
71504 BUILD_EPUB_FALSE='#'
71505 else
71506 BUILD_EPUB_TRUE='#'
71507 BUILD_EPUB_FALSE=
71508 fi
71509
71510
71511
71512
71513 # Check for xml/html dependencies.
71514 if test $ac_cv_prog_DOXYGEN = "yes" &&
71515 test $ac_cv_prog_DOT = "yes" &&
71516 test $ac_cv_prog_XSLTPROC = "yes" &&
71517 test $ac_cv_prog_XMLLINT = "yes" &&
71518 test $glibcxx_stylesheets = "yes"; then
71519 BUILD_XML_TRUE=
71520 BUILD_XML_FALSE='#'
71521 else
71522 BUILD_XML_TRUE='#'
71523 BUILD_XML_FALSE=
71524 fi
71525
71526
71527 if test $ac_cv_prog_DOXYGEN = "yes" &&
71528 test $ac_cv_prog_DOT = "yes" &&
71529 test $ac_cv_prog_XSLTPROC = "yes" &&
71530 test $ac_cv_prog_XMLLINT = "yes" &&
71531 test $glibcxx_stylesheets = "yes"; then
71532 BUILD_HTML_TRUE=
71533 BUILD_HTML_FALSE='#'
71534 else
71535 BUILD_HTML_TRUE='#'
71536 BUILD_HTML_FALSE=
71537 fi
71538
71539
71540 # Check for man dependencies.
71541 if test $ac_cv_prog_DOXYGEN = "yes" &&
71542 test $ac_cv_prog_DOT = "yes"; then
71543 BUILD_MAN_TRUE=
71544 BUILD_MAN_FALSE='#'
71545 else
71546 BUILD_MAN_TRUE='#'
71547 BUILD_MAN_FALSE=
71548 fi
71549
71550
71551 # Check for pdf dependencies.
71552 # Extract the first word of "dblatex", so it can be a program name with args.
71553 set dummy dblatex; ac_word=$2
71554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71555 $as_echo_n "checking for $ac_word... " >&6; }
71556 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71557 $as_echo_n "(cached) " >&6
71558 else
71559 if test -n "$DBLATEX"; then
71560 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71561 else
71562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71563 for as_dir in $PATH
71564 do
71565 IFS=$as_save_IFS
71566 test -z "$as_dir" && as_dir=.
71567 for ac_exec_ext in '' $ac_executable_extensions; do
71568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71569 ac_cv_prog_DBLATEX="yes"
71570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71571 break 2
71572 fi
71573 done
71574 done
71575 IFS=$as_save_IFS
71576
71577 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71578 fi
71579 fi
71580 DBLATEX=$ac_cv_prog_DBLATEX
71581 if test -n "$DBLATEX"; then
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71583 $as_echo "$DBLATEX" >&6; }
71584 else
71585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71586 $as_echo "no" >&6; }
71587 fi
71588
71589
71590 # Extract the first word of "pdflatex", so it can be a program name with args.
71591 set dummy pdflatex; ac_word=$2
71592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71593 $as_echo_n "checking for $ac_word... " >&6; }
71594 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71595 $as_echo_n "(cached) " >&6
71596 else
71597 if test -n "$PDFLATEX"; then
71598 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71599 else
71600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71601 for as_dir in $PATH
71602 do
71603 IFS=$as_save_IFS
71604 test -z "$as_dir" && as_dir=.
71605 for ac_exec_ext in '' $ac_executable_extensions; do
71606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71607 ac_cv_prog_PDFLATEX="yes"
71608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71609 break 2
71610 fi
71611 done
71612 done
71613 IFS=$as_save_IFS
71614
71615 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71616 fi
71617 fi
71618 PDFLATEX=$ac_cv_prog_PDFLATEX
71619 if test -n "$PDFLATEX"; then
71620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71621 $as_echo "$PDFLATEX" >&6; }
71622 else
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71624 $as_echo "no" >&6; }
71625 fi
71626
71627
71628 if test $ac_cv_prog_DBLATEX = "yes" &&
71629 test $ac_cv_prog_PDFLATEX = "yes"; then
71630 BUILD_PDF_TRUE=
71631 BUILD_PDF_FALSE='#'
71632 else
71633 BUILD_PDF_TRUE='#'
71634 BUILD_PDF_FALSE=
71635 fi
71636
71637
71638
71639 # Propagate the target-specific source directories through the build chain.
71640 ATOMICITY_SRCDIR=config/${atomicity_dir}
71641 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71642 ATOMIC_FLAGS=${atomic_flags}
71643 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71644 OS_INC_SRCDIR=config/${os_include_dir}
71645 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71646 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71647 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71648 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71649
71650
71651
71652
71653
71654
71655
71656
71657
71658
71659
71660 # Determine cross-compile flags and AM_CONDITIONALs.
71661 #AC_SUBST(GLIBCXX_IS_NATIVE)
71662 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71663 if test $is_hosted = yes; then
71664 GLIBCXX_HOSTED_TRUE=
71665 GLIBCXX_HOSTED_FALSE='#'
71666 else
71667 GLIBCXX_HOSTED_TRUE='#'
71668 GLIBCXX_HOSTED_FALSE=
71669 fi
71670
71671
71672 if test $enable_libstdcxx_pch = yes; then
71673 GLIBCXX_BUILD_PCH_TRUE=
71674 GLIBCXX_BUILD_PCH_FALSE='#'
71675 else
71676 GLIBCXX_BUILD_PCH_TRUE='#'
71677 GLIBCXX_BUILD_PCH_FALSE=
71678 fi
71679
71680
71681 if test $enable_cheaders = c; then
71682 GLIBCXX_C_HEADERS_C_TRUE=
71683 GLIBCXX_C_HEADERS_C_FALSE='#'
71684 else
71685 GLIBCXX_C_HEADERS_C_TRUE='#'
71686 GLIBCXX_C_HEADERS_C_FALSE=
71687 fi
71688
71689
71690 if test $enable_cheaders = c_std; then
71691 GLIBCXX_C_HEADERS_C_STD_TRUE=
71692 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71693 else
71694 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71695 GLIBCXX_C_HEADERS_C_STD_FALSE=
71696 fi
71697
71698
71699 if test $enable_cheaders = c_global; then
71700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71701 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71702 else
71703 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71704 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71705 fi
71706
71707
71708 if test $c_compatibility = yes; then
71709 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71710 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71711 else
71712 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71713 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71714 fi
71715
71716
71717 if test $enable_libstdcxx_debug = yes; then
71718 GLIBCXX_BUILD_DEBUG_TRUE=
71719 GLIBCXX_BUILD_DEBUG_FALSE='#'
71720 else
71721 GLIBCXX_BUILD_DEBUG_TRUE='#'
71722 GLIBCXX_BUILD_DEBUG_FALSE=
71723 fi
71724
71725
71726 if test $enable_extern_template = yes; then
71727 ENABLE_EXTERN_TEMPLATE_TRUE=
71728 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71729 else
71730 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71731 ENABLE_EXTERN_TEMPLATE_FALSE=
71732 fi
71733
71734
71735 if test $python_mod_dir != no; then
71736 ENABLE_PYTHONDIR_TRUE=
71737 ENABLE_PYTHONDIR_FALSE='#'
71738 else
71739 ENABLE_PYTHONDIR_TRUE='#'
71740 ENABLE_PYTHONDIR_FALSE=
71741 fi
71742
71743
71744 if test $enable_werror = yes; then
71745 ENABLE_WERROR_TRUE=
71746 ENABLE_WERROR_FALSE='#'
71747 else
71748 ENABLE_WERROR_TRUE='#'
71749 ENABLE_WERROR_FALSE=
71750 fi
71751
71752
71753 if test $enable_symvers != no; then
71754 ENABLE_SYMVERS_TRUE=
71755 ENABLE_SYMVERS_FALSE='#'
71756 else
71757 ENABLE_SYMVERS_TRUE='#'
71758 ENABLE_SYMVERS_FALSE=
71759 fi
71760
71761
71762 if test $enable_symvers = gnu; then
71763 ENABLE_SYMVERS_GNU_TRUE=
71764 ENABLE_SYMVERS_GNU_FALSE='#'
71765 else
71766 ENABLE_SYMVERS_GNU_TRUE='#'
71767 ENABLE_SYMVERS_GNU_FALSE=
71768 fi
71769
71770
71771 if test $enable_symvers = gnu-versioned-namespace; then
71772 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71773 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71774 else
71775 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71776 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71777 fi
71778
71779
71780 if test $enable_symvers = darwin; then
71781 ENABLE_SYMVERS_DARWIN_TRUE=
71782 ENABLE_SYMVERS_DARWIN_FALSE='#'
71783 else
71784 ENABLE_SYMVERS_DARWIN_TRUE='#'
71785 ENABLE_SYMVERS_DARWIN_FALSE=
71786 fi
71787
71788
71789 if test $enable_symvers = sun; then
71790 ENABLE_SYMVERS_SUN_TRUE=
71791 ENABLE_SYMVERS_SUN_FALSE='#'
71792 else
71793 ENABLE_SYMVERS_SUN_TRUE='#'
71794 ENABLE_SYMVERS_SUN_FALSE=
71795 fi
71796
71797
71798 if test $enable_libstdcxx_visibility = yes; then
71799 ENABLE_VISIBILITY_TRUE=
71800 ENABLE_VISIBILITY_FALSE='#'
71801 else
71802 ENABLE_VISIBILITY_TRUE='#'
71803 ENABLE_VISIBILITY_FALSE=
71804 fi
71805
71806
71807 if test $ac_ldbl_compat = yes; then
71808 GLIBCXX_LDBL_COMPAT_TRUE=
71809 GLIBCXX_LDBL_COMPAT_FALSE='#'
71810 else
71811 GLIBCXX_LDBL_COMPAT_TRUE='#'
71812 GLIBCXX_LDBL_COMPAT_FALSE=
71813 fi
71814
71815
71816
71817
71818 cat >confcache <<\_ACEOF
71819 # This file is a shell script that caches the results of configure
71820 # tests run on this system so they can be shared between configure
71821 # scripts and configure runs, see configure's option --config-cache.
71822 # It is not useful on other systems. If it contains results you don't
71823 # want to keep, you may remove or edit it.
71824 #
71825 # config.status only pays attention to the cache file if you give it
71826 # the --recheck option to rerun configure.
71827 #
71828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71830 # following values.
71831
71832 _ACEOF
71833
71834 # The following way of writing the cache mishandles newlines in values,
71835 # but we know of no workaround that is simple, portable, and efficient.
71836 # So, we kill variables containing newlines.
71837 # Ultrix sh set writes to stderr and can't be redirected directly,
71838 # and sets the high bit in the cache file unless we assign to the vars.
71839 (
71840 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71841 eval ac_val=\$$ac_var
71842 case $ac_val in #(
71843 *${as_nl}*)
71844 case $ac_var in #(
71845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71847 esac
71848 case $ac_var in #(
71849 _ | IFS | as_nl) ;; #(
71850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71851 *) { eval $ac_var=; unset $ac_var;} ;;
71852 esac ;;
71853 esac
71854 done
71855
71856 (set) 2>&1 |
71857 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71858 *${as_nl}ac_space=\ *)
71859 # `set' does not quote correctly, so add quotes: double-quote
71860 # substitution turns \\\\ into \\, and sed turns \\ into \.
71861 sed -n \
71862 "s/'/'\\\\''/g;
71863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71864 ;; #(
71865 *)
71866 # `set' quotes correctly as required by POSIX, so do not add quotes.
71867 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71868 ;;
71869 esac |
71870 sort
71871 ) |
71872 sed '
71873 /^ac_cv_env_/b end
71874 t clear
71875 :clear
71876 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71877 t end
71878 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71879 :end' >>confcache
71880 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71881 if test -w "$cache_file"; then
71882 test "x$cache_file" != "x/dev/null" &&
71883 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71884 $as_echo "$as_me: updating cache $cache_file" >&6;}
71885 cat confcache >$cache_file
71886 else
71887 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71888 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71889 fi
71890 fi
71891 rm -f confcache
71892
71893 if test ${multilib} = yes; then
71894 multilib_arg="--enable-multilib"
71895 else
71896 multilib_arg=
71897 fi
71898
71899 # Export all the install information.
71900
71901 glibcxx_toolexecdir=no
71902 glibcxx_toolexeclibdir=no
71903 glibcxx_prefixdir=$prefix
71904
71905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71906 $as_echo_n "checking for gxx-include-dir... " >&6; }
71907
71908 # Check whether --with-gxx-include-dir was given.
71909 if test "${with_gxx_include_dir+set}" = set; then :
71910 withval=$with_gxx_include_dir; case "$withval" in
71911 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71912 no) gxx_include_dir=no ;;
71913 *) gxx_include_dir=$withval ;;
71914 esac
71915 else
71916 gxx_include_dir=no
71917 fi
71918
71919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71920 $as_echo "$gxx_include_dir" >&6; }
71921
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71923 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71924 # Check whether --enable-version-specific-runtime-libs was given.
71925 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71926 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71927 yes) version_specific_libs=yes ;;
71928 no) version_specific_libs=no ;;
71929 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71930 esac
71931 else
71932 version_specific_libs=no
71933 fi
71934
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71936 $as_echo "$version_specific_libs" >&6; }
71937
71938 # Default case for install directory for include files.
71939 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71940 gxx_include_dir='include/c++/${gcc_version}'
71941 if test -n "$with_cross_host" &&
71942 test x"$with_cross_host" != x"no"; then
71943 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71944 else
71945 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71946 fi
71947 fi
71948
71949 # Version-specific runtime libs processing.
71950 if test $version_specific_libs = yes; then
71951 # Need the gcc compiler version to know where to install libraries
71952 # and header files if --enable-version-specific-runtime-libs option
71953 # is selected. FIXME: these variables are misnamed, there are
71954 # no executables installed in _toolexecdir or _toolexeclibdir.
71955 if test x"$gxx_include_dir" = x"no"; then
71956 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71957 fi
71958 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71959 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71960 fi
71961
71962 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71963 # Install a library built with a cross compiler in tooldir, not libdir.
71964 if test x"$glibcxx_toolexecdir" = x"no"; then
71965 if test -n "$with_cross_host" &&
71966 test x"$with_cross_host" != x"no"; then
71967 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71968 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71969 else
71970 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71971 glibcxx_toolexeclibdir='${libdir}'
71972 fi
71973 multi_os_directory=`$CXX -print-multi-os-directory`
71974 case $multi_os_directory in
71975 .) ;; # Avoid trailing /.
71976 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71977 esac
71978 fi
71979
71980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71981 $as_echo_n "checking for install location... " >&6; }
71982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71983 $as_echo "$gxx_include_dir" >&6; }
71984
71985
71986
71987
71988
71989
71990
71991 # Export all the include and flag information to Makefiles.
71992
71993 # Used for every C++ compile we perform.
71994 GLIBCXX_INCLUDES="\
71995 -I$glibcxx_builddir/include/$host_alias \
71996 -I$glibcxx_builddir/include \
71997 -I$glibcxx_srcdir/libsupc++"
71998
71999 # For Canadian crosses, pick this up too.
72000 if test $CANADIAN = yes; then
72001 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72002 fi
72003
72004 # Stuff in the actual top level. Currently only used by libsupc++ to
72005 # get unwind* headers from the libgcc dir.
72006 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72007 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72008
72009 # Now, export this to all the little Makefiles....
72010
72011
72012
72013
72014 # Optimization flags that are probably a good idea for thrill-seekers. Just
72015 # uncomment the lines below and make, everything else is ready to go...
72016 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72017 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72018
72019
72020 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72021
72022
72023
72024 ac_config_files="$ac_config_files Makefile"
72025
72026 ac_config_files="$ac_config_files scripts/testsuite_flags"
72027
72028 ac_config_files="$ac_config_files scripts/extract_symvers"
72029
72030 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72031
72032
72033 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72034 # that multilib installs will end up installed in the correct place.
72035 # The testsuite needs it for multilib-aware ABI baseline files.
72036 # To work around this not being passed down from config-ml.in ->
72037 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72038 # append it here. Only modify Makefiles that have just been created.
72039 #
72040 # Also, get rid of this simulated-VPATH thing that automake does.
72041 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"
72042
72043
72044 ac_config_commands="$ac_config_commands generate-headers"
72045
72046
72047 cat >confcache <<\_ACEOF
72048 # This file is a shell script that caches the results of configure
72049 # tests run on this system so they can be shared between configure
72050 # scripts and configure runs, see configure's option --config-cache.
72051 # It is not useful on other systems. If it contains results you don't
72052 # want to keep, you may remove or edit it.
72053 #
72054 # config.status only pays attention to the cache file if you give it
72055 # the --recheck option to rerun configure.
72056 #
72057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72059 # following values.
72060
72061 _ACEOF
72062
72063 # The following way of writing the cache mishandles newlines in values,
72064 # but we know of no workaround that is simple, portable, and efficient.
72065 # So, we kill variables containing newlines.
72066 # Ultrix sh set writes to stderr and can't be redirected directly,
72067 # and sets the high bit in the cache file unless we assign to the vars.
72068 (
72069 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72070 eval ac_val=\$$ac_var
72071 case $ac_val in #(
72072 *${as_nl}*)
72073 case $ac_var in #(
72074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72076 esac
72077 case $ac_var in #(
72078 _ | IFS | as_nl) ;; #(
72079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72080 *) { eval $ac_var=; unset $ac_var;} ;;
72081 esac ;;
72082 esac
72083 done
72084
72085 (set) 2>&1 |
72086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72087 *${as_nl}ac_space=\ *)
72088 # `set' does not quote correctly, so add quotes: double-quote
72089 # substitution turns \\\\ into \\, and sed turns \\ into \.
72090 sed -n \
72091 "s/'/'\\\\''/g;
72092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72093 ;; #(
72094 *)
72095 # `set' quotes correctly as required by POSIX, so do not add quotes.
72096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72097 ;;
72098 esac |
72099 sort
72100 ) |
72101 sed '
72102 /^ac_cv_env_/b end
72103 t clear
72104 :clear
72105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72106 t end
72107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72108 :end' >>confcache
72109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72110 if test -w "$cache_file"; then
72111 test "x$cache_file" != "x/dev/null" &&
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72113 $as_echo "$as_me: updating cache $cache_file" >&6;}
72114 cat confcache >$cache_file
72115 else
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72117 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72118 fi
72119 fi
72120 rm -f confcache
72121
72122 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72123 # Let make expand exec_prefix.
72124 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72125
72126 DEFS=-DHAVE_CONFIG_H
72127
72128 ac_libobjs=
72129 ac_ltlibobjs=
72130 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72131 # 1. Remove the extension, and $U if already installed.
72132 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72133 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72134 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72135 # will be set to the directory where LIBOBJS objects are built.
72136 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72137 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72138 done
72139 LIBOBJS=$ac_libobjs
72140
72141 LTLIBOBJS=$ac_ltlibobjs
72142
72143
72144 if test -n "$EXEEXT"; then
72145 am__EXEEXT_TRUE=
72146 am__EXEEXT_FALSE='#'
72147 else
72148 am__EXEEXT_TRUE='#'
72149 am__EXEEXT_FALSE=
72150 fi
72151
72152 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72153 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72155 fi
72156 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72157 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72159 fi
72160 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72161 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" 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_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72165 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" 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_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72169 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72171 fi
72172 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72173 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72175 fi
72176 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72177 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72179 fi
72180 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72181 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" 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 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73240 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73241 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73242 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73243 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73244 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73245 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73246 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73247 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73248 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73249 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73250
73251 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73252 esac
73253 done
73254
73255
73256 # If the user did not use the arguments to specify the items to instantiate,
73257 # then the envvar interface is used. Set only those that are not.
73258 # We use the long form for the default assignment because of an extremely
73259 # bizarre bug on SunOS 4.1.3.
73260 if $ac_need_defaults; then
73261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73264 fi
73265
73266 # Have a temporary directory for convenience. Make it in the build tree
73267 # simply because there is no reason against having it here, and in addition,
73268 # creating and moving files from /tmp can sometimes cause problems.
73269 # Hook for its removal unless debugging.
73270 # Note that there is a small window in which the directory will not be cleaned:
73271 # after its creation but before its name has been assigned to `$tmp'.
73272 $debug ||
73273 {
73274 tmp=
73275 trap 'exit_status=$?
73276 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73277 ' 0
73278 trap 'as_fn_exit 1' 1 2 13 15
73279 }
73280 # Create a (secure) tmp directory for tmp files.
73281
73282 {
73283 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73284 test -n "$tmp" && test -d "$tmp"
73285 } ||
73286 {
73287 tmp=./conf$$-$RANDOM
73288 (umask 077 && mkdir "$tmp")
73289 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73290
73291 # Set up the scripts for CONFIG_FILES section.
73292 # No need to generate them if there are no CONFIG_FILES.
73293 # This happens for instance with `./config.status config.h'.
73294 if test -n "$CONFIG_FILES"; then
73295
73296
73297 ac_cr=`echo X | tr X '\015'`
73298 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73299 # But we know of no other shell where ac_cr would be empty at this
73300 # point, so we can use a bashism as a fallback.
73301 if test "x$ac_cr" = x; then
73302 eval ac_cr=\$\'\\r\'
73303 fi
73304 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73305 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73306 ac_cs_awk_cr='\r'
73307 else
73308 ac_cs_awk_cr=$ac_cr
73309 fi
73310
73311 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73312 _ACEOF
73313
73314
73315 {
73316 echo "cat >conf$$subs.awk <<_ACEOF" &&
73317 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73318 echo "_ACEOF"
73319 } >conf$$subs.sh ||
73320 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73321 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73322 ac_delim='%!_!# '
73323 for ac_last_try in false false false false false :; do
73324 . ./conf$$subs.sh ||
73325 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73326
73327 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73328 if test $ac_delim_n = $ac_delim_num; then
73329 break
73330 elif $ac_last_try; then
73331 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73332 else
73333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73334 fi
73335 done
73336 rm -f conf$$subs.sh
73337
73338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73339 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73340 _ACEOF
73341 sed -n '
73342 h
73343 s/^/S["/; s/!.*/"]=/
73344 p
73345 g
73346 s/^[^!]*!//
73347 :repl
73348 t repl
73349 s/'"$ac_delim"'$//
73350 t delim
73351 :nl
73352 h
73353 s/\(.\{148\}\).*/\1/
73354 t more1
73355 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73356 p
73357 n
73358 b repl
73359 :more1
73360 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73361 p
73362 g
73363 s/.\{148\}//
73364 t nl
73365 :delim
73366 h
73367 s/\(.\{148\}\).*/\1/
73368 t more2
73369 s/["\\]/\\&/g; s/^/"/; s/$/"/
73370 p
73371 b
73372 :more2
73373 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73374 p
73375 g
73376 s/.\{148\}//
73377 t delim
73378 ' <conf$$subs.awk | sed '
73379 /^[^""]/{
73380 N
73381 s/\n//
73382 }
73383 ' >>$CONFIG_STATUS || ac_write_fail=1
73384 rm -f conf$$subs.awk
73385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73386 _ACAWK
73387 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73388 for (key in S) S_is_set[key] = 1
73389 FS = "\a"
73390
73391 }
73392 {
73393 line = $ 0
73394 nfields = split(line, field, "@")
73395 substed = 0
73396 len = length(field[1])
73397 for (i = 2; i < nfields; i++) {
73398 key = field[i]
73399 keylen = length(key)
73400 if (S_is_set[key]) {
73401 value = S[key]
73402 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73403 len += length(value) + length(field[++i])
73404 substed = 1
73405 } else
73406 len += 1 + keylen
73407 }
73408
73409 print line
73410 }
73411
73412 _ACAWK
73413 _ACEOF
73414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73415 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73416 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73417 else
73418 cat
73419 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73420 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73421 _ACEOF
73422
73423 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73424 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73425 # trailing colons and then remove the whole line if VPATH becomes empty
73426 # (actually we leave an empty line to preserve line numbers).
73427 if test "x$srcdir" = x.; then
73428 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73429 s/:*\$(srcdir):*/:/
73430 s/:*\${srcdir}:*/:/
73431 s/:*@srcdir@:*/:/
73432 s/^\([^=]*=[ ]*\):*/\1/
73433 s/:*$//
73434 s/^[^=]*=[ ]*$//
73435 }'
73436 fi
73437
73438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73439 fi # test -n "$CONFIG_FILES"
73440
73441 # Set up the scripts for CONFIG_HEADERS section.
73442 # No need to generate them if there are no CONFIG_HEADERS.
73443 # This happens for instance with `./config.status Makefile'.
73444 if test -n "$CONFIG_HEADERS"; then
73445 cat >"$tmp/defines.awk" <<\_ACAWK ||
73446 BEGIN {
73447 _ACEOF
73448
73449 # Transform confdefs.h into an awk script `defines.awk', embedded as
73450 # here-document in config.status, that substitutes the proper values into
73451 # config.h.in to produce config.h.
73452
73453 # Create a delimiter string that does not exist in confdefs.h, to ease
73454 # handling of long lines.
73455 ac_delim='%!_!# '
73456 for ac_last_try in false false :; do
73457 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73458 if test -z "$ac_t"; then
73459 break
73460 elif $ac_last_try; then
73461 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73462 else
73463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73464 fi
73465 done
73466
73467 # For the awk script, D is an array of macro values keyed by name,
73468 # likewise P contains macro parameters if any. Preserve backslash
73469 # newline sequences.
73470
73471 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73472 sed -n '
73473 s/.\{148\}/&'"$ac_delim"'/g
73474 t rset
73475 :rset
73476 s/^[ ]*#[ ]*define[ ][ ]*/ /
73477 t def
73478 d
73479 :def
73480 s/\\$//
73481 t bsnl
73482 s/["\\]/\\&/g
73483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73484 D["\1"]=" \3"/p
73485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73486 d
73487 :bsnl
73488 s/["\\]/\\&/g
73489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73490 D["\1"]=" \3\\\\\\n"\\/p
73491 t cont
73492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73493 t cont
73494 d
73495 :cont
73496 n
73497 s/.\{148\}/&'"$ac_delim"'/g
73498 t clear
73499 :clear
73500 s/\\$//
73501 t bsnlc
73502 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73503 d
73504 :bsnlc
73505 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73506 b cont
73507 ' <confdefs.h | sed '
73508 s/'"$ac_delim"'/"\\\
73509 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73510
73511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73512 for (key in D) D_is_set[key] = 1
73513 FS = "\a"
73514 }
73515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73516 line = \$ 0
73517 split(line, arg, " ")
73518 if (arg[1] == "#") {
73519 defundef = arg[2]
73520 mac1 = arg[3]
73521 } else {
73522 defundef = substr(arg[1], 2)
73523 mac1 = arg[2]
73524 }
73525 split(mac1, mac2, "(") #)
73526 macro = mac2[1]
73527 prefix = substr(line, 1, index(line, defundef) - 1)
73528 if (D_is_set[macro]) {
73529 # Preserve the white space surrounding the "#".
73530 print prefix "define", macro P[macro] D[macro]
73531 next
73532 } else {
73533 # Replace #undef with comments. This is necessary, for example,
73534 # in the case of _POSIX_SOURCE, which is predefined and required
73535 # on some systems where configure will not decide to define it.
73536 if (defundef == "undef") {
73537 print "/*", prefix defundef, macro, "*/"
73538 next
73539 }
73540 }
73541 }
73542 { print }
73543 _ACAWK
73544 _ACEOF
73545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73546 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73547 fi # test -n "$CONFIG_HEADERS"
73548
73549
73550 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73551 shift
73552 for ac_tag
73553 do
73554 case $ac_tag in
73555 :[FHLC]) ac_mode=$ac_tag; continue;;
73556 esac
73557 case $ac_mode$ac_tag in
73558 :[FHL]*:*);;
73559 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73560 :[FH]-) ac_tag=-:-;;
73561 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73562 esac
73563 ac_save_IFS=$IFS
73564 IFS=:
73565 set x $ac_tag
73566 IFS=$ac_save_IFS
73567 shift
73568 ac_file=$1
73569 shift
73570
73571 case $ac_mode in
73572 :L) ac_source=$1;;
73573 :[FH])
73574 ac_file_inputs=
73575 for ac_f
73576 do
73577 case $ac_f in
73578 -) ac_f="$tmp/stdin";;
73579 *) # Look for the file first in the build tree, then in the source tree
73580 # (if the path is not absolute). The absolute path cannot be DOS-style,
73581 # because $ac_f cannot contain `:'.
73582 test -f "$ac_f" ||
73583 case $ac_f in
73584 [\\/$]*) false;;
73585 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73586 esac ||
73587 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73588 esac
73589 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73590 as_fn_append ac_file_inputs " '$ac_f'"
73591 done
73592
73593 # Let's still pretend it is `configure' which instantiates (i.e., don't
73594 # use $as_me), people would be surprised to read:
73595 # /* config.h. Generated by config.status. */
73596 configure_input='Generated from '`
73597 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73598 `' by configure.'
73599 if test x"$ac_file" != x-; then
73600 configure_input="$ac_file. $configure_input"
73601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73602 $as_echo "$as_me: creating $ac_file" >&6;}
73603 fi
73604 # Neutralize special characters interpreted by sed in replacement strings.
73605 case $configure_input in #(
73606 *\&* | *\|* | *\\* )
73607 ac_sed_conf_input=`$as_echo "$configure_input" |
73608 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73609 *) ac_sed_conf_input=$configure_input;;
73610 esac
73611
73612 case $ac_tag in
73613 *:-:* | *:-) cat >"$tmp/stdin" \
73614 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73615 esac
73616 ;;
73617 esac
73618
73619 ac_dir=`$as_dirname -- "$ac_file" ||
73620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73621 X"$ac_file" : 'X\(//\)[^/]' \| \
73622 X"$ac_file" : 'X\(//\)$' \| \
73623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73624 $as_echo X"$ac_file" |
73625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73626 s//\1/
73627 q
73628 }
73629 /^X\(\/\/\)[^/].*/{
73630 s//\1/
73631 q
73632 }
73633 /^X\(\/\/\)$/{
73634 s//\1/
73635 q
73636 }
73637 /^X\(\/\).*/{
73638 s//\1/
73639 q
73640 }
73641 s/.*/./; q'`
73642 as_dir="$ac_dir"; as_fn_mkdir_p
73643 ac_builddir=.
73644
73645 case "$ac_dir" in
73646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73647 *)
73648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73649 # A ".." for each directory in $ac_dir_suffix.
73650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73651 case $ac_top_builddir_sub in
73652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73654 esac ;;
73655 esac
73656 ac_abs_top_builddir=$ac_pwd
73657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73658 # for backward compatibility:
73659 ac_top_builddir=$ac_top_build_prefix
73660
73661 case $srcdir in
73662 .) # We are building in place.
73663 ac_srcdir=.
73664 ac_top_srcdir=$ac_top_builddir_sub
73665 ac_abs_top_srcdir=$ac_pwd ;;
73666 [\\/]* | ?:[\\/]* ) # Absolute name.
73667 ac_srcdir=$srcdir$ac_dir_suffix;
73668 ac_top_srcdir=$srcdir
73669 ac_abs_top_srcdir=$srcdir ;;
73670 *) # Relative name.
73671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73672 ac_top_srcdir=$ac_top_build_prefix$srcdir
73673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73674 esac
73675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73676
73677
73678 case $ac_mode in
73679 :F)
73680 #
73681 # CONFIG_FILE
73682 #
73683
73684 case $INSTALL in
73685 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73686 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73687 esac
73688 ac_MKDIR_P=$MKDIR_P
73689 case $MKDIR_P in
73690 [\\/$]* | ?:[\\/]* ) ;;
73691 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73692 esac
73693 _ACEOF
73694
73695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73696 # If the template does not know about datarootdir, expand it.
73697 # FIXME: This hack should be removed a few years after 2.60.
73698 ac_datarootdir_hack=; ac_datarootdir_seen=
73699 ac_sed_dataroot='
73700 /datarootdir/ {
73701 p
73702 q
73703 }
73704 /@datadir@/p
73705 /@docdir@/p
73706 /@infodir@/p
73707 /@localedir@/p
73708 /@mandir@/p'
73709 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73710 *datarootdir*) ac_datarootdir_seen=yes;;
73711 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73713 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73714 _ACEOF
73715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73716 ac_datarootdir_hack='
73717 s&@datadir@&$datadir&g
73718 s&@docdir@&$docdir&g
73719 s&@infodir@&$infodir&g
73720 s&@localedir@&$localedir&g
73721 s&@mandir@&$mandir&g
73722 s&\\\${datarootdir}&$datarootdir&g' ;;
73723 esac
73724 _ACEOF
73725
73726 # Neutralize VPATH when `$srcdir' = `.'.
73727 # Shell code in configure.ac might set extrasub.
73728 # FIXME: do we really want to maintain this feature?
73729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73730 ac_sed_extra="$ac_vpsub
73731 $extrasub
73732 _ACEOF
73733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73734 :t
73735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73736 s|@configure_input@|$ac_sed_conf_input|;t t
73737 s&@top_builddir@&$ac_top_builddir_sub&;t t
73738 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73739 s&@srcdir@&$ac_srcdir&;t t
73740 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73741 s&@top_srcdir@&$ac_top_srcdir&;t t
73742 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73743 s&@builddir@&$ac_builddir&;t t
73744 s&@abs_builddir@&$ac_abs_builddir&;t t
73745 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73746 s&@INSTALL@&$ac_INSTALL&;t t
73747 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73748 $ac_datarootdir_hack
73749 "
73750 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73751 || as_fn_error "could not create $ac_file" "$LINENO" 5
73752
73753 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73754 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73755 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73757 which seems to be undefined. Please make sure it is defined." >&5
73758 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73759 which seems to be undefined. Please make sure it is defined." >&2;}
73760
73761 rm -f "$tmp/stdin"
73762 case $ac_file in
73763 -) cat "$tmp/out" && rm -f "$tmp/out";;
73764 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73765 esac \
73766 || as_fn_error "could not create $ac_file" "$LINENO" 5
73767 ;;
73768 :H)
73769 #
73770 # CONFIG_HEADER
73771 #
73772 if test x"$ac_file" != x-; then
73773 {
73774 $as_echo "/* $configure_input */" \
73775 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73776 } >"$tmp/config.h" \
73777 || as_fn_error "could not create $ac_file" "$LINENO" 5
73778 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73779 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73780 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73781 else
73782 rm -f "$ac_file"
73783 mv "$tmp/config.h" "$ac_file" \
73784 || as_fn_error "could not create $ac_file" "$LINENO" 5
73785 fi
73786 else
73787 $as_echo "/* $configure_input */" \
73788 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73789 || as_fn_error "could not create -" "$LINENO" 5
73790 fi
73791 # Compute "$ac_file"'s index in $config_headers.
73792 _am_arg="$ac_file"
73793 _am_stamp_count=1
73794 for _am_header in $config_headers :; do
73795 case $_am_header in
73796 $_am_arg | $_am_arg:* )
73797 break ;;
73798 * )
73799 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73800 esac
73801 done
73802 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73803 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73804 X"$_am_arg" : 'X\(//\)[^/]' \| \
73805 X"$_am_arg" : 'X\(//\)$' \| \
73806 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73807 $as_echo X"$_am_arg" |
73808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73809 s//\1/
73810 q
73811 }
73812 /^X\(\/\/\)[^/].*/{
73813 s//\1/
73814 q
73815 }
73816 /^X\(\/\/\)$/{
73817 s//\1/
73818 q
73819 }
73820 /^X\(\/\).*/{
73821 s//\1/
73822 q
73823 }
73824 s/.*/./; q'`/stamp-h$_am_stamp_count
73825 ;;
73826
73827 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73828 $as_echo "$as_me: executing $ac_file commands" >&6;}
73829 ;;
73830 esac
73831
73832
73833 case $ac_file$ac_mode in
73834 "default-1":C)
73835 # Only add multilib support code if we just rebuilt the top-level
73836 # Makefile.
73837 case " $CONFIG_FILES " in
73838 *" Makefile "*)
73839 ac_file=Makefile . ${multi_basedir}/config-ml.in
73840 ;;
73841 esac ;;
73842 "libtool":C)
73843
73844 # See if we are running on zsh, and set the options which allow our
73845 # commands through without removal of \ escapes.
73846 if test -n "${ZSH_VERSION+set}" ; then
73847 setopt NO_GLOB_SUBST
73848 fi
73849
73850 cfgfile="${ofile}T"
73851 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73852 $RM "$cfgfile"
73853
73854 cat <<_LT_EOF >> "$cfgfile"
73855 #! $SHELL
73856
73857 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73858 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73859 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73860 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73861 #
73862 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73863 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73864 # Written by Gordon Matzigkeit, 1996
73865 #
73866 # This file is part of GNU Libtool.
73867 #
73868 # GNU Libtool is free software; you can redistribute it and/or
73869 # modify it under the terms of the GNU General Public License as
73870 # published by the Free Software Foundation; either version 2 of
73871 # the License, or (at your option) any later version.
73872 #
73873 # As a special exception to the GNU General Public License,
73874 # if you distribute this file as part of a program or library that
73875 # is built using GNU Libtool, you may include this file under the
73876 # same distribution terms that you use for the rest of that program.
73877 #
73878 # GNU Libtool is distributed in the hope that it will be useful,
73879 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73880 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73881 # GNU General Public License for more details.
73882 #
73883 # You should have received a copy of the GNU General Public License
73884 # along with GNU Libtool; see the file COPYING. If not, a copy
73885 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73886 # obtained by writing to the Free Software Foundation, Inc.,
73887 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73888
73889
73890 # The names of the tagged configurations supported by this script.
73891 available_tags="CXX "
73892
73893 # ### BEGIN LIBTOOL CONFIG
73894
73895 # Which release of libtool.m4 was used?
73896 macro_version=$macro_version
73897 macro_revision=$macro_revision
73898
73899 # Whether or not to build shared libraries.
73900 build_libtool_libs=$enable_shared
73901
73902 # Whether or not to build static libraries.
73903 build_old_libs=$enable_static
73904
73905 # What type of objects to build.
73906 pic_mode=$pic_mode
73907
73908 # Whether or not to optimize for fast installation.
73909 fast_install=$enable_fast_install
73910
73911 # Shell to use when invoking shell scripts.
73912 SHELL=$lt_SHELL
73913
73914 # An echo program that protects backslashes.
73915 ECHO=$lt_ECHO
73916
73917 # The host system.
73918 host_alias=$host_alias
73919 host=$host
73920 host_os=$host_os
73921
73922 # The build system.
73923 build_alias=$build_alias
73924 build=$build
73925 build_os=$build_os
73926
73927 # A sed program that does not truncate output.
73928 SED=$lt_SED
73929
73930 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73931 Xsed="\$SED -e 1s/^X//"
73932
73933 # A grep program that handles long lines.
73934 GREP=$lt_GREP
73935
73936 # An ERE matcher.
73937 EGREP=$lt_EGREP
73938
73939 # A literal string matcher.
73940 FGREP=$lt_FGREP
73941
73942 # A BSD- or MS-compatible name lister.
73943 NM=$lt_NM
73944
73945 # Whether we need soft or hard links.
73946 LN_S=$lt_LN_S
73947
73948 # What is the maximum length of a command?
73949 max_cmd_len=$max_cmd_len
73950
73951 # Object file suffix (normally "o").
73952 objext=$ac_objext
73953
73954 # Executable file suffix (normally "").
73955 exeext=$exeext
73956
73957 # whether the shell understands "unset".
73958 lt_unset=$lt_unset
73959
73960 # turn spaces into newlines.
73961 SP2NL=$lt_lt_SP2NL
73962
73963 # turn newlines into spaces.
73964 NL2SP=$lt_lt_NL2SP
73965
73966 # An object symbol dumper.
73967 OBJDUMP=$lt_OBJDUMP
73968
73969 # Method to check whether dependent libraries are shared objects.
73970 deplibs_check_method=$lt_deplibs_check_method
73971
73972 # Command to use when deplibs_check_method == "file_magic".
73973 file_magic_cmd=$lt_file_magic_cmd
73974
73975 # The archiver.
73976 AR=$lt_AR
73977 AR_FLAGS=$lt_AR_FLAGS
73978
73979 # A symbol stripping program.
73980 STRIP=$lt_STRIP
73981
73982 # Commands used to install an old-style archive.
73983 RANLIB=$lt_RANLIB
73984 old_postinstall_cmds=$lt_old_postinstall_cmds
73985 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73986
73987 # Whether to use a lock for old archive extraction.
73988 lock_old_archive_extraction=$lock_old_archive_extraction
73989
73990 # A C compiler.
73991 LTCC=$lt_CC
73992
73993 # LTCC compiler flags.
73994 LTCFLAGS=$lt_CFLAGS
73995
73996 # Take the output of nm and produce a listing of raw symbols and C names.
73997 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73998
73999 # Transform the output of nm in a proper C declaration.
74000 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74001
74002 # Transform the output of nm in a C name address pair.
74003 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74004
74005 # Transform the output of nm in a C name address pair when lib prefix is needed.
74006 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74007
74008 # The name of the directory that contains temporary libtool files.
74009 objdir=$objdir
74010
74011 # Used to examine libraries when file_magic_cmd begins with "file".
74012 MAGIC_CMD=$MAGIC_CMD
74013
74014 # Must we lock files when doing compilation?
74015 need_locks=$lt_need_locks
74016
74017 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74018 DSYMUTIL=$lt_DSYMUTIL
74019
74020 # Tool to change global to local symbols on Mac OS X.
74021 NMEDIT=$lt_NMEDIT
74022
74023 # Tool to manipulate fat objects and archives on Mac OS X.
74024 LIPO=$lt_LIPO
74025
74026 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74027 OTOOL=$lt_OTOOL
74028
74029 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74030 OTOOL64=$lt_OTOOL64
74031
74032 # Old archive suffix (normally "a").
74033 libext=$libext
74034
74035 # Shared library suffix (normally ".so").
74036 shrext_cmds=$lt_shrext_cmds
74037
74038 # The commands to extract the exported symbol list from a shared archive.
74039 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74040
74041 # Variables whose values should be saved in libtool wrapper scripts and
74042 # restored at link time.
74043 variables_saved_for_relink=$lt_variables_saved_for_relink
74044
74045 # Do we need the "lib" prefix for modules?
74046 need_lib_prefix=$need_lib_prefix
74047
74048 # Do we need a version for libraries?
74049 need_version=$need_version
74050
74051 # Library versioning type.
74052 version_type=$version_type
74053
74054 # Shared library runtime path variable.
74055 runpath_var=$runpath_var
74056
74057 # Shared library path variable.
74058 shlibpath_var=$shlibpath_var
74059
74060 # Is shlibpath searched before the hard-coded library search path?
74061 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74062
74063 # Format of library name prefix.
74064 libname_spec=$lt_libname_spec
74065
74066 # List of archive names. First name is the real one, the rest are links.
74067 # The last name is the one that the linker finds with -lNAME
74068 library_names_spec=$lt_library_names_spec
74069
74070 # The coded name of the library, if different from the real name.
74071 soname_spec=$lt_soname_spec
74072
74073 # Permission mode override for installation of shared libraries.
74074 install_override_mode=$lt_install_override_mode
74075
74076 # Command to use after installation of a shared archive.
74077 postinstall_cmds=$lt_postinstall_cmds
74078
74079 # Command to use after uninstallation of a shared archive.
74080 postuninstall_cmds=$lt_postuninstall_cmds
74081
74082 # Commands used to finish a libtool library installation in a directory.
74083 finish_cmds=$lt_finish_cmds
74084
74085 # As "finish_cmds", except a single script fragment to be evaled but
74086 # not shown.
74087 finish_eval=$lt_finish_eval
74088
74089 # Whether we should hardcode library paths into libraries.
74090 hardcode_into_libs=$hardcode_into_libs
74091
74092 # Compile-time system search path for libraries.
74093 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74094
74095 # Run-time system search path for libraries.
74096 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74097
74098 # Whether dlopen is supported.
74099 dlopen_support=$enable_dlopen
74100
74101 # Whether dlopen of programs is supported.
74102 dlopen_self=$enable_dlopen_self
74103
74104 # Whether dlopen of statically linked programs is supported.
74105 dlopen_self_static=$enable_dlopen_self_static
74106
74107 # Commands to strip libraries.
74108 old_striplib=$lt_old_striplib
74109 striplib=$lt_striplib
74110
74111
74112 # The linker used to build libraries.
74113 LD=$lt_LD
74114
74115 # How to create reloadable object files.
74116 reload_flag=$lt_reload_flag
74117 reload_cmds=$lt_reload_cmds
74118
74119 # Commands used to build an old-style archive.
74120 old_archive_cmds=$lt_old_archive_cmds
74121
74122 # A language specific compiler.
74123 CC=$lt_compiler
74124
74125 # Is the compiler the GNU compiler?
74126 with_gcc=$GCC
74127
74128 # Compiler flag to turn off builtin functions.
74129 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74130
74131 # How to pass a linker flag through the compiler.
74132 wl=$lt_lt_prog_compiler_wl
74133
74134 # Additional compiler flags for building library objects.
74135 pic_flag=$lt_lt_prog_compiler_pic
74136
74137 # Compiler flag to prevent dynamic linking.
74138 link_static_flag=$lt_lt_prog_compiler_static
74139
74140 # Does compiler simultaneously support -c and -o options?
74141 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74142
74143 # Whether or not to add -lc for building shared libraries.
74144 build_libtool_need_lc=$archive_cmds_need_lc
74145
74146 # Whether or not to disallow shared libs when runtime libs are static.
74147 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74148
74149 # Compiler flag to allow reflexive dlopens.
74150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74151
74152 # Compiler flag to generate shared objects directly from archives.
74153 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74154
74155 # Whether the compiler copes with passing no objects directly.
74156 compiler_needs_object=$lt_compiler_needs_object
74157
74158 # Create an old-style archive from a shared archive.
74159 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74160
74161 # Create a temporary old-style archive to link instead of a shared archive.
74162 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74163
74164 # Commands used to build a shared archive.
74165 archive_cmds=$lt_archive_cmds
74166 archive_expsym_cmds=$lt_archive_expsym_cmds
74167
74168 # Commands used to build a loadable module if different from building
74169 # a shared archive.
74170 module_cmds=$lt_module_cmds
74171 module_expsym_cmds=$lt_module_expsym_cmds
74172
74173 # Whether we are building with GNU ld or not.
74174 with_gnu_ld=$lt_with_gnu_ld
74175
74176 # Flag that allows shared libraries with undefined symbols to be built.
74177 allow_undefined_flag=$lt_allow_undefined_flag
74178
74179 # Flag that enforces no undefined symbols.
74180 no_undefined_flag=$lt_no_undefined_flag
74181
74182 # Flag to hardcode \$libdir into a binary during linking.
74183 # This must work even if \$libdir does not exist
74184 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74185
74186 # If ld is used when linking, flag to hardcode \$libdir into a binary
74187 # during linking. This must work even if \$libdir does not exist.
74188 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74189
74190 # Whether we need a single "-rpath" flag with a separated argument.
74191 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74192
74193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74194 # DIR into the resulting binary.
74195 hardcode_direct=$hardcode_direct
74196
74197 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74198 # DIR into the resulting binary and the resulting library dependency is
74199 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74200 # library is relocated.
74201 hardcode_direct_absolute=$hardcode_direct_absolute
74202
74203 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74204 # into the resulting binary.
74205 hardcode_minus_L=$hardcode_minus_L
74206
74207 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74208 # into the resulting binary.
74209 hardcode_shlibpath_var=$hardcode_shlibpath_var
74210
74211 # Set to "yes" if building a shared library automatically hardcodes DIR
74212 # into the library and all subsequent libraries and executables linked
74213 # against it.
74214 hardcode_automatic=$hardcode_automatic
74215
74216 # Set to yes if linker adds runtime paths of dependent libraries
74217 # to runtime path list.
74218 inherit_rpath=$inherit_rpath
74219
74220 # Whether libtool must link a program against all its dependency libraries.
74221 link_all_deplibs=$link_all_deplibs
74222
74223 # Fix the shell variable \$srcfile for the compiler.
74224 fix_srcfile_path=$lt_fix_srcfile_path
74225
74226 # Set to "yes" if exported symbols are required.
74227 always_export_symbols=$always_export_symbols
74228
74229 # The commands to list exported symbols.
74230 export_symbols_cmds=$lt_export_symbols_cmds
74231
74232 # Symbols that should not be listed in the preloaded symbols.
74233 exclude_expsyms=$lt_exclude_expsyms
74234
74235 # Symbols that must always be exported.
74236 include_expsyms=$lt_include_expsyms
74237
74238 # Commands necessary for linking programs (against libraries) with templates.
74239 prelink_cmds=$lt_prelink_cmds
74240
74241 # Specify filename containing input files.
74242 file_list_spec=$lt_file_list_spec
74243
74244 # How to hardcode a shared library path into an executable.
74245 hardcode_action=$hardcode_action
74246
74247 # The directories searched by this compiler when creating a shared library.
74248 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74249
74250 # Dependencies to place before and after the objects being linked to
74251 # create a shared library.
74252 predep_objects=$lt_predep_objects
74253 postdep_objects=$lt_postdep_objects
74254 predeps=$lt_predeps
74255 postdeps=$lt_postdeps
74256
74257 # The library search path used internally by the compiler when linking
74258 # a shared library.
74259 compiler_lib_search_path=$lt_compiler_lib_search_path
74260
74261 # ### END LIBTOOL CONFIG
74262
74263 _LT_EOF
74264
74265 case $host_os in
74266 aix3*)
74267 cat <<\_LT_EOF >> "$cfgfile"
74268 # AIX sometimes has problems with the GCC collect2 program. For some
74269 # reason, if we set the COLLECT_NAMES environment variable, the problems
74270 # vanish in a puff of smoke.
74271 if test "X${COLLECT_NAMES+set}" != Xset; then
74272 COLLECT_NAMES=
74273 export COLLECT_NAMES
74274 fi
74275 _LT_EOF
74276 ;;
74277 esac
74278
74279
74280 ltmain="$ac_aux_dir/ltmain.sh"
74281
74282
74283 # We use sed instead of cat because bash on DJGPP gets confused if
74284 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74285 # text mode, it properly converts lines to CR/LF. This bash problem
74286 # is reportedly fixed, but why not run on old versions too?
74287 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74288 || (rm -f "$cfgfile"; exit 1)
74289
74290 case $xsi_shell in
74291 yes)
74292 cat << \_LT_EOF >> "$cfgfile"
74293
74294 # func_dirname file append nondir_replacement
74295 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74296 # otherwise set result to NONDIR_REPLACEMENT.
74297 func_dirname ()
74298 {
74299 case ${1} in
74300 */*) func_dirname_result="${1%/*}${2}" ;;
74301 * ) func_dirname_result="${3}" ;;
74302 esac
74303 }
74304
74305 # func_basename file
74306 func_basename ()
74307 {
74308 func_basename_result="${1##*/}"
74309 }
74310
74311 # func_dirname_and_basename file append nondir_replacement
74312 # perform func_basename and func_dirname in a single function
74313 # call:
74314 # dirname: Compute the dirname of FILE. If nonempty,
74315 # add APPEND to the result, otherwise set result
74316 # to NONDIR_REPLACEMENT.
74317 # value returned in "$func_dirname_result"
74318 # basename: Compute filename of FILE.
74319 # value retuned in "$func_basename_result"
74320 # Implementation must be kept synchronized with func_dirname
74321 # and func_basename. For efficiency, we do not delegate to
74322 # those functions but instead duplicate the functionality here.
74323 func_dirname_and_basename ()
74324 {
74325 case ${1} in
74326 */*) func_dirname_result="${1%/*}${2}" ;;
74327 * ) func_dirname_result="${3}" ;;
74328 esac
74329 func_basename_result="${1##*/}"
74330 }
74331
74332 # func_stripname prefix suffix name
74333 # strip PREFIX and SUFFIX off of NAME.
74334 # PREFIX and SUFFIX must not contain globbing or regex special
74335 # characters, hashes, percent signs, but SUFFIX may contain a leading
74336 # dot (in which case that matches only a dot).
74337 func_stripname ()
74338 {
74339 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74340 # positional parameters, so assign one to ordinary parameter first.
74341 func_stripname_result=${3}
74342 func_stripname_result=${func_stripname_result#"${1}"}
74343 func_stripname_result=${func_stripname_result%"${2}"}
74344 }
74345
74346 # func_opt_split
74347 func_opt_split ()
74348 {
74349 func_opt_split_opt=${1%%=*}
74350 func_opt_split_arg=${1#*=}
74351 }
74352
74353 # func_lo2o object
74354 func_lo2o ()
74355 {
74356 case ${1} in
74357 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74358 *) func_lo2o_result=${1} ;;
74359 esac
74360 }
74361
74362 # func_xform libobj-or-source
74363 func_xform ()
74364 {
74365 func_xform_result=${1%.*}.lo
74366 }
74367
74368 # func_arith arithmetic-term...
74369 func_arith ()
74370 {
74371 func_arith_result=$(( $* ))
74372 }
74373
74374 # func_len string
74375 # STRING may not start with a hyphen.
74376 func_len ()
74377 {
74378 func_len_result=${#1}
74379 }
74380
74381 _LT_EOF
74382 ;;
74383 *) # Bourne compatible functions.
74384 cat << \_LT_EOF >> "$cfgfile"
74385
74386 # func_dirname file append nondir_replacement
74387 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74388 # otherwise set result to NONDIR_REPLACEMENT.
74389 func_dirname ()
74390 {
74391 # Extract subdirectory from the argument.
74392 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74393 if test "X$func_dirname_result" = "X${1}"; then
74394 func_dirname_result="${3}"
74395 else
74396 func_dirname_result="$func_dirname_result${2}"
74397 fi
74398 }
74399
74400 # func_basename file
74401 func_basename ()
74402 {
74403 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74404 }
74405
74406
74407 # func_stripname prefix suffix name
74408 # strip PREFIX and SUFFIX off of NAME.
74409 # PREFIX and SUFFIX must not contain globbing or regex special
74410 # characters, hashes, percent signs, but SUFFIX may contain a leading
74411 # dot (in which case that matches only a dot).
74412 # func_strip_suffix prefix name
74413 func_stripname ()
74414 {
74415 case ${2} in
74416 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74417 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74418 esac
74419 }
74420
74421 # sed scripts:
74422 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74423 my_sed_long_arg='1s/^-[^=]*=//'
74424
74425 # func_opt_split
74426 func_opt_split ()
74427 {
74428 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74429 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74430 }
74431
74432 # func_lo2o object
74433 func_lo2o ()
74434 {
74435 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74436 }
74437
74438 # func_xform libobj-or-source
74439 func_xform ()
74440 {
74441 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74442 }
74443
74444 # func_arith arithmetic-term...
74445 func_arith ()
74446 {
74447 func_arith_result=`expr "$@"`
74448 }
74449
74450 # func_len string
74451 # STRING may not start with a hyphen.
74452 func_len ()
74453 {
74454 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74455 }
74456
74457 _LT_EOF
74458 esac
74459
74460 case $lt_shell_append in
74461 yes)
74462 cat << \_LT_EOF >> "$cfgfile"
74463
74464 # func_append var value
74465 # Append VALUE to the end of shell variable VAR.
74466 func_append ()
74467 {
74468 eval "$1+=\$2"
74469 }
74470 _LT_EOF
74471 ;;
74472 *)
74473 cat << \_LT_EOF >> "$cfgfile"
74474
74475 # func_append var value
74476 # Append VALUE to the end of shell variable VAR.
74477 func_append ()
74478 {
74479 eval "$1=\$$1\$2"
74480 }
74481
74482 _LT_EOF
74483 ;;
74484 esac
74485
74486
74487 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74488 || (rm -f "$cfgfile"; exit 1)
74489
74490 mv -f "$cfgfile" "$ofile" ||
74491 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74492 chmod +x "$ofile"
74493
74494
74495 cat <<_LT_EOF >> "$ofile"
74496
74497 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74498
74499 # The linker used to build libraries.
74500 LD=$lt_LD_CXX
74501
74502 # How to create reloadable object files.
74503 reload_flag=$lt_reload_flag_CXX
74504 reload_cmds=$lt_reload_cmds_CXX
74505
74506 # Commands used to build an old-style archive.
74507 old_archive_cmds=$lt_old_archive_cmds_CXX
74508
74509 # A language specific compiler.
74510 CC=$lt_compiler_CXX
74511
74512 # Is the compiler the GNU compiler?
74513 with_gcc=$GCC_CXX
74514
74515 # Compiler flag to turn off builtin functions.
74516 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74517
74518 # How to pass a linker flag through the compiler.
74519 wl=$lt_lt_prog_compiler_wl_CXX
74520
74521 # Additional compiler flags for building library objects.
74522 pic_flag=$lt_lt_prog_compiler_pic_CXX
74523
74524 # Compiler flag to prevent dynamic linking.
74525 link_static_flag=$lt_lt_prog_compiler_static_CXX
74526
74527 # Does compiler simultaneously support -c and -o options?
74528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74529
74530 # Whether or not to add -lc for building shared libraries.
74531 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74532
74533 # Whether or not to disallow shared libs when runtime libs are static.
74534 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74535
74536 # Compiler flag to allow reflexive dlopens.
74537 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74538
74539 # Compiler flag to generate shared objects directly from archives.
74540 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74541
74542 # Whether the compiler copes with passing no objects directly.
74543 compiler_needs_object=$lt_compiler_needs_object_CXX
74544
74545 # Create an old-style archive from a shared archive.
74546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74547
74548 # Create a temporary old-style archive to link instead of a shared archive.
74549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74550
74551 # Commands used to build a shared archive.
74552 archive_cmds=$lt_archive_cmds_CXX
74553 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74554
74555 # Commands used to build a loadable module if different from building
74556 # a shared archive.
74557 module_cmds=$lt_module_cmds_CXX
74558 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74559
74560 # Whether we are building with GNU ld or not.
74561 with_gnu_ld=$lt_with_gnu_ld_CXX
74562
74563 # Flag that allows shared libraries with undefined symbols to be built.
74564 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74565
74566 # Flag that enforces no undefined symbols.
74567 no_undefined_flag=$lt_no_undefined_flag_CXX
74568
74569 # Flag to hardcode \$libdir into a binary during linking.
74570 # This must work even if \$libdir does not exist
74571 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74572
74573 # If ld is used when linking, flag to hardcode \$libdir into a binary
74574 # during linking. This must work even if \$libdir does not exist.
74575 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74576
74577 # Whether we need a single "-rpath" flag with a separated argument.
74578 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74579
74580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74581 # DIR into the resulting binary.
74582 hardcode_direct=$hardcode_direct_CXX
74583
74584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74585 # DIR into the resulting binary and the resulting library dependency is
74586 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74587 # library is relocated.
74588 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74589
74590 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74591 # into the resulting binary.
74592 hardcode_minus_L=$hardcode_minus_L_CXX
74593
74594 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74595 # into the resulting binary.
74596 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74597
74598 # Set to "yes" if building a shared library automatically hardcodes DIR
74599 # into the library and all subsequent libraries and executables linked
74600 # against it.
74601 hardcode_automatic=$hardcode_automatic_CXX
74602
74603 # Set to yes if linker adds runtime paths of dependent libraries
74604 # to runtime path list.
74605 inherit_rpath=$inherit_rpath_CXX
74606
74607 # Whether libtool must link a program against all its dependency libraries.
74608 link_all_deplibs=$link_all_deplibs_CXX
74609
74610 # Fix the shell variable \$srcfile for the compiler.
74611 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74612
74613 # Set to "yes" if exported symbols are required.
74614 always_export_symbols=$always_export_symbols_CXX
74615
74616 # The commands to list exported symbols.
74617 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74618
74619 # Symbols that should not be listed in the preloaded symbols.
74620 exclude_expsyms=$lt_exclude_expsyms_CXX
74621
74622 # Symbols that must always be exported.
74623 include_expsyms=$lt_include_expsyms_CXX
74624
74625 # Commands necessary for linking programs (against libraries) with templates.
74626 prelink_cmds=$lt_prelink_cmds_CXX
74627
74628 # Specify filename containing input files.
74629 file_list_spec=$lt_file_list_spec_CXX
74630
74631 # How to hardcode a shared library path into an executable.
74632 hardcode_action=$hardcode_action_CXX
74633
74634 # The directories searched by this compiler when creating a shared library.
74635 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74636
74637 # Dependencies to place before and after the objects being linked to
74638 # create a shared library.
74639 predep_objects=$lt_predep_objects_CXX
74640 postdep_objects=$lt_postdep_objects_CXX
74641 predeps=$lt_predeps_CXX
74642 postdeps=$lt_postdeps_CXX
74643
74644 # The library search path used internally by the compiler when linking
74645 # a shared library.
74646 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74647
74648 # ### END LIBTOOL TAG CONFIG: CXX
74649 _LT_EOF
74650
74651 ;;
74652 "include/gstdint.h":C)
74653 if test "$GCC" = yes; then
74654 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74655 else
74656 echo "/* generated for $CC */" > tmp-stdint.h
74657 fi
74658
74659 sed 's/^ *//' >> tmp-stdint.h <<EOF
74660
74661 #ifndef GCC_GENERATED_STDINT_H
74662 #define GCC_GENERATED_STDINT_H 1
74663
74664 #include <sys/types.h>
74665 EOF
74666
74667 if test "$acx_cv_header_stdint" != stdint.h; then
74668 echo "#include <stddef.h>" >> tmp-stdint.h
74669 fi
74670 if test "$acx_cv_header_stdint" != stddef.h; then
74671 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74672 fi
74673
74674 sed 's/^ *//' >> tmp-stdint.h <<EOF
74675 /* glibc uses these symbols as guards to prevent redefinitions. */
74676 #ifdef __int8_t_defined
74677 #define _INT8_T
74678 #define _INT16_T
74679 #define _INT32_T
74680 #endif
74681 #ifdef __uint32_t_defined
74682 #define _UINT32_T
74683 #endif
74684
74685 EOF
74686
74687 # ----------------- done header, emit basic int types -------------
74688 if test "$acx_cv_header_stdint" = stddef.h; then
74689 sed 's/^ *//' >> tmp-stdint.h <<EOF
74690
74691 #ifndef _UINT8_T
74692 #define _UINT8_T
74693 #ifndef __uint8_t_defined
74694 #define __uint8_t_defined
74695 #ifndef uint8_t
74696 typedef unsigned $acx_cv_type_int8_t uint8_t;
74697 #endif
74698 #endif
74699 #endif
74700
74701 #ifndef _UINT16_T
74702 #define _UINT16_T
74703 #ifndef __uint16_t_defined
74704 #define __uint16_t_defined
74705 #ifndef uint16_t
74706 typedef unsigned $acx_cv_type_int16_t uint16_t;
74707 #endif
74708 #endif
74709 #endif
74710
74711 #ifndef _UINT32_T
74712 #define _UINT32_T
74713 #ifndef __uint32_t_defined
74714 #define __uint32_t_defined
74715 #ifndef uint32_t
74716 typedef unsigned $acx_cv_type_int32_t uint32_t;
74717 #endif
74718 #endif
74719 #endif
74720
74721 #ifndef _INT8_T
74722 #define _INT8_T
74723 #ifndef __int8_t_defined
74724 #define __int8_t_defined
74725 #ifndef int8_t
74726 typedef $acx_cv_type_int8_t int8_t;
74727 #endif
74728 #endif
74729 #endif
74730
74731 #ifndef _INT16_T
74732 #define _INT16_T
74733 #ifndef __int16_t_defined
74734 #define __int16_t_defined
74735 #ifndef int16_t
74736 typedef $acx_cv_type_int16_t int16_t;
74737 #endif
74738 #endif
74739 #endif
74740
74741 #ifndef _INT32_T
74742 #define _INT32_T
74743 #ifndef __int32_t_defined
74744 #define __int32_t_defined
74745 #ifndef int32_t
74746 typedef $acx_cv_type_int32_t int32_t;
74747 #endif
74748 #endif
74749 #endif
74750 EOF
74751 elif test "$ac_cv_type_u_int32_t" = yes; then
74752 sed 's/^ *//' >> tmp-stdint.h <<EOF
74753
74754 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74755 #ifndef _INT8_T
74756 #define _INT8_T
74757 #endif
74758 #ifndef _INT16_T
74759 #define _INT16_T
74760 #endif
74761 #ifndef _INT32_T
74762 #define _INT32_T
74763 #endif
74764
74765 #ifndef _UINT8_T
74766 #define _UINT8_T
74767 #ifndef __uint8_t_defined
74768 #define __uint8_t_defined
74769 #ifndef uint8_t
74770 typedef u_int8_t uint8_t;
74771 #endif
74772 #endif
74773 #endif
74774
74775 #ifndef _UINT16_T
74776 #define _UINT16_T
74777 #ifndef __uint16_t_defined
74778 #define __uint16_t_defined
74779 #ifndef uint16_t
74780 typedef u_int16_t uint16_t;
74781 #endif
74782 #endif
74783 #endif
74784
74785 #ifndef _UINT32_T
74786 #define _UINT32_T
74787 #ifndef __uint32_t_defined
74788 #define __uint32_t_defined
74789 #ifndef uint32_t
74790 typedef u_int32_t uint32_t;
74791 #endif
74792 #endif
74793 #endif
74794 EOF
74795 else
74796 sed 's/^ *//' >> tmp-stdint.h <<EOF
74797
74798 /* Some systems have guard macros to prevent redefinitions, define them. */
74799 #ifndef _INT8_T
74800 #define _INT8_T
74801 #endif
74802 #ifndef _INT16_T
74803 #define _INT16_T
74804 #endif
74805 #ifndef _INT32_T
74806 #define _INT32_T
74807 #endif
74808 #ifndef _UINT8_T
74809 #define _UINT8_T
74810 #endif
74811 #ifndef _UINT16_T
74812 #define _UINT16_T
74813 #endif
74814 #ifndef _UINT32_T
74815 #define _UINT32_T
74816 #endif
74817 EOF
74818 fi
74819
74820 # ------------- done basic int types, emit int64_t types ------------
74821 if test "$ac_cv_type_uint64_t" = yes; then
74822 sed 's/^ *//' >> tmp-stdint.h <<EOF
74823
74824 /* system headers have good uint64_t and int64_t */
74825 #ifndef _INT64_T
74826 #define _INT64_T
74827 #endif
74828 #ifndef _UINT64_T
74829 #define _UINT64_T
74830 #endif
74831 EOF
74832 elif test "$ac_cv_type_u_int64_t" = yes; then
74833 sed 's/^ *//' >> tmp-stdint.h <<EOF
74834
74835 /* system headers have an u_int64_t (and int64_t) */
74836 #ifndef _INT64_T
74837 #define _INT64_T
74838 #endif
74839 #ifndef _UINT64_T
74840 #define _UINT64_T
74841 #ifndef __uint64_t_defined
74842 #define __uint64_t_defined
74843 #ifndef uint64_t
74844 typedef u_int64_t uint64_t;
74845 #endif
74846 #endif
74847 #endif
74848 EOF
74849 elif test -n "$acx_cv_type_int64_t"; then
74850 sed 's/^ *//' >> tmp-stdint.h <<EOF
74851
74852 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74853 #ifndef _INT64_T
74854 #define _INT64_T
74855 #ifndef int64_t
74856 typedef $acx_cv_type_int64_t int64_t;
74857 #endif
74858 #endif
74859 #ifndef _UINT64_T
74860 #define _UINT64_T
74861 #ifndef __uint64_t_defined
74862 #define __uint64_t_defined
74863 #ifndef uint64_t
74864 typedef unsigned $acx_cv_type_int64_t uint64_t;
74865 #endif
74866 #endif
74867 #endif
74868 EOF
74869 else
74870 sed 's/^ *//' >> tmp-stdint.h <<EOF
74871
74872 /* some common heuristics for int64_t, using compiler-specific tests */
74873 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74874 #ifndef _INT64_T
74875 #define _INT64_T
74876 #ifndef __int64_t_defined
74877 #ifndef int64_t
74878 typedef long long int64_t;
74879 #endif
74880 #endif
74881 #endif
74882 #ifndef _UINT64_T
74883 #define _UINT64_T
74884 #ifndef uint64_t
74885 typedef unsigned long long uint64_t;
74886 #endif
74887 #endif
74888
74889 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74890 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74891 does not implement __extension__. But that compiler doesn't define
74892 __GNUC_MINOR__. */
74893 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74894 # define __extension__
74895 # endif
74896
74897 # ifndef _INT64_T
74898 # define _INT64_T
74899 # ifndef int64_t
74900 __extension__ typedef long long int64_t;
74901 # endif
74902 # endif
74903 # ifndef _UINT64_T
74904 # define _UINT64_T
74905 # ifndef uint64_t
74906 __extension__ typedef unsigned long long uint64_t;
74907 # endif
74908 # endif
74909
74910 #elif !defined __STRICT_ANSI__
74911 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74912
74913 # ifndef _INT64_T
74914 # define _INT64_T
74915 # ifndef int64_t
74916 typedef __int64 int64_t;
74917 # endif
74918 # endif
74919 # ifndef _UINT64_T
74920 # define _UINT64_T
74921 # ifndef uint64_t
74922 typedef unsigned __int64 uint64_t;
74923 # endif
74924 # endif
74925 # endif /* compiler */
74926
74927 #endif /* ANSI version */
74928 EOF
74929 fi
74930
74931 # ------------- done int64_t types, emit intptr types ------------
74932 if test "$ac_cv_type_uintptr_t" != yes; then
74933 sed 's/^ *//' >> tmp-stdint.h <<EOF
74934
74935 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74936 #ifndef __uintptr_t_defined
74937 #ifndef uintptr_t
74938 typedef u$acx_cv_type_intptr_t uintptr_t;
74939 #endif
74940 #endif
74941 #ifndef __intptr_t_defined
74942 #ifndef intptr_t
74943 typedef $acx_cv_type_intptr_t intptr_t;
74944 #endif
74945 #endif
74946 EOF
74947 fi
74948
74949 # ------------- done intptr types, emit int_least types ------------
74950 if test "$ac_cv_type_int_least32_t" != yes; then
74951 sed 's/^ *//' >> tmp-stdint.h <<EOF
74952
74953 /* Define int_least types */
74954 typedef int8_t int_least8_t;
74955 typedef int16_t int_least16_t;
74956 typedef int32_t int_least32_t;
74957 #ifdef _INT64_T
74958 typedef int64_t int_least64_t;
74959 #endif
74960
74961 typedef uint8_t uint_least8_t;
74962 typedef uint16_t uint_least16_t;
74963 typedef uint32_t uint_least32_t;
74964 #ifdef _UINT64_T
74965 typedef uint64_t uint_least64_t;
74966 #endif
74967 EOF
74968 fi
74969
74970 # ------------- done intptr types, emit int_fast types ------------
74971 if test "$ac_cv_type_int_fast32_t" != yes; then
74972 sed 's/^ *//' >> tmp-stdint.h <<EOF
74973
74974 /* Define int_fast types. short is often slow */
74975 typedef int8_t int_fast8_t;
74976 typedef int int_fast16_t;
74977 typedef int32_t int_fast32_t;
74978 #ifdef _INT64_T
74979 typedef int64_t int_fast64_t;
74980 #endif
74981
74982 typedef uint8_t uint_fast8_t;
74983 typedef unsigned int uint_fast16_t;
74984 typedef uint32_t uint_fast32_t;
74985 #ifdef _UINT64_T
74986 typedef uint64_t uint_fast64_t;
74987 #endif
74988 EOF
74989 fi
74990
74991 if test "$ac_cv_type_uintmax_t" != yes; then
74992 sed 's/^ *//' >> tmp-stdint.h <<EOF
74993
74994 /* Define intmax based on what we found */
74995 #ifndef intmax_t
74996 #ifdef _INT64_T
74997 typedef int64_t intmax_t;
74998 #else
74999 typedef long intmax_t;
75000 #endif
75001 #endif
75002 #ifndef uintmax_t
75003 #ifdef _UINT64_T
75004 typedef uint64_t uintmax_t;
75005 #else
75006 typedef unsigned long uintmax_t;
75007 #endif
75008 #endif
75009 EOF
75010 fi
75011
75012 sed 's/^ *//' >> tmp-stdint.h <<EOF
75013
75014 #endif /* GCC_GENERATED_STDINT_H */
75015 EOF
75016
75017 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75018 rm -f tmp-stdint.h
75019 else
75020 mv -f tmp-stdint.h include/gstdint.h
75021 fi
75022
75023 ;;
75024 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75025 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75026 "include/Makefile":F) cat > vpsed$$ << \_EOF
75027 s!`test -f '$<' || echo '$(srcdir)/'`!!
75028 _EOF
75029 sed -f vpsed$$ $ac_file > tmp$$
75030 mv tmp$$ $ac_file
75031 rm vpsed$$
75032 echo 'MULTISUBDIR =' >> $ac_file
75033 ml_norecursion=yes
75034 . ${multi_basedir}/config-ml.in
75035 { ml_norecursion=; unset ml_norecursion;}
75036 ;;
75037 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75038 s!`test -f '$<' || echo '$(srcdir)/'`!!
75039 _EOF
75040 sed -f vpsed$$ $ac_file > tmp$$
75041 mv tmp$$ $ac_file
75042 rm vpsed$$
75043 echo 'MULTISUBDIR =' >> $ac_file
75044 ml_norecursion=yes
75045 . ${multi_basedir}/config-ml.in
75046 { ml_norecursion=; unset ml_norecursion;}
75047 ;;
75048 "python/Makefile":F) cat > vpsed$$ << \_EOF
75049 s!`test -f '$<' || echo '$(srcdir)/'`!!
75050 _EOF
75051 sed -f vpsed$$ $ac_file > tmp$$
75052 mv tmp$$ $ac_file
75053 rm vpsed$$
75054 echo 'MULTISUBDIR =' >> $ac_file
75055 ml_norecursion=yes
75056 . ${multi_basedir}/config-ml.in
75057 { ml_norecursion=; unset ml_norecursion;}
75058 ;;
75059 "src/Makefile":F) cat > vpsed$$ << \_EOF
75060 s!`test -f '$<' || echo '$(srcdir)/'`!!
75061 _EOF
75062 sed -f vpsed$$ $ac_file > tmp$$
75063 mv tmp$$ $ac_file
75064 rm vpsed$$
75065 echo 'MULTISUBDIR =' >> $ac_file
75066 ml_norecursion=yes
75067 . ${multi_basedir}/config-ml.in
75068 { ml_norecursion=; unset ml_norecursion;}
75069 ;;
75070 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75071 s!`test -f '$<' || echo '$(srcdir)/'`!!
75072 _EOF
75073 sed -f vpsed$$ $ac_file > tmp$$
75074 mv tmp$$ $ac_file
75075 rm vpsed$$
75076 echo 'MULTISUBDIR =' >> $ac_file
75077 ml_norecursion=yes
75078 . ${multi_basedir}/config-ml.in
75079 { ml_norecursion=; unset ml_norecursion;}
75080 ;;
75081 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75082 s!`test -f '$<' || echo '$(srcdir)/'`!!
75083 _EOF
75084 sed -f vpsed$$ $ac_file > tmp$$
75085 mv tmp$$ $ac_file
75086 rm vpsed$$
75087 echo 'MULTISUBDIR =' >> $ac_file
75088 ml_norecursion=yes
75089 . ${multi_basedir}/config-ml.in
75090 { ml_norecursion=; unset ml_norecursion;}
75091 ;;
75092 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75093 s!`test -f '$<' || echo '$(srcdir)/'`!!
75094 _EOF
75095 sed -f vpsed$$ $ac_file > tmp$$
75096 mv tmp$$ $ac_file
75097 rm vpsed$$
75098 echo 'MULTISUBDIR =' >> $ac_file
75099 ml_norecursion=yes
75100 . ${multi_basedir}/config-ml.in
75101 { ml_norecursion=; unset ml_norecursion;}
75102 ;;
75103 "po/Makefile":F) cat > vpsed$$ << \_EOF
75104 s!`test -f '$<' || echo '$(srcdir)/'`!!
75105 _EOF
75106 sed -f vpsed$$ $ac_file > tmp$$
75107 mv tmp$$ $ac_file
75108 rm vpsed$$
75109 echo 'MULTISUBDIR =' >> $ac_file
75110 ml_norecursion=yes
75111 . ${multi_basedir}/config-ml.in
75112 { ml_norecursion=; unset ml_norecursion;}
75113 ;;
75114 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75115 s!`test -f '$<' || echo '$(srcdir)/'`!!
75116 _EOF
75117 sed -f vpsed$$ $ac_file > tmp$$
75118 mv tmp$$ $ac_file
75119 rm vpsed$$
75120 echo 'MULTISUBDIR =' >> $ac_file
75121 ml_norecursion=yes
75122 . ${multi_basedir}/config-ml.in
75123 { ml_norecursion=; unset ml_norecursion;}
75124 ;;
75125 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75126
75127 esac
75128 done # for ac_tag
75129
75130
75131 as_fn_exit 0
75132 _ACEOF
75133 ac_clean_files=$ac_clean_files_save
75134
75135 test $ac_write_fail = 0 ||
75136 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75137
75138
75139 # configure is writing to config.log, and then calls config.status.
75140 # config.status does its own redirection, appending to config.log.
75141 # Unfortunately, on DOS this fails, as config.log is still kept open
75142 # by configure, so config.status won't be able to write to it; its
75143 # output is simply discarded. So we exec the FD to /dev/null,
75144 # effectively closing config.log, so it can be properly (re)opened and
75145 # appended to by config.status. When coming back to configure, we
75146 # need to make the FD available again.
75147 if test "$no_create" != yes; then
75148 ac_cs_success=:
75149 ac_config_status_args=
75150 test "$silent" = yes &&
75151 ac_config_status_args="$ac_config_status_args --quiet"
75152 exec 5>/dev/null
75153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75154 exec 5>>config.log
75155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75156 # would make configure fail if this is the last instruction.
75157 $ac_cs_success || as_fn_exit $?
75158 fi
75159 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75161 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75162 fi
75163